diff options
author | Arnaud Versini <arnaud.versini@libreoffice.org> | 2021-04-05 12:33:11 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-04-07 08:54:29 +0200 |
commit | b4e6c12dec3ddb2d6e78f136230f24feffe73d58 (patch) | |
tree | 694193bae67f3c1b3b7657e55e94568b6339f392 | |
parent | babd187dfaa5181ddaec6612fb8efe12ac8ed350 (diff) |
tdf#141297 : remove link to the file
Change-Id: I5c14f46f5fbd51d95eeb58ea0a6d3aa39afef3cf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113597
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
(cherry picked from commit 7289b9a90f5f8349875856c552330d512004925e)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113642
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
(cherry picked from commit 6494b99f09a29c22d51fb898423ced36ce02a9e7)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113645
-rw-r--r-- | svx/source/svdraw/svdograf.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx index be60f5697ca1..d17d039ff262 100644 --- a/svx/source/svdraw/svdograf.cxx +++ b/svx/source/svdraw/svdograf.cxx @@ -500,6 +500,10 @@ void SdrGrafObj::ReleaseGraphicLink() aFileName.clear(); aReferer.clear(); aFilterName.clear(); + + auto aGraphic = mpGraphicObject->GetGraphic(); + aGraphic.setOriginURL(""); + SetGraphic(aGraphic); } bool SdrGrafObj::IsLinkedGraphic() const |