diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-01-21 15:35:43 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-01-21 15:35:43 +0000 |
commit | 35f1f99fcf54d6803ae36390d01e1283f9ee8a99 (patch) | |
tree | 424b1564255526a42ad3b282523c339ff0c849c5 /sd/source/ui/slidesorter/controller/SlsClipboard.cxx | |
parent | a75b6ef7f2a26d6881e68e25f6ce6c3231d9901f (diff) |
INTEGRATION: CWS impress23 (1.6.8); FILE MERGED
2004/12/13 16:49:40 af 1.6.8.1: #i38797# Fixed use of bMergeMasterPages flag.
Diffstat (limited to 'sd/source/ui/slidesorter/controller/SlsClipboard.cxx')
-rw-r--r-- | sd/source/ui/slidesorter/controller/SlsClipboard.cxx | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsClipboard.cxx b/sd/source/ui/slidesorter/controller/SlsClipboard.cxx index e8aaf8c5bfd5..0fcfeb506b46 100644 --- a/sd/source/ui/slidesorter/controller/SlsClipboard.cxx +++ b/sd/source/ui/slidesorter/controller/SlsClipboard.cxx @@ -2,9 +2,9 @@ * * $RCSfile: SlsClipboard.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: rt $ $Date: 2004-11-26 20:21:24 $ + * last change: $Author: kz $ $Date: 2005-01-21 16:35:43 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -268,6 +268,7 @@ void Clipboard::DoPaste (::Window* pWindow) { const ::vos::OGuard aGuard (Application::GetSolarMutex()); + bMergeMasterPages = (pDataDoc != mrController.GetModel().GetDocument()); nInsertPgCnt = pDataDoc->GetSdPageCount( PK_STANDARD ); mrController.GetModel().GetDocument()->InsertBookmarkAsPage( NULL, @@ -282,19 +283,6 @@ void Clipboard::DoPaste (::Window* pWindow) FALSE); } } - /*AF - SfxUInt16Item aItem (SID_PAGES_PER_ROW, nPagesPerRow); - - ( pDocSh->GetViewShell() - ? pDocSh->GetViewShell()->GetViewFrame() - : SfxViewFrame::Current() - )->GetDispatcher()->Execute( - SID_PAGES_PER_ROW, - SFX_CALLMODE_SYNCHRON | SFX_CALLMODE_RECORD, - &aItem, - 0L, - 0L); - */ mrController.HandleModelChange(); } } |