summaryrefslogtreecommitdiff
path: root/unotools/source/misc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-18 13:38:27 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-18 14:12:37 +0100
commit994cc6c8689f7186193ce504c92fc2bc2fdcb560 (patch)
tree66d0fa003eec442e3ed335c428a64238e842853d /unotools/source/misc
parent484401bb5e2aaea5cb1645743ed615f4166b6cda (diff)
unotools: Use appropriate OUString functions on string constants
Change-Id: I9762f913080b4bad0d9cd3d1c1b42b333b08f27e
Diffstat (limited to 'unotools/source/misc')
-rw-r--r--unotools/source/misc/datetime.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/misc/datetime.cxx b/unotools/source/misc/datetime.cxx
index 6caa86b81934..60a7fa2ffc7d 100644
--- a/unotools/source/misc/datetime.cxx
+++ b/unotools/source/misc/datetime.cxx
@@ -162,7 +162,7 @@ namespace
else if (i_str[io_index] == '+' || i_str[io_index] == '-') // other timezones indicator
{
++io_index;
- o_strInt = "";
+ o_strInt.clear();
for (; io_index < i_str.getLength(); ++io_index)
{
const sal_Unicode c = i_str[io_index];