mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-24 16:32:04 +05:00
NPAL15983 (EDF PAL 413: Bug when displaying empty groups)
- aDescr += (char *)myStream.str().c_str(); + std::string aString = myStream.str(); + aDescr += (char *)aString.c_str();
This commit is contained in:
parent
645aebdeb7
commit
d963823e09
@ -43,19 +43,12 @@ namespace GEOM
|
||||
TCollection_AsciiString aDescr;
|
||||
if ( myAppend )
|
||||
aDescr = myFunction->GetDescription() + "\n\t";
|
||||
aDescr += (char *)myStream.str().c_str();
|
||||
std::string aString = myStream.str();
|
||||
aDescr += (char *)aString.c_str();
|
||||
myFunction->SetDescription( aDescr );
|
||||
}
|
||||
}
|
||||
|
||||
// TPythonDump::operator TCollection_AsciiString () const
|
||||
// {
|
||||
// if (myCounter == 1) {
|
||||
// return TCollection_AsciiString ((char *)myStream.str().c_str());
|
||||
// }
|
||||
// return TCollection_AsciiString ();
|
||||
// }
|
||||
|
||||
TPythonDump& TPythonDump::operator<< (long int theArg)
|
||||
{
|
||||
myStream<<theArg;
|
||||
|
Loading…
x
Reference in New Issue
Block a user