]> git.lyx.org Git - lyx.git/blobdiff - src/PainterBase.h
Small fix.
[lyx.git] / src / PainterBase.h
index 7178f93564561a2e2a7bbf4cb9d5692980d3a3f9..22f3a0782b0539b5b478962f2815c7c8523b9735 100644 (file)
@@ -56,7 +56,7 @@ public:
        };
 
        ///
-       PainterBase(WorkArea & wa) : owner(wa) {}
+       explicit PainterBase(WorkArea & wa) : owner(wa) {}
        
        ///
        virtual ~PainterBase() {}
@@ -66,6 +66,8 @@ public:
        int paperMargin() const;
        ///
        int paperWidth() const;
+       ///
+       int paperHeight() const;
        
        /**@Basic drawing routines */
        /// Draw a line from point to point