summaryrefslogtreecommitdiff
path: root/sw/source/ui/cctrl/actctrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/cctrl/actctrl.cxx')
-rw-r--r--sw/source/ui/cctrl/actctrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/cctrl/actctrl.cxx b/sw/source/ui/cctrl/actctrl.cxx
index 4de3bca3d465..2910585b4df5 100644
--- a/sw/source/ui/cctrl/actctrl.cxx
+++ b/sw/source/ui/cctrl/actctrl.cxx
@@ -73,7 +73,7 @@ void NoSpaceEdit::KeyInput(const KeyEvent& rEvt)
sal_Bool bCallParent = sal_True;
if(rEvt.GetCharCode())
{
- String sKey = rEvt.GetCharCode();
+ rtl::OUString sKey(rEvt.GetCharCode());
if( STRING_NOTFOUND != sForbiddenChars.Search(sKey))
bCallParent = sal_False;
}