summaryrefslogtreecommitdiff
path: root/sal/cppunittester
diff options
context:
space:
mode:
Diffstat (limited to 'sal/cppunittester')
-rw-r--r--sal/cppunittester/cppunittester.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/cppunittester/cppunittester.cxx b/sal/cppunittester/cppunittester.cxx
index 95eecbe6baf2..34911e27e62c 100644
--- a/sal/cppunittester/cppunittester.cxx
+++ b/sal/cppunittester/cppunittester.cxx
@@ -414,10 +414,10 @@ SAL_IMPLEMENT_MAIN()
std::exit(EXIT_FAILURE);
}
#endif
- CppUnit::Protector *protector = fn == 0
- ? 0
+ CppUnit::Protector *protector = fn == nullptr
+ ? nullptr
: (*reinterpret_cast< cppunittester::ProtectorFactory * >(fn))();
- if (protector == 0) {
+ if (protector == nullptr) {
std::cerr
<< "Failure instantiating protector \"" << convertLazy(lib)
<< "\", \"" << convertLazy(sym) << '"' << std::endl;