summaryrefslogtreecommitdiffstats
path: root/framework/source/services/dispatchhelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/services/dispatchhelper.cxx')
-rw-r--r--framework/source/services/dispatchhelper.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/source/services/dispatchhelper.cxx b/framework/source/services/dispatchhelper.cxx
index be645c7b849d..86565ee1383f 100644
--- a/framework/source/services/dispatchhelper.cxx
+++ b/framework/source/services/dispatchhelper.cxx
@@ -142,8 +142,7 @@ css::uno::Any SAL_CALL DispatchHelper::executeDispatch(
xNotifyDispatch->dispatchWithNotification(aURL, aArguments, xListener);
aResult = m_aResult;
}
- else
- if (xDispatch.is())
+ else if (xDispatch.is())
{
// dispatch it without any chance to get a result
xDispatch->dispatch( aURL, aArguments );