summaryrefslogtreecommitdiff
path: root/cppcanvas
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-28 09:15:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-28 12:03:48 +0100
commit7a09d67e1c76db7cb6a87a2ceaa6de7325342b75 (patch)
treeb768459ca830b343a3c53d1cea8b80de328ee1fb /cppcanvas
parent49a39d1abccc61b6dace3e92059ae50a6a2c298d (diff)
convert some more long -> tools::Long
Change-Id: Ide9811c1a7582454b3fcf655b70ea106ed56509a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104914 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppcanvas')
-rw-r--r--cppcanvas/source/mtfrenderer/implrenderer.cxx2
-rw-r--r--cppcanvas/source/mtfrenderer/textaction.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx
index e957ca79697a..c16534e3dda1 100644
--- a/cppcanvas/source/mtfrenderer/implrenderer.cxx
+++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx
@@ -2567,7 +2567,7 @@ namespace cppcanvas::internal
// generating a DX array, and uniformly
// distributing the excess/insufficient width
// to every logical character.
- std::unique_ptr< long []> pDXArray( new long[nLen] );
+ std::unique_ptr< ::tools::Long []> pDXArray( new ::tools::Long[nLen] );
rVDev.GetTextArray( pAct->GetText(), pDXArray.get(),
pAct->GetIndex(), pAct->GetLen() );
diff --git a/cppcanvas/source/mtfrenderer/textaction.cxx b/cppcanvas/source/mtfrenderer/textaction.cxx
index df64f58c44e1..96cf8e9ee5f4 100644
--- a/cppcanvas/source/mtfrenderer/textaction.cxx
+++ b/cppcanvas/source/mtfrenderer/textaction.cxx
@@ -186,7 +186,7 @@ namespace cppcanvas::internal
{
// no external DX array given, create one from given
// string
- std::unique_ptr< long []> pCharWidths( new long[nLen] );
+ std::unique_ptr< ::tools::Long []> pCharWidths( new ::tools::Long[nLen] );
rVDev.GetTextArray( rText, pCharWidths.get(),
nStartPos, nLen );