// properties were written in the xml
for ( size_t j = 0; j < propertyNames.size(); ++j )
{
- if ( propertyNames[j].length() )
+ if ( !propertyNames[j].empty() )
{
PropertyNodes::iterator propiter = propertyNodes.find( propertyNames[j] );
if ( propiter != propertyNodes.end() )
wxClassInfo* sinkClassInfo = GetObjectClassInfo( sinkOid );
callbacks->SetConnect( objectID, classInfo, pi, sinkClassInfo,
- sinkClassInfo->FindHandlerInfo(handlerName), sinkOid );
+ sinkClassInfo->FindHandlerInfo(handlerName.c_str()), sinkOid );
}
else
{