summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-01-23 19:50:49 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-01-23 19:52:28 -0500
commite40f143bb4743f630b06e6d7a11171aa3d43889c (patch)
treeeafec538f0399fc64e146983a196d1ca8683f34f
parentf013eab80638e732d9cc81af798b2e554c1666fa (diff)
What's up with this crap!?
Change-Id: I8863dbc1e1a8c437885d4363794698b8d8f27edf
-rw-r--r--sc/source/core/data/document.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 7a4cbf06fa09..f1d4ff3b8243 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -2700,8 +2700,8 @@ void ScDocument::CopyFromClip( const ScRange& rDestRange, const ScMarkData& rMar
if (nR2 > nRow2)
nR2 = nRow2;
- const SCCOLROW PERFORMANCEOPTIMIZATION4PATTERNTHRESHOLD = 8192;
- bool bPreallocatePattern = ((nInsFlag & IDF_ATTRIB) && (nRow2 - nRow1 > PERFORMANCEOPTIMIZATION4PATTERNTHRESHOLD));
+ const SCCOLROW nThreshold = 8192;
+ bool bPreallocatePattern = ((nInsFlag & IDF_ATTRIB) && (nRow2 - nRow1 > nThreshold));
std::vector< SCTAB > vTables;
if (bPreallocatePattern)