From 341a4c87e977a2fd3948de6eaa647be4b32e6ebc Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Tue, 18 Jun 2013 16:28:10 -0400 Subject: Compiler warnings. Change-Id: I79b8370429bccaf8467a5c87ee5b68b643fb2f75 --- sc/source/core/data/column.cxx | 2 ++ sc/source/core/data/table2.cxx | 3 +-- 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 aPos = - sc::FindFormula(aCol[nCol].maCells, nStartRow, nEndRow, aFunc); + sc::FindFormula(aCol[nCol].maCells, nStartRow, nEndRow, aFunc); } } -- cgit v1.2.3