summaryrefslogtreecommitdiffstats
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.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/xmlsecurity/source/helper/xsecparser.cxx b/xmlsecurity/source/helper/xsecparser.cxx
index de675e135c5d..ca8edf92c774 100644
--- a/xmlsecurity/source/helper/xsecparser.cxx
+++ b/xmlsecurity/source/helper/xsecparser.cxx
@@ -141,22 +141,22 @@ void SAL_CALL XSecParser::startElement(
}
else if (aName == TAG_X509ISSUERNAME)
{
- m_ouX509IssuerName = OUString();
+ m_ouX509IssuerName.clear();
m_bInX509IssuerName = true;
}
else if (aName == TAG_X509SERIALNUMBER)
{
- m_ouX509SerialNumber = OUString();
+ m_ouX509SerialNumber.clear();
m_bInX509SerialNumber = true;
}
else if (aName == TAG_X509CERTIFICATE)
{
- m_ouX509Certificate = OUString();
+ m_ouX509Certificate.clear();
m_bInX509Certificate = true;
}
else if (aName == TAG_SIGNATUREVALUE)
{
- m_ouSignatureValue = OUString();
+ m_ouSignatureValue.clear();
m_bInSignatureValue = true;
}
else if (aName == TAG_DIGESTVALUE)
@@ -173,7 +173,7 @@ void SAL_CALL XSecParser::startElement(
}
else if (aName == NSTAG_DC ":" TAG_DATE)
{
- m_ouDate = OUString();
+ m_ouDate.clear();
m_bInDate = true;
}