diff options
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/controls/grid/gridcontrol.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/controls/grid/gridcontrol.cxx b/toolkit/source/controls/grid/gridcontrol.cxx index f8e0a8b8a5d8..4301415d1263 100644 --- a/toolkit/source/controls/grid/gridcontrol.cxx +++ b/toolkit/source/controls/grid/gridcontrol.cxx @@ -131,7 +131,7 @@ UnoGridModel::UnoGridModel( const UnoGridModel& rModel ) if ( !xDataModel.is() ) xDataModel = lcl_getDefaultDataModel_throw( m_xContext ); UnoControlModel::setFastPropertyValue_NoBroadcast( BASEPROPERTY_GRID_DATAMODEL, makeAny( xDataModel ) ); - // do *not* use setFastPropertyValue here: The UnoControlModel ctor did a simple copy of all property values, + // do *not* use setFastPropertyValue here: The UnoControlModel ctor made a simple copy of all property values, // so before this call here, we share our data model with the own of the clone source. setFastPropertyValue, // then, disposes the old data model - which means the data model which in fact belongs to the clone source. // so, call the UnoControlModel's impl-method for setting the value. |