diff options
author | Roman Kuznetsov <antilibreoffice@gmail.com> | 2019-06-14 10:47:12 +0200 |
---|---|---|
committer | Roman Kuznetsov <antilibreoffice@gmail.com> | 2019-06-16 12:18:41 +0200 |
commit | 837f748ce61145b90068ed8c0a630f1cf15fa080 (patch) | |
tree | 379eca008f73f51f8b95437377515c2c5ab48372 /framework | |
parent | 7508c1d1e701dba8cb67414be59193d9672b66ab (diff) |
tdf#92083 Move Color bar item from View->Toolbars
to View menu in Draw/Impress
Change-Id: Ie25d34b07d381775274a79e4a0b71e7a96eb6119
Reviewed-on: https://gerrit.libreoffice.org/74024
Reviewed-by: Roman Kuznetsov <antilibreoffice@gmail.com>
Tested-by: Roman Kuznetsov <antilibreoffice@gmail.com>
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/uielement/toolbarsmenucontroller.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/framework/source/uielement/toolbarsmenucontroller.cxx b/framework/source/uielement/toolbarsmenucontroller.cxx index 69ddcae67924..7a66796a9b84 100644 --- a/framework/source/uielement/toolbarsmenucontroller.cxx +++ b/framework/source/uielement/toolbarsmenucontroller.cxx @@ -408,10 +408,7 @@ void ToolbarsMenuController::fillPopupMenu( Reference< css::awt::XPopupMenu > co } // Create commands for non-toolbars - if ( m_aModuleIdentifier == "com.sun.star.drawing.DrawingDocument" || - m_aModuleIdentifier == "com.sun.star.presentation.PresentationDocument" ) - addCommand( m_xPopupMenu, ".uno:ColorControl", "" ); - else if ( m_aModuleIdentifier == "com.sun.star.sheet.SpreadsheetDocument" ) + if ( m_aModuleIdentifier == "com.sun.star.sheet.SpreadsheetDocument" ) addCommand( m_xPopupMenu, ".uno:InputLineVisible", "" ); bool bAddCommand( true ); |