Kaydet (Commit) 6e87f0bb authored tarafından Matúš Kukan's avatar Matúš Kukan

Update also revision and editing time when setting 'modified' properties.

Change-Id: Id756ef6dd62ca8df2e62265b9cc930f07d13f2e3
üst fee87c6f
...@@ -208,9 +208,7 @@ void SfxObjectShell::UpdateDocInfoForSave() ...@@ -208,9 +208,7 @@ void SfxObjectShell::UpdateDocInfoForSave()
now.GetHour(), now.GetDay(), now.GetMonth(), now.GetHour(), now.GetDay(), now.GetMonth(),
now.GetYear(), false) ); now.GetYear(), false) );
xDocProps->setModifiedBy( aUserName ); xDocProps->setModifiedBy( aUserName );
if ( !HasName() || pImp->bIsSaving ) UpdateTime_Impl( xDocProps );
// QUESTION: not in case of "real" SaveAs as this is meant to create a new document
UpdateTime_Impl( xDocProps );
} }
} }
} }
......
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