summaryrefslogtreecommitdiff
path: root/sw/source/core/docnode/swbaslnk.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-06-11 13:50:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-06-12 08:24:45 +0200
commit1c3ffcdd4e702264728d222046c401b90cb1c8c9 (patch)
treeda40599532933bcc4f6363d56423150b07b2bc44 /sw/source/core/docnode/swbaslnk.cxx
parent48ca5005ecea5286564c682f6d75716f3c4d8451 (diff)
loplugin:constantparam
Change-Id: Ia769b3176aea287cd57414d7ce8e88c6da43883e Reviewed-on: https://gerrit.libreoffice.org/55622 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/docnode/swbaslnk.cxx')
-rw-r--r--sw/source/core/docnode/swbaslnk.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/docnode/swbaslnk.cxx b/sw/source/core/docnode/swbaslnk.cxx
index 76f6f0b5d2ee..e06eaf120a81 100644
--- a/sw/source/core/docnode/swbaslnk.cxx
+++ b/sw/source/core/docnode/swbaslnk.cxx
@@ -149,7 +149,7 @@ static void lcl_CallModify( SwGrfNode& rGrfNd, SfxPoolItem& rItem )
{
aGrfSz = ::GetGraphicSizeTwip( aGrf, nullptr );
- pSwGrfNode->SetGraphic(aGrf, "");
+ pSwGrfNode->SetGraphic(aGrf);
bUpdate = true;
// Always use the correct graphic size