summaryrefslogtreecommitdiff
path: root/include/canvas
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-02 22:35:01 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-02 22:35:16 +0200
commitaa2b7d55c6f8e1d8390b0e820b1e5586bb5a7d4c (patch)
tree11e0475161189944ad1766cb07a4dd605f4435a8 /include/canvas
parent88b4ec9afb1e5f7864b570beef1cd3e62a191942 (diff)
loplugin:casttovoid: canvas
Change-Id: I2b719ff5fc03a74ba0f657351343462aaa9c7296
Diffstat (limited to 'include/canvas')
-rw-r--r--include/canvas/verifyinput.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/canvas/verifyinput.hxx b/include/canvas/verifyinput.hxx
index d8e95ac5f9a1..067083d436af 100644
--- a/include/canvas/verifyinput.hxx
+++ b/include/canvas/verifyinput.hxx
@@ -352,8 +352,6 @@ namespace canvas
const css::uno::Reference< css::uno::XInterface >& xIf,
::sal_Int16 nArgPos )
{
- (void)pStr; (void)xIf; (void)nArgPos;
-
if( !rRef.is() )
{
#if OSL_DEBUG_LEVEL > 0
@@ -362,6 +360,7 @@ namespace canvas
xIf,
nArgPos );
#else
+ (void)pStr; (void)xIf; (void)nArgPos;
throw css::lang::IllegalArgumentException();
#endif
}