summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-07-30 15:38:52 +0200
committerNoel Grandin <noel@peralex.com>2013-07-31 13:36:52 +0200
commit93257759580e6df10cc9eddbf1800a17d61cfc48 (patch)
treee8006965e5db2f73c9032d2769b767cfa5eb0c61 /svtools
parentc9bb2e3d2c39638eabd24656a9642fa56464700e (diff)
convert vcl/mnemonic.hxx from XubString to OUString
Change-Id: I2df7a6b29aa30ad5ad936b524061aeaef837ca9d
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/imivctl1.cxx7
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 );
}
}