INTEGRATION: CWS vcl38 (1.32.30); FILE MERGED

2005/03/18 11:45:52 pl 1.32.30.2: RESYNC: (1.32-1.33); FILE MERGED
2005/03/17 13:33:48 ssa 1.32.30.1: #i43523# check xPropSet before using
This commit is contained in:
Rüdiger Timm 2005-03-30 07:52:35 +00:00
parent 47f76db379
commit ccf35dc1e3

View file

@ -2,9 +2,9 @@
*
* $RCSfile: unocontrol.cxx,v $
*
* $Revision: 1.33 $
* $Revision: 1.34 $
*
* last change: $Author: vg $ $Date: 2005-03-10 15:44:42 $
* last change: $Author: rt $ $Date: 2005-03-30 08:52:35 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -347,10 +347,13 @@ void UnoControl::updateFromModel()
if( getPeer().is() )
{
Reference< XMultiPropertySet > xPropSet( mxModel, UNO_QUERY );
if( xPropSet.is() )
{
Sequence< ::rtl::OUString> aNames = lcl_ImplGetPropertyNames( xPropSet );
xPropSet->firePropertiesChangeEvent( aNames, this );
}
}
}
// XTypeProvider