X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fgraphics%2FGraphicsConverter.h;h=f84b9e9b11b5e7cdcaffabff9a205948d8b8358f;hb=9b4a26a252b2da164fcd6aa84feed0a738b16c10;hp=d380c36577af6638e5ea23365de376fb04a06cab;hpb=d33cedef34146407ff9c8a7d45a091bceca74bdd;p=lyx.git diff --git a/src/graphics/GraphicsConverter.h b/src/graphics/GraphicsConverter.h index d380c36577..f84b9e9b11 100644 --- a/src/graphics/GraphicsConverter.h +++ b/src/graphics/GraphicsConverter.h @@ -17,7 +17,6 @@ #ifndef GRAPHICSCONVERTER_H #define GRAPHICSCONVERTER_H -#include #include namespace lyx { @@ -38,7 +37,7 @@ public: Converter(support::FileName const & from_file, std::string const & to_file_base, std::string const & from_format, std::string const & to_format); - /// Define an empty d-tor out-of-line to keep boost::scoped_ptr happy. + /// Needed for the pimpl ~Converter(); /// We are explicit about when we begin the conversion process. @@ -67,9 +66,8 @@ private: /// Use the Pimpl idiom to hide the internals. class Impl; - /// The pointer never changes although *pimpl_'s contents may. - boost::scoped_ptr const pimpl_; + Impl * const pimpl_; }; } // namespace graphics