From 6c31955da01d9a562f713782857eab936588bf30 Mon Sep 17 00:00:00 2001
From: PeiYong Zhang <peiyongz@apache.org>
Date: Thu, 13 Jun 2002 14:55:01 +0000
Subject: [PATCH] Fix to UNIX compilation failure

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@173834 13f79535-47bb-0310-9956-ffa450edef68
---
 samples/DOMPrint/DOMPrintErrorHandler.cpp | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/samples/DOMPrint/DOMPrintErrorHandler.cpp b/samples/DOMPrint/DOMPrintErrorHandler.cpp
index 23c669436..f318f928e 100644
--- a/samples/DOMPrint/DOMPrintErrorHandler.cpp
+++ b/samples/DOMPrint/DOMPrintErrorHandler.cpp
@@ -57,6 +57,9 @@
 /* 
  * $Id$
  * $Log$
+ * Revision 1.3  2002/06/13 14:55:01  peiyongz
+ * Fix to UNIX compilation failure
+ *
  * Revision 1.2  2002/06/11 19:46:28  peiyongz
  * Display error message received from the serializer.
  *
@@ -69,13 +72,13 @@
 #include "DOMPrintErrorHandler.hpp"
 
 #include <iostream.h>
-#include <xercesc/dom/impl/DOMErrorImpl.hpp>
+#include <xercesc/dom/DOMError.hpp>
 #include <xercesc/util/XMLString.hpp>
 
 bool DOMPrintErrorHandler::handleError(const DOMError &domError)
 {
     // Display whatever error message passed from the serializer
-    char *msg = XMLString::transcode(((DOMErrorImpl&)domError).getMessage());
+    char *msg = XMLString::transcode(domError.getMessage());
     cout<<msg<<endl;
     delete[] msg;
 
-- 
GitLab