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-30 09:44:45 +0000 |
commit | f12d24b25994c22396d768160fe69364f1627459 (patch) | |
tree | db60fc438f17704b3c15969d2fd91abafeb11403 | |
parent | a9b7c569652ba27ecda572a0cc8ad7a12143e903 (diff) |
Resolves: tdf#105416 blank windows under HiDPI RTL
Change-Id: I819f06babd448c37ce2d58297562b640aba1c8c6
(cherry picked from commit 4e9cfc178c47893229f8030bfe73e2b7c5de92c3)
Reviewed-on: https://gerrit.libreoffice.org/33302
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
(cherry picked from commit c9ab894ae846185a0341656922b0aa1632bfe886)
Reviewed-on: https://gerrit.libreoffice.org/33653
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-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 36f44cb57614..57093f6c3d09 100644 --- a/vcl/headless/svpgdi.cxx +++ b/vcl/headless/svpgdi.cxx @@ -411,7 +411,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() |