Kaydet (Commit) c6f72b6a authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1215320 Uncaught exception

Change-Id: Icbc9f370573eda2a79c04825b00db77d1bf1924f
üst 6eaad9e4
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment