summaryrefslogtreecommitdiff
path: root/sw/source/ui/shells/textsh.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-07-04 23:58:05 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-07-09 12:16:56 +0100
commit104261010aa5ccbb7df4a82a3a3cafcfb0591fa7 (patch)
treeb8db79d2707ff5925ad01dba8a41bd8ab6d66847 /sw/source/ui/shells/textsh.cxx
parent1a1e953ee33c213dc8b88dd96a69ca9fc5e42d50 (diff)
some UniString->rtl::OUString
Change-Id: Ie69b30094da25df23a36baca2c7723d6a41f48c3
Diffstat (limited to 'sw/source/ui/shells/textsh.cxx')
-rw-r--r--sw/source/ui/shells/textsh.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/shells/textsh.cxx b/sw/source/ui/shells/textsh.cxx
index d5eea66d6296..c6a55883f5d2 100644
--- a/sw/source/ui/shells/textsh.cxx
+++ b/sw/source/ui/shells/textsh.cxx
@@ -163,7 +163,7 @@ void SwTextShell::ExecInsert(SfxRequest &rReq)
case FN_INSERT_SOFT_HYPHEN:
if( CHAR_SOFTHYPHEN != rSh.SwCrsrShell::GetChar( sal_True, 0 ) &&
CHAR_SOFTHYPHEN != rSh.SwCrsrShell::GetChar( sal_True, -1 ))
- rSh.Insert( String( CHAR_SOFTHYPHEN ) );
+ rSh.Insert( rtl::OUString( CHAR_SOFTHYPHEN ) );
break;
case FN_INSERT_HARDHYPHEN:
@@ -180,7 +180,7 @@ void SwTextShell::ExecInsert(SfxRequest &rReq)
ChgToEnEmDash | SetINetAttr | Autocorrect ))
rSh.AutoCorrect( *pACorr, cIns );
else
- rSh.Insert( String( cIns ) );
+ rSh.Insert( rtl::OUString( cIns ) );
}
break;
case SID_INSERT_RLM :
@@ -196,7 +196,7 @@ void SwTextShell::ExecInsert(SfxRequest &rReq)
case SID_INSERT_ZWSP : cIns = CHAR_ZWSP ; break;
case SID_INSERT_ZWNBSP: cIns = CHAR_ZWNBSP; break;
}
- rSh.Insert( String( cIns ) );
+ rSh.Insert( rtl::OUString( cIns ) );
}
break;
case FN_INSERT_BREAK: