[Libreoffice-commits] core.git: xmloff/source
Eike Rathke
erack at redhat.com
Mon Jul 13 04:31:51 PDT 2015
xmloff/source/style/xmlnumfe.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 5af8cf2e94a07821e9058ed99997541b80dd6693
Author: Eike Rathke <erack at redhat.com>
Date: Mon Jul 13 13:28:15 2015 +0200
use the DBL_MAX constant that we also use elsewhere, tdf#92457
Change-Id: Ibc48d12ca6b8eb33b2be29f485aa906c513f0591
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx
index d0da09b..700113e 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 &&
More information about the Libreoffice-commits
mailing list