From b9f098c5a2223417af89d69fd8c0548570fd3a9d Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Sat, 30 Oct 2021 22:03:44 +0300 Subject: Another tools::Long->sal_Int32 in the DX array A leftover from commit bc413e15fae3672f580894a3cd7b077d533d8e6c Change-Id: Ibacdf71f608657a4488c84b88ef54fb52d3e8439 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124496 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- canvas/source/directx/dx_textlayout_drawhelper.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'canvas/source') diff --git a/canvas/source/directx/dx_textlayout_drawhelper.cxx b/canvas/source/directx/dx_textlayout_drawhelper.cxx index 6b5a389f77ae..e7623219c798 100644 --- a/canvas/source/directx/dx_textlayout_drawhelper.cxx +++ b/canvas/source/directx/dx_textlayout_drawhelper.cxx @@ -206,14 +206,14 @@ namespace dxcanvas { // create the DXArray const sal_Int32 nLen( rLogicalAdvancements.getLength() ); - std::unique_ptr<::tools::Long[]> pDXArray( new ::tools::Long[nLen] ); + std::unique_ptr pDXArray( std::make_unique(nLen) ); for( sal_Int32 i=0; iDrawTextArray( aEmptyPoint, aText, - o3tl::span( pDXArray.get(), nLen ), + o3tl::span( pDXArray.get(), nLen ), rText.StartPosition, rText.Length, bIsRTL ? SalLayoutFlags::BiDiRtl : SalLayoutFlags::NONE); -- cgit