const correctness

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18852 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Alfredo Braunstein 2007-06-22 13:33:51 +00:00
parent e752a9eeef
commit fb963c2587
3 changed files with 3 additions and 3 deletions

View File

@ -432,7 +432,7 @@ public:
virtual void addPreview(graphics::PreviewLoader &) const {}
/// Add an entry to the TocList
/// pit is the ParConstIterator of the paragraph containing the inset
virtual void addToToc(TocList &, Buffer const &, ParConstIterator &) const {}
virtual void addToToc(TocList &, Buffer const &, ParConstIterator const &) const {}
public:
/// returns LyX code associated with the inset. Used for TOC, ...)

View File

@ -115,7 +115,7 @@ void InsetCaption::setCustomLabel(docstring const & label)
}
void InsetCaption::addToToc(TocList & toclist, Buffer const & buf, ParConstIterator &) const
void InsetCaption::addToToc(TocList & toclist, Buffer const & buf, ParConstIterator const &) const
{
if (type_.empty())
return;

View File

@ -84,7 +84,7 @@ public:
///
void setCustomLabel(docstring const & label);
///
void addToToc(TocList &, Buffer const &, ParConstIterator &) const;
void addToToc(TocList &, Buffer const &, ParConstIterator const &) const;
/// Captions don't accept alignment, spacing, etc.
bool forceDefaultParagraphs(idx_type) const { return true; }