summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/xmlsec/errorcallback.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlsecurity/source/xmlsec/errorcallback.cxx')
-rw-r--r--xmlsecurity/source/xmlsec/errorcallback.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlsecurity/source/xmlsec/errorcallback.cxx b/xmlsecurity/source/xmlsec/errorcallback.cxx
index dc817db1e0bd..fa99d8d8a5b1 100644
--- a/xmlsecurity/source/xmlsec/errorcallback.cxx
+++ b/xmlsecurity/source/xmlsec/errorcallback.cxx
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include "errorcallback.hxx"
+#include "xmlsec/errorcallback.hxx"
#include "xmlsec-wrapper.h"
@@ -48,12 +48,12 @@ void errorCallback(const char* file,
SAL_WARN("xmlsecurity.xmlsec", file << ":" << line << ": " << func << "() '" << pErrorObject << "' '" << pErrorSubject << "' " << reason << " '" << pMsg << "'" << systemErrorString);
}
-void setErrorRecorder()
+SAL_DLLPUBLIC_EXPORT void setErrorRecorder()
{
xmlSecErrorsSetCallback(errorCallback);
}
-void clearErrorRecorder()
+SAL_DLLPUBLIC_EXPORT void clearErrorRecorder()
{
xmlSecErrorsSetCallback(nullptr);
}