summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-12 09:36:33 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-12 15:50:26 +0200
commit682ffda0902c56f6d2ac06fada618d51216091c9 (patch)
treebf590cbea344e9786563bbb4cef3d213a4d7fd2d /sc
parent623f6d1c72e328fdc7e2c168edecf39a5d269e4a (diff)
Avoid reserved identifier
Change-Id: If9c507146855fa23df576d038e9b2f0e3d69ac20
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/table4.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/table4.cxx b/sc/source/core/data/table4.cxx
index 929c2402c3d4..bf774147e2fa 100644
--- a/sc/source/core/data/table4.cxx
+++ b/sc/source/core/data/table4.cxx
@@ -66,7 +66,7 @@
#include <math.h>
#include <memory>
-#define _D_MAX_LONG_ (double) 0x7fffffff
+#define D_MAX_LONG_ (double) 0x7fffffff
extern sal_uInt16 nScFillModeMouseModifier; // global.cxx
@@ -1671,7 +1671,7 @@ void ScTable::FillSeries( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
bError = true;
break;
case FILL_DATE:
- if (fabs(nVal) > _D_MAX_LONG_)
+ if (fabs(nVal) > D_MAX_LONG_)
bError = true;
else
IncDate(nVal, nDayOfMonth, nStepValue, eFillDateCmd);