summaryrefslogtreecommitdiff
path: root/sc/inc/document.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-01-26 14:50:33 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-01-26 21:13:30 +0100
commitd04b4089449c0fdcaea5dcde9e8469a3ed9eedbc (patch)
tree79cf224b7c8101e2c31c3028ef784b4ec97070fc /sc/inc/document.hxx
parentbe766f8464c07623d8a6539c73652680dff23fd6 (diff)
cid#1472493 silence Unintended sign extension
Change-Id: Ib6bda68c1f6efe5492ca7444044b4c900b81e24e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109965 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/inc/document.hxx')
-rw-r--r--sc/inc/document.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index e7ebb3653138..c49cfa6ccfa5 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -1886,7 +1886,7 @@ public:
* grid, return the first visible row whose top position is below the
* specified height.
*/
- SCROW GetRowForHeight( SCTAB nTab, sal_uLong nHeight ) const;
+ SCROW GetRowForHeight( SCTAB nTab, tools::Long nHeight ) const;
sal_uLong GetScaledRowHeight( SCROW nStartRow, SCROW nEndRow, SCTAB nTab, double fScale, const sal_uLong* pnMaxHeight = nullptr ) const;
SC_DLLPUBLIC sal_uLong GetColOffset( SCCOL nCol, SCTAB nTab, bool bHiddenAsZero = true ) const;
SC_DLLPUBLIC sal_uLong GetRowOffset( SCROW nRow, SCTAB nTab, bool bHiddenAsZero = true ) const;
@@ -1910,7 +1910,7 @@ public:
void UpdateAllRowHeights( sc::RowHeightContext& rCxt, const ScMarkData* pTabMark );
- tools::Long GetNeededSize( SCCOL nCol, SCROW nRow, SCTAB nTab,
+ tools::Long GetNeededSize( SCCOL nCol, SCROW nRow, SCTAB nTab,
OutputDevice* pDev,
double nPPTX, double nPPTY,
const Fraction& rZoomX, const Fraction& rZoomY,