diff options
Diffstat (limited to 'vbahelper')
-rw-r--r-- | vbahelper/source/vbahelper/vbaapplicationbase.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vbahelper/source/vbahelper/vbaapplicationbase.cxx b/vbahelper/source/vbahelper/vbaapplicationbase.cxx index 21eec2670a09..162ea28919ef 100644 --- a/vbahelper/source/vbahelper/vbaapplicationbase.cxx +++ b/vbahelper/source/vbahelper/vbaapplicationbase.cxx @@ -86,8 +86,8 @@ public: static double GetNow() { - Date aDateNow; - Time aTimeNow; + Date aDateNow( Date::SYSTEM ); + Time aTimeNow( Time::SYSTEM ); Date aRefDate( 1,1,1900 ); long nDiffDays = (long)(aDateNow - aRefDate); nDiffDays += 2; // Change VisualBasic: 1.Jan.1900 == 2 |