]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsConverter.h
rename assert.h to lassert.h
[lyx.git] / src / graphics / GraphicsConverter.h
index d380c36577af6638e5ea23365de376fb04a06cab..f84b9e9b11b5e7cdcaffabff9a205948d8b8358f 100644 (file)
@@ -17,7 +17,6 @@
 #ifndef GRAPHICSCONVERTER_H
 #define GRAPHICSCONVERTER_H
 
-#include <boost/scoped_ptr.hpp>
 #include <boost/signal.hpp>
 
 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<Impl> const pimpl_;
+       Impl * const pimpl_;
 };
 
 } // namespace graphics