summaryrefslogtreecommitdiff
path: root/sw/source/core/frmedt/fetab.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/frmedt/fetab.cxx')
-rw-r--r--sw/source/core/frmedt/fetab.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/frmedt/fetab.cxx b/sw/source/core/frmedt/fetab.cxx
index 4f4f64453f93..d820a4c7e7f2 100644
--- a/sw/source/core/frmedt/fetab.cxx
+++ b/sw/source/core/frmedt/fetab.cxx
@@ -585,9 +585,9 @@ void SwFEShell::GetTabRows_(SwTabCols &rToFill, const SwFrame *pBox) const
const long nLeftMin = ( aRectFnSet.IsVert() ?
pTab->GetPrtLeft() - pPage->getFrameArea().Left() :
pTab->GetPrtTop() - pPage->getFrameArea().Top() );
- const long nLeft = aRectFnSet.IsVert() ? LONG_MAX : 0;
+ const long nLeft = aRectFnSet.IsVert() ? SAL_MAX_INT32 : 0;
const long nRight = aRectFnSet.GetHeight(pTab->getFramePrintArea());
- const long nRightMax = aRectFnSet.IsVert() ? nRight : LONG_MAX;
+ const long nRightMax = aRectFnSet.IsVert() ? nRight : SAL_MAX_INT32;
if (m_pRowCache->pLastTabFrame != pTab || m_pRowCache->pLastCellFrame != pBox)
bDel = true;