diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-06-18 16:28:10 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-06-24 16:51:27 -0400 |
commit | 341a4c87e977a2fd3948de6eaa647be4b32e6ebc (patch) | |
tree | 02ef74823cd912a2ebc1c461a87a41aeba8f3499 /sc | |
parent | Remove these file entries. (diff) | |
download | core-341a4c87e977a2fd3948de6eaa647be4b32e6ebc.tar.gz core-341a4c87e977a2fd3948de6eaa647be4b32e6ebc.zip |
Compiler warnings.
Change-Id: I79b8370429bccaf8467a5c87ee5b68b643fb2f75
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/column.cxx | 2 | ||||
-rw-r--r-- | 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<sc::CellStoreType::const_iterator,size_t> aPos = - sc::FindFormula(aCol[nCol].maCells, nStartRow, nEndRow, aFunc); + sc::FindFormula(aCol[nCol].maCells, nStartRow, nEndRow, aFunc); } } |