summaryrefslogtreecommitdiff
path: root/sc/source/filter/inc/xestyle.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-23 17:30:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-24 07:59:16 +0100
commita1c0e999b271ac4c6ecb163a1cd2a310b87e9dec (patch)
tree4ef50e0aec9dd0dc6db0d9927cebe71a512bf5c8 /sc/source/filter/inc/xestyle.hxx
parent35f5274ece0fcbb70753a71619b526ed0d4cbd6b (diff)
consistently use sal_uInt32 for number formats in sc
instead of a mix of short/sal_uLong/sal_uInt32 Change-Id: Ie5bd26e1a6f716c0c4e174a6d560827084b3f421 Reviewed-on: https://gerrit.libreoffice.org/45159 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/filter/inc/xestyle.hxx')
-rw-r--r--sc/source/filter/inc/xestyle.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sc/source/filter/inc/xestyle.hxx b/sc/source/filter/inc/xestyle.hxx
index 0e6056b372e4..dc12247b418f 100644
--- a/sc/source/filter/inc/xestyle.hxx
+++ b/sc/source/filter/inc/xestyle.hxx
@@ -434,7 +434,7 @@ public:
const XclExpRoot& rRoot,
const ScPatternAttr& rPattern,
sal_Int16 nScript,
- sal_uLong nScForceNumFmt = NUMBERFORMAT_ENTRY_NOT_FOUND,
+ sal_uInt32 nScForceNumFmt = NUMBERFORMAT_ENTRY_NOT_FOUND,
sal_uInt16 nForceXclFont = EXC_FONT_NOTFOUND,
bool bForceLineBreak = false );
/** Constructs a style XF record from the passed cell style sheet. */
@@ -455,7 +455,7 @@ public:
@descr Searches for cell XFs only. */
bool Equals(
const ScPatternAttr& rPattern,
- sal_uLong nScForceNumFmt,
+ sal_uInt32 nScForceNumFmt,
sal_uInt16 nForceXclFont,
bool bForceLineBreak ) const;
@@ -484,7 +484,7 @@ protected: // access for XclExpDefaultXF
XclExpCellBorder maBorder; /// Border line style.
XclExpCellArea maArea; /// Background area style.
sal_uInt32 mnParentXFId; /// XF ID of parent XF record.
- sal_uLong mnScNumFmt; /// Calc number format index.
+ sal_uInt32 mnScNumFmt; /// Calc number format index.
sal_uInt16 mnXclFont; /// Excel font index.
sal_uInt16 mnXclNumFmt; /// Excel number format index.
sal_Int32 mnBorderId; /// OOXML Border Index
@@ -500,7 +500,7 @@ private:
void Init(
const SfxItemSet& rItemSet,
sal_Int16 nScript,
- sal_uLong nForceScNumFmt,
+ sal_uInt32 nForceScNumFmt,
sal_uInt16 nForceXclFont,
bool bForceLineBreak,
bool bDefStyle );
@@ -599,7 +599,7 @@ public:
@return A unique XF record ID. */
sal_uInt32 InsertWithNumFmt(
const ScPatternAttr* pPattern, sal_Int16 nScript,
- sal_uLong nForceScNumFmt,
+ sal_uInt32 nForceScNumFmt,
bool bForceLineBreak );
/** Inserts the passed cell style. Creates a style XF record and a STYLE record.
@return A unique XF record ID. */
@@ -632,7 +632,7 @@ private:
private:
/** Returns the XF ID of the cell XF containing the passed format. */
- sal_uInt32 FindXF( const ScPatternAttr& rPattern, sal_uLong nForceScNumFmt,
+ sal_uInt32 FindXF( const ScPatternAttr& rPattern, sal_uInt32 nForceScNumFmt,
sal_uInt16 nForceXclFont, bool bForceLineBreak ) const;
/** Returns the XF ID of the style XF containing the passed style. */
sal_uInt32 FindXF( const SfxStyleSheetBase& rStyleSheet ) const;
@@ -643,7 +643,7 @@ private:
/** Tries to find the XF record containing the passed format or inserts a new record.
@return The XF record ID. */
sal_uInt32 InsertCellXF( const ScPatternAttr* pPattern, sal_Int16 nScript,
- sal_uLong nForceScNumFmt,
+ sal_uInt32 nForceScNumFmt,
sal_uInt16 nForceXclFont, bool bForceLineBreak );
/** Inserts the passed cell style. Creates a style XF record and a STYLE record.
@return The XF record ID. */