summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xiview.cxx
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-19 15:17:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-20 08:04:35 +0200
commitb225980d2d65694278c9ed89512fbe21b08febd6 (patch)
treeacd7e008fdabbed097fd97f6c4ba8ddc366946bb /sc/source/filter/excel/xiview.cxx
parent6eefea359fe1e51adfd4a2002614013a7c060a33 (diff)
use tools::Long in sc
Change-Id: I8f37a8d1174ed816df971b8cee036d4e88d4a7fc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104526 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/filter/excel/xiview.cxx')
-rw-r--r--sc/source/filter/excel/xiview.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/filter/excel/xiview.cxx b/sc/source/filter/excel/xiview.cxx
index 11c698c4fdf1..49878de6eeb2 100644
--- a/sc/source/filter/excel/xiview.cxx
+++ b/sc/source/filter/excel/xiview.cxx
@@ -80,9 +80,9 @@ void XclImpDocViewSettings::Finalize()
namespace {
-long lclGetScZoom( sal_uInt16 nXclZoom, sal_uInt16 nDefZoom )
+tools::Long lclGetScZoom( sal_uInt16 nXclZoom, sal_uInt16 nDefZoom )
{
- return static_cast< long >( nXclZoom ? nXclZoom : nDefZoom );
+ return static_cast< tools::Long >( nXclZoom ? nXclZoom : nDefZoom );
}
} // namespace
@@ -259,8 +259,8 @@ void XclImpTabViewSettings::Finalize()
else
{
// split window: position is in twips
- rTabSett.maSplitPos.setX( static_cast< long >( maData.mnSplitX ) );
- rTabSett.maSplitPos.setY( static_cast< long >( maData.mnSplitY ) );
+ rTabSett.maSplitPos.setX( static_cast< tools::Long >( maData.mnSplitX ) );
+ rTabSett.maSplitPos.setY( static_cast< tools::Long >( maData.mnSplitY ) );
}
// grid color