summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdograf.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-12-17 09:12:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-17 08:59:30 +0100
commit20ff62d319d9a8195a59d5b27ccc52d9000992c0 (patch)
treef32c6393778d7718e1cdda7f2281f8dfbf4dd591 /svx/source/svdraw/svdograf.cxx
parent8eb2d2972583b909a249f5b0f22a9b1fbf533d24 (diff)
loplugin:expandablemethods
Change-Id: Ifc269d9996928085a3ab78033788465b4f029368 Reviewed-on: https://gerrit.libreoffice.org/85255 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/svdraw/svdograf.cxx')
-rw-r--r--svx/source/svdraw/svdograf.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx
index 7e14a6d3bdd9..135b934be8b4 100644
--- a/svx/source/svdraw/svdograf.cxx
+++ b/svx/source/svdraw/svdograf.cxx
@@ -88,8 +88,6 @@ public:
const OUString& rMimeType, const css::uno::Any & rValue ) override;
void Connect() { GetRealObject(); }
-
- const OUString& getReferer() const { return rGrafObj.aReferer; }
};
SdrGraphicLink::SdrGraphicLink(SdrGrafObj& rObj)
@@ -110,7 +108,7 @@ SdrGraphicLink::SdrGraphicLink(SdrGrafObj& rObj)
sfx2::LinkManager::GetDisplayNames( this, nullptr, &rGrafObj.aFileName, nullptr, &rGrafObj.aFilterName );
Graphic aGraphic;
- if (sfx2::LinkManager::GetGraphicFromAny(rMimeType, rValue, getReferer(), aGraphic, nullptr))
+ if (sfx2::LinkManager::GetGraphicFromAny(rMimeType, rValue, rGrafObj.aReferer, aGraphic, nullptr))
{
rGrafObj.ImpSetLinkedGraphic(aGraphic);
}