summaryrefslogtreecommitdiff
path: root/editeng/source/uno/unofored.cxx
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-19 15:13:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-20 10:08:05 +0200
commitf886d9cacba197cb92a75317fe7d24280dff6436 (patch)
tree8e95e9fc79121eb9d09a18022e253904a1ff184f /editeng/source/uno/unofored.cxx
parent9a59220e82fa87d70db2735bed502846d0f9df05 (diff)
use tools::Long in editeng
Change-Id: Ib7014c353489461ad9489d9f3fefd59a32f8f877 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104524 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/source/uno/unofored.cxx')
-rw-r--r--editeng/source/uno/unofored.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/uno/unofored.cxx b/editeng/source/uno/unofored.cxx
index bde2a75e26ab..de8cab5ef060 100644
--- a/editeng/source/uno/unofored.cxx
+++ b/editeng/source/uno/unofored.cxx
@@ -291,7 +291,7 @@ tools::Rectangle SvxEditEngineForwarder::GetCharBounds( sal_Int32 nPara, sal_Int
// don't rotate for vertical text.
Size aSize( rEditEngine.CalcTextWidth(), rEditEngine.GetTextHeight() );
// swap width and height
- long tmp = aSize.Width();
+ tools::Long tmp = aSize.Width();
aSize.setWidth(aSize.Height());
aSize.setHeight(tmp);
bool bIsVertical( rEditEngine.IsVertical() );
@@ -375,7 +375,7 @@ bool SvxEditEngineForwarder::GetIndexAtPoint( const Point& rPos, sal_Int32& nPar
{
Size aSize( rEditEngine.CalcTextWidth(), rEditEngine.GetTextHeight() );
// swap width and height
- long tmp = aSize.Width();
+ tools::Long tmp = aSize.Width();
aSize.setWidth(aSize.Height());
aSize.setHeight(tmp);
Point aEEPos( SvxEditSourceHelper::UserSpaceToEE( rPos,