diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-01 09:12:17 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-01 09:12:17 +0200 |
commit | 0310edd7dc1867a1f0736e463000dd0e08afae63 (patch) | |
tree | 8437512172e46d296be64662b06b2121eadd36f5 /svtools/source/contnr/imivctl2.cxx | |
parent | 40971354138e14a2aacfa4605ba0c096e000d578 (diff) |
-Werror=unused-but-set-variable
Change-Id: I5ed8f2b49453493a143bcb1e15006f22212beefd
Diffstat (limited to 'svtools/source/contnr/imivctl2.cxx')
-rw-r--r-- | svtools/source/contnr/imivctl2.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/svtools/source/contnr/imivctl2.cxx b/svtools/source/contnr/imivctl2.cxx index 8792ea4aee70..1765b481240f 100644 --- a/svtools/source/contnr/imivctl2.cxx +++ b/svtools/source/contnr/imivctl2.cxx @@ -648,16 +648,13 @@ GridId IcnGridMap_Impl::GetGrid( const Point& rDocPos ) nY -= TBOFFS_WINBORDER; nX /= _pView->nGridDX; nY /= _pView->nGridDY; - bool bClipped = false; if( nX >= _nGridCols ) { nX = _nGridCols - 1; - bClipped = true; } if( nY >= _nGridRows ) { nY = _nGridRows - 1; - bClipped = true; } GridId nId = GetGrid( (sal_uInt16)nX, (sal_uInt16)nY ); DBG_ASSERT(nId <(sal_uLong)(_nGridCols*_nGridRows),"GetGrid failed"); |