summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-11-29 16:44:51 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-11-30 09:47:50 +0100
commit1fbbfc24199f8d46e7b28b77cb9deb003708512c (patch)
tree523d232f45b401a843bb630ab060d159585ba65e /framework
parent3bd7c79abe83efa66c4dd70834b6a3b3e9eb6b0a (diff)
remove out of date comments
Change-Id: If1fb6c86b04d559eabb5b35fa35f09408a90522f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126069 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'framework')
-rw-r--r--framework/source/uielement/fontmenucontroller.cxx1
-rw-r--r--framework/source/uielement/toolbarsmenucontroller.cxx1
2 files changed, 0 insertions, 2 deletions
diff --git a/framework/source/uielement/fontmenucontroller.cxx b/framework/source/uielement/fontmenucontroller.cxx
index ce89834c5035..5dfdb4cb7f72 100644
--- a/framework/source/uielement/fontmenucontroller.cxx
+++ b/framework/source/uielement/fontmenucontroller.cxx
@@ -101,7 +101,6 @@ void FontMenuController::fillPopupMenu( const Sequence< OUString >& rFontNameSeq
m_xPopupMenu->insertItem( i+1, rName, css::awt::MenuItemStyle::RADIOCHECK | css::awt::MenuItemStyle::AUTOCHECK, i );
if ( rName == m_aFontFamilyName )
m_xPopupMenu->checkItem( i+1, true );
- // use VCL popup menu pointer to set vital information that are not part of the awt implementation
OUString aFontNameCommand = aFontNameCommandPrefix + INetURLObject::encode( rName, INetURLObject::PART_HTTP_QUERY, INetURLObject::EncodeMechanism::All );
m_xPopupMenu->setCommand(i + 1, aFontNameCommand); // Store font name into item command.
}
diff --git a/framework/source/uielement/toolbarsmenucontroller.cxx b/framework/source/uielement/toolbarsmenucontroller.cxx
index b7096c075605..78a1a2aa9b52 100644
--- a/framework/source/uielement/toolbarsmenucontroller.cxx
+++ b/framework/source/uielement/toolbarsmenucontroller.cxx
@@ -395,7 +395,6 @@ void ToolbarsMenuController::fillPopupMenu( Reference< css::awt::XPopupMenu > co
if ( aSortedTbs[i].bVisible )
m_xPopupMenu->checkItem( nIndex, true );
- // use VCL popup menu pointer to set vital information that are not part of the awt implementation
OUStringBuffer aStrBuf( aStaticCmdPart );
sal_Int32 n = aSortedTbs[i].aCommand.lastIndexOf( '/' );