diff options
Diffstat (limited to 'xmlsecurity/source/helper/xsecparser.cxx')
-rw-r--r-- | xmlsecurity/source/helper/xsecparser.cxx | 2 |
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 |