summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-29 12:10:54 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-29 12:58:04 +0100
commitf4f3eb309ec98d27a5be7e9ffeef5d22ee50706f (patch)
tree73db8b89be5eee5516e5b676d49d7e0c3c6d24da /framework
parent005eb60e08541c3937547da28e0581f65971a93a (diff)
coverity#1308590 Uncaught exception
Change-Id: Ic92709acff10386f22b633e9cd4c3ad6cd1fbc9b
Diffstat (limited to 'framework')
-rw-r--r--framework/source/uielement/langselectionstatusbarcontroller.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/uielement/langselectionstatusbarcontroller.cxx b/framework/source/uielement/langselectionstatusbarcontroller.cxx
index e348cb8ddd90..2f2ab7969604 100644
--- a/framework/source/uielement/langselectionstatusbarcontroller.cxx
+++ b/framework/source/uielement/langselectionstatusbarcontroller.cxx
@@ -104,7 +104,7 @@ private:
OUString m_aGuessedTextLang; // the 'guessed' language for the selection, "" if none could be guessed
LanguageGuessingHelper m_aLangGuessHelper;
- void LangMenu( const css::awt::Point& aPos ) throw (css::uno::RuntimeException);
+ void LangMenu( const css::awt::Point& aPos ) throw (css::uno::RuntimeException, std::exception);
};
LangSelectionStatusbarController::LangSelectionStatusbarController( const uno::Reference< uno::XComponentContext >& xContext ) :
@@ -131,7 +131,7 @@ throw (css::uno::Exception, css::uno::RuntimeException, std::exception)
void LangSelectionStatusbarController::LangMenu(
const css::awt::Point& aPos )
-throw (css::uno::RuntimeException)
+throw (css::uno::RuntimeException, std::exception)
{
if (!m_bShowMenu)
return;