diff options
Diffstat (limited to 'sw/source/uibase/dbui/mailmergehelper.cxx')
-rw-r--r-- | sw/source/uibase/dbui/mailmergehelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/dbui/mailmergehelper.cxx b/sw/source/uibase/dbui/mailmergehelper.cxx index 0d086e9c8b29..2ef71463f870 100644 --- a/sw/source/uibase/dbui/mailmergehelper.cxx +++ b/sw/source/uibase/dbui/mailmergehelper.cxx @@ -388,7 +388,7 @@ void SwAddressPreview::Paint(vcl::RenderContext& rRenderContext, const tools::Re sal_uInt16 nStartRow = 0; if (m_xVScrollBar->get_vpolicy() != VclPolicyType::NEVER) { - aSize.AdjustWidth(-m_xVScrollBar->get_vscroll_width()); + aSize.AdjustWidth(-m_xVScrollBar->get_scroll_thickness()); nStartRow = m_xVScrollBar->vadjustment_get_value(); } Size aPartSize(aSize.Width() / pImpl->nColumns, |