summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/view/pgbrksh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/pgbrksh.cxx')
-rw-r--r--sc/source/ui/view/pgbrksh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/pgbrksh.cxx b/sc/source/ui/view/pgbrksh.cxx
index 5e56feee127a..def2d41fd71d 100644
--- a/sc/source/ui/view/pgbrksh.cxx
+++ b/sc/source/ui/view/pgbrksh.cxx
@@ -42,7 +42,7 @@ ScPageBreakShell::ScPageBreakShell( ScTabViewShell* pViewSh ) :
ScViewData& rViewData = pViewSh->GetViewData();
SfxUndoManager* pMgr = rViewData.GetSfxDocShell()->GetUndoManager();
SetUndoManager( pMgr );
- if ( !rViewData.GetDocument()->IsUndoEnabled() )
+ if ( !rViewData.GetDocument().IsUndoEnabled() )
{
pMgr->SetMaxUndoActionCount( 0 );
}