[Libreoffice-commits] .: Branch 'feature/matrix-new-backend' - sc/source

Kohei Yoshida kohei at kemper.freedesktop.org
Wed Jul 18 12:10:12 PDT 2012


 sc/source/core/tool/interpr5.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 39b790bbbec4cbea4e51e0a380bdb16faccbce55
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date:   Wed Jul 18 15:10:54 2012 -0400

    Added comment.
    
    Change-Id: Ic9e8a6a970de71647b5436149fbd8c49efece49c

diff --git a/sc/source/core/tool/interpr5.cxx b/sc/source/core/tool/interpr5.cxx
index 20c83f3..b358231 100644
--- a/sc/source/core/tool/interpr5.cxx
+++ b/sc/source/core/tool/interpr5.cxx
@@ -429,6 +429,8 @@ ScMatrixRef ScInterpreter::CreateMatrixFromDoubleRef( const FormulaToken* pToken
 
         SCROW nPrevRow = -2, nThisRow = -2;
 
+        // Neighboring cell values of identical type are stored and passed as
+        // an array to the matrix object, for performance reasons.
         for (ScBaseCell* pCell = aCellIter.GetFirst(); pCell; pCell = aCellIter.GetNext(), nPrevRow = nThisRow)
         {
             nThisRow = aCellIter.GetRow();


More information about the Libreoffice-commits mailing list