summaryrefslogtreecommitdiff
path: root/sc
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 /sc
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 'sc')
-rw-r--r--sc/source/filter/excel/expop2.cxx3
-rw-r--r--sc/source/filter/xml/xmlwrap.cxx2
2 files changed, 0 insertions, 5 deletions
diff --git a/sc/source/filter/excel/expop2.cxx b/sc/source/filter/excel/expop2.cxx
index 1cec3de46a9d..a72c6ba53d82 100644
--- a/sc/source/filter/excel/expop2.cxx
+++ b/sc/source/filter/excel/expop2.cxx
@@ -88,9 +88,6 @@ FltError ExportBiff5::Write()
if( pDocShell && xRootStrg.Is() )
{
- // #i88642# update doc info (revision etc)
- pDocShell->UpdateDocInfoForSave();
-
using namespace ::com::sun::star;
uno::Reference<document::XDocumentPropertiesSupplier> xDPS(
pDocShell->GetModel(), uno::UNO_QUERY_THROW);
diff --git a/sc/source/filter/xml/xmlwrap.cxx b/sc/source/filter/xml/xmlwrap.cxx
index 2e3210f5253e..d1daf43022f1 100644
--- a/sc/source/filter/xml/xmlwrap.cxx
+++ b/sc/source/filter/xml/xmlwrap.cxx
@@ -790,8 +790,6 @@ bool ScXMLImportWrapper::Export(bool bStylesOnly)
if ( pObjSh && xStorage.is() )
{
- pObjSh->UpdateDocInfoForSave(); // update information
-
uno::Reference<frame::XModel> xModel(pObjSh->GetModel());
uno::Reference<task::XStatusIndicator> xStatusIndicator(GetStatusIndicator());
sal_Int32 nProgressRange(1000000);