summaryrefslogtreecommitdiff
path: root/sd/qa/unit/export-tests-ooxml2.cxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2018-05-08 19:45:36 +0900
committerTomaž Vajngerl <quikee@gmail.com>2018-05-09 02:03:16 +0200
commit711c2e49dd3c51877263148267344e2eb4ca7c0d (patch)
treef6b676ceb8a607922bdcff0b1d70567c03d5a26f /sd/qa/unit/export-tests-ooxml2.cxx
parentf4e7d521aab79ecbb16c0518f14c7635902e9e10 (diff)
tdf#116272 use correct property name when exporting to PPT
Change-Id: Ic1f5fb0e00531f9e36f05cbdf68b4c2fa7e98989 Reviewed-on: https://gerrit.libreoffice.org/53987 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sd/qa/unit/export-tests-ooxml2.cxx')
-rw-r--r--sd/qa/unit/export-tests-ooxml2.cxx28
1 files changed, 0 insertions, 28 deletions
diff --git a/sd/qa/unit/export-tests-ooxml2.cxx b/sd/qa/unit/export-tests-ooxml2.cxx
index 4840940274f2..739560b0b74d 100644
--- a/sd/qa/unit/export-tests-ooxml2.cxx
+++ b/sd/qa/unit/export-tests-ooxml2.cxx
@@ -132,7 +132,6 @@ public:
void testFontScale();
void testTdf115394();
void testTdf115394Zero();
- void testBulletsAsImage();
void testTdf115005();
int testTdf115005_FallBack_Images(bool bAddReplacementImages);
void testTdf115005_FallBack_Images_On();
@@ -200,7 +199,6 @@ public:
CPPUNIT_TEST(testFontScale);
CPPUNIT_TEST(testTdf115394);
CPPUNIT_TEST(testTdf115394Zero);
- CPPUNIT_TEST(testBulletsAsImage);
CPPUNIT_TEST(testTdf115005);
CPPUNIT_TEST(testTdf115005_FallBack_Images_On);
CPPUNIT_TEST(testTdf115005_FallBack_Images_Off);
@@ -1505,32 +1503,6 @@ void SdOOXMLExportTest2::testTdf115394Zero()
xDocShRef->DoClose();
}
-void SdOOXMLExportTest2::testBulletsAsImage()
-{
- ::sd::DrawDocShellRef xDocShRef = loadURL(m_directories.getURLFromSrc("sd/qa/unit/data/odp/BulletsAsImage.odp"), ODP);
- utl::TempFile tempFile;
- xDocShRef = saveAndReload(xDocShRef.get(), PPTX, &tempFile);
-
- uno::Reference<beans::XPropertySet> xShape(getShapeFromPage(0, 0, xDocShRef));
- uno::Reference<text::XTextRange> const xParagraph(getParagraphFromShape(0, xShape));
- uno::Reference<beans::XPropertySet> xPropSet(xParagraph, uno::UNO_QUERY_THROW);
-
- uno::Reference<container::XIndexAccess> xLevels(xPropSet->getPropertyValue("NumberingRules"), uno::UNO_QUERY);
- uno::Sequence<beans::PropertyValue> aProperties;
- xLevels->getByIndex(0) >>= aProperties; // 1st level
- uno::Reference<awt::XBitmap> xBitmap;
- for (const beans::PropertyValue& rProperty : aProperties)
- {
- if (rProperty.Name == "GraphicBitmap")
- {
- xBitmap = rProperty.Value.get<uno::Reference<awt::XBitmap>>();
- }
- }
- CPPUNIT_ASSERT_MESSAGE("No bitmap for the bullets", xBitmap.is());
-
- xDocShRef->DoClose();
-}
-
void SdOOXMLExportTest2::testTdf115005()
{
sd::DrawDocShellRef xDocShRefOriginal = loadURL(m_directories.getURLFromSrc("sd/qa/unit/data/odp/tdf115005.odp"), ODP);