diff options
Diffstat (limited to 'sd/source/ui/view/sdview3.cxx')
-rw-r--r-- | sd/source/ui/view/sdview3.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sd/source/ui/view/sdview3.cxx b/sd/source/ui/view/sdview3.cxx index ccf09ff1db67..d9fe8fb46367 100644 --- a/sd/source/ui/view/sdview3.cxx +++ b/sd/source/ui/view/sdview3.cxx @@ -935,18 +935,6 @@ bool View::InsertData( const TransferableDataHelper& rDataHelper, { svt::EmbeddedObjectRef aObjRef( xObj, aObjDesc.mnViewAspect ); - // try to get the replacement image from the clipboard - Graphic aGraphic; - SotClipboardFormatId nGrFormat = SotClipboardFormatId::NONE; - - // insert replacement image ( if there is one ) into the object helper - if ( nGrFormat != SotClipboardFormatId::NONE ) - { - datatransfer::DataFlavor aDataFlavor; - SotExchange::GetFormatDataFlavor( nGrFormat, aDataFlavor ); - aObjRef.SetGraphic( aGraphic, aDataFlavor.MimeType ); - } - Size aSize; if ( aObjDesc.mnViewAspect == embed::Aspects::MSOLE_ICON ) { |