WaE: unreferenced local variable

This commit is contained in:
Tor Lillqvist
2011-10-06 18:00:03 +03:00
parent 61a0a9e300
commit cdad6cb3bf
3 changed files with 5 additions and 5 deletions

View File

@@ -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();
bDocRet = sal_False;
@@ -258,7 +258,7 @@ sal_Bool SvxDrawingLayerImport( SdrModel* pModel, const uno::Reference<io::XInpu
}
}
}
catch( uno::Exception& r )
catch( uno::Exception& )
{
DBG_UNHANDLED_EXCEPTION();
}

View File

@@ -287,7 +287,7 @@ bool SvxXMLXTableExportComponent::save(
{
try {
xSubStorage = xStorage->openStorageElement( aPath, eCreate );
} catch (uno::Exception &e) {
} catch (uno::Exception &) {
OSL_FAIL( "no output storage!" );
return false;
}
@@ -301,7 +301,7 @@ bool SvxXMLXTableExportComponent::save(
return false;
initializeStreamMetadata( xStream );
xOut = xStream->getOutputStream();
} catch (uno::Exception &e) {
} catch (uno::Exception &) {
OSL_FAIL( "no output stream!" );
return false;
}

View File

@@ -425,7 +425,7 @@ bool SvxXMLXTableImport::load( const rtl::OUString &rPath,
try {
xSubStorage = comphelper::OStorageHelper::GetStorageAtPath(
xStorage, rPath, embed::ElementModes::READ, aNasty );
} catch (uno::Exception &e) {
} catch (uno::Exception &) {
}
if( xSubStorage.is() )
openStorageStream( &aParserInput, &pGraphicHelper, xSubStorage );