summaryrefslogtreecommitdiff
path: root/canvas/source/directx/dx_canvashelper.cxx
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2024-11-19 13:55:54 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2024-11-19 15:45:34 +0100
commite289fdedeb326a37253be509962c6c8ba0ccee80 (patch)
tree88a1953f8e316fef40226e67c7c681fcd65b3b39 /canvas/source/directx/dx_canvashelper.cxx
parentb0eceb839a8ddb70412d8cc5737eb3bd2b90b2c8 (diff)
canvas: simplify getViewStateTransform/getRenderStateTransform
Change-Id: If9487aff0d80f7ee9d368cd97bc2828a856cc392 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176766 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Jenkins
Diffstat (limited to 'canvas/source/directx/dx_canvashelper.cxx')
-rw-r--r--canvas/source/directx/dx_canvashelper.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/canvas/source/directx/dx_canvashelper.cxx b/canvas/source/directx/dx_canvashelper.cxx
index 1184886784c9..bd3523a134b9 100644
--- a/canvas/source/directx/dx_canvashelper.cxx
+++ b/canvas/source/directx/dx_canvashelper.cxx
@@ -728,8 +728,7 @@ namespace dxcanvas
"CanvasHelper::setupGraphicsState: reference device invalid" );
// setup view transform first. Clipping e.g. depends on it
- ::basegfx::B2DHomMatrix aTransform;
- ::canvas::tools::getViewStateTransform(aTransform, viewState);
+ ::basegfx::B2DHomMatrix aTransform = ::canvas::tools::getViewStateTransform(viewState);
// add output offset
if( !maOutputOffset.equalZero() )