summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/docxsdrexport.hxx
diff options
context:
space:
mode:
authorYogeshBharate <yogesh.bharate@synerzip.com>2014-03-13 20:39:28 +0530
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-03-17 09:49:53 +0000
commit5291d902b2e8bbf405dc56a03b685bd10cecabf8 (patch)
treeb473d0398d0d9d352db524f55e741c2407e092e6 /sw/source/filter/ww8/docxsdrexport.hxx
parentb916fc4840ba67ef30e45ea735408237a3422b56 (diff)
fdo#76122: File Corruption-doc contains nested alternateContents.
Problem Description: - After roundtrip, files contains <mc:AlternateContent> in <mc:Choice>. - Due to this document gets corrupted when we open it in MS Office 2010. - Added unit test. Change-Id: Ic64b815eda4a42cd59f522ac4570ae145b0b38e1 Reviewed-on: https://gerrit.libreoffice.org/8575 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/ww8/docxsdrexport.hxx')
-rw-r--r--sw/source/filter/ww8/docxsdrexport.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/docxsdrexport.hxx b/sw/source/filter/ww8/docxsdrexport.hxx
index 8833ab924d45..1fa7fe0e7cee 100644
--- a/sw/source/filter/ww8/docxsdrexport.hxx
+++ b/sw/source/filter/ww8/docxsdrexport.hxx
@@ -77,6 +77,8 @@ public:
void endDMLAnchorInline(const SwFrmFmt* pFrmFmt);
/// Writes a drawing as VML data.
void writeVMLDrawing(const SdrObject* sdrObj, const SwFrmFmt& rFrmFmt,const Point& rNdTopLeft);
+ /// Writes a drawing as DML.
+ void writeDMLDrawing(const SdrObject* pSdrObj, const SwFrmFmt* pFrmFmt, int nAnchorId);
/// Writes shape in both DML and VML format.
void writeDMLAndVMLDrawing(const SdrObject* sdrObj, const SwFrmFmt& rFrmFmt,const Point& rNdTopLeft, int nAnchorId);
/// Write <a:effectLst>, the effect list.