summaryrefslogtreecommitdiffstats
path: root/xmlsecurity/source/helper/xsecparser.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-10-24 12:01:37 +0300
committerTor Lillqvist <tml@collabora.com>2016-10-24 17:25:41 +0300
commitec52bc6a570b93d1913d0514d451a5c72070ddc2 (patch)
tree229de415683bfd4fca8cc6aa2d783d6cbd67b24c /xmlsecurity/source/helper/xsecparser.cxx
parentBin pointless macro (diff)
downloadcore-ec52bc6a570b93d1913d0514d451a5c72070ddc2.tar.gz
core-ec52bc6a570b93d1913d0514d451a5c72070ddc2.zip
Bin pointless macro
Change-Id: I460d5e7c431d2613999db86a73d4e14663ff038d
Diffstat (limited to 'xmlsecurity/source/helper/xsecparser.cxx')
-rw-r--r--xmlsecurity/source/helper/xsecparser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlsecurity/source/helper/xsecparser.cxx b/xmlsecurity/source/helper/xsecparser.cxx
index b9466c4fa0f1..cd9937623246 100644
--- a/xmlsecurity/source/helper/xsecparser.cxx
+++ b/xmlsecurity/source/helper/xsecparser.cxx
@@ -109,7 +109,7 @@ void SAL_CALL XSecParser::startElement(
OUString ouUri = xAttribs->getValueByName(ATTR_URI);
SAL_WARN_IF( ouUri == nullptr, "xmlsecurity.helper", "URI == NULL" );
- if (ouUri.startsWith(CHAR_FRAGMENT))
+ if (ouUri.startsWith("#"))
{
/*
* remove the first character '#' from the attribute value