diff options
Diffstat (limited to 'configmgr/source/dconf.cxx')
-rw-r--r-- | configmgr/source/dconf.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configmgr/source/dconf.cxx b/configmgr/source/dconf.cxx index 1c0711ff1927..9db51fa17cfb 100644 --- a/configmgr/source/dconf.cxx +++ b/configmgr/source/dconf.cxx @@ -231,11 +231,11 @@ bool decode(OUString * string, bool slash) { return true; } if (string->match("00", i + 1)) { - *string = string->replaceAt(i, 3, OUString(u'\0')); + *string = string->replaceAt(i, 3, OUStringChar(u'\0')); } else if (slash && string->match("2F", i + 1)) { - *string = string->replaceAt(i, 3, "/"); + *string = string->replaceAt(i, 3, u"/"); } else if (string->match("5C", i + 1)) { - *string = string->replaceAt(i + 1, 2, ""); + *string = string->replaceAt(i + 1, 2, u""); } else { SAL_WARN("configmgr.dconf", "bad escape in " << *string); return false; |