diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-20 12:02:48 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-23 06:17:29 +0000 |
commit | 7b26389414b203a4f3225acf0c027b93bcb234ac (patch) | |
tree | 144aeb20c5e191840c4fb862106b0d0344d0260f /sc/source/ui/view | |
parent | 85ea267b7a8fbd5859569db6ef7ac8dd1bd9bcd1 (diff) |
clang-tidy clang-analyzer-deadcode.DeadStores
Change-Id: I7113a13ac36db5beef3a17e9849c1f5506df2374
Reviewed-on: https://gerrit.libreoffice.org/25194
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r-- | sc/source/ui/view/editsh.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/view/output2.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/viewfun2.cxx | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/sc/source/ui/view/editsh.cxx b/sc/source/ui/view/editsh.cxx index eb8082f101a0..92f211e13d71 100644 --- a/sc/source/ui/view/editsh.cxx +++ b/sc/source/ui/view/editsh.cxx @@ -328,7 +328,6 @@ void ScEditShell::Execute( SfxRequest& rReq ) rBindings.Invalidate( SID_SET_SUPER_SCRIPT ); rBindings.Invalidate( SID_SET_SUB_SCRIPT ); } - bSetModified = false; } return; case SID_UNICODE_NOTATION_TOGGLE: diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx index 1c42deca1d1e..3f012e8857c0 100644 --- a/sc/source/ui/view/output2.cxx +++ b/sc/source/ui/view/output2.cxx @@ -5086,7 +5086,6 @@ void ScOutputData::DrawRotated(bool bPixelToLogic) { //! clipping is not needed when on the left side of the window - bClip = true; // only output the rest! if (nStartX<nScrX) { long nDif = nScrX - nStartX; @@ -5101,7 +5100,6 @@ void ScOutputData::DrawRotated(bool bPixelToLogic) if ( nClipStartY < nRowPosY ) { long nDif = nRowPosY - nClipStartY; - bClip = true; nClipStartY = nRowPosY; aClipSize.Height() -= nDif; } diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx index 13bfe1042fde..67033a72a9e5 100644 --- a/sc/source/ui/view/viewfun2.cxx +++ b/sc/source/ui/view/viewfun2.cxx @@ -1723,7 +1723,6 @@ bool ScViewFunc::SearchAndReplace( const SvxSearchItem* pSearchItem, if (rDoc.SearchAndReplace(*pSearchItem, nCol, nRow, nTab, rMark, aMatchedRanges, aUndoStr, pUndoDoc.get())) { bFound = true; - bFirst = true; if (bAddUndo) { GetViewData().GetDocShell()->GetUndoManager()->AddUndoAction( |