]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/PreviewImage.h
Fix crash with updateLabels(). I changed the the test in the assertion but endless...
[lyx.git] / src / graphics / PreviewImage.h
index 07dd3b71f4c5618acc866bd0b4d32b925cb7ebcb..4064520bd8c2a04f17b19bae2f05f61ba44c9316 100644 (file)
 #define PREVIEWIMAGE_H
 
 #include <boost/scoped_ptr.hpp>
-
-class InsetOld;
+#include <string>
 
 namespace lyx {
+
+namespace support { class FileName; }
+
 namespace graphics {
 
 class PreviewLoader;
@@ -29,7 +31,7 @@ public:
         */
        PreviewImage(PreviewLoader & parent,
                     std::string const & latex_snippet,
-                    std::string const & bitmap_file,
+                    support::FileName const & bitmap_file,
                     double ascent_frac);
        ///
        ~PreviewImage();