summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviewsf.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/drviewsf.cxx')
-rw-r--r--sd/source/ui/view/drviewsf.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/drviewsf.cxx b/sd/source/ui/view/drviewsf.cxx
index f23bd042ce23..ae47828e8be5 100644
--- a/sd/source/ui/view/drviewsf.cxx
+++ b/sd/source/ui/view/drviewsf.cxx
@@ -733,7 +733,7 @@ void DrawViewShell::GetAttrState( SfxItemSet& rSet )
while( nWhich )
{
if (nWhich >= XATTR_LINE_FIRST && nWhich <= XATTR_LINE_LAST
- && SfxItemState::DEFAULT == pSet->GetItemState(nWhich) )
+ && SfxItemState::DEFAULT == aNewIter.GetItemState() )
{
rSet.ClearItem( nWhich );
rSet.DisableItem( nWhich );