vcl/source/gdi/pdfwriter_impl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit d147ef14ac3d3250bd9039a47a9b819e7e23315a Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Thu Aug 25 20:47:10 2022 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Fri Aug 26 00:37:21 2022 +0200 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 <caol...@redhat.com> 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)) {