summaryrefslogtreecommitdiff
path: root/sw/source/core/fields/flddat.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/fields/flddat.cxx')
-rw-r--r--sw/source/core/fields/flddat.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/fields/flddat.cxx b/sw/source/core/fields/flddat.cxx
index 0b23799b5b34..42d14a21e3d1 100644
--- a/sw/source/core/fields/flddat.cxx
+++ b/sw/source/core/fields/flddat.cxx
@@ -37,12 +37,12 @@ SwFieldType* SwDateTimeFieldType::Copy() const
return pTmp;
}
-SwDateTimeField::SwDateTimeField(SwDateTimeFieldType* pInitType, sal_uInt16 nSub, sal_uLong nFmt, sal_uInt16 nLng)
- : SwValueField(pInitType, nFmt, nLng, 0.0),
+SwDateTimeField::SwDateTimeField(SwDateTimeFieldType* pInitType, sal_uInt16 nSub, sal_uLong nFormat, sal_uInt16 nLng)
+ : SwValueField(pInitType, nFormat, nLng, 0.0),
nSubType(nSub),
nOffset(0)
{
- if (!nFmt)
+ if (!nFormat)
{
SvNumberFormatter* pFormatter = GetDoc()->GetNumberFormatter();
if (nSubType & DATEFLD)