diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-25 11:21:11 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-25 15:57:28 +0000 |
commit | 601c523e8c8618bd36dbe8433aa5c7bf5dc7a388 (patch) | |
tree | 6163b8b2082de8bef5d4df40c9c12f6884b47167 | |
parent | 8385867e4fc9f4d9bd619fcfa4c3dbd8f3720beb (diff) |
remove empty method
-rw-r--r-- | sc/source/filter/xml/XMLExportSharedData.cxx | 4 | ||||
-rw-r--r-- | sc/source/filter/xml/XMLExportSharedData.hxx | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/filter/xml/XMLExportSharedData.cxx b/sc/source/filter/xml/XMLExportSharedData.cxx index c3de04075..79263118b 100644 --- a/sc/source/filter/xml/XMLExportSharedData.cxx +++ b/sc/source/filter/xml/XMLExportSharedData.cxx @@ -69,7 +69,7 @@ void ScMySharedData::SetLastColumn(const sal_Int32 nTable, const sal_Int32 nCol) if(nCol > nLastColumns[nTable]) nLastColumns[nTable] = nCol; } -sal_Int32 ScMySharedData::GetLastColumn(const sal_Int32 nTable) +sal_Int32 ScMySharedData::GetLastColumn(const sal_Int32 nTable) const { return nLastColumns[nTable]; } @@ -79,7 +79,7 @@ void ScMySharedData::SetLastRow(const sal_Int32 nTable, const sal_Int32 nRow) if(nRow > nLastRows[nTable]) nLastRows[nTable] = nRow; } -sal_Int32 ScMySharedData::GetLastRow(const sal_Int32 nTable) +sal_Int32 ScMySharedData::GetLastRow(const sal_Int32 nTable) const { return nLastRows[nTable]; } diff --git a/sc/source/filter/xml/XMLExportSharedData.hxx b/sc/source/filter/xml/XMLExportSharedData.hxx index 48497b530..e4967751e 100644 --- a/sc/source/filter/xml/XMLExportSharedData.hxx +++ b/sc/source/filter/xml/XMLExportSharedData.hxx @@ -68,12 +68,12 @@ public: void SetLastColumn(const sal_Int32 nTable, const sal_Int32 nCol); void SetLastRow(const sal_Int32 nTable, const sal_Int32 nRow); - sal_Int32 GetLastColumn(const sal_Int32 nTable); - sal_Int32 GetLastRow(const sal_Int32 nTable); + sal_Int32 GetLastColumn(const sal_Int32 nTable) const; + sal_Int32 GetLastRow(const sal_Int32 nTable) const; void AddDrawPage(const ScMyDrawPage& aDrawPage, const sal_Int32 nTable); void SetDrawPageHasForms(const sal_Int32 nTable, sal_Bool bHasForms); com::sun::star::uno::Reference<com::sun::star::drawing::XDrawPage> GetDrawPage(const sal_Int32 nTable); - sal_Bool HasDrawPage() { return pDrawPages != NULL; } + sal_Bool HasDrawPage() const { return pDrawPages != NULL; } sal_Bool HasForm(const sal_Int32 nTable, com::sun::star::uno::Reference<com::sun::star::drawing::XDrawPage>& xDrawPage); void AddNewShape(const ScMyShape& aMyShape); void SortShapesContainer(); |