diff options
author | Samuel Mehrbrodt <s.mehrbrodt@gmail.com> | 2013-07-27 15:11:32 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-07-29 13:05:56 +0000 |
commit | 4e3f7d32b80fcb44f20abe634a2035d2c90c9e08 (patch) | |
tree | 3fe76a82fb73584a6ea96e0f7905edc939a21ed9 /sc | |
parent | 15dc66c81a5a0af8db52a98e51e289f8f134d8c4 (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 'sc')
-rw-r--r-- | sc/source/ui/view/tabvwsh9.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sc/source/ui/view/tabvwsh9.cxx b/sc/source/ui/view/tabvwsh9.cxx index b573b9811fab..74344c43bb6a 100644 --- a/sc/source/ui/view/tabvwsh9.cxx +++ b/sc/source/ui/view/tabvwsh9.cxx @@ -91,12 +91,6 @@ void ScTabViewShell::ExecGallery( SfxRequest& rReq ) Point aPos = GetInsertPos(); String aPath, aFilter; - if ( pGalleryItem->IsLink() ) // als Link einfuegen? - { - aPath = pGalleryItem->GetURL(); - aFilter = pGalleryItem->GetFilterName(); - } - PasteGraphic( aPos, aGraphic, aPath, aFilter ); } else if ( nType == com::sun::star::gallery::GalleryItemType::MEDIA ) |