summaryrefslogtreecommitdiff
path: root/vcl/headless/svpgdi.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/headless/svpgdi.cxx')
-rw-r--r--vcl/headless/svpgdi.cxx2
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()