mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-28 18:30:36 +05:00
Porting to CAS-6.3
This commit is contained in:
parent
d477b455ac
commit
435f1a1b8f
@ -716,7 +716,7 @@ Handle(TColStd_HSequenceOfInteger) FindEntries(TCollection_AsciiString& theStrin
|
||||
Standard_Integer aLen = theString.Length();
|
||||
Standard_Boolean isFound = Standard_False;
|
||||
|
||||
char* arr = theString.ToCString();
|
||||
const char* arr = theString.ToCString();
|
||||
Standard_Integer i = 0, j;
|
||||
|
||||
while(i < aLen) {
|
||||
|
@ -62,7 +62,7 @@ class GEOM_IOperations
|
||||
|
||||
//Returns an error code of the last operatioin
|
||||
Standard_EXPORT char* GetErrorCode() {
|
||||
return _errorCode.ToCString();
|
||||
return (char*) _errorCode.ToCString();
|
||||
}
|
||||
|
||||
//Returns a pointer to GEOM_Engine which this operation interface is associated
|
||||
|
@ -88,7 +88,9 @@ Handle(GEOM_Object) GEOM_Object::GetObject(TDF_Label& theLabel)
|
||||
|
||||
GEOM_Engine* anEngine= GEOM_Engine::GetEngine();
|
||||
if(anEngine == NULL) return NULL;
|
||||
return anEngine->GetObject(anID->Get(), anEntry.ToCString());
|
||||
return anEngine->GetObject(anID->Get(), (char*) anEntry.ToCString());
|
||||
|
||||
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user