summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorSushil Shinde <sushil.shinde@synerzip.com>2013-11-26 19:06:48 +0530
committerMiklos Vajna <vmiklos@collabora.co.uk>2013-12-13 10:59:37 +0100
commitc42c57e665ad65b3a270ae223f1012ac988acdd3 (patch)
tree8a22f108d0dfac50a1d4a54eec442e4e00759f52 /oox
parentdcdf3cd1983b673eb1ed1a5c23b68ba46fe4dd1b (diff)
fdo#70338 : Fixed file corruption issue after save for docx.
- File was giving corruption message if saved in LO. - Issue due to video file. - Attached file contain .mov which was not handled properly. - Added mov extension support in graphic filter. Reviewed on: https://gerrit.libreoffice.org/6818 Change-Id: Ia278127ddc4afcd2d5fe04e86ed6201fb28dc04f
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/drawingml.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index e542df87deae..3ed8f02afe74 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -493,6 +493,10 @@ OUString DrawingML::WriteImage( const Graphic& rGraphic )
sMediaType = "image/x-pict";
pExtension = ".pct";
break;
+ case GFX_LINK_TYPE_NATIVE_MOV:
+ sMediaType = "application/movie";
+ pExtension = ".MOV";
+ break;
default: {
GraphicType aType = rGraphic.GetType();
if ( aType == GRAPHIC_BITMAP ) {