diff options
Diffstat (limited to 'smoketest')
-rw-r--r-- | smoketest/libtest.cxx | 4 | ||||
-rw-r--r-- | smoketest/smoketest.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/smoketest/libtest.cxx b/smoketest/libtest.cxx index ae87c796112a..b7205258cb92 100644 --- a/smoketest/libtest.cxx +++ b/smoketest/libtest.cxx @@ -42,7 +42,7 @@ long getTimeMS() { struct timeval t; - gettimeofday(&t, NULL); + gettimeofday(&t, nullptr); return t.tv_sec*1000 + t.tv_usec/1000; } @@ -111,7 +111,7 @@ int main (int argc, char **argv) if( argc > 3 ) { - const char *pFilter = NULL; + const char *pFilter = nullptr; if( argc > 4 ) pFilter = argv[4]; fprintf( stderr, "save document as '%s' (%s)\n", argv[3], pFilter ? pFilter : "<null>" ); diff --git a/smoketest/smoketest.cxx b/smoketest/smoketest.cxx index 8b070989d4d2..c4c2178066e1 100644 --- a/smoketest/smoketest.cxx +++ b/smoketest/smoketest.cxx @@ -65,7 +65,7 @@ class Listener: public cppu::WeakImplHelper< css::frame::XDispatchResultListener > { public: - explicit Listener(Result * result): result_(result) { OSL_ASSERT(result != 0); } + explicit Listener(Result * result): result_(result) { OSL_ASSERT(result != nullptr); } private: virtual void SAL_CALL disposing(css::lang::EventObject const &) |