]> git.lyx.org Git - lyx.git/blobdiff - src/TextMetrics.h
Fix uninitialized value revealed by Coverity
[lyx.git] / src / TextMetrics.h
index ae99490955f948a180dcbd24c6a74ed0dd98cade..68024884a37212d5f99a475084ccbb1e474b2cc4 100644 (file)
@@ -55,7 +55,8 @@ public:
 
 
        /// compute text metrics.
-       bool metrics(MetricsInfo & mi, Dimension & dim, int min_width = 0);
+       bool metrics(MetricsInfo & mi, Dimension & dim, int min_width = 0,
+                    bool const expand_on_multipars = true);
 
        ///
        void newParMetricsDown();
@@ -158,7 +159,7 @@ private:
        int parBottomSpacing(pit_type pit) const;
 
        // Helper function for the other checkInsetHit method.
-       InsetList::InsetTable * checkInsetHit(pit_type pit, int x, int y);
+       InsetList::Element * checkInsetHit(pit_type pit, int x, int y);
 
 
 // Temporary public: