diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2005-10-19 11:25:42 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2005-10-19 11:25:42 +0000 |
commit | a96937341d1f10c130c30ed4166d9f697676a132 (patch) | |
tree | 02e89bcff9f2200bb6bd1e486b430dc605fd704e /sd/source/ui/slidesorter/controller/SlsClipboard.cxx | |
parent | 3537d519d0cb530df618067be5f298d8c4918fd8 (diff) |
INTEGRATION: CWS cov2src (1.15.20); FILE MERGED
2005/10/18 12:38:37 rt 1.15.20.1: #126234# Join MWS COV680 m4 into SRC680
Diffstat (limited to 'sd/source/ui/slidesorter/controller/SlsClipboard.cxx')
-rw-r--r-- | sd/source/ui/slidesorter/controller/SlsClipboard.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsClipboard.cxx b/sd/source/ui/slidesorter/controller/SlsClipboard.cxx index 36129a3e2e44..63d542c26417 100644 --- a/sd/source/ui/slidesorter/controller/SlsClipboard.cxx +++ b/sd/source/ui/slidesorter/controller/SlsClipboard.cxx @@ -4,9 +4,9 @@ * * $RCSfile: SlsClipboard.cxx,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: hr $ $Date: 2005-09-23 11:28:29 $ + * last change: $Author: rt $ $Date: 2005-10-19 12:25:42 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -367,9 +367,7 @@ void Clipboard::CreateSlideTransferable ( SD_MOD()->pTransferClip = pTransferable; pDocument->CreatingDataObj (pTransferable); - pTransferable->SetWorkDocument ( - static_cast<SdDrawDocument*>( - mrController.GetView().GetAllMarkedModel())); + pTransferable->SetWorkDocument( dynamic_cast<SdDrawDocument*>(pDocument->AllocModel()) ); pDocument->CreatingDataObj (NULL); TransferableObjectDescriptor aObjDesc; pTransferable->GetWorkDocument()->GetDocSh() |