diff options
Diffstat (limited to 'sd/source/ui/view/ViewClipboard.cxx')
-rw-r--r-- | sd/source/ui/view/ViewClipboard.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/ViewClipboard.cxx b/sd/source/ui/view/ViewClipboard.cxx index d6fd07e9cb16..ef088734f3c8 100644 --- a/sd/source/ui/view/ViewClipboard.cxx +++ b/sd/source/ui/view/ViewClipboard.cxx @@ -200,7 +200,7 @@ sal_uInt16 ViewClipboard::InsertSlides ( { // Otherwise all pages of the document of the transferable are // inserted. - SfxObjectShell* pShell = rTransferable.GetDocShell(); + SfxObjectShell* pShell = rTransferable.GetDocShell().get(); pDataDocSh = static_cast<DrawDocShell*>(pShell); SdDrawDocument* pDataDoc = pDataDocSh->GetDoc(); |