summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorDaniel Rentz <dr@openoffice.org>2010-07-07 19:44:06 +0200
committerDaniel Rentz <dr@openoffice.org>2010-07-07 19:44:06 +0200
commit708cbbebc8483e2c2044d409d4503fdccc558969 (patch)
treefe3d5e96ae560ea2b66f2f6000374bf537aeda32 /sc/inc
parentd5bbb90b33416ad70987ab6725e41c1ce673ab93 (diff)
mib17: adjusted codename handling in xls filter, do not restrict vba event handling to xls files
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/scextopt.hxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/sc/inc/scextopt.hxx b/sc/inc/scextopt.hxx
index b02df9816ef4..d4a845040010 100644
--- a/sc/inc/scextopt.hxx
+++ b/sc/inc/scextopt.hxx
@@ -116,13 +116,11 @@ public:
ScExtTabSettings& GetOrCreateTabSettings( SCTAB nTab );
/** Returns the number of sheet codenames. */
- size_t GetCodeNameCount() const;
+ SCTAB GetCodeNameCount() const;
/** Returns the specified codename (empty string = no codename). */
- const String& GetCodeName( size_t nIdx ) const;
+ const String& GetCodeName( SCTAB nTab ) const;
/** Appends a codename for a sheet. */
- void AppendCodeName( const String& rCodeName );
- void SetCodeName( const String& rCodeName, size_t nIdx );
- void DeleteCodeName( size_t nIdx );
+ void SetCodeName( SCTAB nTab, const String& rCodeName );
private:
::std::auto_ptr< ScExtDocOptionsImpl > mxImpl;