diff options
author | Noel <noelgrandin@gmail.com> | 2020-10-19 15:13:24 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-20 10:08:05 +0200 |
commit | f886d9cacba197cb92a75317fe7d24280dff6436 (patch) | |
tree | 8e95e9fc79121eb9d09a18022e253904a1ff184f /editeng/source/uno | |
parent | add GetDropTarget to CustomWidgetController (diff) | |
download | core-f886d9cacba197cb92a75317fe7d24280dff6436.tar.gz core-f886d9cacba197cb92a75317fe7d24280dff6436.zip |
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')
-rw-r--r-- | editeng/source/uno/unofored.cxx | 4 | ||||
-rw-r--r-- | editeng/source/uno/unoforou.cxx | 4 |
2 files changed, 4 insertions, 4 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, diff --git a/editeng/source/uno/unoforou.cxx b/editeng/source/uno/unoforou.cxx index 32ee462bbbfc..144126d25e08 100644 --- a/editeng/source/uno/unoforou.cxx +++ b/editeng/source/uno/unoforou.cxx @@ -277,7 +277,7 @@ tools::Rectangle SvxOutlinerForwarder::GetCharBounds( sal_Int32 nPara, sal_Int32 // don't rotate for vertical text. Size aSize( rOutliner.CalcTextSize() ); // swap width and height - long tmp = aSize.Width(); + tools::Long tmp = aSize.Width(); aSize.setWidth(aSize.Height()); aSize.setHeight(tmp); bool bIsVertical( rOutliner.IsVertical() ); @@ -340,7 +340,7 @@ bool SvxOutlinerForwarder::GetIndexAtPoint( const Point& rPos, sal_Int32& nPara, { Size aSize( rOutliner.CalcTextSize() ); // 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, |