summaryrefslogtreecommitdiff
path: root/svtools/inc/table/tablecontrolinterface.hxx
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-19 10:46:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-19 21:34:15 +0200
commit5afba3e12c8d4eb1ebb8e087134eb87593bb017a (patch)
tree065feaadfc8b8da456d0707358bb706c9f90e1e0 /svtools/inc/table/tablecontrolinterface.hxx
parent73933ed0a207f1cf210cc4a7d329755bd885f871 (diff)
use tools::Long in svtools
Change-Id: I2b26da23e625e643dc2bb5393abff3671c457884 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104518 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/inc/table/tablecontrolinterface.hxx')
-rw-r--r--svtools/inc/table/tablecontrolinterface.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/inc/table/tablecontrolinterface.hxx b/svtools/inc/table/tablecontrolinterface.hxx
index 69670d2bdaa6..5314b2952381 100644
--- a/svtools/inc/table/tablecontrolinterface.hxx
+++ b/svtools/inc/table/tablecontrolinterface.hxx
@@ -107,7 +107,7 @@ namespace svt::table
/** the start of the column, in pixels. Might be negative, in case the column is scrolled out of the visible
area. Note: see below.
*/
- long nStartPixel;
+ tools::Long nStartPixel;
/** the end of the column, in pixels, plus 1. Effectively, this is the accumulated width of all columns
up to the current one.
@@ -120,7 +120,7 @@ namespace svt::table
gap. So these doc comments are inconsistent. How
surprising.
*/
- long nEndPixel;
+ tools::Long nEndPixel;
ColumnMetrics()
:nStartPixel(0)
@@ -128,7 +128,7 @@ namespace svt::table
{
}
- ColumnMetrics( long const i_start, long const i_end )
+ ColumnMetrics( tools::Long const i_start, tools::Long const i_end )
:nStartPixel( i_start )
,nEndPixel( i_end )
{
@@ -215,7 +215,7 @@ namespace svt::table
virtual void invalidate( TableArea const i_what ) = 0;
/// calculates a width, given in pixels, into an AppFont-based width
- virtual long pixelWidthToAppFont( long const i_pixels ) const = 0;
+ virtual tools::Long pixelWidthToAppFont( tools::Long const i_pixels ) const = 0;
/// shows a tracking rectangle
virtual void showTracking( tools::Rectangle const & i_location, ShowTrackFlags const i_flags ) = 0;