diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-08-30 15:29:59 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-08-30 15:29:59 +0200 |
commit | e29b6be3c4c7843459ba7b9307af3272c4d94fff (patch) | |
tree | f78b8e55eb235ad966485d138e8ec2418a22ba9f /unotools/source | |
parent | 172b8a5cdb8b11116d666e460cfabe651004efec (diff) |
loplugin:stringconstant: adapt to improved OUStringLiteral1 (unotools)
Change-Id: Ic87ea0139f0c8624a8af5700d97375075c091f73
Diffstat (limited to 'unotools/source')
-rw-r--r-- | unotools/source/misc/datetime.cxx | 6 |
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; } |