summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdograf.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-11-18 08:24:24 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-11-18 10:22:16 +0100
commit7938cae5178a4ce4093fd6494a058ab879ba303b (patch)
treed0d53cfe8f0c0c32fab053c0222f448fdaefbc50 /svx/source/svdraw/svdograf.cxx
parent904fb08b1ee9a632bbacd80439ef5919468c9464 (diff)
Remove unused SdrGrafObj::SetGraphicLink rReferer, rFilterName parameters
unused since 9fb7aaf570c03c8a26d763f1205fb8c890e8211a "Make linked graphic register into LinkedManager again", and remove further function parameters and class members that turn out to be unused now, too Change-Id: I3dd2b138fd8787d12b89547526da751ea5954845 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106041 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svx/source/svdraw/svdograf.cxx')
-rw-r--r--svx/source/svdraw/svdograf.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx
index ae43c6bb3e41..217d953d532d 100644
--- a/svx/source/svdraw/svdograf.cxx
+++ b/svx/source/svdraw/svdograf.cxx
@@ -313,7 +313,6 @@ void SdrGrafObj::SetGraphic( const Graphic& rGraphic )
{
ImpDeregisterLink();
aFileName = rGraphic.getOriginURL();
- aReferer = "";
aFilterName = "";
}
NbcSetGraphic(rGraphic);
@@ -487,7 +486,7 @@ void SdrGrafObj::ImpDeregisterLink()
}
}
-void SdrGrafObj::SetGraphicLink(const OUString& rFileName, std::u16string_view /*rReferer*/, std::u16string_view /*rFilterName*/)
+void SdrGrafObj::SetGraphicLink(const OUString& rFileName)
{
Graphic aGraphic;
aGraphic.setOriginURL(rFileName);
@@ -498,7 +497,6 @@ void SdrGrafObj::ReleaseGraphicLink()
{
ImpDeregisterLink();
aFileName.clear();
- aReferer.clear();
aFilterName.clear();
}
@@ -726,7 +724,6 @@ SdrGrafObj& SdrGrafObj::operator=( const SdrGrafObj& rObj )
SdrRectObj::operator=( rObj );
aFileName = rObj.aFileName;
- aFilterName = rObj.aFilterName;
bMirrored = rObj.bMirrored;
mbIsSignatureLine = rObj.mbIsSignatureLine;
@@ -756,7 +753,7 @@ SdrGrafObj& SdrGrafObj::operator=( const SdrGrafObj& rObj )
if( rObj.IsLinkedGraphic() )
{
- SetGraphicLink( aFileName, rObj.aReferer, aFilterName );
+ SetGraphicLink( aFileName );
}
ImpSetAttrToGrafInfo();