summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2017-12-27 13:04:57 +0100
committerMatteo Casalin <matteo.casalin@yahoo.com>2017-12-27 16:34:15 +0100
commit03caa2f611265efce1d379df55a5f27c70d9a46c (patch)
treed556922341269a975397fbe3c29703f635f50d25 /svx/source
parentfed40ef827f2ee8db583a13bcb439fe625c7527f (diff)
Make some bool const
Change-Id: Icede71af1edfc0671f5b0bc0dbfd3cfc6af79fcd
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/svdraw/svdmrkv.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx
index cb5f4fe0f972..7b990127cd52 100644
--- a/svx/source/svdraw/svdmrkv.cxx
+++ b/svx/source/svdraw/svdmrkv.cxx
@@ -1909,8 +1909,8 @@ SdrObject* SdrMarkView::PickObj(const Point& rPnt, short nTol, SdrPageView*& rpP
bool SdrMarkView::PickMarkedObj(const Point& rPnt, SdrObject*& rpObj, SdrPageView*& rpPV, SdrSearchOptions nOptions) const
{
SortMarkedObjects();
- bool bBoundCheckOn2ndPass(nOptions & SdrSearchOptions::PASS2BOUND);
- bool bCheckNearestOn3rdPass(nOptions & SdrSearchOptions::PASS3NEAREST);
+ const bool bBoundCheckOn2ndPass(nOptions & SdrSearchOptions::PASS2BOUND);
+ const bool bCheckNearestOn3rdPass(nOptions & SdrSearchOptions::PASS3NEAREST);
rpObj=nullptr;
rpPV=nullptr;
const size_t nMarkCount=GetMarkedObjectCount();