summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/column.cxx2
-rw-r--r--sc/source/core/data/table2.cxx3
2 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx
index 82ccdf9f2296..ea9570e37f9d 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 7b8d409a0f58..2192be62f646 100644
--- a/sc/source/core/data/table2.cxx
+++ b/sc/source/core/data/table2.cxx
@@ -3486,8 +3486,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);
}
}