]> git.lyx.org Git - lyx.git/blobdiff - src/TocBackend.h
Squash gcc warn
[lyx.git] / src / TocBackend.h
index f267d3c774f8023a305ceb99e20d4d0e63aabc1a..d1d0d1ad0a6113aa2fde03d87e3f0f501166a39b 100644 (file)
@@ -38,7 +38,7 @@ class TocItem
 
 public:
        /// Default constructor for STL containers.
-       TocItem() {}
+       TocItem() : dit_(0) {}
        ///
        TocItem(DocIterator const & dit,
                int depth,
@@ -54,6 +54,8 @@ public:
        docstring const & str() const;
        ///
        docstring const asString() const;
+       ///
+       DocIterator const & dit() const;
 
        /// the action corresponding to the goTo above
        FuncRequest action() const;