From 5c2ab70cc2dfb7cf0c2418433b3aa89d225742a4 Mon Sep 17 00:00:00 2001 From: Matúš Kukan Date: Thu, 22 May 2014 10:11:38 +0200 Subject: 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 --- sw/source/core/uibase/app/docsh.cxx | 1 - sw/source/filter/xml/xmlexp.cxx | 4 ---- 2 files changed, 5 deletions(-) (limited to 'sw') diff --git a/sw/source/core/uibase/app/docsh.cxx b/sw/source/core/uibase/app/docsh.cxx index fbe60ddb513c..6272f021af8f 100644 --- a/sw/source/core/uibase/app/docsh.cxx +++ b/sw/source/core/uibase/app/docsh.cxx @@ -598,7 +598,6 @@ bool SwDocShell::ConvertTo( SfxMedium& rMedium ) } } #endif - UpdateDocInfoForSave(); } // #i76360# Update document statistics diff --git a/sw/source/filter/xml/xmlexp.cxx b/sw/source/filter/xml/xmlexp.cxx index 378d80b55d79..3d3e8467bddb 100644 --- a/sw/source/filter/xml/xmlexp.cxx +++ b/sw/source/filter/xml/xmlexp.cxx @@ -193,10 +193,6 @@ sal_uInt32 SwXMLExport::exportDoc( enum XMLTokenEnum eClass ) // Update doc stat, so that correct values are exported and // the progress works correctly. pDoc->UpdateDocStat(); - - SfxObjectShell* pObjSh = pDoc->GetDocShell(); - if( pObjSh ) - pObjSh->UpdateDocInfoForSave(); // update information } if( bShowProgress ) { -- cgit