summaryrefslogtreecommitdiff
path: root/sw/source/uibase/fldui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-02-25 09:49:59 +0200
committerNoel Grandin <noel@peralex.com>2015-02-25 10:34:27 +0200
commit2f928b2d0982af44b3d45f1d3c8919c0b0655b4f (patch)
tree36468544d70101f2fc3a49a59b2f9d40df10e61f /sw/source/uibase/fldui
parent3e475e574ee7ac8753bf50732f62bea5d36791a5 (diff)
remove NUMBERFORMAT_ constants
.. in favour of just using the underlying constants from css::util::NumberFormat Change-Id: I0c6b128b66c91b268f5ae300f9c17c7792df5e99
Diffstat (limited to 'sw/source/uibase/fldui')
-rw-r--r--sw/source/uibase/fldui/fldmgr.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/fldui/fldmgr.cxx b/sw/source/uibase/fldui/fldmgr.cxx
index 7337c66d58fa..cfbdeae88759 100644
--- a/sw/source/uibase/fldui/fldmgr.cxx
+++ b/sw/source/uibase/fldui/fldmgr.cxx
@@ -1675,7 +1675,7 @@ sal_uLong SwFldMgr::GetDefaultFormat(sal_uInt16 nTypeId, bool bIsText, SvNumberF
fValue += (double)nNumFmtTime / 86400.0;
- nDefFormat = (nTypeId == TYP_DATEFLD) ? NUMBERFORMAT_DATE : NUMBERFORMAT_TIME;
+ nDefFormat = (nTypeId == TYP_DATEFLD) ? css::util::NumberFormat::DATE : css::util::NumberFormat::TIME;
}
break;
@@ -1683,12 +1683,12 @@ sal_uLong SwFldMgr::GetDefaultFormat(sal_uInt16 nTypeId, bool bIsText, SvNumberF
if (bIsText)
{
fValue = 0.0;
- nDefFormat = NUMBERFORMAT_TEXT;
+ nDefFormat = css::util::NumberFormat::TEXT;
}
else
{
fValue = 0.0;
- nDefFormat = NUMBERFORMAT_ALL;
+ nDefFormat = css::util::NumberFormat::ALL;
}
break;
}