From: cascade Date: Thu, 8 May 2008 17:11:10 +0000 (+0000) Subject: OCC19308 FIP #24.6 Make consistent Standard_CString and Standard_ExtString definition. X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=5e303f62a45612c4db00c518854c9b3e4e72b378;p=occt-wok.git OCC19308 FIP #24.6 Make consistent Standard_CString and Standard_ExtString definition. --- diff --git a/src/WOKernel/WOKernel_FileType.cxx b/src/WOKernel/WOKernel_FileType.cxx index a7200a5..c2175aa 100755 --- a/src/WOKernel/WOKernel_FileType.cxx +++ b/src/WOKernel/WOKernel_FileType.cxx @@ -23,6 +23,7 @@ #include #include +#include //======================================================================= @@ -63,7 +64,7 @@ Handle( TCollection_HAsciiString ) new TCollection_HAsciiString ( "javafile" ); Standard_Boolean fJava = Standard_False; - Standard_CString s; + Standard_PCharacter s; Handle( TCollection_HAsciiString ) result; Handle( EDL_HSequenceOfVariable ) vars = new EDL_HSequenceOfVariable (); @@ -84,7 +85,7 @@ Handle( TCollection_HAsciiString ) ) { EDL_Variable v = params.myapi -> GetVariable ( name ); - Standard_CString p = s = v.GetValue (); + Standard_PCharacter p = s = (Standard_PCharacter)v.GetValue (); while ( *p ) { if ( *p == '.' ) *p = '/'; ++p; }