summaryrefslogtreecommitdiff
path: root/vcl/inc/win/salinst.h
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-23 14:16:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-25 08:25:28 +0200
commit182197448fc206649324fa15cf5aeaf7d01723ed (patch)
tree54622b47cde68721a0fef01233f87b2708387352 /vcl/inc/win/salinst.h
parentb84244378d411b83355b8763d3505031dd5ec324 (diff)
loplugin:useuniqueptr in VirtualDevice
Change-Id: I7c70f9c590dd63cca1dce16ce184fc7e14922de2 Reviewed-on: https://gerrit.libreoffice.org/53353 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/win/salinst.h')
-rw-r--r--vcl/inc/win/salinst.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/inc/win/salinst.h b/vcl/inc/win/salinst.h
index 9f5dbdf955b1..43902c065324 100644
--- a/vcl/inc/win/salinst.h
+++ b/vcl/inc/win/salinst.h
@@ -50,7 +50,8 @@ public:
virtual void DestroyFrame( SalFrame* pFrame ) override;
virtual SalObject* CreateObject( SalFrame* pParent, SystemWindowData* pWindowData, bool bShow ) override;
virtual void DestroyObject( SalObject* pObject ) override;
- virtual SalVirtualDevice* CreateVirtualDevice( SalGraphics* pGraphics,
+ virtual std::unique_ptr<SalVirtualDevice>
+ CreateVirtualDevice( SalGraphics* pGraphics,
long &nDX, long &nDY,
DeviceFormat eFormat, const SystemGraphicsData *pData = nullptr ) override;
virtual SalInfoPrinter* CreateInfoPrinter( SalPrinterQueueInfo* pQueueInfo,