diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-11 21:57:48 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-12 09:10:02 +0100 |
commit | 4f675d31b5d8e82d052dcc3e8d8785087d4e3c90 (patch) | |
tree | 176565872a2e1935f3bed3893fcf209c6d34f9b3 /sc | |
parent | why insert a '.' just to then erase it ? (diff) | |
download | core-4f675d31b5d8e82d052dcc3e8d8785087d4e3c90.tar.gz core-4f675d31b5d8e82d052dcc3e8d8785087d4e3c90.zip |
callcatcher: drop unused methods
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/xltools.cxx | 7 | ||||
-rw-r--r-- | sc/source/filter/inc/xltools.hxx | 2 |
2 files changed, 0 insertions, 9 deletions
diff --git a/sc/source/filter/excel/xltools.cxx b/sc/source/filter/excel/xltools.cxx index 0ad5ffaa69b2..a710ee45b70a 100644 --- a/sc/source/filter/excel/xltools.cxx +++ b/sc/source/filter/excel/xltools.cxx @@ -719,13 +719,6 @@ OUString XclTools::GetSbMacroUrl( const OUString& rMacroName, SfxObjectShell* pD return OUString(); } -OUString XclTools::GetSbMacroUrl( const OUString& rModuleName, const OUString& rMacroName, SfxObjectShell* pDocShell ) -{ - OSL_ENSURE( rModuleName.getLength() > 0, "XclTools::GetSbMacroUrl - module name is empty" ); - OSL_ENSURE( rMacroName.getLength() > 0, "XclTools::GetSbMacroUrl - macro name is empty" ); - return GetSbMacroUrl( rModuleName + OUString( sal_Unicode( '.' ) ) + rMacroName, pDocShell ); -} - OUString XclTools::GetXclMacroName( const OUString& rSbMacroUrl ) { sal_Int32 nSbMacroUrlLen = rSbMacroUrl.getLength(); diff --git a/sc/source/filter/inc/xltools.hxx b/sc/source/filter/inc/xltools.hxx index 92e4fac97b0c..54f5b54da236 100644 --- a/sc/source/filter/inc/xltools.hxx +++ b/sc/source/filter/inc/xltools.hxx @@ -241,8 +241,6 @@ public: /** Returns the full StarBasic macro URL from an Excel macro name. */ static ::rtl::OUString GetSbMacroUrl( const rtl::OUString& rMacroName, SfxObjectShell* pDocShell = 0 ); - /** Returns the full StarBasic macro URL from an Excel module and macro name. */ - static ::rtl::OUString GetSbMacroUrl( const rtl::OUString& rModuleName, const rtl::OUString& rMacroName, SfxObjectShell* pDocShell = 0 ); /** Returns the Excel macro name from a full StarBasic macro URL. */ static ::rtl::OUString GetXclMacroName( const ::rtl::OUString& rSbMacroUrl ); |