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 20:45:40 +0200
commitf18a00184733867ca9b43e0b0cf7bb6f3ceec764 (patch)
tree1d7504d8e266ebfe761727736198b622d2721c47 /sfx2
parent8b952c68c22bdd0e737fa67171c3a46f52607550 (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. Change-Id: If71799b491d2210f0d3bdbdb05f91f26c986a260 (cherry picked from commit 5c2ab70cc2dfb7cf0c2418433b3aa89d225742a4)
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 9c5250f9e8b1..1e37373efdd7 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -1119,6 +1119,8 @@ bool SfxObjectShell::SaveTo_Impl
{
SAL_INFO( "sfx.doc", "saving \"" << rMedium.GetName() << "\"" );
+ UpdateDocInfoForSave();
+
AddLog( OUString( OSL_LOG_PREFIX "Begin" ) );
ModifyBlocker_Impl aMod(this);