diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-08-25 20:47:10 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-08-26 00:37:21 +0200 |
commit | d147ef14ac3d3250bd9039a47a9b819e7e23315a (patch) | |
tree | 1d620e3ad2481cc3a8ae4e2f4bbee0fb61b2cf7b /vcl | |
parent | 100fe8a3a1724f1a5f834da11e17d1641be20994 (diff) |
nWidth is set from newWidth which is DeviceCoordinate
Change-Id: I9d28fa57847b71383baa4b48d51a176017c0132f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138849
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index b1c4e0d6272b..617871036117 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -6443,7 +6443,7 @@ void PDFWriterImpl::drawLayout( SalLayout& rLayout, const OUString& rText, bool if( m_aCurrentPDFState.m_aFont.IsWordLineMode() ) { Point aStartPt; - sal_Int32 nWidth = 0; + DeviceCoordinate nWidth = 0; nIndex = 0; while (rLayout.GetNextGlyph(&pGlyph, aPos, nIndex)) { |