diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-25 10:15:50 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-25 10:15:50 +0000 |
commit | 88e5419578e282461fb7c1a9f697f731aabef400 (patch) | |
tree | 5635cc44e6889fb5a49febffe8120c9318184635 /sc/source/filter/xml/XMLStylesExportHelper.hxx | |
parent | 91aff4d665e1c683ba40209d6ddf8699d93f7918 (diff) |
cppcheck: methods can be const
Diffstat (limited to 'sc/source/filter/xml/XMLStylesExportHelper.hxx')
-rw-r--r-- | sc/source/filter/xml/XMLStylesExportHelper.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/filter/xml/XMLStylesExportHelper.hxx b/sc/source/filter/xml/XMLStylesExportHelper.hxx index bf7ab6303de1..c5d17f007b3f 100644 --- a/sc/source/filter/xml/XMLStylesExportHelper.hxx +++ b/sc/source/filter/xml/XMLStylesExportHelper.hxx @@ -139,8 +139,8 @@ public: const sal_Int32 nLastRow, const sal_Int32 nLastCol, const ScFormatRangeStyles* pCellStyles, ScDocument* pDoc); - const ScMyDefaultStyleList* GetRowDefaults() { return pRowDefaults; } - const ScMyDefaultStyleList* GetColDefaults() { return pColDefaults; } + const ScMyDefaultStyleList* GetRowDefaults() const { return pRowDefaults; } + const ScMyDefaultStyleList* GetColDefaults() const { return pColDefaults; } }; struct ScMyRowFormatRange @@ -177,8 +177,8 @@ public: void Clear(); void AddRange(ScMyRowFormatRange& rFormatRange, const sal_Int32 nStartRow); sal_Bool GetNext(ScMyRowFormatRange& rFormatRange); - sal_Int32 GetMaxRows(); - sal_Int32 GetSize(); + sal_Int32 GetMaxRows() const; + sal_Int32 GetSize() const; void Sort(); }; |