sc/source/core/data/document.cxx | 1 - sc/source/ui/drawfunc/futext.cxx | 1 - sc/source/ui/miscdlgs/acredlin.cxx | 2 -- sc/source/ui/view/viewfun6.cxx | 5 ++--- 4 files changed, 2 insertions(+), 7 deletions(-)
New commits: commit 63d1b025ca4abf84ada60f614e5f7bb5a7da2071 Author: Markus Mohrhard <[email protected]> Date: Sat Feb 16 17:24:10 2013 +0100 coverity: variable values is unused Change-Id: Id2cd10aa34d96629915a3258a20f928af441ebcc diff --git a/sc/source/ui/view/viewfun6.cxx b/sc/source/ui/view/viewfun6.cxx index 86b04f6..2a5f693 100644 --- a/sc/source/ui/view/viewfun6.cxx +++ b/sc/source/ui/view/viewfun6.cxx @@ -127,13 +127,12 @@ void ScViewFunc::MarkAndJumpToRanges(const ScRangeList& rRanges) ScDocShell* pDocSh = pView->GetDocShell(); ScRangeList aRanges(rRanges); - ScRange* p = aRanges.front(); ScRangeList aRangesToMark; ScAddress aCurPos = pView->GetCurPos(); size_t ListSize = aRanges.size(); for ( size_t i = 0; i < ListSize; ++i ) { - p = aRanges[i]; + const ScRange* p = aRanges[i]; // Collect only those ranges that are on the same sheet as the current // cursor. if (p->aStart.Tab() == aCurPos.Tab()) @@ -144,7 +143,7 @@ void ScViewFunc::MarkAndJumpToRanges(const ScRangeList& rRanges) return; // Jump to the first range of all precedent ranges. - p = aRangesToMark.front(); + const ScRange* p = aRangesToMark.front(); lcl_jumpToRange(*p, pView, pDocSh->GetDocument()); ListSize = aRangesToMark.size(); commit 7e113c8481056bdbafed86634be7aa9c1febd299 Author: Markus Mohrhard <[email protected]> Date: Sat Feb 16 17:21:41 2013 +0100 coverity: variable value is unused Change-Id: I5bf89e42f87c5e405c2c5b6f38d0b3b200d4b90e diff --git a/sc/source/ui/miscdlgs/acredlin.cxx b/sc/source/ui/miscdlgs/acredlin.cxx index aaeb225..a70d5f4 100644 --- a/sc/source/ui/miscdlgs/acredlin.cxx +++ b/sc/source/ui/miscdlgs/acredlin.cxx @@ -1520,8 +1520,6 @@ void ScAcceptChgDlg::AppendChanges(ScChangeTrack* pChanges,sal_uLong nStartActio pTheView->RemoveEntry(pParent); } } - - pScChangeAction=pScChangeAction->GetNext(); } if( bTheFlag && (!pDoc->IsDocEditable() || pChanges->IsProtected()) ) commit 72e5671b7f4041a6b9d745d367289713aa00129c Author: Markus Mohrhard <[email protected]> Date: Sat Feb 16 17:20:07 2013 +0100 coverity: variable value is not used Change-Id: Ide7e40a0739e03c525eb5883b1583af01e4e721e diff --git a/sc/source/ui/drawfunc/futext.cxx b/sc/source/ui/drawfunc/futext.cxx index b1963c2..61fdf0a 100644 --- a/sc/source/ui/drawfunc/futext.cxx +++ b/sc/source/ui/drawfunc/futext.cxx @@ -270,7 +270,6 @@ sal_Bool FuText::MouseButtonDown(const MouseEvent& rMEvt) SfxBindings& rBindings = pViewShell->GetViewFrame()->GetBindings(); rBindings.Invalidate( SID_OBJECT_ROTATE ); rBindings.Invalidate( SID_OBJECT_MIRROR ); - pHdl=pView->GetHdl(nHdlNum); } if ( pView->MarkObj(aMDPos, -2, false, rMEvt.IsMod1()) ) commit 6ecd9e5d0c2eb1d847d73ae128f011691127d822 Author: Markus Mohrhard <[email protected]> Date: Sat Feb 16 17:18:09 2013 +0100 coverity: unused variable value Change-Id: Ic0c03c649bfaf67a3c936f910c185882ae395711 diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx index cc7883b..10e92de 100644 --- a/sc/source/core/data/document.cxx +++ b/sc/source/core/data/document.cxx @@ -5107,7 +5107,6 @@ bool ScDocument::RefreshAutoFilter( SCCOL nStartCol, SCROW nStartRow, ScDBCollection::NamedDBs::const_iterator itr = rDBs.begin(), itrEnd = rDBs.end(); for (; itr != itrEnd; ++itr) { - pData = &(*itr); if (itr->HasAutoFilter()) { itr->GetArea( nDBTab, nDBStartCol,nDBStartRow, nDBEndCol,nDBEndRow ); _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
