]> git.lyx.org Git - features.git/commitdiff
const correctness (missed this)
authorAlfredo Braunstein <abraunst@lyx.org>
Fri, 22 Jun 2007 13:38:07 +0000 (13:38 +0000)
committerAlfredo Braunstein <abraunst@lyx.org>
Fri, 22 Jun 2007 13:38:07 +0000 (13:38 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18853 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetInclude.cpp
src/insets/InsetInclude.h

index 1e023fba10e4adc7c06da5dcc0bf1dfc156f88df..a755de41090c6b722bbfad428fff8e826a106e92 100644 (file)
@@ -882,7 +882,7 @@ void InsetInclude::addPreview(graphics::PreviewLoader & ploader) const
 }
 
 
-void InsetInclude::addToToc(TocList & toclist, Buffer const & buffer, ParConstIterator & pit) const
+void InsetInclude::addToToc(TocList & toclist, Buffer const & buffer, ParConstIterator const & pit) const
 {
        if (isListings(params_)) {
                InsetListingsParams params(params_.getOptions());
index 873521592e0029eba0bd483603bfa28f6162321b..7e981b9c83b8832829d8643ce2e62640aa267a13 100644 (file)
@@ -95,7 +95,7 @@ public:
        ///
        void addPreview(graphics::PreviewLoader &) const;
        ///
-       void addToToc(TocList &, Buffer const &, ParConstIterator &) const;
+       void addToToc(TocList &, Buffer const &, ParConstIterator const &) const;
        ///
        void updateLabels(Buffer const & buffer) const;
        ///