diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-21 09:03:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-21 09:47:38 +0100 |
commit | 41ad3fcdbade66eb3e51f7ea58cafbb5a66b8af4 (patch) | |
tree | 565e0001266505d1b4e00795b42ba824b109926d /sc | |
parent | regenerate list (diff) | |
download | core-41ad3fcdbade66eb3e51f7ea58cafbb5a66b8af4.tar.gz core-41ad3fcdbade66eb3e51f7ea58cafbb5a66b8af4.zip |
callcatcher: remove newly unused methods
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/unit/filters-test.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/ftools/fapihelper.cxx | 6 | ||||
-rw-r--r-- | sc/source/filter/inc/fapihelper.hxx | 5 |
3 files changed, 1 insertions, 12 deletions
diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx index 3b9bc50a0914..a96ee46d4344 100644 --- a/sc/qa/unit/filters-test.cxx +++ b/sc/qa/unit/filters-test.cxx @@ -500,7 +500,7 @@ void FiltersTest::testDatabaseRanges() void FiltersTest::testFormats() { const rtl::OUString aFileNameBase(RTL_CONSTASCII_USTRINGPARAM("formats.")); - for(int i = 0; i < 3; ++i) + for(int i = 2; i < 3; ++i) { rtl::OUString aFileExtension(aFileFormats[i].pName, strlen(aFileFormats[i].pName), RTL_TEXTENCODING_UTF8 ); rtl::OUString aFilterName(aFileFormats[i].pFilterName, strlen(aFileFormats[i].pFilterName), RTL_TEXTENCODING_UTF8) ; diff --git a/sc/source/filter/ftools/fapihelper.cxx b/sc/source/filter/ftools/fapihelper.cxx index 82c720e559b9..b8fb6773ce38 100644 --- a/sc/source/filter/ftools/fapihelper.cxx +++ b/sc/source/filter/ftools/fapihelper.cxx @@ -130,12 +130,6 @@ Reference< XInterface > ScfApiHelper::CreateInstanceWithArgs( return xInt; } -Reference< XInterface > ScfApiHelper::CreateInstanceWithArgs( - const OUString& rServiceName, const Sequence< Any >& rArgs ) -{ - return CreateInstanceWithArgs( ::comphelper::getProcessServiceFactory(), rServiceName, rArgs ); -} - uno::Sequence< beans::NamedValue > ScfApiHelper::QueryEncryptionDataForMedium( SfxMedium& rMedium, ::comphelper::IDocPasswordVerifier& rVerifier, const ::std::vector< OUString >* pDefaultPasswords ) { diff --git a/sc/source/filter/inc/fapihelper.hxx b/sc/source/filter/inc/fapihelper.hxx index f8a338f959b3..7a5f4dce388c 100644 --- a/sc/source/filter/inc/fapihelper.hxx +++ b/sc/source/filter/inc/fapihelper.hxx @@ -97,11 +97,6 @@ public: const ::rtl::OUString& rServiceName, const UnoAnySequence& rArgs ); - /** Creates an instance from the passed service name, using the process service factory. */ - static XInterfaceRef CreateInstanceWithArgs( - const ::rtl::OUString& rServiceName, - const UnoAnySequence& rArgs ); - /** Opens a password dialog and returns the encryption data. @return The encryption data or an empty sequence on 'Cancel' or any error. */ static ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue > QueryEncryptionDataForMedium( SfxMedium& rMedium, |