summaryrefslogtreecommitdiff
path: root/canvas/source/directx/dx_canvashelper.cxx
diff options
context:
space:
mode:
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() )