Kaydet (Commit) ae7fa10e authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:nullptr (automatic rewrite)

Change-Id: Ib245679d105d52d187e63b29dfc7f4076dadad13
üst b6fe760b
......@@ -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>" );
......
......@@ -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 &)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment