Kaydet (Commit) 8b1fc330 authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS tbe19 (1.7.34); FILE MERGED

2005/01/27 17:08:26 tbe 1.7.34.1: #i40118# undo & restore in basic
üst 16a3288d
......@@ -2,9 +2,9 @@
*
* $RCSfile: generictoolbarcontroller.cxx,v $
*
* $Revision: 1.7 $
* $Revision: 1.8 $
*
* last change: $Author: hr $ $Date: 2004-12-13 12:27:01 $
* last change: $Author: vg $ $Date: 2005-02-24 16:53:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -110,6 +110,9 @@
#ifndef _SV_SVAPP_HXX
#include <vcl/svapp.hxx>
#endif
#ifndef _VCL_MNEMONIC_HXX_
#include <vcl/mnemonic.hxx>
#endif
#include <tools/urlobj.hxx>
using namespace ::rtl;
......@@ -278,7 +281,11 @@ throw ( RuntimeException )
nItemBits |= TIB_CHECKABLE;
}
else
m_pToolbar->SetItemText( m_nID, aStrValue );
{
::rtl::OUString aText( MnemonicGenerator::EraseAllMnemonicChars( aStrValue ) );
m_pToolbar->SetItemText( m_nID, aText );
m_pToolbar->SetQuickHelpText( m_nID, aText );
}
m_pToolbar->ShowItem( m_nID, TRUE );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment