diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-28 09:31:23 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-28 13:49:44 +0100 |
commit | af142a08d66db0d89a726dc9b6b99c52cc2c3c03 (patch) | |
tree | 69b0aa75eadb2942e5f4ca498919539aa0f9e3e5 /desktop | |
parent | bbb598aeff2fb552beb2251f8de9333aae79f0ad (diff) |
coverity#703943 Unchecked return value
Change-Id: Ief79d090988c2178980724c7a7835f01457a8019
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/app.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index bb14e03470a2..290312d9b0e4 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -2157,11 +2157,10 @@ void Desktop::PreloadConfigurationData() } // preload user interface element factories - Sequence< Sequence< css::beans::PropertyValue > > aSeqSeqPropValue; Reference< XUIElementFactoryManager > xUIElementFactory = theUIElementFactoryManager::get( xContext ); try { - aSeqSeqPropValue = xUIElementFactory->getRegisteredFactories(); + xUIElementFactory->getRegisteredFactories(); } catch ( const ::com::sun::star::uno::Exception& ) { @@ -2174,7 +2173,7 @@ void Desktop::PreloadConfigurationData() css::frame::thePopupMenuControllerFactory::get( xContext ); try { - xPopupMenuControllerFactory->hasController( + (void)xPopupMenuControllerFactory->hasController( OUString( ".uno:CharFontName" ), OUString() ); } @@ -2183,7 +2182,6 @@ void Desktop::PreloadConfigurationData() } // preload filter configuration - Sequence< OUString > aSeq; xNameAccess = Reference< XNameAccess >( xContext->getServiceManager()->createInstanceWithContext("com.sun.star.document.FilterFactory", xContext), UNO_QUERY ); @@ -2191,7 +2189,7 @@ void Desktop::PreloadConfigurationData() { try { - aSeq = xNameAccess->getElementNames(); + xNameAccess->getElementNames(); } catch ( const ::com::sun::star::uno::Exception& ) { @@ -2206,7 +2204,7 @@ void Desktop::PreloadConfigurationData() { try { - aSeq = xNameAccess->getElementNames(); + xNameAccess->getElementNames(); } catch ( const ::com::sun::star::uno::Exception& ) { |