You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2008/07/20 23:05:36 UTC

svn commit: r678322 - /xalan/c/trunk/src/xalanc/PlatformSupport/XalanTranscodingServices.cpp

Author: dbertoni
Date: Sun Jul 20 14:05:36 2008
New Revision: 678322

URL: http://svn.apache.org/viewvc?rev=678322&view=rev
Log:
Removed dead code.

Modified:
    xalan/c/trunk/src/xalanc/PlatformSupport/XalanTranscodingServices.cpp

Modified: xalan/c/trunk/src/xalanc/PlatformSupport/XalanTranscodingServices.cpp
URL: http://svn.apache.org/viewvc/xalan/c/trunk/src/xalanc/PlatformSupport/XalanTranscodingServices.cpp?rev=678322&r1=678321&r2=678322&view=diff
==============================================================================
--- xalan/c/trunk/src/xalanc/PlatformSupport/XalanTranscodingServices.cpp (original)
+++ xalan/c/trunk/src/xalanc/PlatformSupport/XalanTranscodingServices.cpp Sun Jul 20 14:05:36 2008
@@ -252,43 +252,6 @@
                 theEncodingName.c_str(),
                 theResult,
                 theBlockSize);
-
-    XALAN_USING_XERCES(XMLPlatformUtils)
-
-    assert(XMLPlatformUtils::fgTransService != 0);
-
-    XalanOutputTranscoder*  theTranscoder = 0;
-
-    XMLTransService::Codes  theCode = XMLTransService::Ok;
-
-    if (encodingIsUTF16(theEncodingName) == true)
-    {
-        theResult = OK;
-
-        theTranscoder = XalanUTF16Transcoder::create(theManager);
-    }
-    else
-    {
-        XALAN_USING_XERCES(XMLTranscoder)
-
-        XMLTranscoder*  theXercesTranscoder = 
-            XMLPlatformUtils::fgTransService->makeNewTranscoderFor(
-                    c_wstr(theEncodingName),
-                    theCode,
-                    theBlockSize,
-                    &theManager);
-
-        theResult = translateCode(theCode);
-        assert(theResult == XalanTranscodingServices::OK ||
-               theXercesTranscoder == 0);
-
-        if (theResult == XalanTranscodingServices::OK)
-        {
-            theTranscoder = XalanToXercesTranscoderWrapper::create(theManager, *theXercesTranscoder);
-        }
-    }
-
-    return theTranscoder;
 }
 
 



---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org