diff options
author | Andras Timar <andras.timar@collabora.com> | 2019-09-18 14:53:06 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2019-09-18 15:51:28 +0200 |
commit | b41e4b4cfed113085f9bfd8cae6b43b3a4376ed4 (patch) | |
tree | c11e5e362e32124598b9ecf5c075e7be9e87f747 /framework | |
parent | 8e53efa926bc05d73c48579f63c3d662a96bd35e (diff) |
The menu is called 'Form', not 'Forms'
Change-Id: I216e04bb54319cff5d790c5e223c6e49215d09a3
Reviewed-on: https://gerrit.libreoffice.org/79094
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/layoutmanager/layoutmanager.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx index b78b0b476c5a..7afceb87a0ac 100644 --- a/framework/source/layoutmanager/layoutmanager.cxx +++ b/framework/source/layoutmanager/layoutmanager.cxx @@ -2525,7 +2525,7 @@ void LayoutManager::implts_createMSCompatibleMenuBar( const OUString& aName ) { SolarMutexGuard 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); @@ -2550,12 +2550,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)); |