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>
This commit is contained in:
Maxim Monastirsky 2020-09-06 23:29:27 +03:00
parent fd1168b788
commit de25ba9ef8
2 changed files with 0 additions and 3 deletions

View file

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

View file

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