summaryrefslogtreecommitdiff
path: root/unotools/source/misc
diff options
context:
space:
mode:
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];