summaryrefslogtreecommitdiff
path: root/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx')
-rw-r--r--xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
index d7e563448c4f..cabfb297d687 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
@@ -1184,12 +1184,12 @@ void TitledBoxElement::endElement()
}
xControlModel->setPropertyValue( "State", makeAny( nVal ) );
ctx.importDataAwareProperty( "linked-cell" , xAttributes );
- ::std::vector< Reference< xml::input::XElement > > * radioEvents =
+ ::std::vector< Reference< xml::input::XElement > > & radioEvents =
static_cast< RadioElement * >( xRadio.get() )->getEvents();
- ctx.importEvents( *radioEvents );
+ ctx.importEvents( radioEvents );
// avoid ring-reference:
// vector< event elements > holding event elements holding this (via _pParent)
- radioEvents->clear();
+ radioEvents.clear();
}
// avoid ring-reference:
// vector< radio elements > holding radio elements holding this (via _pParent)
@@ -1280,12 +1280,12 @@ void RadioGroupElement::endElement()
ctx.importDataAwareProperty( "linked-cell", xAttributes );
- ::std::vector< Reference< xml::input::XElement > > * radioEvents =
+ ::std::vector< Reference< xml::input::XElement > > & radioEvents =
static_cast< RadioElement * >( xRadio.get() )->getEvents();
- ctx.importEvents( *radioEvents );
+ ctx.importEvents( radioEvents );
// avoid ring-reference:
// vector< event elements > holding event elements holding this (via _pParent)
- radioEvents->clear();
+ radioEvents.clear();
}
// avoid ring-reference:
// vector< radio elements > holding radio elements holding this (via _pParent)