summaryrefslogtreecommitdiffstats
path: root/framework/source/jobs/helponstartup.cxx
diff options
context:
space:
mode:
authorBrij Mohan Lal Srivastava <contactbrijmohan@gmail.com>2014-11-12 14:24:10 +0530
committerStephan Bergmann <sbergman@redhat.com>2014-11-14 09:20:38 +0100
commitd32be3ace8c8fd430bbecdf69f88a116b0ee91d1 (patch)
treeb373c084cb124434e0498867b24bc7bb333155dd /framework/source/jobs/helponstartup.cxx
parentSilence winsock deprecation warning (diff)
downloadcore-d32be3ace8c8fd430bbecdf69f88a116b0ee91d1.tar.gz
core-d32be3ace8c8fd430bbecdf69f88a116b0ee91d1.zip
fdo#86023 - O[U]String needs a 'clear' method
Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'framework/source/jobs/helponstartup.cxx')
-rw-r--r--framework/source/jobs/helponstartup.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/jobs/helponstartup.cxx b/framework/source/jobs/helponstartup.cxx
index 6f53eb69aa38..198af2d038af 100644
--- a/framework/source/jobs/helponstartup.cxx
+++ b/framework/source/jobs/helponstartup.cxx
@@ -207,7 +207,7 @@ OUString HelpOnStartup::its_getModuleIdFromEnv(const css::uno::Sequence< css::be
catch(const css::uno::RuntimeException&)
{ throw; }
catch(const css::uno::Exception&)
- { sModuleId = OUString(); }
+ { sModuleId.clear(); }
return sModuleId;
}
@@ -248,7 +248,7 @@ OUString HelpOnStartup::its_getCurrentHelpURL()
catch(const css::uno::RuntimeException&)
{ throw; }
catch(const css::uno::Exception&)
- { sCurrentHelpURL = OUString(); }
+ { sCurrentHelpURL.clear(); }
return sCurrentHelpURL;
}
@@ -331,7 +331,7 @@ OUString HelpOnStartup::its_checkIfHelpEnabledAndGetURL(const OUString& sModule)
catch(const css::uno::RuntimeException&)
{ throw; }
catch(const css::uno::Exception&)
- { sHelpURL = OUString(); }
+ { sHelpURL.clear(); }
return sHelpURL;
}