diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-23 14:16:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-25 08:25:28 +0200 |
commit | 182197448fc206649324fa15cf5aeaf7d01723ed (patch) | |
tree | 54622b47cde68721a0fef01233f87b2708387352 /vcl/inc/win/salinst.h | |
parent | b84244378d411b83355b8763d3505031dd5ec324 (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.h | 3 |
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, |