mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-24 01:22:05 +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;
|
TCollection_AsciiString aDescr;
|
||||||
if ( myAppend )
|
if ( myAppend )
|
||||||
aDescr = myFunction->GetDescription() + "\n\t";
|
aDescr = myFunction->GetDescription() + "\n\t";
|
||||||
aDescr += (char *)myStream.str().c_str();
|
std::string aString = myStream.str();
|
||||||
|
aDescr += (char *)aString.c_str();
|
||||||
myFunction->SetDescription( aDescr );
|
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)
|
TPythonDump& TPythonDump::operator<< (long int theArg)
|
||||||
{
|
{
|
||||||
myStream<<theArg;
|
myStream<<theArg;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user