diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2020-09-06 23:29:27 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2020-09-10 09:26:21 +0200 |
commit | de25ba9ef871220a04eadd7697b7105be797398a (patch) | |
tree | c1004525578e79658fcff840c5ccb7a74b3858b4 | |
parent | fd1168b7883e08b186752a7b102d0e932a82ed67 (diff) |
Remove some obsolete comments
Change-Id: I80aa3a42818795168e9188cda3ceeff706254d89
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102157
Tested-by: Jenkins
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
-rw-r--r-- | framework/source/fwe/classes/addonmenu.cxx | 2 | ||||
-rw-r--r-- | framework/source/fwe/classes/addonsoptions.cxx | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/framework/source/fwe/classes/addonmenu.cxx b/framework/source/fwe/classes/addonmenu.cxx index 22e24655350b..86632c894be9 100644 --- a/framework/source/fwe/classes/addonmenu.cxx +++ b/framework/source/fwe/classes/addonmenu.cxx @@ -243,8 +243,6 @@ void AddonMenuManager::BuildMenu( PopupMenu* pCurrent ++nElements; - // Store values from configuration to the New and Wizard menu entries to enable - // sfx2 based code to support high contrast mode correctly! void* nAttributePtr = MenuAttributes::CreateAttribute(aTarget, OUString()); pCurrentMenu->SetUserValue(nId, nAttributePtr, MenuAttributes::ReleaseAttribute); pCurrentMenu->SetItemCommand( nId, aURL ); diff --git a/framework/source/fwe/classes/addonsoptions.cxx b/framework/source/fwe/classes/addonsoptions.cxx index 00766c66e208..1d1a89a55873 100644 --- a/framework/source/fwe/classes/addonsoptions.cxx +++ b/framework/source/fwe/classes/addonsoptions.cxx @@ -920,7 +920,6 @@ void AddonsOptions_Impl::ReadImages( ImageManager& aImageManager ) OUString AddonsOptions_Impl::GeneratePrefixURL() { // Create a unique prefixed Add-On popup menu URL so it can be identified later as a runtime popup menu. - // They use a different image manager, so they must be identified by the sfx2/framework code. OUString aPopupMenuURL; OUStringBuffer aBuf( m_aRootAddonPopupMenuURLPrexfix.getLength() + 3 ); aBuf.append( m_aRootAddonPopupMenuURLPrexfix ); |