[Libreoffice-commits] core.git: svx/source
Arnaud Versini (via logerrit)
logerrit at kemper.freedesktop.org
Tue Apr 6 13:25:15 UTC 2021
svx/source/svdraw/svdograf.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 7289b9a90f5f8349875856c552330d512004925e
Author: Arnaud Versini <arnaud.versini at libreoffice.org>
AuthorDate: Mon Apr 5 12:33:11 2021 +0200
Commit: Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Tue Apr 6 15:24:31 2021 +0200
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 at gmail.com>
diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx
index f7a03a82278d..bc0e125d46c1 100644
--- a/svx/source/svdraw/svdograf.cxx
+++ b/svx/source/svdraw/svdograf.cxx
@@ -552,6 +552,10 @@ void SdrGrafObj::ReleaseGraphicLink()
ImpDeregisterLink();
aFileName.clear();
aFilterName.clear();
+
+ auto aGraphic = mpGraphicObject->GetGraphic();
+ aGraphic.setOriginURL("");
+ SetGraphic(aGraphic);
}
bool SdrGrafObj::IsLinkedGraphic() const
More information about the Libreoffice-commits
mailing list