summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/formatsh.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-18 13:29:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-18 14:12:30 +0100
commit9ba13265e3ea2a204a45c54acbbf8a1bca11a55c (patch)
tree8d90c9fa4296ad9c3d9a0f1909f1c686c5bb193d /sc/source/ui/view/formatsh.cxx
parentf4fbcef061fbd3786a42d98573aa6073d5c684bf (diff)
sc: Use appropriate OUString functions on string constants
Change-Id: Ifc00b2045de0d356e175733b0f03ab0c90083039
Diffstat (limited to 'sc/source/ui/view/formatsh.cxx')
-rw-r--r--sc/source/ui/view/formatsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx
index 872cc5815ecd..82e6ca0bb4fc 100644
--- a/sc/source/ui/view/formatsh.cxx
+++ b/sc/source/ui/view/formatsh.cxx
@@ -1145,7 +1145,7 @@ void ScFormatShell::ExecuteNumFormat( SfxRequest& rReq )
if(cChar == ',')
{
sFormat[nStrCount] = sTmpStr;
- sTmpStr = "";
+ sTmpStr.clear();
nStrCount++;
}
else