summaryrefslogtreecommitdiff
path: root/dbaccess
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 /dbaccess
parent3e475e574ee7ac8753bf50732f62bea5d36791a5 (diff)
remove NUMBERFORMAT_ constants
.. in favour of just using the underlying constants from css::util::NumberFormat Change-Id: I0c6b128b66c91b268f5ae300f9c17c7792df5e99
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/misc/UITools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx
index ed5fb08aa3a5..f83050cfb427 100644
--- a/dbaccess/source/ui/misc/UITools.cxx
+++ b/dbaccess/source/ui/misc/UITools.cxx
@@ -838,7 +838,7 @@ bool callColumnFormatDialog(vcl::Window* _pParent,
pFormatDescriptor->Put(SfxBoolItem(SID_ATTR_NUMBERFORMAT_ONE_AREA, true));
if (!_pFormatter->IsTextFormat(_nFormatKey))
// text fields can only have text formats
- _nFormatKey = _pFormatter->GetStandardFormat(NUMBERFORMAT_TEXT,_pParent->GetSettings().GetLanguageTag().getLanguageType());
+ _nFormatKey = _pFormatter->GetStandardFormat(css::util::NumberFormat::TEXT,_pParent->GetSettings().GetLanguageTag().getLanguageType());
}
pFormatDescriptor->Put(SfxUInt32Item(SBA_DEF_FMTVALUE, _nFormatKey));