diff options
author | Noel Grandin <noel@peralex.com> | 2013-07-30 15:38:52 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-07-31 13:36:52 +0200 |
commit | 93257759580e6df10cc9eddbf1800a17d61cfc48 (patch) | |
tree | e8006965e5db2f73c9032d2769b767cfa5eb0c61 /svtools | |
parent | c9bb2e3d2c39638eabd24656a9642fa56464700e (diff) |
convert vcl/mnemonic.hxx from XubString to OUString
Change-Id: I2df7a6b29aa30ad5ad936b524061aeaef837ca9d
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/contnr/imivctl1.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx index 805ce6fb45c6..f1e5084e06c9 100644 --- a/svtools/source/contnr/imivctl1.cxx +++ b/svtools/source/contnr/imivctl1.cxx @@ -341,10 +341,11 @@ void SvxIconChoiceCtrl_Impl::CreateAutoMnemonics( MnemonicGenerator* _pGenerator for( i = 0; i < nEntryCount; ++i ) { SvxIconChoiceCtrlEntry* pEntry = GetEntry( i ); - String aTxt = pEntry->GetText(); + OUString aTxt = pEntry->GetText(); - if( _pGenerator->CreateMnemonic( aTxt ) ) - pEntry->SetText( aTxt ); + OUString aNewText = _pGenerator->CreateMnemonic( aTxt ); + if( aNewText != aTxt ) + pEntry->SetText( aNewText ); } } |