summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive2d/textlayoutdevice.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'drawinglayer/source/primitive2d/textlayoutdevice.cxx')
-rw-r--r--drawinglayer/source/primitive2d/textlayoutdevice.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/drawinglayer/source/primitive2d/textlayoutdevice.cxx b/drawinglayer/source/primitive2d/textlayoutdevice.cxx
index 3abe03d78b0a..cbd21e37d898 100644
--- a/drawinglayer/source/primitive2d/textlayoutdevice.cxx
+++ b/drawinglayer/source/primitive2d/textlayoutdevice.cxx
@@ -241,7 +241,7 @@ namespace drawinglayer
if(nDXArrayCount)
{
OSL_ENSURE(nDXArrayCount == nTextLength, "DXArray size does not correspond to text portion size (!)");
- std::vector< sal_Int32 > aIntegerDXArray(nDXArrayCount);
+ std::vector< long > aIntegerDXArray(nDXArrayCount);
for(sal_uInt32 a(0); a < nDXArrayCount; a++)
{
@@ -347,7 +347,7 @@ namespace drawinglayer
if(nTextLength)
{
aRetval.reserve(nTextLength);
- ::std::vector<sal_Int32> aArray(nTextLength);
+ ::std::vector<long> aArray(nTextLength);
mrDevice.GetTextArray(rText, &aArray[0], nIndex, nLength);
aRetval.assign(aArray.begin(), aArray.end());
}