summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-05-22 13:50:39 +0200
committerMatúš Kukan <matus.kukan@collabora.com>2014-05-22 13:56:23 +0200
commit6e87f0bb75734e464bb0160dc00ab2fbe1a8fac3 (patch)
tree3d12d0c122c939b78e020af190ac547be71871a8 /sfx2
parentfee87c6fda46923a564cd2574827a7beeffb1a1f (diff)
Update also revision and editing time when setting 'modified' properties.
Change-Id: Id756ef6dd62ca8df2e62265b9cc930f07d13f2e3
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/objcont.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx
index bea59cd4c3e2..7bba8d6b791c 100644
--- a/sfx2/source/doc/objcont.cxx
+++ b/sfx2/source/doc/objcont.cxx
@@ -208,9 +208,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 );
}
}
}