diff options
author | Noel <noelgrandin@gmail.com> | 2020-10-26 14:17:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-28 07:21:59 +0100 |
commit | 6436302f40252bc6619e304e2051115fee902e20 (patch) | |
tree | a32659b4fecc9fbf8fad3e379ddd8645a2a52e0b /drawinglayer/source | |
parent | 35f16614ee7ddf518d4c01de6b1d800f5ff1ba7e (diff) |
convert some more long -> tools::Long
grepping for stuff in template params this time
Change-Id: Ia37bfd85480b3a72c3c465489581d56ad8dde851
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104855
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer/source')
-rw-r--r-- | drawinglayer/source/primitive2d/textlayoutdevice.cxx | 6 | ||||
-rw-r--r-- | drawinglayer/source/processor2d/vclprocessor2d.cxx | 2 |
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()) { |