Kaydet (Commit) fa37e21a authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS xmlsec08 (1.2.10); FILE MERGED

2005/01/27 04:46:19 mmi 1.2.10.1: chinese font displayed  as squares
Issue number:  41071
Submitted by:
Reviewed by:
üst bdce89bc
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: errorcallback.cxx,v $ * $RCSfile: errorcallback.cxx,v $
* *
* $Revision: 1.2 $ * $Revision: 1.3 $
* *
* last change: $Author: rt $ $Date: 2004-11-26 14:57:03 $ * last change: $Author: vg $ $Date: 2005-03-10 18:09:29 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -185,11 +185,15 @@ void errorCallback(const char *file, ...@@ -185,11 +185,15 @@ void errorCallback(const char *file,
int reason, int reason,
const char *msg) const char *msg)
{ {
if (g_xErrorRecorder.is() && !g_bErrorRecorded && reason != XMLSEC_ERRORS_R_ASSERTION) if (g_xErrorRecorder.is() && !g_bErrorRecorded)
{ {
g_xErrorRecorder->setStatus(getOperationStatus(reason)); g_xErrorRecorder->setStatus(getOperationStatus(reason));
if ( reason != XMLSEC_ERRORS_R_ASSERTION && reason!=XMLSEC_ERRORS_R_XMLSEC_FAILED)
{
g_bErrorRecorded = true; g_bErrorRecorded = true;
} }
}
} }
void setErrorRecorder(const ::com::sun::star::uno::Reference< ::com::sun::star::xml::crypto::XXMLSecurityTemplate >& xTemplate) void setErrorRecorder(const ::com::sun::star::uno::Reference< ::com::sun::star::xml::crypto::XXMLSecurityTemplate >& xTemplate)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment