From 9324834aa43e45b418f21e8a794aca05747e2bbb Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sun, 2 Jul 2017 22:28:09 +0200 Subject: loplugin:casttovoid: tools Change-Id: Ifc36465542d5ee25d30b92b8499dac7594c71bc2 --- tools/source/generic/poly.cxx | 1 - tools/source/rc/resmgr.cxx | 1 - 2 files changed, 2 deletions(-) (limited to 'tools/source') diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx index f239215bba68..d8e4640e3f65 100644 --- a/tools/source/generic/poly.cxx +++ b/tools/source/generic/poly.cxx @@ -1748,7 +1748,6 @@ basegfx::B2DPolygon Polygon::getB2DPolygon() const // assert invalid polygons OSL_ENSURE(bControlA == bControlB, "Polygon::getB2DPolygon: Invalid source polygon (!)"); - (void)bControlB; if(a < nCount) { diff --git a/tools/source/rc/resmgr.cxx b/tools/source/rc/resmgr.cxx index 4556423c132b..339ba50df1c3 100644 --- a/tools/source/rc/resmgr.cxx +++ b/tools/source/rc/resmgr.cxx @@ -796,7 +796,6 @@ void ResMgr::DestroyAllResMgr() void ResMgr::Init( const OUString& rFileName ) { - (void) rFileName; // avoid warning about unused parameter osl::Guard aGuard( getResMgrMutex() ); if ( !pImpRes ) -- cgit