diff options
author | Eike Rathke <erack@redhat.com> | 2015-07-13 13:28:15 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-07-13 13:31:07 +0200 |
commit | 5af8cf2e94a07821e9058ed99997541b80dd6693 (patch) | |
tree | c2498441a4c3234565a1fe1e2852d0e2829fdc7a /xmloff | |
parent | 1c263b70cad4ec168279857a0e00d9eea14dd741 (diff) |
use the DBL_MAX constant that we also use elsewhere, tdf#92457
Change-Id: Ibc48d12ca6b8eb33b2be29f485aa906c513f0591
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/style/xmlnumfe.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx index d0da09b7c968..700113e83a76 100644 --- a/xmloff/source/style/xmlnumfe.cxx +++ b/xmloff/source/style/xmlnumfe.cxx @@ -1664,8 +1664,7 @@ void SvXMLNumFmtExport::ExportPart_Impl( const SvNumberformat& rFormat, sal_uInt case NUMBERFORMAT_OP_LE: eOp3 = NUMBERFORMAT_OP_GT; break; case NUMBERFORMAT_OP_GT: eOp3 = NUMBERFORMAT_OP_LE; break; case NUMBERFORMAT_OP_GE: eOp3 = NUMBERFORMAT_OP_LT; break; - case NUMBERFORMAT_OP_NO: eOp3 = NUMBERFORMAT_OP_LE; - fLimit3 = ::std::numeric_limits<double>::max(); break; + case NUMBERFORMAT_OP_NO: eOp3 = NUMBERFORMAT_OP_LE; fLimit3 = DBL_MAX; break; } if ( fLimit1 == fLimit2 && |