summaryrefslogtreecommitdiff
path: root/sd/source/ui/toolpanel
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/toolpanel')
-rw-r--r--sd/source/ui/toolpanel/controls/MasterPagesSelector.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/toolpanel/controls/MasterPagesSelector.cxx b/sd/source/ui/toolpanel/controls/MasterPagesSelector.cxx
index eff4c8471b9a..2ff8498a476d 100644
--- a/sd/source/ui/toolpanel/controls/MasterPagesSelector.cxx
+++ b/sd/source/ui/toolpanel/controls/MasterPagesSelector.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: MasterPagesSelector.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: vg $ $Date: 2005-02-24 15:12:45 $
+ * last change: $Author: rt $ $Date: 2005-02-28 09:42:58 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -477,7 +477,7 @@ SdPage* MasterPagesSelector::ProvideMasterPage (
if (pMasterPage->GetModel() != &mrDocument)
{
pMasterPageInDocument = AddMasterPage (&mrDocument, pMasterPage, nInsertionIndex);
- mrDocument.AddUndo(new SdrUndoNewPage(*pClonedMasterPage));
+ mrDocument.AddUndo(new SdrUndoNewPage(*pMasterPageInDocument));
}
else
pMasterPageInDocument = pMasterPage;