summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKorrawit Pruegsanusak <detective.conan.1412@gmail.com>2013-12-08 14:28:37 +0700
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-12-08 09:15:51 +0000
commit6fd352dc3ad32078188537aa8849758735391f46 (patch)
treec853fb242b792bb4134f891caf23751daf932959
parent526a60086c536cea3005e744c03a09b77845c41f (diff)
unittest for fdo#71434
Change-Id: I4ef376e048aa0ba37e5c1bc7664e9e8cd3e283b6 Reviewed-on: https://gerrit.libreoffice.org/6985 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rwxr-xr-xsd/qa/unit/data/fdo71434.pptxbin0 -> 155595 bytes
-rw-r--r--sd/qa/unit/data/xml/fdo71434_0.xml11
-rw-r--r--sd/qa/unit/import-tests.cxx1
3 files changed, 12 insertions, 0 deletions
diff --git a/sd/qa/unit/data/fdo71434.pptx b/sd/qa/unit/data/fdo71434.pptx
new file mode 100755
index 000000000000..384f1f31e6a5
--- /dev/null
+++ b/sd/qa/unit/data/fdo71434.pptx
Binary files differ
diff --git a/sd/qa/unit/data/xml/fdo71434_0.xml b/sd/qa/unit/data/xml/fdo71434_0.xml
new file mode 100644
index 000000000000..1605ba5e408c
--- /dev/null
+++ b/sd/qa/unit/data/xml/fdo71434_0.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<XShapes>
+ <XShape positionX="2823" positionY="-75" sizeX="19753" sizeY="19045" type="com.sun.star.drawing.GraphicObjectShape" name="Picture 5" fontHeight="18.000000" fontColor="ffffffff" textAutoGrowHeight="false" textAutoGrowWidth="false" textContourFrame="false" textFitToSize="NONE" textHorizontalAdjust="BLOCK" textVerticalAdjust="TOP" textLeftDistance="250" textRightDistance="250" textUpperDistance="125" textLowerDistance="125" textMaximumFrameHeight="0" textMaximumFrameWidth="0" textMinimumFrameHeight="0" textMinimumFrameWidth="0" textAnimationAmount="0" textAnimationCount="0" textAnimationDelay="0" textAnimationDirection="LEFT" textAnimationKind="NONE" textAnimationStartInside="false" textAnimationStopInside="false" textWritingMode="LR_TB" shadow="false" shadowColor="808080" shadowTransparence="0" shadowXDistance="200" shadowYDistance="200" zOrder="0" layerID="0" layerName="layout" visible="true" printable="true" moveProtect="false" sizeProtect="false">
+ <Transformation>
+ <Line1 column1="19754.000000" column2="0.000000" column3="2823.000000"/>
+ <Line2 column1="0.000000" column2="19046.000000" column3="-75.000000"/>
+ <Line3 column1="0.000000" column2="0.000000" column3="1.000000"/>
+ </Transformation>
+ <InteropGrabBag/>
+ </XShape>
+</XShapes>
diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx
index 63b8056a70d4..9b004038dc1c 100644
--- a/sd/qa/unit/import-tests.cxx
+++ b/sd/qa/unit/import-tests.cxx
@@ -106,6 +106,7 @@ void SdFiltersTest::testDocumentLayout()
{ "n820786.pptx", "xml/n820786_", -1 },
{ "n762695.pptx", "xml/n762695_", -1 },
{ "n593612.pptx", "xml/n593612_", -1 },
+ { "fdo71434.pptx", "xml/fdo71434_", -1 },
// { "pptx/n828390.pptx", "pptx/xml/n828390_", PPTX }, // Example
};