summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/editsh.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-17 17:07:15 +0200
committerNoel Grandin <noel@peralex.com>2013-09-19 10:14:18 +0200
commit9909daaa60d1b26bd97bb7c632b24239894a476f (patch)
tree0bca42b5c2a953c393a7088f526e8fa11c9ccc96 /sc/source/ui/view/editsh.cxx
parent0ddb8a1c1bc4163a1aac4c59b1c59d10d4285407 (diff)
convert sc/source/ui/inc/viewutil.hxx from String to OUString
Change-Id: Ic7bc275a80bcbb6dd6b25eaaec2b8cebac90e822
Diffstat (limited to 'sc/source/ui/view/editsh.cxx')
-rw-r--r--sc/source/ui/view/editsh.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/editsh.cxx b/sc/source/ui/view/editsh.cxx
index a4b45a9c1675..115c823a46d4 100644
--- a/sc/source/ui/view/editsh.cxx
+++ b/sc/source/ui/view/editsh.cxx
@@ -338,7 +338,7 @@ void ScEditShell::Execute( SfxRequest& rReq )
const SvxFontItem& rItem = (const SvxFontItem&)
pTableView->GetAttribs().Get(nFontWhich);
- String aString;
+ OUString aString;
SvxFontItem aNewItem( EE_CHAR_FONTINFO );
const SfxItemSet *pArgs = rReq.GetArgs();
@@ -372,7 +372,7 @@ void ScEditShell::Execute( SfxRequest& rReq )
return;
}
- if ( aString.Len() )
+ if ( !aString.isEmpty() )
{
// if string contains WEAK characters, set all fonts
sal_uInt8 nSetScript;