summaryrefslogtreecommitdiff
path: root/framework/source/uielement/popuptoolbarcontroller.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/uielement/popuptoolbarcontroller.cxx')
-rw-r--r--framework/source/uielement/popuptoolbarcontroller.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/uielement/popuptoolbarcontroller.cxx b/framework/source/uielement/popuptoolbarcontroller.cxx
index cb41c774fc10..22bfc8fdc969 100644
--- a/framework/source/uielement/popuptoolbarcontroller.cxx
+++ b/framework/source/uielement/popuptoolbarcontroller.cxx
@@ -694,7 +694,7 @@ void NewToolbarController::functionExecuted( const OUString &rCommand )
it return the existing state of the given URL in the popupmenu of this toolbox control.
If the given URL can be located as an action command of one menu item of the
- popup menu of this control, we return sal_True. Otherwhise we return sal_False.
+ popup menu of this control, we return sal_True. Otherwise we return sal_False.
Further we return a fallback URL, in case we have to return sal_False. Because
the outside code must select a valid item of the popup menu every time ...
and we define it here. By the way this method was written to handle
@@ -717,7 +717,7 @@ void NewToolbarController::functionExecuted( const OUString &rCommand )
contains the image of the menu for the URL.
@return sal_True - if URL could be located as an item of the popup menu.
- sal_False - otherwhise.
+ sal_False - otherwise.
*/
bool Impl_ExistURLInMenu(
const css::uno::Reference< css::awt::XPopupMenu > &rPopupMenu,