X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FTocBackend.h;h=d1d0d1ad0a6113aa2fde03d87e3f0f501166a39b;hb=a187929721cac97a93b72a210ed6515b32ba788d;hp=f267d3c774f8023a305ceb99e20d4d0e63aabc1a;hpb=b54b51c694c0c5db8a4226fc84017b3324d145f7;p=lyx.git diff --git a/src/TocBackend.h b/src/TocBackend.h index f267d3c774..d1d0d1ad0a 100644 --- a/src/TocBackend.h +++ b/src/TocBackend.h @@ -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;