summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-04-28 17:58:21 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-04-28 18:27:00 +0200
commit74cf1240f0ce18807b46a8fa702665ca7705ffd9 (patch)
tree70772c4bdb275c46c0575685e2cca633d9786c67 /configmgr
parentfbc2652716aebd95dae9ee8d7d333eb68a4658bf (diff)
loplugin:salunicodeliteral: configmgr
Change-Id: I3c37025be286f9fd1892c259e2ac1e2fce7123a1
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/dconf.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/configmgr/source/dconf.cxx b/configmgr/source/dconf.cxx
index 3ae2716d4348..2ba4d0c9b43c 100644
--- a/configmgr/source/dconf.cxx
+++ b/configmgr/source/dconf.cxx
@@ -227,7 +227,7 @@ bool decode(OUString * string, bool slash) {
return true;
}
if (string->match("00", i + 1)) {
- *string = string->replaceAt(i, 3, OUString(sal_Unicode(0)));
+ *string = string->replaceAt(i, 3, OUString(u'\0'));
} else if (slash && string->match("2F", i + 1)) {
*string = string->replaceAt(i, 3, "/");
} else if (string->match("5C", i + 1)) {