summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Cecchetti <marco.cecchetti@collabora.com>2019-02-25 14:06:06 +0100
committerMarco Cecchetti <marco.cecchetti@collabora.com>2019-02-25 14:06:51 +0100
commita0323fef144292d88bace75b37183e2000360699 (patch)
treec157dcac294c1552c8c2d5ff40216af478ef6f7e
parent014ea0d29edce72b0e4b9b5cc6c1760ee8ea5fd1 (diff)
removed unused codecd-6.0-25
Change-Id: I7cbb34e06783efd619ea26572e4dc0f941d60030
-rw-r--r--sd/source/ui/func/fupage.cxx5
1 files changed, 0 insertions, 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<const SfxStringItem*>(pItem)->GetValue();
- if (pArgs->GetItemState(FN_PARAM_1, true, &pItem) == SfxItemState::SET)
- bAsLink = static_cast<const SfxBoolItem*>(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();
}