diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2020-05-23 19:54:14 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2020-05-24 07:25:07 +0200 |
commit | ebd391767d70903e6a4ea7e213f475af94e183ec (patch) | |
tree | 45528ea8619cf1a6786f8158f8f8d957a1c00223 /sd/qa/unit/export-tests-ooxml2.cxx | |
parent | 0e5e935deb0527c64865cfcc53a0421e56b74b6f (diff) |
tdf#101181: drop useless "GlowEffect" boolean property
Just use GlowEffectRad to indicate effect presense: radius of 0 means
effect is disabled.
Change-Id: Ic06bba34f5a851f120d3d00cb7e20c429ead9ee1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94732
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sd/qa/unit/export-tests-ooxml2.cxx')
-rw-r--r-- | sd/qa/unit/export-tests-ooxml2.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sd/qa/unit/export-tests-ooxml2.cxx b/sd/qa/unit/export-tests-ooxml2.cxx index 69ee1650d780..e71a5228c9eb 100644 --- a/sd/qa/unit/export-tests-ooxml2.cxx +++ b/sd/qa/unit/export-tests-ooxml2.cxx @@ -2854,9 +2854,6 @@ void SdOOXMLExportTest2::testShapeGlowEffect() ::sd::DrawDocShellRef xDocShRef = loadURL( m_directories.getURLFromSrc("sd/qa/unit/data/pptx/shape-glow-effect.pptx"), PPTX); xDocShRef = saveAndReload( xDocShRef.get(), PPTX ); uno::Reference<beans::XPropertySet> xShape(getShapeFromPage(0, 0, xDocShRef)); - bool bHasGlow = false; - xShape->getPropertyValue("GlowEffect") >>= bHasGlow; - CPPUNIT_ASSERT(bHasGlow); sal_Int32 nRadius = -1; xShape->getPropertyValue("GlowEffectRad") >>= nRadius; CPPUNIT_ASSERT_EQUAL(sal_Int32(388), nRadius); // 139700 EMU = 388.0556 mm/100 |