diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-10-06 09:42:38 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-10-07 00:47:20 +0200 |
commit | e0c33ec15f53a01fa3ee07489871bbe09bb5c9c3 (patch) | |
tree | 1afe391a2b4bf9eda13de043658941060cb401c2 /vcl/source/control | |
parent | 9e3da252c361b3e2b04a2df7a3ae2a5177b37713 (diff) |
loplugin:ostr: automatic rewrite
Change-Id: I2d09b2b83e1b50493ec88d0b2c323a83c0c86395
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157647
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins
Diffstat (limited to 'vcl/source/control')
-rw-r--r-- | vcl/source/control/field.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx index 1b802660cf3a..d85b235b0ea3 100644 --- a/vcl/source/control/field.cxx +++ b/vcl/source/control/field.cxx @@ -1283,7 +1283,7 @@ OUString MetricFormatter::CreateFieldText( sal_Int64 nValue ) const aStr += " "; if (meUnit == FieldUnit::INCH) { - OUString sDoublePrime = u"\u2033"; + OUString sDoublePrime = u"\u2033"_ustr; if (aSuffix != "\"" && aSuffix != sDoublePrime) aStr += " "; else @@ -1291,7 +1291,7 @@ OUString MetricFormatter::CreateFieldText( sal_Int64 nValue ) const } else if (meUnit == FieldUnit::FOOT) { - OUString sPrime = u"\u2032"; + OUString sPrime = u"\u2032"_ustr; if (aSuffix != "'" && aSuffix != sPrime) aStr += " "; else |