summaryrefslogtreecommitdiff
path: root/vcl/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-30 08:40:30 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-30 08:40:30 +0200
commita23313076c6aaf5799aafdc7a92b8348adb297f4 (patch)
tree956b1566a7891a3476633bd5be75ce845ef3ef68 /vcl/qa
parent629ed90f7146d5a6b0de6211a916d615dea642aa (diff)
loplugin:literaltoboolconversion
Change-Id: I556a0fc4e47e51880b12c7e1ae25a588f576cd7c
Diffstat (limited to 'vcl/qa')
-rw-r--r--vcl/qa/cppunit/lifecycle.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/qa/cppunit/lifecycle.cxx b/vcl/qa/cppunit/lifecycle.cxx
index e23faa3cd3ef..4d6e1cb6aaab 100644
--- a/vcl/qa/cppunit/lifecycle.cxx
+++ b/vcl/qa/cppunit/lifecycle.cxx
@@ -159,16 +159,16 @@ public:
}
virtual bool Notify( NotifyEvent& ) SAL_OVERRIDE
{
-// CPPUNIT_ASSERT(false && "notify");
+// CPPUNIT_FAIL("notify");
return false;
}
virtual void GetFocus() SAL_OVERRIDE
{
- CPPUNIT_ASSERT(false && "get focus");
+ CPPUNIT_FAIL("get focus");
}
virtual void LoseFocus() SAL_OVERRIDE
{
- CPPUNIT_ASSERT(false && "this should never be called");
+ CPPUNIT_FAIL("this should never be called");
}
};