Kaydet (Commit) cdad6cb3 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: unreferenced local variable

üst 61a0a9e3
...@@ -139,7 +139,7 @@ sal_Bool SvxDrawingLayerExport( SdrModel* pModel, const uno::Reference<io::XOutp ...@@ -139,7 +139,7 @@ sal_Bool SvxDrawingLayerExport( SdrModel* pModel, const uno::Reference<io::XOutp
} }
} }
} }
catch(uno::Exception const& e) catch(uno::Exception const&)
{ {
DBG_UNHANDLED_EXCEPTION(); DBG_UNHANDLED_EXCEPTION();
bDocRet = sal_False; bDocRet = sal_False;
...@@ -258,7 +258,7 @@ sal_Bool SvxDrawingLayerImport( SdrModel* pModel, const uno::Reference<io::XInpu ...@@ -258,7 +258,7 @@ sal_Bool SvxDrawingLayerImport( SdrModel* pModel, const uno::Reference<io::XInpu
} }
} }
} }
catch( uno::Exception& r ) catch( uno::Exception& )
{ {
DBG_UNHANDLED_EXCEPTION(); DBG_UNHANDLED_EXCEPTION();
} }
......
...@@ -287,7 +287,7 @@ bool SvxXMLXTableExportComponent::save( ...@@ -287,7 +287,7 @@ bool SvxXMLXTableExportComponent::save(
{ {
try { try {
xSubStorage = xStorage->openStorageElement( aPath, eCreate ); xSubStorage = xStorage->openStorageElement( aPath, eCreate );
} catch (uno::Exception &e) { } catch (uno::Exception &) {
OSL_FAIL( "no output storage!" ); OSL_FAIL( "no output storage!" );
return false; return false;
} }
...@@ -301,7 +301,7 @@ bool SvxXMLXTableExportComponent::save( ...@@ -301,7 +301,7 @@ bool SvxXMLXTableExportComponent::save(
return false; return false;
initializeStreamMetadata( xStream ); initializeStreamMetadata( xStream );
xOut = xStream->getOutputStream(); xOut = xStream->getOutputStream();
} catch (uno::Exception &e) { } catch (uno::Exception &) {
OSL_FAIL( "no output stream!" ); OSL_FAIL( "no output stream!" );
return false; return false;
} }
......
...@@ -425,7 +425,7 @@ bool SvxXMLXTableImport::load( const rtl::OUString &rPath, ...@@ -425,7 +425,7 @@ bool SvxXMLXTableImport::load( const rtl::OUString &rPath,
try { try {
xSubStorage = comphelper::OStorageHelper::GetStorageAtPath( xSubStorage = comphelper::OStorageHelper::GetStorageAtPath(
xStorage, rPath, embed::ElementModes::READ, aNasty ); xStorage, rPath, embed::ElementModes::READ, aNasty );
} catch (uno::Exception &e) { } catch (uno::Exception &) {
} }
if( xSubStorage.is() ) if( xSubStorage.is() )
openStorageStream( &aParserInput, &pGraphicHelper, xSubStorage ); openStorageStream( &aParserInput, &pGraphicHelper, xSubStorage );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment