diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-07-12 22:08:10 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-07-12 22:08:10 +0200 |
commit | 23e28754730f5b864fd0e7475ac2596b2b5899cf (patch) | |
tree | 29848ee6f2966ba4ec9ea4a1f3d3d15d14556c1b /l10ntools/source/help/HelpLinker.cxx | |
parent | c1aeceb363f188bc6a0de6c5cc1f7a6371b149b4 (diff) |
XML_Parse returns enum XML_Status
Change-Id: Ie4dde5aa412dae05d2629ce5675356db70b2529b
Diffstat (limited to 'l10ntools/source/help/HelpLinker.cxx')
-rw-r--r-- | l10ntools/source/help/HelpLinker.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/l10ntools/source/help/HelpLinker.cxx b/l10ntools/source/help/HelpLinker.cxx index f61c5cd4dd38..dd1057a3d25b 100644 --- a/l10ntools/source/help/HelpLinker.cxx +++ b/l10ntools/source/help/HelpLinker.cxx @@ -1065,9 +1065,9 @@ HELPLINKER_DLLPUBLIC bool compileExtensionHelp aFile.close(); XML_Parser parser = XML_ParserCreate( 0 ); - int parsed = XML_Parse( parser, s, int( len ), true ); + XML_Status parsed = XML_Parse( parser, s, int( len ), true ); - if( parsed == 0 ) + if (XML_STATUS_ERROR == parsed) { XML_Error nError = XML_GetErrorCode( parser ); o_rHelpProcessingErrorInfo.m_eErrorClass = HELPPROCESSING_XMLPARSING_ERROR; |