[Libreoffice-commits] core.git: framework/source

Maxim Monastirsky (via logerrit) logerrit at kemper.freedesktop.org
Thu Sep 10 07:27:09 UTC 2020


 framework/source/fwe/classes/addonmenu.cxx     |    2 --
 framework/source/fwe/classes/addonsoptions.cxx |    1 -
 2 files changed, 3 deletions(-)

New commits:
commit de25ba9ef871220a04eadd7697b7105be797398a
Author:     Maxim Monastirsky <momonasmon at gmail.com>
AuthorDate: Sun Sep 6 23:29:27 2020 +0300
Commit:     Maxim Monastirsky <momonasmon at gmail.com>
CommitDate: Thu Sep 10 09:26:21 2020 +0200

    Remove some obsolete comments
    
    Change-Id: I80aa3a42818795168e9188cda3ceeff706254d89
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102157
    Tested-by: Jenkins
    Reviewed-by: Maxim Monastirsky <momonasmon at gmail.com>

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 );


More information about the Libreoffice-commits mailing list