/* __declspec(dllexport) must appear before them. */
/* -------------------------------------------------------------------- */
-#define SHAPELIB_DLLEXPORT 1
+//#define SHAPELIB_DLLEXPORT 1
#ifdef SHAPELIB_DLLEXPORT
# define SHPAPI_CALL __declspec(dllexport)
{
LightApp_Application* anApp = module()->getApp();
HYDROData_SequenceOfObjects aSeq;
- if ( myShowGeomObjects ) {
- aSeq.Append( myEditedObject->GetGeometryObjects() );
+ if ( myShowGeomObjects )
+ {
+ HYDROData_SequenceOfObjects aGeomObj = myEditedObject->GetGeometryObjects();
+ aSeq.Append( aGeomObj );
}
Handle(HYDROData_Entity) anEntity;
return;
}
- QString anExt = aFileName.split('.', QString::SplitBehavior::SkipEmptyParts).back();
+ QString anExt = aFileName.split('.', QString::SkipEmptyParts).back();
if (anExt == "shp")
{