diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 13:41:18 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 14:12:39 +0100 |
commit | 8d487ceba1995b5831755bb5b37a82afc2125c0f (patch) | |
tree | 1f30ab9fbc09f48b9038ae2d97f2ae80f9666d52 /xmlsecurity/source/helper/xsecctl.cxx | |
parent | 05575c31e1f962636125ff8c42c3e2409a9edb6c (diff) |
xmlsecurity: Use appropriate OUString functions on string constants
Change-Id: I18370f6203455cf7568e48e49b7093d114656619
Diffstat (limited to 'xmlsecurity/source/helper/xsecctl.cxx')
-rw-r--r-- | xmlsecurity/source/helper/xsecctl.cxx | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/xmlsecurity/source/helper/xsecctl.cxx b/xmlsecurity/source/helper/xsecctl.cxx index 7fdddc37b0b9..9c65d88020a2 100644 --- a/xmlsecurity/source/helper/xsecctl.cxx +++ b/xmlsecurity/source/helper/xsecctl.cxx @@ -792,7 +792,7 @@ void XSecController::exportSignature( { pAttributeList->AddAttribute( OUString(ATTR_URI), - OUString(CHAR_FRAGMENT)+refInfor.ouURI); + CHAR_FRAGMENT+refInfor.ouURI); } xDocumentHandler->startElement( tag_Reference, cssu::Reference< cssxs::XAttributeList > (pAttributeList) ); @@ -910,7 +910,7 @@ void XSecController::exportSignature( signatureInfo.ouPropertyId); pAttributeList->AddAttribute( OUString(ATTR_TARGET), - OUString(CHAR_FRAGMENT)+signatureInfo.ouSignatureId); + CHAR_FRAGMENT+signatureInfo.ouSignatureId); xDocumentHandler->startElement( tag_SignatureProperty, cssu::Reference< cssxs::XAttributeList > (pAttributeList)); @@ -919,15 +919,11 @@ void XSecController::exportSignature( pAttributeList = new SvXMLAttributeList(); pAttributeList->AddAttribute( - OUString(ATTR_XMLNS) - + ":" - + OUString(NSTAG_DC), + ATTR_XMLNS ":" NSTAG_DC, OUString(NS_DC)); xDocumentHandler->startElement( - OUString(NSTAG_DC) - + ":" - + tag_Date, + NSTAG_DC ":" + tag_Date, cssu::Reference< cssxs::XAttributeList > (pAttributeList)); OUStringBuffer buffer; @@ -944,9 +940,7 @@ void XSecController::exportSignature( xDocumentHandler->characters( buffer.makeStringAndClear() ); xDocumentHandler->endElement( - OUString(NSTAG_DC) - + ":" - + tag_Date); + NSTAG_DC ":" + tag_Date); } xDocumentHandler->endElement( tag_SignatureProperty ); } |