diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-19 10:01:25 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-19 10:02:14 +0000 |
commit | 4e9cfc178c47893229f8030bfe73e2b7c5de92c3 (patch) | |
tree | 28fe955fe09fb7ebe86487babdc3068c2a192448 /vcl | |
parent | f0421b64cb66709b09ef836129cdf77ccd60243e (diff) |
Resolves: tdf#105416 blank windows under HiDPI RTL
Change-Id: I819f06babd448c37ce2d58297562b640aba1c8c6
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/headless/svpgdi.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx index de5596f1cf13..9828147a7920 100644 --- a/vcl/headless/svpgdi.cxx +++ b/vcl/headless/svpgdi.cxx @@ -409,7 +409,7 @@ sal_uInt16 SvpSalGraphics::GetBitCount() const long SvpSalGraphics::GetGraphicsWidth() const { - return m_pSurface ? cairo_image_surface_get_width(m_pSurface) : 0; + return m_pSurface ? cairo_image_surface_get_width(m_pSurface) / m_fScale : 0; } void SvpSalGraphics::ResetClipRegion() |