summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unotools/source/misc/datetime.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/unotools/source/misc/datetime.cxx b/unotools/source/misc/datetime.cxx
index 60a7fa2ffc7d..bbe74057603a 100644
--- a/unotools/source/misc/datetime.cxx
+++ b/unotools/source/misc/datetime.cxx
@@ -97,7 +97,7 @@ namespace
return true;
if (c < c0 || c > c9)
return false;
- resInt += OUString(c);
+ resInt += OUStringLiteral1(c);
}
if (nPos == i_str.getLength() || i_str[nPos] == sep)
return true;
@@ -118,7 +118,7 @@ namespace
return false;
if (c < c0 || c > c9)
return false;
- resFrac += OUString(c);
+ resFrac += OUStringLiteral1(c);
}
OSL_ENSURE(nPos == i_str.getLength(), "impl_getISO8601TimeToken internal error; expected to be at end of string");
return true;
@@ -168,7 +168,7 @@ namespace
const sal_Unicode c = i_str[io_index];
if ((c < c0 || c > c9) && c != sep)
return false;
- o_strInt += OUString(c);
+ o_strInt += OUStringLiteral1(c);
}
return true;
}