summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-05-22 10:11:38 +0200
committerMatúš Kukan <matus.kukan@collabora.com>2014-05-22 16:39:08 +0200
commitb1a04f9326a7c52944f391364e72049eea6ee629 (patch)
treeab930ac4ba87a03a4df24b6456dc557e6e0a2d43 /sfx2
parent9023bfdd3ec8a7711fe0dfba1fd00645ffd0c685 (diff)
cp#1000077: Set 'modified' document property more consistently.
Update document info at one place, so that it works for other formats like .doc, .docx, ... too. (cherry picked from commit 5c2ab70cc2dfb7cf0c2418433b3aa89d225742a4) Conflicts: sd/source/ui/docshell/docshel4.cxx sw/source/core/uibase/app/docsh.cxx Change-Id: If71799b491d2210f0d3bdbdb05f91f26c986a260
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/objstor.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index df12f4f976a0..19ca9ef63eb3 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -1120,6 +1120,8 @@ sal_Bool SfxObjectShell::SaveTo_Impl
SAL_INFO( "sfx.doc", "PERFORMANCE SfxObjectShell::SaveTo_Impl" );
SAL_INFO( "sfx.doc", "saving \"" << rMedium.GetName() << "\"" );
+ UpdateDocInfoForSave();
+
AddLog( OUString( OSL_LOG_PREFIX "Begin" ) );
ModifyBlocker_Impl aMod(this);