summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-08-28 10:08:02 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-08-28 11:01:59 +0200
commitef2668bad976f1fbb70759887cafd35ea7833655 (patch)
tree72d9845468ba5ad6b18d13c056ea035693dc0a29 /oox
parent6a39fdf81fa561a587b9b9c6a28ba2891f448563 (diff)
PPTX import: fix missing document metadata
Without this, the creation / modification date is lost on import. Change-Id: I0b74ac91aee7b8b3e0bc763247086a3a39816bc1
Diffstat (limited to 'oox')
-rw-r--r--oox/source/ppt/pptimport.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/oox/source/ppt/pptimport.cxx b/oox/source/ppt/pptimport.cxx
index de5ee83e1777..c3d733a14b6b 100644
--- a/oox/source/ppt/pptimport.cxx
+++ b/oox/source/ppt/pptimport.cxx
@@ -82,6 +82,8 @@ bool PowerPointImport::importDocument()
file:///<path-to-oox-module>/source/dump/pptxdumper.ini. */
OOX_DUMP_FILE( ::oox::dump::pptx::Dumper );
+ importDocumentProperties();
+
OUString aFragmentPath = getFragmentPathFromFirstTypeFromOfficeDoc( "officeDocument" );
FragmentHandlerRef xPresentationFragmentHandler( new PresentationFragmentHandler( *this, aFragmentPath ) );
maTableStyleListPath = xPresentationFragmentHandler->getFragmentPathFromFirstTypeFromOfficeDoc( "tableStyles" );