summaryrefslogtreecommitdiff
path: root/sw/source/uibase/app/docsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/app/docsh.cxx')
-rw-r--r--sw/source/uibase/app/docsh.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/app/docsh.cxx b/sw/source/uibase/app/docsh.cxx
index 7a3d9be84173..e1237d3c1a69 100644
--- a/sw/source/uibase/app/docsh.cxx
+++ b/sw/source/uibase/app/docsh.cxx
@@ -795,7 +795,7 @@ bool SwDocShell::SaveCompleted( const uno::Reference < embed::XStorage >& xStor
DELETEZ(m_pOLEChildList);
if( bResetModified )
- EnableSetModified( true );
+ EnableSetModified();
}
return bRet;
}
@@ -840,7 +840,7 @@ void SwDocShell::Draw( OutputDevice* pDev, const JobSetup& rSetup,
delete pOrig;
}
if ( bResetModified )
- EnableSetModified( true );
+ EnableSetModified();
}
void SwDocShell::SetVisArea( const Rectangle &rRect )
@@ -861,7 +861,7 @@ void SwDocShell::SetVisArea( const Rectangle &rRect )
aRect.Move( nMoveX, nMoveY );
// Calls SfxInPlaceObject::SetVisArea()!
- m_pView->SetVisArea( aRect, true );
+ m_pView->SetVisArea( aRect );
}
else
SfxObjectShell::SetVisArea( aRect );
@@ -875,7 +875,7 @@ Rectangle SwDocShell::GetVisArea( sal_uInt16 nAspect ) const
SwNodeIndex aIdx( m_pDoc->GetNodes().GetEndOfExtras(), 1 );
SwContentNode* pNd = m_pDoc->GetNodes().GoNext( &aIdx );
- const SwRect aPageRect = pNd->FindPageFrmRect( false, 0, false );
+ const SwRect aPageRect = pNd->FindPageFrmRect( false, 0 );
return aPageRect.SVRect();
}
return SfxObjectShell::GetVisArea( nAspect );