summaryrefslogtreecommitdiff
path: root/sc/source/filter/ftools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-03-30 09:24:43 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-03-30 14:07:20 +0100
commit45e4f9e99b75ef8a125228bc42df7fb98af9d7bc (patch)
tree6a5b19bbe4316d56b14682c227c891f05db13b4c /sc/source/filter/ftools
parent1889728897e16800d58773a302eb5232a6fada76 (diff)
callcatcher: regenerate unused code list
Diffstat (limited to 'sc/source/filter/ftools')
-rw-r--r--sc/source/filter/ftools/fapihelper.cxx18
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 )
{