diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-10-30 15:43:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-30 18:25:25 +0200 |
commit | 91399f5d9d9990d2e249155f4810cdaa5051e72b (patch) | |
tree | edb9af4ee5f409096a782459e62a70830a7ee97c /drawinglayer | |
parent | 471f5ab323c5676ca22358ca67f4e6820b7e071c (diff) |
tools::Long->sal_Int32 in GetCaretPositions
Change-Id: Id3f037e132a4d07cb2b68dbb93dd24f7f6b33ab6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124461
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/primitive2d/textlayoutdevice.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drawinglayer/source/primitive2d/textlayoutdevice.cxx b/drawinglayer/source/primitive2d/textlayoutdevice.cxx index 3dfd0258f099..102effd7fde1 100644 --- a/drawinglayer/source/primitive2d/textlayoutdevice.cxx +++ b/drawinglayer/source/primitive2d/textlayoutdevice.cxx @@ -331,7 +331,7 @@ std::vector<double> TextLayouterDevice::getCaretPositions(const OUString& rText, if (nTextLength) { aRetval.reserve(2 * nTextLength); - std::vector<tools::Long> aArray(2 * nTextLength); + std::vector<sal_Int32> aArray(2 * nTextLength); mrDevice.GetCaretPositions(rText, aArray.data(), nIndex, nLength); aRetval.assign(aArray.begin(), aArray.end()); } |