]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
Minimal fix needed to give Qt a label dialog again.
[lyx.git] / src / BufferView.h
index e4da73d12e285c312f785f14f75e6be8acff28df..77aff425ef7ea5443b348333dbe9d2c02d7c2266 100644 (file)
 #ifndef BUFFER_VIEW_H
 #define BUFFER_VIEW_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 #include "LString.h"
 #include "undo.h"
 
@@ -108,7 +104,7 @@ public:
        void restorePosition(unsigned int i);
        /// does the given bookmark have a saved position ?
        bool isSavedPosition(unsigned int i);
+
        /// return the current change at the cursor
        Change const getCurrentChange();
 
@@ -197,8 +193,6 @@ public:
        /// Scroll the view by a number of pixels
        void scrollDocView(int);
 
-       /// height of a normal line in pixels (zoom factor considered)
-       int defaultHeight() const;
        /// return the pixel width of the document view
        int workWidth() const;
        /// return the pixel height of the document view