]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Linux compilation.
authoradv <adv@opencascade.com>
Wed, 4 Dec 2013 13:30:15 +0000 (13:30 +0000)
committeradv <adv@opencascade.com>
Wed, 4 Dec 2013 13:30:15 +0000 (13:30 +0000)
src/HYDROData/HYDROData_CalculationCase.cxx
src/HYDROData/HYDROData_Image.cxx
src/HYDROData/HYDROData_Region.cxx
src/HYDROData/HYDROData_Stream.cxx
src/HYDROData/HYDROData_Zone.cxx

index 9d556eca30d79ac37b94d87906e76dcfd85d7ef8..c93052c84c32f474d055bea871c54ffa95695b3d 100644 (file)
@@ -132,7 +132,10 @@ QStringList HYDROData_CalculationCase::DumpToPython( MapOfTreatedObjects& theTre
 HYDROData_SequenceOfObjects HYDROData_CalculationCase::GetAllReferenceObjects() const
 {
   HYDROData_SequenceOfObjects aResSeq = HYDROData_Entity::GetAllReferenceObjects();
-  aResSeq.Append( GetRegions() );
+
+  HYDROData_SequenceOfObjects aSeqOfRegions = GetRegions();
+  aResSeq.Append( aSeqOfRegions );
+
   return aResSeq;
 }
 
index bed15ad48479f4be5585e5ff7199ba1cc3ee754d..05bb314ca0848d97fbe9a91311de37d7a3f5a2d1 100644 (file)
@@ -226,7 +226,8 @@ HYDROData_SequenceOfObjects HYDROData_Image::GetAllReferenceObjects() const
   if ( !aRefImage.IsNull() )
     aResSeq.Append( aRefImage );
 
-  aResSeq.Append( GetReferenceObjects( 0 ) );
+  HYDROData_SequenceOfObjects aSeqRefObjects = GetReferenceObjects( 0 );
+  aResSeq.Append( aSeqRefObjects );
 
   return aResSeq;
 }
index d86d64c1f52c1e80c0f97e2b669a1c8103bfcb54..90cc82e251a5d7371e11a7e3db9e87a5799ba797 100644 (file)
@@ -85,7 +85,10 @@ bool HYDROData_Region::CanRemove()
 HYDROData_SequenceOfObjects HYDROData_Region::GetAllReferenceObjects() const
 {
   HYDROData_SequenceOfObjects aResSeq = HYDROData_Entity::GetAllReferenceObjects();
-  aResSeq.Append( GetZones() );
+
+  HYDROData_SequenceOfObjects aSeqOfZones = GetZones();
+  aResSeq.Append( aSeqOfZones );
+
   return aResSeq;
 }
 
index 19362261adbc3963ffc363fb64861f4b99a13a2d..2e951d99a8347df1fc4de2d3fad76a5557df6182 100644 (file)
@@ -62,7 +62,8 @@ HYDROData_SequenceOfObjects HYDROData_Stream::GetAllReferenceObjects() const
   if ( !aHydAxis.IsNull() )
     aResSeq.Append( aHydAxis );
 
-  aResSeq.Append( GetProfiles() );
+  HYDROData_SequenceOfObjects aSeqOfProfiles = GetProfiles();
+  aResSeq.Append( aSeqOfProfiles );
 
   return aResSeq;
 }
index a33c0ab46ecf576c8aaa1caa64fbc02bd2bc45f3..6dfa4efa13fea0d3bb50705211f1b24a035a745c 100644 (file)
@@ -71,7 +71,10 @@ bool HYDROData_Zone::CanRemove()
 HYDROData_SequenceOfObjects HYDROData_Zone::GetAllReferenceObjects() const
 {
   HYDROData_SequenceOfObjects aResSeq = HYDROData_Entity::GetAllReferenceObjects();
-  aResSeq.Append( GetGeometryObjects() );
+
+  HYDROData_SequenceOfObjects aSeqOfGeomObjects = GetGeometryObjects();
+  aResSeq.Append( aSeqOfGeomObjects );
+
   return aResSeq;
 }