From d147ef14ac3d3250bd9039a47a9b819e7e23315a Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 25 Aug 2022 20:47:10 +0100 Subject: nWidth is set from newWidth which is DeviceCoordinate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I9d28fa57847b71383baa4b48d51a176017c0132f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138849 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- vcl/source/gdi/pdfwriter_impl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl') 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)) { -- cgit