summaryrefslogtreecommitdiff
path: root/basic/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:23:17 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:23:17 +0200
commit761e0ae0a72f635564fef35852e0c87c755e3bd7 (patch)
tree9de5b02ba18f4531f931aea76620b8ebd02895d1 /basic/qa
parentd7b2fe39be4b65af4cebe87a38786e4843e58329 (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I8bce930283301130ec7a2b1eab2a2c8f65c8abf9
Diffstat (limited to 'basic/qa')
-rw-r--r--basic/qa/cppunit/basictest.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/qa/cppunit/basictest.hxx b/basic/qa/cppunit/basictest.hxx
index f8ac9f8510d6..c3d16cf8ae89 100644
--- a/basic/qa/cppunit/basictest.hxx
+++ b/basic/qa/cppunit/basictest.hxx
@@ -107,7 +107,7 @@ class MacroSnippet
}
pMeth->SetParameters( aArgs );
}
- pReturn = new SbxMethod( *((SbxMethod*)pMeth));
+ pReturn = new SbxMethod( *static_cast<SbxMethod*>(pMeth));
}
return pReturn;
}