[Libreoffice-commits] .: sc/source
Caolán McNamara
caolan at kemper.freedesktop.org
Tue Nov 23 13:30:38 PST 2010
sc/source/filter/xml/XMLExportIterator.hxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 29f6b4befa8ad0a6d6d701b6fcf6a4716ed4884c
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Nov 23 20:56:40 2010 +0000
cppcheck: These functions can be cons
diff --git a/sc/source/filter/xml/XMLExportIterator.hxx b/sc/source/filter/xml/XMLExportIterator.hxx
index 317546d..836e4f1 100644
--- a/sc/source/filter/xml/XMLExportIterator.hxx
+++ b/sc/source/filter/xml/XMLExportIterator.hxx
@@ -91,7 +91,7 @@ public:
using ScMyIteratorBase::UpdateAddress;
void AddNewShape(const ScMyShape& aShape);
sal_Bool HasShapes() { return !aShapeList.empty(); }
- const ScMyShapeList* GetShapes() { return &aShapeList; }
+ const ScMyShapeList* GetShapes() const { return &aShapeList; }
virtual void SetCellData( ScMyCell& rMyCell );
virtual void Sort();
void SkipTable(SCTAB nSkip);
@@ -120,7 +120,7 @@ public:
using ScMyIteratorBase::UpdateAddress;
void AddNewNote(const ScMyNoteShape& aNote);
sal_Bool HasNotes() { return !aNoteShapeList.empty(); }
- const ScMyNoteShapeList* GetNotes() { return &aNoteShapeList; }
+ const ScMyNoteShapeList* GetNotes() const { return &aNoteShapeList; }
virtual void SetCellData( ScMyCell& rMyCell );
virtual void Sort();
void SkipTable(SCTAB nSkip);
More information about the Libreoffice-commits
mailing list