diff options
author | Mark Dobo <mrkropen18@gmail.com> | 2018-10-20 16:37:14 +0200 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2018-10-21 13:02:39 +0200 |
commit | 94ff79285a019b40027ec415b416ca217703728c (patch) | |
tree | ff7677cfc6a68fa2c570584ee75c324f1fd0ad46 | |
parent | 58abc74248509067e0160a7ff5d5709316f3e274 (diff) |
cppcheck: variableScope
Change-Id: I6826f1352cff7632dc93cc0067dfe4315dc43823
Reviewed-on: https://gerrit.libreoffice.org/62078
Tested-by: Jenkins
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
-rw-r--r-- | svx/source/svdraw/svdmrkv.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx index affec3af91e0..9e596cda77a8 100644 --- a/svx/source/svdraw/svdmrkv.cxx +++ b/svx/source/svdraw/svdmrkv.cxx @@ -1820,7 +1820,6 @@ SdrObject* SdrMarkView::PickObj(const Point& rPnt, short nTol, SdrPageView*& rpP if (pbHitPassDirect!=nullptr) *pbHitPassDirect=true; SdrObject* pRet = nullptr; rpPV=nullptr; - bool bWholePage(nOptions & SdrSearchOptions::WHOLEPAGE); bool bMarked(nOptions & SdrSearchOptions::MARKED); bool bMasters=!bMarked && bool(nOptions & SdrSearchOptions::ALSOONMASTER); bool bBack(nOptions & SdrSearchOptions::BACKWARD); @@ -1861,7 +1860,7 @@ SdrObject* SdrMarkView::PickObj(const Point& rPnt, short nTol, SdrPageView*& rpP { nPgCount++; } - + bool bWholePage(nOptions & SdrSearchOptions::WHOLEPAGE); bool bExtraPassForWholePage=bWholePage && pPage!=pPV->GetObjList(); if (bExtraPassForWholePage) nPgCount++; // First search in AktObjList, then on the entire page sal_uInt16 nPgNum=bBack ? 0 : nPgCount; |