fdo#76016 Changed oox/CustomTarget_generated.mk
oox/source/export/presetShapeDefinitions.xml had multiple entries for "upDownArrow" instead of an entry for "upArrow". Whereas drawingml/customshapes/presetShapeDefinitions.xml has correct entries. Changed CustomTarget_generated.mk to use drawingml/customshapes/presetShapeDefinitions.xml instead of oox/source/export/presetShapeDefinitions.xml. Also deleted the latter to avoid duplication. Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Reviewed on: https://gerrit.libreoffice.org/8540 Change-Id: Ic46496af7fb79edf0780b04731a882d914e89a24
This commit is contained in:
committed by
Miklos Vajna
parent
57f7841fca
commit
cdceca118b
@@ -16,7 +16,7 @@ oox_GENHEADERPATH := $(oox_INC)/oox/token
|
|||||||
|
|
||||||
$(oox_MISC)/vmlexport-shape-types.cxx : \
|
$(oox_MISC)/vmlexport-shape-types.cxx : \
|
||||||
$(SRCDIR)/oox/source/export/preset-definitions-to-shape-types.pl \
|
$(SRCDIR)/oox/source/export/preset-definitions-to-shape-types.pl \
|
||||||
$(SRCDIR)/oox/source/export/presetShapeDefinitions.xml \
|
$(SRCDIR)/oox/source/drawingml/customshapes/presetShapeDefinitions.xml \
|
||||||
$(SRCDIR)/oox/source/export/presetTextWarpDefinitions.xml
|
$(SRCDIR)/oox/source/export/presetTextWarpDefinitions.xml
|
||||||
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),build,PRL,1)
|
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),build,PRL,1)
|
||||||
mkdir -p $(dir $@)
|
mkdir -p $(dir $@)
|
||||||
|
File diff suppressed because it is too large
Load Diff
BIN
sw/qa/extras/ooxmlexport/data/fdo76016.docx
Normal file
BIN
sw/qa/extras/ooxmlexport/data/fdo76016.docx
Normal file
Binary file not shown.
@@ -2781,6 +2781,16 @@ DECLARE_OOXMLEXPORT_TEST(testCitation,"FDO74775.docx")
|
|||||||
CPPUNIT_ASSERT(contents.match(" CITATION [Kra06]"));
|
CPPUNIT_ASSERT(contents.match(" CITATION [Kra06]"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DECLARE_OOXMLEXPORT_TEST(testFdo76016, "fdo76016.docx")
|
||||||
|
{
|
||||||
|
// check XML
|
||||||
|
xmlDocPtr pXmlDoc = parseExport("word/document.xml");
|
||||||
|
if (!pXmlDoc)
|
||||||
|
return;
|
||||||
|
assertXPath(pXmlDoc, "//a:graphic/a:graphicData/wps:wsp/wps:spPr/a:prstGeom/a:avLst/a:gd[1]", "name", "adj1");
|
||||||
|
assertXPath(pXmlDoc, "//a:graphic/a:graphicData/wps:wsp/wps:spPr/a:prstGeom/a:avLst/a:gd[2]", "name", "adj2");
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
CPPUNIT_PLUGIN_IMPLEMENT();
|
CPPUNIT_PLUGIN_IMPLEMENT();
|
||||||
|
Reference in New Issue
Block a user