summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-02-05 10:49:59 +0100
committerJulien Nabet <serval2412@yahoo.fr>2012-02-05 10:50:31 +0100
commitfa6665282e2a7c8753eb35b2f03499134413caca (patch)
tree9fb2c707d5c73b5f8a1064dfb4c5ea855b33b820 /sfx2
parent1535eed3d40d9741f3cdf68d32bc132e2a39f287 (diff)
Some cppcheck cleaning
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appserv.cxx8
-rw-r--r--sfx2/source/appl/workwin.cxx8
2 files changed, 8 insertions, 8 deletions
diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx
index bc4b1f416884..8070b51d455b 100644
--- a/sfx2/source/appl/appserv.cxx
+++ b/sfx2/source/appl/appserv.cxx
@@ -586,9 +586,9 @@ void SfxApplication::MiscExec_Impl( SfxRequest& rReq )
Any aValue = xPropSet->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "LayoutManager" )));
aValue >>= xLayoutManager;
}
- catch ( const ::com::sun::star::uno::RuntimeException& e )
+ catch ( const ::com::sun::star::uno::RuntimeException& )
{
- throw e;
+ throw;
}
catch ( ::com::sun::star::uno::Exception& )
{
@@ -889,8 +889,8 @@ static ::rtl::OUString getConfigurationStringValue(
rKey,
::comphelper::ConfigurationHelper::E_READONLY) >>= aDefVal;
}
- catch(const com::sun::star::uno::RuntimeException& exRun)
- { throw exRun; }
+ catch(const com::sun::star::uno::RuntimeException&)
+ { throw; }
catch(const com::sun::star::uno::Exception&)
{}
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx
index 9281858f8470..68c24ed2df7e 100644
--- a/sfx2/source/appl/workwin.cxx
+++ b/sfx2/source/appl/workwin.cxx
@@ -201,9 +201,9 @@ void LayoutManagerListener::setFrame( const css::uno::Reference< css::frame::XFr
catch ( css::lang::DisposedException& )
{
}
- catch ( const css::uno::RuntimeException& e )
+ catch ( const css::uno::RuntimeException& )
{
- throw e;
+ throw;
}
catch ( css::uno::Exception& )
{
@@ -262,9 +262,9 @@ throw( css::uno::RuntimeException )
catch ( css::lang::DisposedException& )
{
}
- catch ( const css::uno::RuntimeException& e )
+ catch ( const css::uno::RuntimeException& )
{
- throw e;
+ throw;
}
catch ( css::uno::Exception& )
{