diff options
author | Samuel Mehrbrodt <s.mehrbrodt@gmail.com> | 2014-09-06 14:51:55 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <s.mehrbrodt@gmail.com> | 2014-09-24 20:30:17 +0000 |
commit | 1fb8724f9834dbc07b741eeed31b31347bc0c2a1 (patch) | |
tree | 707696ed27c64b130a8308d20bfed234fb0c5c02 | |
parent | aa33dd16b0e3075f28c56656678c0f5cb7642222 (diff) |
fdo#83558 Don't change toolbar tooltip on state change
Also removed EraseAllMnemonicChars since that method is called later by SetItemText
Change-Id: I10139d437290ccfed6a8a15e8e5ce501e15c2560
Reviewed-on: https://gerrit.libreoffice.org/11306
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
-rw-r--r-- | framework/source/uielement/generictoolbarcontroller.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/framework/source/uielement/generictoolbarcontroller.cxx b/framework/source/uielement/generictoolbarcontroller.cxx index 38f8e23a58b5..c3a836bf60a4 100644 --- a/framework/source/uielement/generictoolbarcontroller.cxx +++ b/framework/source/uielement/generictoolbarcontroller.cxx @@ -243,9 +243,7 @@ throw ( RuntimeException, std::exception ) aTmp += aStrValue.copy( 4 ); aStrValue = aTmp; } - OUString aText( MnemonicGenerator::EraseAllMnemonicChars( aStrValue ) ); - m_pToolbar->SetItemText( m_nID, aText ); - m_pToolbar->SetQuickHelpText( m_nID, aText ); + m_pToolbar->SetItemText( m_nID, aStrValue ); } if ( m_bMadeInvisible ) |