diff options
-rw-r--r-- | sc/source/filter/inc/worksheethelper.hxx | 2 | ||||
-rw-r--r-- | sc/source/filter/oox/worksheethelper.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/inc/worksheethelper.hxx b/sc/source/filter/inc/worksheethelper.hxx index 27bb7e3a69ca..22b4c0c3c429 100644 --- a/sc/source/filter/inc/worksheethelper.hxx +++ b/sc/source/filter/inc/worksheethelper.hxx @@ -193,7 +193,7 @@ public: /** Returns the type of this sheet. */ WorksheetType getSheetType() const; /** Returns the index of the current sheet. */ - sal_Int16 getSheetIndex() const; + sal_Int32 getSheetIndex() const; /** Returns the XSpreadsheet interface of the current sheet. */ const ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XSpreadsheet >& getSheet() const; diff --git a/sc/source/filter/oox/worksheethelper.cxx b/sc/source/filter/oox/worksheethelper.cxx index aaa45a9b79ba..3f0b584b6fa6 100644 --- a/sc/source/filter/oox/worksheethelper.cxx +++ b/sc/source/filter/oox/worksheethelper.cxx @@ -218,7 +218,7 @@ public: /** Returns the type of this sheet. */ inline WorksheetType getSheetType() const { return meSheetType; } /** Returns the index of the current sheet. */ - inline sal_Int16 getSheetIndex() const { return maUsedArea.Sheet; } + inline sal_Int32 getSheetIndex() const { return maUsedArea.Sheet; } /** Returns the XSpreadsheet interface of the current sheet. */ inline const Reference< XSpreadsheet >& getSheet() const { return mxSheet; } @@ -1386,7 +1386,7 @@ WorksheetType WorksheetHelper::getSheetType() const return mrSheetGlob.getSheetType(); } -sal_Int16 WorksheetHelper::getSheetIndex() const +sal_Int32 WorksheetHelper::getSheetIndex() const { return mrSheetGlob.getSheetIndex(); } |