[Libreoffice-commits] core.git: Branch 'feature/formula-core-rework' - sc/source

Kohei Yoshida kohei.yoshida at gmail.com
Tue Jun 18 13:26:18 PDT 2013


 sc/source/core/data/column.cxx |    2 ++
 sc/source/core/data/table2.cxx |    3 +--
 2 files changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 74c3f9fd840c38249d0acc8bc4ce94d785c274b3
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date:   Tue Jun 18 16:28:10 2013 -0400

    Compiler warnings.
    
    Change-Id: I79b8370429bccaf8467a5c87ee5b68b643fb2f75

diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx
index 82ccdf9..ea9570e 100644
--- a/sc/source/core/data/column.cxx
+++ b/sc/source/core/data/column.cxx
@@ -1998,6 +1998,8 @@ public:
     UpdateRefHandler(const ScRange& rRange, SCCOL nDx, SCROW nDy, SCTAB nDz, UpdateRefMode eMode, ScDocument* pUndoDoc) :
         maRange(rRange), mnDx(nDx), mnDy(nDy), mnDz(nDz), meMode(eMode), mpUndoDoc(pUndoDoc), mbUpdated(false) {}
 
+    virtual ~UpdateRefHandler() {}
+
     bool isUpdated() const { return mbUpdated; }
 
     void operator() (sc::CellStoreType::value_type& node, size_t nOffset, size_t nDataSize)
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx
index 6b80609..51e8e12 100644
--- a/sc/source/core/data/table2.cxx
+++ b/sc/source/core/data/table2.cxx
@@ -3484,8 +3484,7 @@ void ScTable::DoAutoOutline( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SC
             continue;
 
         OutlineArrayFinder aFunc(aRef, nCol, nTab, pArray, bSizeChanged);
-        std::pair<sc::CellStoreType::const_iterator,size_t> aPos =
-            sc::FindFormula(aCol[nCol].maCells, nStartRow, nEndRow, aFunc);
+        sc::FindFormula(aCol[nCol].maCells, nStartRow, nEndRow, aFunc);
     }
 }
 


More information about the Libreoffice-commits mailing list