diff options
author | Björn Milcke <bm@openoffice.org> | 2003-10-17 13:50:29 +0000 |
---|---|---|
committer | Björn Milcke <bm@openoffice.org> | 2003-10-17 13:50:29 +0000 |
commit | 0b1a461ca52124d962ea9fdd3d0f9f3eb90b4852 (patch) | |
tree | 3199b3132598d4582b663df8709f871ceb179dea /chart2/source/view/main/PropertyMapper.cxx | |
parent | af5cf5516b1b21a536b49649777cc3b1e28490e7 (diff) |
PropertyMapper::setMultiProperties: take a property set rahter than a shape as param
Diffstat (limited to 'chart2/source/view/main/PropertyMapper.cxx')
-rw-r--r-- | chart2/source/view/main/PropertyMapper.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/chart2/source/view/main/PropertyMapper.cxx b/chart2/source/view/main/PropertyMapper.cxx index 404b523a9128..f372f811edd9 100644 --- a/chart2/source/view/main/PropertyMapper.cxx +++ b/chart2/source/view/main/PropertyMapper.cxx @@ -2,9 +2,9 @@ * * $RCSfile: PropertyMapper.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: bm $ $Date: 2003-10-09 16:46:45 $ + * last change: $Author: bm $ $Date: 2003-10-17 14:50:28 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -367,11 +367,12 @@ const tMakePropertyNameMap& PropertyMapper::getPropertyNameMapForFilledSeriesPro return m_aShapePropertyMapForFilledSeriesProperties; } -//static +// static void PropertyMapper::setMultiProperties( const tNameSequence& rNames , const tAnySequence& rValues - , const uno::Reference< drawing::XShape >& xTarget ) + , const ::com::sun::star::uno::Reference< + ::com::sun::star::beans::XPropertySet >& xTarget ) { try { @@ -382,6 +383,7 @@ void PropertyMapper::setMultiProperties( } else { + OSL_ENSURE( false, "Object does not support XMultiPropertySet" ); //@todo: if no multipropertyset is available try the unperformant normal XPropertySet } } |