summaryrefslogtreecommitdiff
path: root/tools/source/datetime/tdate.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/datetime/tdate.cxx')
-rw-r--r--tools/source/datetime/tdate.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/datetime/tdate.cxx b/tools/source/datetime/tdate.cxx
index b6790b035944..54985ec553c7 100644
--- a/tools/source/datetime/tdate.cxx
+++ b/tools/source/datetime/tdate.cxx
@@ -155,7 +155,7 @@ Date::Date( DateInitSystem )
struct tm aTime;
// get current time
- nTmpTime = time( 0 );
+ nTmpTime = time( nullptr );
// compute date
if ( localtime_r( &nTmpTime, &aTime ) )