diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2018-01-14 12:50:47 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2018-01-14 16:24:04 +0100 |
commit | cfffb09b3d6d46c500e3be3fe601a4ff6944d40e (patch) | |
tree | 9cb01bdb90949dd670b8bb30d23cf4be32cefc89 /framework/source/uielement | |
parent | fa014ee6e13d182cb5830698558284e7caffa5f9 (diff) |
Fix typos
Change-Id: I2a578961837076ebce3c1fb2681b0785d1d490ac
Reviewed-on: https://gerrit.libreoffice.org/47857
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'framework/source/uielement')
-rw-r--r-- | framework/source/uielement/popuptoolbarcontroller.cxx | 4 |
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, |