summaryrefslogtreecommitdiff
path: root/sc/source/filter/ftools
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/filter/ftools
parentf4fbcef061fbd3786a42d98573aa6073d5c684bf (diff)
sc: Use appropriate OUString functions on string constants
Change-Id: Ifc00b2045de0d356e175733b0f03ab0c90083039
Diffstat (limited to 'sc/source/filter/ftools')
-rw-r--r--sc/source/filter/ftools/ftools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/ftools/ftools.cxx b/sc/source/filter/ftools/ftools.cxx
index 21c43c45e089..c1bddcb81070 100644
--- a/sc/source/filter/ftools/ftools.cxx
+++ b/sc/source/filter/ftools/ftools.cxx
@@ -335,7 +335,7 @@ bool ScfTools::IsHTMLTablesName( const OUString& rSource )
bool ScfTools::GetHTMLNameFromName( const OUString& rSource, OUString& rName )
{
- rName = "";
+ rName.clear();
if( rSource.startsWithIgnoreAsciiCase( GetHTMLNamePrefix() ) )
{
rName = rSource.copy( GetHTMLNamePrefix().getLength() );