summaryrefslogtreecommitdiff
path: root/cppcanvas
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2024-11-19 14:25:01 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2024-11-19 16:14:13 +0100
commitd991795635784675f6659dc47265088b1803cd52 (patch)
treed3435e5c7f8f84ef30404808b2dde8dfb300f191 /cppcanvas
parentb20156432fcb2dadabff2decaa04537a7eebc042 (diff)
canvas: simplify calcTransformedRectBounds
Change-Id: Ia0314a985ae2183727587ad254faec12ee49b66c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176769 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'cppcanvas')
-rw-r--r--cppcanvas/source/mtfrenderer/mtftools.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/cppcanvas/source/mtfrenderer/mtftools.cxx b/cppcanvas/source/mtfrenderer/mtftools.cxx
index dce2973bebca..e0ed0e94f222 100644
--- a/cppcanvas/source/mtfrenderer/mtftools.cxx
+++ b/cppcanvas/source/mtfrenderer/mtftools.cxx
@@ -634,9 +634,7 @@ namespace cppcanvas::tools
viewState,
renderState );
- ::basegfx::B2DRange aTransformedBounds;
- return ::canvas::tools::calcTransformedRectBounds( aTransformedBounds,
- rBounds,
+ return ::canvas::tools::calcTransformedRectBounds(rBounds,
aTransform );
}