From ac2e76314d4271b9567ae23850d6e79d5eb71f59 Mon Sep 17 00:00:00 2001 From: gka Date: Mon, 9 Dec 2019 14:43:47 +0300 Subject: [PATCH] 0031219: TObj_Object::SetName(const Standard_CString theName) should use conversion to TCollection_HAsciiString In the method TObj_Object::TObj_Object::SetName(const Standard_CString theName) conversion to the HAsciiString was used instead of the conversion to the TCollection_HExtendedString. --- src/TObj/TObj_Object.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TObj/TObj_Object.cxx b/src/TObj/TObj_Object.cxx index 2d4dde0b4c..fb75fc1945 100644 --- a/src/TObj/TObj_Object.cxx +++ b/src/TObj/TObj_Object.cxx @@ -299,7 +299,7 @@ Standard_Boolean TObj_Object::SetName(const Handle(TCollection_HAsciiString)& th Standard_Boolean TObj_Object::SetName(const Standard_CString theName) const { - return SetName ( new TCollection_HExtendedString ( theName ) ); + return SetName ( new TCollection_HAsciiString ( theName ) ); } //======================================================================= -- 2.39.5