diff options
Diffstat (limited to 'sd/source/ui/view/drawview.cxx')
-rw-r--r-- | sd/source/ui/view/drawview.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/view/drawview.cxx b/sd/source/ui/view/drawview.cxx index dd711aeaef49..e4cdf010736c 100644 --- a/sd/source/ui/view/drawview.cxx +++ b/sd/source/ui/view/drawview.cxx @@ -363,7 +363,7 @@ void DrawView::SetMasterAttributes( SdrObject* pObject, const SdPage& rPage, Sfx sal_uInt16 nWhich(aWhichIter.FirstWhich()); while( nWhich ) { - if( SfxItemState::SET == rSet.GetItemState( nWhich ) ) + if( SfxItemState::SET == aWhichIter.GetItemState() ) aTempSet.ClearItem( nWhich ); nWhich = aWhichIter.NextWhich(); } @@ -390,7 +390,7 @@ void DrawView::SetMasterAttributes( SdrObject* pObject, const SdPage& rPage, Sfx sal_uInt16 nWhich(aWhichIter.FirstWhich()); while( nWhich ) { - if( SfxItemState::SET == rSet.GetItemState( nWhich ) ) + if( SfxItemState::SET == aWhichIter.GetItemState() ) pObject->ClearMergedItem( nWhich ); nWhich = aWhichIter.NextWhich(); } |