summaryrefslogtreecommitdiff
path: root/sd/source/ui/view
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <s.mehrbrodt@gmail.com>2013-07-27 15:11:32 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-07-29 13:05:56 +0000
commit4e3f7d32b80fcb44f20abe634a2035d2c90c9e08 (patch)
tree3fe76a82fb73584a6ea96e0f7905edc939a21ed9 /sd/source/ui/view
parent15dc66c81a5a0af8db52a98e51e289f8f134d8c4 (diff)
fdo#67274 Always embed images from gallery
This patch removes the options to link images from the gallery. Users should never link to the gallery. The links wouldn't work anymore if you just change the operating system, because the gallery is on a different place. Changes: * Removed option in "Bullets and Numbering" dialog to link graphical bullets * Change the Gallery image context menu. Before: Insert Copy Link Background Page Paragraph ... Now: Insert Insert as Background Page Paragraph ... Change-Id: I699042a7d7a27369775f9ee4c14c4a6964489a92 Reviewed-on: https://gerrit.libreoffice.org/5141 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'sd/source/ui/view')
-rw-r--r--sd/source/ui/view/drviews9.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/sd/source/ui/view/drviews9.cxx b/sd/source/ui/view/drviews9.cxx
index b6ccd5e3909a..0ccb477b603e 100644
--- a/sd/source/ui/view/drviews9.cxx
+++ b/sd/source/ui/view/drviews9.cxx
@@ -173,10 +173,6 @@ void DrawViewShell::ExecGallery(SfxRequest& rReq)
SdrPageView* pPV = mpDrawView->GetSdrPageView();
mpDrawView->InsertObjectAtView(pGrafObj, *pPV, SDRINSERT_SETDEFLAYER);
}
-
- // Soll nur ein Link benutzt werden?
- if( pGrafObj && pGalleryItem->IsLink() )
- pGrafObj->SetGraphicLink( pGalleryItem->GetURL(), pGalleryItem->GetFilterName() );
}
// insert sound
else if( nType == com::sun::star::gallery::GalleryItemType::MEDIA )