coverity#1215320 Uncaught exception

Change-Id: Icbc9f370573eda2a79c04825b00db77d1bf1924f
This commit is contained in:
Caolán McNamara
2014-05-23 16:29:23 +01:00
parent 6eaad9e41a
commit c6f72b6a7c

View File

@@ -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 );