diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-05-22 13:50:39 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-05-22 16:40:47 +0200 |
commit | b837e9b137bd3cab36a48d7673b5170c83e7fe06 (patch) | |
tree | e4cd87374aa82bd9fd3cf852816d0e5265f5ca82 /sfx2 | |
parent | 9527a9f688e00263909705f6046d33de0fed1e18 (diff) |
Update also revision and editing time when setting 'modified' properties.
Change-Id: Id756ef6dd62ca8df2e62265b9cc930f07d13f2e3
(cherry picked from commit 6e87f0bb75734e464bb0160dc00ab2fbe1a8fac3)
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/objcont.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx index b3b834725b04..218efab7685a 100644 --- a/sfx2/source/doc/objcont.cxx +++ b/sfx2/source/doc/objcont.cxx @@ -206,9 +206,7 @@ void SfxObjectShell::UpdateDocInfoForSave() now.GetHour(), now.GetDay(), now.GetMonth(), now.GetYear(), false) ); xDocProps->setModifiedBy( aUserName ); - if ( !HasName() || pImp->bIsSaving ) - // QUESTION: not in case of "real" SaveAs as this is meant to create a new document - UpdateTime_Impl( xDocProps ); + UpdateTime_Impl( xDocProps ); } } } |