summaryrefslogtreecommitdiff
path: root/shell/source/all
diff options
context:
space:
mode:
Diffstat (limited to 'shell/source/all')
-rw-r--r--shell/source/all/xml_parser.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/source/all/xml_parser.cxx b/shell/source/all/xml_parser.cxx
index f3ef64832250..1c898afde0a2 100644
--- a/shell/source/all/xml_parser.cxx
+++ b/shell/source/all/xml_parser.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: xml_parser.cxx,v $
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
* This file is part of OpenOffice.org.
*
@@ -205,8 +205,8 @@ void xml_parser::parse(const char* XmlData, size_t Length, bool IsFinal)
{
if (0 == XML_Parse(xml_parser_, XmlData, Length, IsFinal))
throw xml_parser_exception(
- XML_ErrorString(XML_GetErrorCode(xml_parser_)),
- XML_GetErrorCode(xml_parser_),
+ (char*)XML_ErrorString(XML_GetErrorCode(xml_parser_)),
+ (int)XML_GetErrorCode(xml_parser_),
XML_GetCurrentLineNumber(xml_parser_),
XML_GetCurrentColumnNumber(xml_parser_),
XML_GetCurrentByteIndex(xml_parser_));