]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsConverter.h
Fix bug #8258 (Zoom of editor doesn't zoom instant preview)
[lyx.git] / src / graphics / GraphicsConverter.h
index d380c36577af6638e5ea23365de376fb04a06cab..838b07bfc7d3e949958b9b3c9049ce4f8e2eb136 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.
@@ -46,14 +45,14 @@ public:
 
        /** Connect and you'll be informed when the conversion process has
         *  finished.
-        *  If the conversion is succesful, then the listener is passed \c true.
+        *  If the conversion is successful, then the listener is passed \c true.
         */
        typedef boost::signal<void(bool)> sig_type;
        typedef sig_type::slot_type slot_type;
        ///
        boost::signals::connection connect(slot_type const &) const;
 
-       /** If the conversion is succesful, this returns the name of the
+       /** If the conversion is successful, this returns the name of the
         *  resulting file.
         *  If conversion fails or has not been completed, however, it
         *  returns an empty string.
@@ -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