From f708a882d6bb48d1e293a6fb6a6db3e6b226d885 Mon Sep 17 00:00:00 2001
From: Tinny Ng <tng@apache.org>
Date: Tue, 24 Dec 2002 16:42:56 +0000
Subject: [PATCH] [Bug 15160] TrueCoverage build fails in Window.   Patch from
 Pranav.

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@174555 13f79535-47bb-0310-9956-ffa450edef68
---
 src/xercesc/util/regx/RegularExpression.hpp | 24 ++++++++++-----------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/xercesc/util/regx/RegularExpression.hpp b/src/xercesc/util/regx/RegularExpression.hpp
index 6ad533f15..77c2405c2 100644
--- a/src/xercesc/util/regx/RegularExpression.hpp
+++ b/src/xercesc/util/regx/RegularExpression.hpp
@@ -142,33 +142,33 @@ public:
     //  Tokenize methods
     // -----------------------------------------------------------------------
     // Note: The caller owns the string vector that is returned, and is responsible
-    //       for deleting it. 
+    //       for deleting it.
     RefArrayVectorOf<XMLCh> *tokenize(const char* const matchString);
     RefArrayVectorOf<XMLCh> *tokenize(const char* const matchString, const int start,
                                       const int end);
 
     RefArrayVectorOf<XMLCh> *tokenize(const XMLCh* const matchString);
-    RefArrayVectorOf<XMLCh> *tokenize(const XMLCh* const matchString, 
+    RefArrayVectorOf<XMLCh> *tokenize(const XMLCh* const matchString,
                                       const int start, const int end);
 
     // -----------------------------------------------------------------------
     //  Replace methods
     // -----------------------------------------------------------------------
-    // Note: The caller owns the XMLCh* that is returned, and is responsible for 
-    //       deleting it. 
+    // Note: The caller owns the XMLCh* that is returned, and is responsible for
+    //       deleting it.
     XMLCh *replace(const char* const matchString, const char* const replaceString);
     XMLCh *replace(const char* const matchString, const char* const replaceString,
                    const int start, const int end);
 
     XMLCh *replace(const XMLCh* const matchString, const XMLCh* const replaceString);
-    XMLCh *replace(const XMLCh* const matchString, const XMLCh* const replaceString, 
+    XMLCh *replace(const XMLCh* const matchString, const XMLCh* const replaceString,
                    const int start, const int end);
 
 private:
     // -----------------------------------------------------------------------
     //  Private data types
     // -----------------------------------------------------------------------
-    class Context
+    class XMLUTIL_EXPORT Context
     {
         public :
             Context();
@@ -254,16 +254,16 @@ private:
 
     /**
      *    Tokenize helper
-     * 
+     *
      *    This overloaded tokenize is for internal use only. It provides a way to
      *    keep track of the sub-expressions in each match of the pattern.
-     *    
+     *
      *    It is called by the other tokenize methods, and by the replace method.
-     *    The caller is responsible for the deletion of the returned 
+     *    The caller is responsible for the deletion of the returned
      *    RefArrayVectorOf<XMLCh*>
      */
-    RefArrayVectorOf<XMLCh> *tokenize(const XMLCh* const matchString, 
-                                      const int start, const int end, 
+    RefArrayVectorOf<XMLCh> *tokenize(const XMLCh* const matchString,
+                                      const int start, const int end,
                                       RefVectorOf<Match> *subEx);
     /**
      *    Replace helpers
@@ -271,7 +271,7 @@ private:
      *    Note: the caller owns the XMLCh* that is returned
      */
     const XMLCh *subInExp(const XMLCh* const repString,
-                          const XMLCh* const origString, 
+                          const XMLCh* const origString,
                           const Match* subEx);
     /**
      *    Converts a token tree into an operation tree
-- 
GitLab