summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/primitive2d/textlayoutdevice.cxx6
-rw-r--r--drawinglayer/source/processor2d/vclprocessor2d.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/drawinglayer/source/primitive2d/textlayoutdevice.cxx b/drawinglayer/source/primitive2d/textlayoutdevice.cxx
index e34fe1822fa4..f2d2e205d76b 100644
--- a/drawinglayer/source/primitive2d/textlayoutdevice.cxx
+++ b/drawinglayer/source/primitive2d/textlayoutdevice.cxx
@@ -349,7 +349,7 @@ namespace drawinglayer::primitive2d
if(nTextLength)
{
aRetval.reserve(nTextLength);
- std::vector<long> aArray(nTextLength);
+ std::vector<tools::Long> aArray(nTextLength);
mrDevice.GetTextArray(rText, aArray.data(), nIndex, nLength);
aRetval.assign(aArray.begin(), aArray.end());
}
@@ -374,7 +374,7 @@ namespace drawinglayer::primitive2d
if(nTextLength)
{
aRetval.reserve(2 * nTextLength);
- std::vector<long> aArray(2 * nTextLength);
+ std::vector<tools::Long> aArray(2 * nTextLength);
mrDevice.GetCaretPositions(rText, aArray.data(), nIndex, nLength);
aRetval.assign(aArray.begin(), aArray.end());
}
@@ -457,7 +457,7 @@ namespace drawinglayer::primitive2d
// TODO: eKerning
// set FontHeight and init to no FontScaling
- o_rSize.setY(std::max<long>(rFont.GetFontSize().getHeight(), 0));
+ o_rSize.setY(std::max<tools::Long>(rFont.GetFontSize().getHeight(), 0));
o_rSize.setX(o_rSize.getY());
#ifdef _WIN32
diff --git a/drawinglayer/source/processor2d/vclprocessor2d.cxx b/drawinglayer/source/processor2d/vclprocessor2d.cxx
index 9f5f5d77c0d5..e4083043f1b7 100644
--- a/drawinglayer/source/processor2d/vclprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclprocessor2d.cxx
@@ -252,7 +252,7 @@ void VclProcessor2D::RenderTextSimpleOrDecoratedPortionPrimitive2D(
}
// create transformed integer DXArray in view coordinate system
- std::vector<long> aTransformedDXArray;
+ std::vector<tools::Long> aTransformedDXArray;
if (!rTextCandidate.getDXArray().empty())
{