From 95b04f52b567526a72922af67b926096d10424c1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 23 Aug 2017 14:36:48 +0200 Subject: loplugin:useuniqueptr in cppcanvas Change-Id: I8e995128a7a1c5911efc82a762dbe7be015b2050 Reviewed-on: https://gerrit.libreoffice.org/41493 Tested-by: Jenkins Reviewed-by: Noel Grandin --- cppcanvas/source/inc/implrenderer.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cppcanvas/source/inc') diff --git a/cppcanvas/source/inc/implrenderer.hxx b/cppcanvas/source/inc/implrenderer.hxx index de215e0132ca..df26d09a4654 100644 --- a/cppcanvas/source/inc/implrenderer.hxx +++ b/cppcanvas/source/inc/implrenderer.hxx @@ -33,8 +33,9 @@ #include -#include #include +#include +#include class GDIMetaFile; class VirtualDevice; @@ -294,7 +295,7 @@ static float GetSwapFloat( SvStream& rSt ) /* EMF+ */ XForm aBaseTransform; XForm aWorldTransform; - EMFPObject* aObjects [256]; + std::unique_ptr aObjects [256]; float fPageScale; sal_Int32 nOriginX; sal_Int32 nOriginY; -- cgit