From f07dc9c46105a2594561c6e0f9878e607fb542a1 Mon Sep 17 00:00:00 2001 From: enk Date: Thu, 8 Feb 2007 06:31:33 +0000 Subject: [PATCH] Fix for Mandriva2006 --- src/DDS/DDS_DicItem.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.39.2