summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2019-09-18 14:53:06 +0200
committerAndras Timar <andras.timar@collabora.com>2019-09-18 16:36:47 +0200
commitd3fe38438d107fd9650f8e364684ac81b93f54d5 (patch)
tree285da94c2a96732e18fed1b630f9c382de4c6a22 /framework
parent89f8b55eb469fc35afeabd1b1193582cc3e9b71a (diff)
The menu is called 'Form', not 'Forms'
Change-Id: I216e04bb54319cff5d790c5e223c6e49215d09a3 Reviewed-on: https://gerrit.libreoffice.org/79095 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'framework')
-rw-r--r--framework/source/layoutmanager/layoutmanager.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx
index af370d042bd9..1d1421f70d00 100644
--- a/framework/source/layoutmanager/layoutmanager.cxx
+++ b/framework/source/layoutmanager/layoutmanager.cxx
@@ -2538,7 +2538,7 @@ void LayoutManager::implts_createMSCompatibleMenuBar( const OUString& aName )
{
SolarMutexClearableGuard aWriteLock;
- // Find Forms menu in the original menubar
+ // Find Form menu in the original menubar
m_xMenuBar = implts_createElement( aName );
uno::Reference< XUIElementSettings > xMenuBarSettings(m_xMenuBar, UNO_QUERY);
uno::Reference< container::XIndexReplace > xMenuIndex(xMenuBarSettings->getSettings(true), UNO_QUERY);
@@ -2563,12 +2563,12 @@ void LayoutManager::implts_createMSCompatibleMenuBar( const OUString& aName )
}
assert(nFormsMenu != -1);
- // Create the MS compatible Forms menu
+ // Create the MS compatible Form menu
css::uno::Reference< css::ui::XUIElement > xFormsMenu = implts_createElement( "private:resource/menubar/mscompatibleformsmenu" );
if(!xFormsMenu.is())
return;
- // Merge the MS compatible Forms menu into the menubar
+ // Merge the MS compatible Form menu into the menubar
uno::Reference< XUIElementSettings > xFormsMenuSettings(xFormsMenu, UNO_QUERY);
uno::Reference< container::XIndexAccess > xFormsMenuIndex(xFormsMenuSettings->getSettings(true));