mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
const correctness
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18852 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e752a9eeef
commit
fb963c2587
@ -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, ...)
|
||||
|
@ -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;
|
||||
|
@ -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; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user