summaryrefslogtreecommitdiff
path: root/framework/source/uielement/progressbarwrapper.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2011-12-14 00:03:52 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2011-12-14 01:31:17 +0900
commit520891d058f9e936b9b8afb490b5a26c156008ef (patch)
tree6cb8ebad42c3504cb3e26249ba3458afb02a9922 /framework/source/uielement/progressbarwrapper.cxx
parent4c1c531435e1bdb151d45626648486062012cbaa (diff)
catch exception by constant reference
Diffstat (limited to 'framework/source/uielement/progressbarwrapper.cxx')
-rw-r--r--framework/source/uielement/progressbarwrapper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/uielement/progressbarwrapper.cxx b/framework/source/uielement/progressbarwrapper.cxx
index bc78ac628b78..e8fddb76324b 100644
--- a/framework/source/uielement/progressbarwrapper.cxx
+++ b/framework/source/uielement/progressbarwrapper.cxx
@@ -96,7 +96,7 @@ void ProgressBarWrapper::setStatusBar( const uno::Reference< awt::XWindow >& rSt
if ( xComponent.is() )
xComponent->dispose();
}
- catch ( uno::Exception& )
+ catch ( const uno::Exception& )
{
}
m_xStatusBar.clear();
@@ -319,7 +319,7 @@ throw (uno::RuntimeException)
if ( xComponent.is() )
xComponent->dispose();
}
- catch ( lang::DisposedException& )
+ catch ( const lang::DisposedException& )
{
}
}