diff options
Diffstat (limited to 'framework/source/dispatch/startmoduledispatcher.cxx')
-rw-r--r-- | framework/source/dispatch/startmoduledispatcher.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/dispatch/startmoduledispatcher.cxx b/framework/source/dispatch/startmoduledispatcher.cxx index e9f37e9c7875..96d40fdd77e4 100644 --- a/framework/source/dispatch/startmoduledispatcher.cxx +++ b/framework/source/dispatch/startmoduledispatcher.cxx @@ -21,10 +21,10 @@ #include <pattern/frame.hxx> #include <framework/framelistanalyzer.hxx> -#include <dispatchcommands.h> #include <targets.h> #include <services.h> #include <general.h> +#include <isstartmoduledispatch.hxx> #include <com/sun/star/frame/Desktop.hpp> #include <com/sun/star/frame/XController.hpp> @@ -70,7 +70,7 @@ void SAL_CALL StartModuleDispatcher::dispatchWithNotification(const css::util::U throw(css::uno::RuntimeException, std::exception) { ::sal_Int16 nResult = css::frame::DispatchResultState::DONTKNOW; - if ( aURL.Complete == CMD_UNO_SHOWSTARTMODULE ) + if (isStartModuleDispatch(aURL)) { nResult = css::frame::DispatchResultState::FAILURE; if (implts_isBackingModePossible ()) |