X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Fdocstream.h;h=50fb82b7bc3974087acf19084db542036f8e6f56;hb=974f44ea79acb58808f45e9a417e651b764de2ba;hp=ed49a726cf0cd3da94bf02033df992d6374efa28;hpb=9a7ad1efed7319df8ea0123c88a93d3ec2539304;p=features.git diff --git a/src/support/docstream.h b/src/support/docstream.h index ed49a726cf..50fb82b7bc 100644 --- a/src/support/docstream.h +++ b/src/support/docstream.h @@ -57,11 +57,14 @@ public: class odocfstream : public std::basic_ofstream { typedef std::basic_ofstream base; public: - odocfstream(std::string const & encoding = "UTF-8"); + odocfstream(); + odocfstream(std::string const & encoding); explicit odocfstream(const char* s, std::ios_base::openmode mode = std::ios_base::out|std::ios_base::trunc, std::string const & encoding = "UTF-8"); ~odocfstream() {} + /// + void reset(std::string const & encoding); }; /// UCS4 input stringstream