summaryrefslogtreecommitdiff
path: root/canvas/source/tools/surfaceproxy.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/tools/surfaceproxy.cxx')
-rw-r--r--canvas/source/tools/surfaceproxy.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/canvas/source/tools/surfaceproxy.cxx b/canvas/source/tools/surfaceproxy.cxx
index 46b3d2cd3255..3a1bf4fe3f21 100644
--- a/canvas/source/tools/surfaceproxy.cxx
+++ b/canvas/source/tools/surfaceproxy.cxx
@@ -23,15 +23,16 @@
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b2dpolygontriangulator.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
+#include <utility>
#include "surfaceproxy.hxx"
namespace canvas
{
- SurfaceProxy::SurfaceProxy( const std::shared_ptr<canvas::IColorBuffer>& pBuffer,
- const PageManagerSharedPtr& pPageManager ) :
- mpPageManager( pPageManager ),
- mpBuffer( pBuffer )
+ SurfaceProxy::SurfaceProxy( std::shared_ptr<canvas::IColorBuffer> xBuffer,
+ PageManagerSharedPtr xPageManager ) :
+ mpPageManager(std::move( xPageManager )),
+ mpBuffer(std::move( xBuffer ))
{
const ::basegfx::B2ISize aImageSize(mpBuffer->getWidth(),mpBuffer->getHeight());
const ::basegfx::B2ISize aPageSize(mpPageManager->getPageSize());