From 61da39fe3d2f0d1042dfd9d91e9c667d523a23f1 Mon Sep 17 00:00:00 2001 From: mkr Date: Fri, 18 Nov 2005 07:54:45 +0000 Subject: [PATCH] Conversion between C-string and STL-string. --- src/SalomeApp/SalomeApp_Study.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SalomeApp/SalomeApp_Study.cxx b/src/SalomeApp/SalomeApp_Study.cxx index 98b68ca27..d9a25aef6 100644 --- a/src/SalomeApp/SalomeApp_Study.cxx +++ b/src/SalomeApp/SalomeApp_Study.cxx @@ -595,7 +595,7 @@ void SalomeApp_Study::children( const QString& entry, QStringList& child_entries while( anIter->More() ) { _PTR(SObject) val( anIter->Value() ); - child_entries.append( val->GetID() ); + child_entries.append( val->GetID().c_str() ); anIter->Next(); } } @@ -607,6 +607,6 @@ void SalomeApp_Study::components( QStringList& comps ) const _PTR(SComponent) aComponent ( it->Value() ); if( aComponent && aComponent->ComponentDataType() == "Interface Applicative" ) continue; // skip the magic "Interface Applicative" component - comps.append( aComponent->ComponentDataType() ); + comps.append( aComponent->ComponentDataType().c_str() ); } } -- 2.39.2