diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-06-01 21:38:53 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-06-01 21:38:53 +0200 |
commit | d4a8a64c218a4640e9701356aa87701d5a80589b (patch) | |
tree | 2a94bafb512349b5ca13147c6039698eb34aeab5 /sc/inc/sheetdata.hxx | |
parent | 0ef96d2d92f754b56eb3b472b88c81da689bbb92 (diff) |
change to SCTAB from sal_Int16 and sal_Int32 for sheet index
Diffstat (limited to 'sc/inc/sheetdata.hxx')
-rw-r--r-- | sc/inc/sheetdata.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/inc/sheetdata.hxx b/sc/inc/sheetdata.hxx index b4790684ba05..8c6a2360a538 100644 --- a/sc/inc/sheetdata.hxx +++ b/sc/inc/sheetdata.hxx @@ -128,7 +128,7 @@ class ScSheetSaveData std::vector<bool> maBlocked; std::vector<ScStreamEntry> maStreamEntries; std::vector<ScStreamEntry> maSaveEntries; - sal_Int32 mnStartTab; + SCTAB mnStartTab; sal_Int32 mnStartOffset; ScNoteStyleEntry maPreviousNote; @@ -149,20 +149,20 @@ public: void AddTextStyle( const rtl::OUString& rName, const ScAddress& rCellPos, const ESelection& rSelection ); - void BlockSheet( sal_Int32 nTab ); - bool IsSheetBlocked( sal_Int32 nTab ) const; + void BlockSheet( SCTAB nTab ); + bool IsSheetBlocked( SCTAB nTab ) const; - void AddStreamPos( sal_Int32 nTab, sal_Int32 nStartOffset, sal_Int32 nEndOffset ); - void GetStreamPos( sal_Int32 nTab, sal_Int32& rStartOffset, sal_Int32& rEndOffset ) const; - bool HasStreamPos( sal_Int32 nTab ) const; + void AddStreamPos( SCTAB nTab, sal_Int32 nStartOffset, sal_Int32 nEndOffset ); + void GetStreamPos( SCTAB nTab, sal_Int32& rStartOffset, sal_Int32& rEndOffset ) const; + bool HasStreamPos( SCTAB nTab ) const; - void StartStreamPos( sal_Int32 nTab, sal_Int32 nStartOffset ); + void StartStreamPos( SCTAB nTab, sal_Int32 nStartOffset ); void EndStreamPos( sal_Int32 nEndOffset ); bool HasStartPos() const { return mnStartTab >= 0; } void ResetSaveEntries(); - void AddSavePos( sal_Int32 nTab, sal_Int32 nStartOffset, sal_Int32 nEndOffset ); + void AddSavePos( SCTAB nTab, sal_Int32 nStartOffset, sal_Int32 nEndOffset ); void UseSaveEntries(); void StoreInitialNamespaces( const SvXMLNamespaceMap& rNamespaces ); |