summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabvwsh9.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/tabvwsh9.cxx')
-rw-r--r--sc/source/ui/view/tabvwsh9.cxx6
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 )