summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-10-06 18:00:03 +0300
committerTor Lillqvist <tlillqvist@suse.com>2011-10-07 12:49:53 +0300
commitcdad6cb3bfad8709ee984a7581664725948e24fb (patch)
tree9ac4a5791417ee086d813da9a62edb5765b56f3d /svx
parent61a0a9e30014f707e30e872e011be5c6bde36a6f (diff)
WaE: unreferenced local variable
Diffstat (limited to 'svx')
-rw-r--r--svx/source/xml/xmlexport.cxx4
-rw-r--r--svx/source/xml/xmlxtexp.cxx4
-rw-r--r--svx/source/xml/xmlxtimp.cxx2
3 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/xml/xmlexport.cxx b/svx/source/xml/xmlexport.cxx
index 5eabfa5742de..c14a71d82ac8 100644
--- a/svx/source/xml/xmlexport.cxx
+++ b/svx/source/xml/xmlexport.cxx
@@ -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();
}
diff --git a/svx/source/xml/xmlxtexp.cxx b/svx/source/xml/xmlxtexp.cxx
index 4e613623adc2..2074d4fe9d46 100644
--- a/svx/source/xml/xmlxtexp.cxx
+++ b/svx/source/xml/xmlxtexp.cxx
@@ -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;
}
diff --git a/svx/source/xml/xmlxtimp.cxx b/svx/source/xml/xmlxtimp.cxx
index fa7c23a48c1c..fd6b8ee6c5b0 100644
--- a/svx/source/xml/xmlxtimp.cxx
+++ b/svx/source/xml/xmlxtimp.cxx
@@ -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 );