summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/objstor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/objstor.cxx')
-rw-r--r--sfx2/source/doc/objstor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index cbaf44347723..db5682fa9d00 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -1490,7 +1490,7 @@ sal_Bool SfxObjectShell::SaveTo_Impl
// if not transferred as a parameter, get it from user settings
aInfo.Author = SvtUserOptions().GetFullName();
- DateTime aTime;
+ DateTime aTime( DateTime::SYSTEM );
aInfo.TimeStamp.Day = aTime.GetDay();
aInfo.TimeStamp.Month = aTime.GetMonth();
aInfo.TimeStamp.Year = aTime.GetYear();