summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/helper/xsecparser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlsecurity/source/helper/xsecparser.cxx')
-rw-r--r--xmlsecurity/source/helper/xsecparser.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlsecurity/source/helper/xsecparser.cxx b/xmlsecurity/source/helper/xsecparser.cxx
index da915497b8df..9088d343f966 100644
--- a/xmlsecurity/source/helper/xsecparser.cxx
+++ b/xmlsecurity/source/helper/xsecparser.cxx
@@ -38,11 +38,11 @@ XSecParser::XSecParser(
OUString XSecParser::getIdAttr(const cssu::Reference< cssxs::XAttributeList >& xAttribs )
{
- OUString ouIdAttr = xAttribs->getValueByName(OUString("id"));
+ OUString ouIdAttr = xAttribs->getValueByName("id");
if (ouIdAttr == NULL)
{
- ouIdAttr = xAttribs->getValueByName(OUString("Id"));
+ ouIdAttr = xAttribs->getValueByName("Id");
}
return ouIdAttr;