summaryrefslogtreecommitdiff
path: root/canvas/workben/canvasdemo.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/workben/canvasdemo.cxx')
-rw-r--r--canvas/workben/canvasdemo.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/canvas/workben/canvasdemo.cxx b/canvas/workben/canvasdemo.cxx
index 431f9cee04a1..eb9356a04926 100644
--- a/canvas/workben/canvasdemo.cxx
+++ b/canvas/workben/canvasdemo.cxx
@@ -39,6 +39,7 @@
#include <comphelper/random.hxx>
#include <cppuhelper/bootstrap.hxx>
#include <o3tl/safeint.hxx>
+#include <utility>
#include <vcl/canvastools.hxx>
#include <vcl/svapp.hxx>
#include <vcl/vclmain.hxx>
@@ -92,7 +93,7 @@ class DemoRenderer
maColorBlack( vcl::unotools::colorToStdColorSpaceSequence( COL_BLACK) ),
maColorRed( vcl::unotools::colorToStdColorSpaceSequence( COL_RED) ),
mxCanvas(xCanvas),
- mxDevice( xDevice )
+ mxDevice(std::move( xDevice ))
{
// Geometry init
geometry::AffineMatrix2D aUnit( 1,0, 0,