Kaydet (Commit) e29b6be3 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:stringconstant: adapt to improved OUStringLiteral1 (unotools)

Change-Id: Ic87ea0139f0c8624a8af5700d97375075c091f73
üst 172b8a5c
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment