summaryrefslogtreecommitdiffstats
path: root/xmlsecurity/source/helper/xsecparser.cxx
diff options
context:
space:
mode:
authorBrij Mohan Lal Srivastava <contactbrijmohan@gmail.com>2014-11-12 14:24:10 +0530
committerStephan Bergmann <sbergman@redhat.com>2014-11-14 09:20:38 +0100
commitd32be3ace8c8fd430bbecdf69f88a116b0ee91d1 (patch)
treeb373c084cb124434e0498867b24bc7bb333155dd /xmlsecurity/source/helper/xsecparser.cxx
parentSilence winsock deprecation warning (diff)
downloadcore-d32be3ace8c8fd430bbecdf69f88a116b0ee91d1.tar.gz
core-d32be3ace8c8fd430bbecdf69f88a116b0ee91d1.zip
fdo#86023 - O[U]String needs a 'clear' method
Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
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;
}