summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorArmin Weiss <aw@openoffice.org>2000-12-06 10:45:47 +0000
committerArmin Weiss <aw@openoffice.org>2000-12-06 10:45:47 +0000
commita61a9134a3bfa9e1d0c7cfbb1312c4beec833b00 (patch)
tree3bce2c5e6850b638af8fbe90677c8d3e074a1f04 /svx
parentcf93ea2d5995dd9959412bde07fff636ed6948f3 (diff)
#80594# getting items from objects changed from GetItemSet() to
GetItem(nWhichID)
Diffstat (limited to 'svx')
-rw-r--r--svx/source/unodraw/unoshape.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index be4411af3e9f..bcb81622717e 100644
--- a/svx/source/unodraw/unoshape.cxx
+++ b/svx/source/unodraw/unoshape.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unoshape.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: sj $ $Date: 2000-11-30 18:14:07 $
+ * last change: $Author: aw $ $Date: 2000-12-06 11:45:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1200,7 +1200,7 @@ void SAL_CALL SvxShape::setPropertyValue( const OUString& rPropertyName, const u
{
SfxItemSet aSet( pModel->GetItemPool(), pMap->nWID, pMap->nWID);
//-/ pObj->TakeAttributes( aSet, sal_False, sal_False );
- aSet.Put(pObj->GetItemSet());
+ aSet.Put(pObj->GetItem(pMap->nWID));
if( SvxUnoTextRangeBase::SetPropertyValueHelper( aSet, pMap, rVal, aSet ))
return;
@@ -1695,7 +1695,7 @@ beans::PropertyState SAL_CALL SvxShape::getPropertyState( const OUString& Proper
{
SfxItemSet aSet( pModel->GetItemPool(), pMap->nWID, pMap->nWID);
//-/ pObj->TakeAttributes( aSet, sal_False, sal_True );
- aSet.Put(pObj->GetItemSet());
+ aSet.Put(pObj->GetItem(pMap->nWID));
if(!aSet.Count())
{
@@ -1756,7 +1756,7 @@ void SAL_CALL SvxShape::setPropertyToDefault( const OUString& PropertyName )
{
SfxItemSet aSet( pModel->GetItemPool(), pMap->nWID, pMap->nWID);
//-/ pObj->TakeAttributes( aSet, sal_False, sal_True );
- aSet.Put(pObj->GetItemSet());
+ aSet.Put(pObj->GetItem(pMap->nWID));
if(!aSet.Count())
{