diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-11-22 15:35:16 +0000 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2016-11-23 22:40:58 +0000 |
commit | d9a6e0023c9a192850b9db00f8120fbcc4256ec9 (patch) | |
tree | 41e3ea0e81c4f0bc1581e61919ef3d0db6711c42 /vcl/headless/svpinst.cxx | |
parent | d689ad29c28ad7f077c2239a8fa4c2b6307a6aa1 (diff) |
Resolves: tdf#99508 ensure sufficient size for hidpi backing surface
and match virtual device scale with widget device scale
Change-Id: I1f35dcbaec94be12758ad6e4276bfd6bda4b1e88
Reviewed-on: https://gerrit.libreoffice.org/31080
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Jenkins <ci@libreoffice.org>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/headless/svpinst.cxx')
-rw-r--r-- | vcl/headless/svpinst.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/headless/svpinst.cxx b/vcl/headless/svpinst.cxx index 53072d6a3061..39ad72737a33 100644 --- a/vcl/headless/svpinst.cxx +++ b/vcl/headless/svpinst.cxx @@ -281,7 +281,7 @@ SalVirtualDevice* SvpSalInstance::CreateVirtualDevice( SalGraphics* /* pGraphics DeviceFormat eFormat, const SystemGraphicsData* /* pData */ ) { - SvpSalVirtualDevice* pNew = new SvpSalVirtualDevice(eFormat); + SvpSalVirtualDevice* pNew = new SvpSalVirtualDevice(eFormat, 1); pNew->SetSize( nDX, nDY ); return pNew; } |