diff options
author | Noel <noelgrandin@gmail.com> | 2020-10-19 15:17:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-20 08:04:35 +0200 |
commit | b225980d2d65694278c9ed89512fbe21b08febd6 (patch) | |
tree | acd7e008fdabbed097fd97f6c4ba8ddc366946bb /sc/inc/pivot.hxx | |
parent | 6eefea359fe1e51adfd4a2002614013a7c060a33 (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/inc/pivot.hxx')
-rw-r--r-- | sc/inc/pivot.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sc/inc/pivot.hxx b/sc/inc/pivot.hxx index 6bdd24353285..690f0bc16746 100644 --- a/sc/inc/pivot.hxx +++ b/sc/inc/pivot.hxx @@ -37,6 +37,7 @@ #define INCLUDED_SC_INC_PIVOT_HXX #include <rtl/ustring.hxx> +#include <tools/long.hxx> #include "types.hxx" #include "scdllapi.h" #include "dpglobal.hxx" @@ -69,7 +70,7 @@ struct ScDPLabelData OUString maLayoutName; ///< Layout name (display name) OUString maSubtotalName; SCCOL mnCol; ///< 0-based field index (not the source column index) - long mnOriginalDim; ///< original dimension index (>= 0 for duplicated dimension) + tools::Long mnOriginalDim; ///< original dimension index (>= 0 for duplicated dimension) PivotFunc mnFuncMask; ///< Page/Column/Row subtotal function. sal_Int32 mnUsedHier; ///< Used hierarchy. sal_Int32 mnFlags; ///< Flags from the DataPilotSource dimension @@ -116,14 +117,14 @@ struct ScPivotField { css::sheet::DataPilotFieldReference maFieldRef; - long mnOriginalDim; ///< >= 0 for duplicated field. + tools::Long mnOriginalDim; ///< >= 0 for duplicated field. PivotFunc nFuncMask; SCCOL nCol; ///< 0-based dimension index (not source column index) sal_uInt8 mnDupCount; explicit ScPivotField( SCCOL nNewCol = 0 ); - long getOriginalDim() const; + tools::Long getOriginalDim() const; }; typedef std::vector< ScPivotField > ScPivotFieldVector; @@ -157,7 +158,7 @@ struct ScPivotFuncData { css::sheet::DataPilotFieldReference maFieldRef; - long mnOriginalDim; + tools::Long mnOriginalDim; PivotFunc mnFuncMask; SCCOL mnCol; sal_uInt8 mnDupCount; |