diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-30 09:24:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-30 14:07:20 +0100 |
commit | 45e4f9e99b75ef8a125228bc42df7fb98af9d7bc (patch) | |
tree | 6a5b19bbe4316d56b14682c227c891f05db13b4c /sc/source/filter/ftools | |
parent | 1889728897e16800d58773a302eb5232a6fada76 (diff) |
callcatcher: regenerate unused code list
Diffstat (limited to 'sc/source/filter/ftools')
-rw-r--r-- | sc/source/filter/ftools/fapihelper.cxx | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sc/source/filter/ftools/fapihelper.cxx b/sc/source/filter/ftools/fapihelper.cxx index 328fb1b8f5d3..0e3d73f5a239 100644 --- a/sc/source/filter/ftools/fapihelper.cxx +++ b/sc/source/filter/ftools/fapihelper.cxx @@ -111,24 +111,6 @@ Reference< XInterface > ScfApiHelper::CreateInstance( const OUString& rServiceNa return CreateInstance( ::comphelper::getProcessServiceFactory(), rServiceName ); } -Reference< XInterface > ScfApiHelper::CreateInstanceWithArgs( - Reference< XMultiServiceFactory > xFactory, const OUString& rServiceName, const Sequence< Any >& rArgs ) -{ - Reference< XInterface > xInt; - if( xFactory.is() ) - { - try - { - xInt = xFactory->createInstanceWithArguments( rServiceName, rArgs ); - } - catch( Exception& ) - { - OSL_FAIL( "ScfApiHelper::CreateInstanceWithArgs - cannot create instance" ); - } - } - return xInt; -} - uno::Sequence< beans::NamedValue > ScfApiHelper::QueryEncryptionDataForMedium( SfxMedium& rMedium, ::comphelper::IDocPasswordVerifier& rVerifier, const ::std::vector< OUString >* pDefaultPasswords ) { |