From: enk Date: Thu, 8 Feb 2007 06:31:33 +0000 (+0000) Subject: Fix for Mandriva2006 X-Git-Tag: T4_0_a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f07dc9c46105a2594561c6e0f9878e607fb542a1;p=modules%2Fgui.git Fix for Mandriva2006 --- diff --git a/src/DDS/DDS_DicItem.cxx b/src/DDS/DDS_DicItem.cxx index 02cdefb93..48ce715a9 100644 --- a/src/DDS/DDS_DicItem.cxx +++ b/src/DDS/DDS_DicItem.cxx @@ -719,8 +719,8 @@ void DDS_DicItem::FillDataMap( TCollection_AsciiString theID, const LDOM_Element TCollection_AsciiString name = elem.getAttribute( DDS_Dictionary::KeyWord( "OPTION_NAME" ) ); TCollection_ExtendedString value; - const LDOM_Text& aText = (const LDOM_Text&)elem.getFirstChild(); - LDOM_Text anOptTxt( aText ); + const LDOM_Node aNode = elem.getFirstChild(); + LDOM_Text anOptTxt( (const LDOM_Text&)(aNode) ); if ( !anOptTxt.isNull() ) value = anOptTxt.getData();