summaryrefslogtreecommitdiff
path: root/sw/source/ui/shells/textsh1.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/shells/textsh1.cxx')
-rw-r--r--sw/source/ui/shells/textsh1.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/shells/textsh1.cxx b/sw/source/ui/shells/textsh1.cxx
index 1ffbe4b637c1..43d9be319c07 100644
--- a/sw/source/ui/shells/textsh1.cxx
+++ b/sw/source/ui/shells/textsh1.cxx
@@ -1383,8 +1383,8 @@ void SwTextShell::GetState( SfxItemSet &rSet )
String aLangText( aLanguageTag.getBcp47() );
// set word and locale to look up as status value
- String aStatusVal( aText );
- aStatusVal.AppendAscii( "#" );
+ OUString aStatusVal( aText );
+ aStatusVal += "#";
aStatusVal += aLangText;
rSet.Put( SfxStringItem( SID_THES, aStatusVal ) );