From ec52bc6a570b93d1913d0514d451a5c72070ddc2 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 24 Oct 2016 12:01:37 +0300 Subject: Bin pointless macro Change-Id: I460d5e7c431d2613999db86a73d4e14663ff038d --- xmlsecurity/source/helper/xsecparser.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmlsecurity/source/helper/xsecparser.cxx') 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 -- cgit