From a461802565827e4d63ce4b834b32f5a29ddc73f2 Mon Sep 17 00:00:00 2001 From: adv Date: Wed, 4 Dec 2013 13:30:15 +0000 Subject: [PATCH] Linux compilation. --- src/HYDROData/HYDROData_CalculationCase.cxx | 5 ++++- src/HYDROData/HYDROData_Image.cxx | 3 ++- src/HYDROData/HYDROData_Region.cxx | 5 ++++- src/HYDROData/HYDROData_Stream.cxx | 3 ++- src/HYDROData/HYDROData_Zone.cxx | 5 ++++- 5 files changed, 16 insertions(+), 5 deletions(-) diff --git a/src/HYDROData/HYDROData_CalculationCase.cxx b/src/HYDROData/HYDROData_CalculationCase.cxx index 9d556eca..c93052c8 100644 --- a/src/HYDROData/HYDROData_CalculationCase.cxx +++ b/src/HYDROData/HYDROData_CalculationCase.cxx @@ -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; } diff --git a/src/HYDROData/HYDROData_Image.cxx b/src/HYDROData/HYDROData_Image.cxx index bed15ad4..05bb314c 100644 --- a/src/HYDROData/HYDROData_Image.cxx +++ b/src/HYDROData/HYDROData_Image.cxx @@ -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; } diff --git a/src/HYDROData/HYDROData_Region.cxx b/src/HYDROData/HYDROData_Region.cxx index d86d64c1..90cc82e2 100644 --- a/src/HYDROData/HYDROData_Region.cxx +++ b/src/HYDROData/HYDROData_Region.cxx @@ -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; } diff --git a/src/HYDROData/HYDROData_Stream.cxx b/src/HYDROData/HYDROData_Stream.cxx index 19362261..2e951d99 100644 --- a/src/HYDROData/HYDROData_Stream.cxx +++ b/src/HYDROData/HYDROData_Stream.cxx @@ -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; } diff --git a/src/HYDROData/HYDROData_Zone.cxx b/src/HYDROData/HYDROData_Zone.cxx index a33c0ab4..6dfa4efa 100644 --- a/src/HYDROData/HYDROData_Zone.cxx +++ b/src/HYDROData/HYDROData_Zone.cxx @@ -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; } -- 2.39.2