summaryrefslogtreecommitdiff
path: root/sw
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 13:55:53 +0200
commit5c2ab70cc2dfb7cf0c2418433b3aa89d225742a4 (patch)
tree8e2801b85bc76d90e5b101626e09aee12d65c01d /sw
parentb630d26a2a53767d4d39e14d421448ed87811773 (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
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/uibase/app/docsh.cxx1
-rw-r--r--sw/source/filter/xml/xmlexp.cxx4
2 files changed, 0 insertions, 5 deletions
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 )
{