sc/source/core/data/document.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit e40f143bb4743f630b06e6d7a11171aa3d43889c Author: Kohei Yoshida <kohei.yosh...@collabora.com> Date: Thu Jan 23 19:50:49 2014 -0500 What's up with this crap!? Change-Id: I8863dbc1e1a8c437885d4363794698b8d8f27edf diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx index 7a4cbf0..f1d4ff3 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) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits