]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/PreviewImage.h
add missing 'else'
[lyx.git] / src / graphics / PreviewImage.h
index 6e9ae3b482fe309070db1bbf711e922eec441e97..4c459756d01b7a8e61a8c5751c447dc9b25cf1f2 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Angus Leeming 
+ * \author Angus Leeming
  *
  * Full author contact details are available in file CREDITS
  */
 #ifndef PREVIEWIMAGE_H
 #define PREVIEWIMAGE_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 #include "LString.h"
 #include <boost/scoped_ptr.hpp>
 
@@ -50,10 +46,8 @@ public:
 
        /** If the image is not yet loaded (WaitingToLoad), then this method
         *  triggers that.
-        *  inset and bv are passed so we can choose to load only
-        *  those insets that are visible.
         */
-       Image const * image(Inset const & inset, BufferView const & bv) const;
+       Image const * image() const;
 
 private:
        /// Use the Pimpl idiom to hide the internals.