summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/DocumentMetadataAccess.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-21 15:52:45 +0200
committerNoel Grandin <noel@peralex.com>2013-11-22 08:07:19 +0200
commit73342dbb82ba074d01962359dac50fb2aa36cbeb (patch)
treeaddab0397681725810b42ad55ab15be3fdb4c236 /sfx2/source/doc/DocumentMetadataAccess.cxx
parent071c3f3e93c4c00cf57ce3c382325cd717fed511 (diff)
remove unnecessary RTL_CONSTASCII_STRINGPARAM
A final pass through the code, converting code to use the new OUString and OString methods that can detect string literals. Change-Id: Ifa6382335e5650a1c67e52006b26354e0692c710
Diffstat (limited to 'sfx2/source/doc/DocumentMetadataAccess.cxx')
-rw-r--r--sfx2/source/doc/DocumentMetadataAccess.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/doc/DocumentMetadataAccess.cxx b/sfx2/source/doc/DocumentMetadataAccess.cxx
index 1b823cc42893..7eba5b092fb7 100644
--- a/sfx2/source/doc/DocumentMetadataAccess.cxx
+++ b/sfx2/source/doc/DocumentMetadataAccess.cxx
@@ -132,8 +132,7 @@ uno::Reference<rdf::XURI> createBaseURI(
// #i108078# workaround non-hierarchical vnd.sun.star.expand URIs
// this really should be done somewhere else, not here.
OUString pkgURI(i_rPkgURI);
- if (pkgURI.matchIgnoreAsciiCaseAsciiL(
- RTL_CONSTASCII_STRINGPARAM("vnd.sun.star.expand:")))
+ if (pkgURI.matchIgnoreAsciiCase("vnd.sun.star.expand:"))
{
// expand it here (makeAbsolute requires hierarchical URI)
pkgURI = pkgURI.copy( RTL_CONSTASCII_LENGTH("vnd.sun.star.expand:") );