summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2006-01-13 16:07:44 +0000
committerRüdiger Timm <rt@openoffice.org>2006-01-13 16:07:44 +0000
commit8da0d8e9836d0326d682ed481bf1711ee7798cb4 (patch)
tree61d2a628c5c6569b3ea30aa7d6be59a499260f8d /sc
parentfbd4848b3826705229e5256cbe63542e42364953 (diff)
INTEGRATION: CWS dr43 (1.6.40); FILE MERGED
2005/12/21 11:53:42 nn 1.6.40.1: #125875# ensure right draw page count after undo if there was no drawing layer before
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/undo/undodat.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sc/source/ui/undo/undodat.cxx b/sc/source/ui/undo/undodat.cxx
index f4fbbfdffc38..1941dc78924e 100644
--- a/sc/source/ui/undo/undodat.cxx
+++ b/sc/source/ui/undo/undodat.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: undodat.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 22:39:33 $
+ * last change: $Author: rt $ $Date: 2006-01-13 17:07:44 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1043,8 +1043,7 @@ void __EXPORT ScUndoQuery::Undo()
if (!bCopy)
pDoc->UpdatePageBreaks( nTab );
- if (pDrawUndo)
- DoSdrUndoAction( pDrawUndo );
+ DoSdrUndoAction( pDrawUndo, pDoc );
SCTAB nVisTab = pViewShell->GetViewData()->GetTabNo();
if ( nVisTab != nTab )