summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-23 16:29:23 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-23 20:37:32 +0100
commitc6f72b6a7ca7d64bd9386b0459ceccea1230bfe6 (patch)
tree6db611a0c0dc14a9f113e764bf0bf8c716d75246 /framework
parent6eaad9e41ae95a3d973e72439ef580349e3e8e4b (diff)
coverity#1215320 Uncaught exception
Change-Id: Icbc9f370573eda2a79c04825b00db77d1bf1924f
Diffstat (limited to 'framework')
-rw-r--r--framework/source/uielement/popuptoolbarcontroller.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/framework/source/uielement/popuptoolbarcontroller.cxx b/framework/source/uielement/popuptoolbarcontroller.cxx
index 4f0c75cd9fda..8d09b3581166 100644
--- a/framework/source/uielement/popuptoolbarcontroller.cxx
+++ b/framework/source/uielement/popuptoolbarcontroller.cxx
@@ -40,6 +40,7 @@
#include <com/sun/star/frame/XUIControllerFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/ucb/CommandFailedException.hpp>
+#include <com/sun/star/ucb/ContentCreationException.hpp>
#define UNO_COMMAND_RECENT_FILE_LIST ".uno:RecentFileList"
@@ -415,6 +416,9 @@ void SAL_CALL NewToolbarController::statusChanged( const css::frame::FeatureStat
catch (const css::ucb::CommandFailedException&)
{
}
+ catch (const css::ucb::ContentCreationException&)
+ {
+ }
}
enable( rEvent.IsEnabled );