diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-14 08:16:35 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-14 08:17:32 +0200 |
commit | d366c9b20ec86f3fe521812a0c22def3bfd1f05e (patch) | |
tree | 4bd09438c8cd8f0dbcd0881fc923d56a0a721fc5 /configmgr/source/data.cxx | |
parent | d2fa59e4025050c9b668ecff379d668f0db52639 (diff) |
remove unnecessary sal_Unicode casts in various places
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
Diffstat (limited to 'configmgr/source/data.cxx')
-rw-r--r-- | configmgr/source/data.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/configmgr/source/data.cxx b/configmgr/source/data.cxx index dfca76435a8b..8d986997fce9 100644 --- a/configmgr/source/data.cxx +++ b/configmgr/source/data.cxx @@ -57,13 +57,13 @@ bool decode( sal_Unicode c = encoded[begin++]; if (c == '&') { if (encoded.match("amp;", begin)) { - buf.append(sal_Unicode('&')); + buf.append('&'); begin += RTL_CONSTASCII_LENGTH("amp;"); } else if (encoded.match("quot;", begin)) { - buf.append(sal_Unicode('"')); + buf.append('"'); begin += RTL_CONSTASCII_LENGTH("quot;"); } else if (encoded.match("apos;", begin)) { - buf.append(sal_Unicode('\'')); + buf.append('\''); begin += RTL_CONSTASCII_LENGTH("apos;"); } else { return false; @@ -159,7 +159,7 @@ OUString Data::fullTemplateName( css::uno::Reference< css::uno::XInterface >()); } OUStringBuffer buf(component); - buf.append(sal_Unicode(':')); + buf.append(':'); buf.append(name); return buf.makeStringAndClear(); } @@ -232,7 +232,7 @@ rtl::Reference< Node > Data::resolvePathRepresentation( return p; } if (canonicRepresentation != 0) { - canonic.append(sal_Unicode('/')); + canonic.append('/'); canonic.append(createSegment(templateName, seg)); } if (path != 0) { |