summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-02 22:28:19 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-02 22:28:19 +0200
commit85c6f985cec440d7b81c5918d47cef289068e224 (patch)
tree1b5d047719175b9cbf7a9c01fd8d4bcbe1a66e28 /test
parent62b8119c0d0b5da4e856e88a849754a2e26f612c (diff)
loplugin:casttovoid: test
Change-Id: I7e948fe35ce26eb5a3b627ac75f579826dd5ff9d
Diffstat (limited to 'test')
-rw-r--r--test/source/bootstrapfixture.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/source/bootstrapfixture.cxx b/test/source/bootstrapfixture.cxx
index 12657ab6a188..7ae20567b393 100644
--- a/test/source/bootstrapfixture.cxx
+++ b/test/source/bootstrapfixture.cxx
@@ -134,9 +134,6 @@ OString loadFile(const OUString& rURL)
void test::BootstrapFixture::validate(const OUString& rPath, test::ValidationFormat eFormat )
{
- (void)rPath;
- (void)eFormat;
-
#if HAVE_EXPORT_VALIDATION
OUString var;
if( eFormat == test::OOXML )
@@ -209,6 +206,9 @@ void test::BootstrapFixture::validate(const OUString& rPath, test::ValidationFor
CPPUNIT_FAIL(aContentString.getStr());
}
}
+#else
+ (void)rPath;
+ (void)eFormat;
#endif
}