From: jfa Date: Thu, 24 May 2007 13:23:24 +0000 (+0000) Subject: Fix bug 15976: IOLS. Problem with dynamic_cast and dynamically loaded libraries. X-Git-Tag: V4_0~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=460abe92875e8234375c9bbdec11cca94359c112;p=modules%2Fvisu.git Fix bug 15976: IOLS. Problem with dynamic_cast and dynamically loaded libraries. --- diff --git a/src/CONVERTOR/VISU_MedConvertor.cxx b/src/CONVERTOR/VISU_MedConvertor.cxx index fa6710bc..31cf0d9d 100644 --- a/src/CONVERTOR/VISU_MedConvertor.cxx +++ b/src/CONVERTOR/VISU_MedConvertor.cxx @@ -1673,13 +1673,13 @@ VISU_MedConvertor const MED::TGeom2Gauss& aGeom2Gauss = aTimeStampInfo->GetGeom2Gauss(); if(aFieldInfo->GetType() == MED::eFLOAT64) - BuildTimeStampMinMax(aTimeStampValue, + BuildTimeStampMinMax(CastToFloatTimeStampValue(aTimeStampValue), aGeom2Gauss, aMinMaxArr, aNbComp, aNbComp2); else - BuildTimeStampMinMax(aTimeStampValue, + BuildTimeStampMinMax(CastToIntTimeStampValue(aTimeStampValue), aGeom2Gauss, aMinMaxArr, aNbComp, @@ -2859,12 +2859,12 @@ LoadValForTime(const MED::PWrapper& theMed, endl); if(aFieldInfo->GetType() == MED::eFLOAT64) - FillValForTime(aTimeStampValue, + FillValForTime(CastToFloatTimeStampValue(aTimeStampValue), aGeom2SubProfile, theValForTime, theField); else - FillValForTime(aTimeStampValue, + FillValForTime(CastToIntTimeStampValue(aTimeStampValue), aGeom2SubProfile, theValForTime, theField);