From a0323fef144292d88bace75b37183e2000360699 Mon Sep 17 00:00:00 2001 From: Marco Cecchetti Date: Mon, 25 Feb 2019 14:06:06 +0100 Subject: removed unused code Change-Id: I7cbb34e06783efd619ea26572e4dc0f941d60030 --- sd/source/ui/func/fupage.cxx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sd/source/ui/func/fupage.cxx b/sd/source/ui/func/fupage.cxx index 155d8a3e5d86..15a8c5156cee 100644 --- a/sd/source/ui/func/fupage.cxx +++ b/sd/source/ui/func/fupage.cxx @@ -307,7 +307,6 @@ const SfxItemSet* FuPage::ExecuteDialog(vcl::Window* pParent, SfxRequest& rReq) OUString aFilterName; Graphic aGraphic; ErrCode nError = ERRCODE_GRFILTER_OPENERROR; - bool bAsLink = false; const SfxItemSet* pArgs = rReq.GetArgs(); const SfxPoolItem* pItem; @@ -319,9 +318,6 @@ const SfxItemSet* FuPage::ExecuteDialog(vcl::Window* pParent, SfxRequest& rReq) if (pArgs->GetItemState(FN_PARAM_FILTER, true, &pItem) == SfxItemState::SET) aFilterName = static_cast(pItem)->GetValue(); - if (pArgs->GetItemState(FN_PARAM_1, true, &pItem) == SfxItemState::SET) - bAsLink = static_cast(pItem)->GetValue(); - nError = GraphicFilter::LoadGraphic(aFileName, aFilterName, aGraphic, &GraphicFilter::GetGraphicFilter()); } @@ -333,7 +329,6 @@ const SfxItemSet* FuPage::ExecuteDialog(vcl::Window* pParent, SfxRequest& rReq) if (nError != ERRCODE_NONE) { nError = aDlg.GetGraphic(aGraphic); - bAsLink = aDlg.IsAsLink(); aFileName = aDlg.GetPath(); aFilterName = aDlg.GetDetectedFilter(); } -- cgit