summaryrefslogtreecommitdiffstats
path: root/drawinglayer
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-10-30 15:43:48 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-10-30 18:25:25 +0200
commit91399f5d9d9990d2e249155f4810cdaa5051e72b (patch)
treeedb9af4ee5f409096a782459e62a70830a7ee97c /drawinglayer
parentPrepare for removal of non-const operator[] from Sequence in desktop (diff)
downloadcore-91399f5d9d9990d2e249155f4810cdaa5051e72b.tar.gz
core-91399f5d9d9990d2e249155f4810cdaa5051e72b.zip
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.cxx2
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());
}