[Libreoffice-commits] core.git: vcl/source
Tomaž Vajngerl (via logerrit)
logerrit at kemper.freedesktop.org
Wed Dec 30 07:26:50 UTC 2020
vcl/source/gdi/impgraph.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 68235c8c4a4cd6c85214b82b78298af8265353de
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Sat Dec 26 08:48:03 2020 +0900
Commit: Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Wed Dec 30 08:26:07 2020 +0100
vcl: remove unneeded check
Change-Id: I3da0449afe3d21581934278f9a6fe03c4e652214
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108436
Tested-by: Tomaž Vajngerl <quikee at gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>
diff --git a/vcl/source/gdi/impgraph.cxx b/vcl/source/gdi/impgraph.cxx
index 6e444e3712ef..02709008d31f 100644
--- a/vcl/source/gdi/impgraph.cxx
+++ b/vcl/source/gdi/impgraph.cxx
@@ -786,8 +786,7 @@ Size ImpGraphic::ImplGetPrefSize() const
case GraphicType::GdiMetafile:
{
- if (ImplIsSupportedGraphic())
- aSize = maMetaFile.GetPrefSize();
+ aSize = maMetaFile.GetPrefSize();
}
break;
More information about the Libreoffice-commits
mailing list