diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-11-21 17:07:35 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-11-22 10:24:17 +0000 |
commit | 810aab9e2f4927a7fcfacae62d5b36b074985250 (patch) | |
tree | 6f928a17c50ab60210985f69389730829ca489e7 /svtools | |
parent | f5bdeec992923a0eb3fb3357c1afe3d7fff93840 (diff) |
loplugin: unused Point aPos0 and Rectangle aRect
Change-Id: Ib0960cca6141ac28958c80aa8d716a98abef1f8d
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/filter/wmf/winwmf.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/svtools/source/filter/wmf/winwmf.cxx b/svtools/source/filter/wmf/winwmf.cxx index 063a7a930b34..beacfa681756 100644 --- a/svtools/source/filter/wmf/winwmf.cxx +++ b/svtools/source/filter/wmf/winwmf.cxx @@ -368,7 +368,7 @@ void WMFReader::ReadRecordParams( sal_uInt16 nFunc ) nPoints += pnPoints[i]; } - SAL_WARN_IF(!bRecordOk, "svtools", "polypolygon record has more polygons than we can handle"); + SAL_WARN_IF(!bRecordOk, "svtools.filter", "polypolygon record has more polygons than we can handle"); bRecordOk &= pWMF->good(); @@ -1301,8 +1301,7 @@ sal_Bool WMFReader::GetPlaceableBound( Rectangle& rPlaceableBound, SvStream* pSt case W_META_SETWINDOWEXT: { - Point aPos0( 0, 0 ); - sal_Int16 nWidth, nHeight; + sal_Int16 nWidth(0), nHeight(0); *pStm >> nHeight >> nWidth; rPlaceableBound.SetSize( Size( nWidth, nHeight ) ); } @@ -1363,7 +1362,7 @@ sal_Bool WMFReader::GetPlaceableBound( Rectangle& rPlaceableBound, SvStream* pSt nPoints += nP; } - SAL_WARN_IF(!bRecordOk, "svtools", "polypolygon record has more polygons than we can handle"); + SAL_WARN_IF(!bRecordOk, "svtools.filter", "polypolygon record has more polygons than we can handle"); bRecordOk &= pStm->good(); @@ -1422,7 +1421,6 @@ sal_Bool WMFReader::GetPlaceableBound( Rectangle& rPlaceableBound, SvStream* pSt sal_uInt16 nLen, nOptions; sal_Int32 nRecordSize; Point aPosition; - Rectangle aRect; pStm->SeekRel(-6); *pStm >> nRecordSize; |