summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-02 22:28:09 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-02 22:28:09 +0200
commit9324834aa43e45b418f21e8a794aca05747e2bbb (patch)
tree2da88bd84d2cd0ec23bc9853b985631d6f7eb817 /tools
parent18d7548714022cd5f9486ca629561ab106b5992f (diff)
loplugin:casttovoid: tools
Change-Id: Ifc36465542d5ee25d30b92b8499dac7594c71bc2
Diffstat (limited to 'tools')
-rw-r--r--tools/source/generic/poly.cxx1
-rw-r--r--tools/source/rc/resmgr.cxx1
2 files changed, 0 insertions, 2 deletions
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<osl::Mutex> aGuard( getResMgrMutex() );
if ( !pImpRes )