summaryrefslogtreecommitdiff
path: root/sw/source/ui/fldui/flddok.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/fldui/flddok.cxx')
-rw-r--r--sw/source/ui/fldui/flddok.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/fldui/flddok.cxx b/sw/source/ui/fldui/flddok.cxx
index fe827cf1f560..06f5c4e4fa15 100644
--- a/sw/source/ui/fldui/flddok.cxx
+++ b/sw/source/ui/fldui/flddok.cxx
@@ -70,8 +70,8 @@ SwFieldDokPage::SwFieldDokPage(vcl::Window* pParent, const SfxItemSet *const pCo
m_pNumFormatLB->SetDoubleClickHdl(LINK(this, SwFieldDokPage, NumFormatHdl));
m_pLevelED->SetMax(MAXLEVEL);
- m_pDateOffsetED->SetMin(LONG_MIN);
- m_pDateOffsetED->SetMax(LONG_MAX);
+ m_pDateOffsetED->SetMin(SAL_MIN_INT32);
+ m_pDateOffsetED->SetMax(SAL_MAX_INT32);
//enable 'active' language selection
m_pNumFormatLB->SetShowLanguageControl(true);
}