diff options
-rw-r--r-- | drawinglayer/source/dumper/XShapeDumper.cxx | 6 | ||||
-rw-r--r-- | sd/qa/unit/regression-test.cxx | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/drawinglayer/source/dumper/XShapeDumper.cxx b/drawinglayer/source/dumper/XShapeDumper.cxx index 20454dc84b62..daf78c23631a 100644 --- a/drawinglayer/source/dumper/XShapeDumper.cxx +++ b/drawinglayer/source/dumper/XShapeDumper.cxx @@ -35,7 +35,7 @@ #include <rtl/strbuf.hxx> -#define DEBUG_DUMPER 1 +#define DEBUG_DUMPER 0 using namespace com::sun::star; //class XShapeDumper @@ -1006,6 +1006,8 @@ namespace { } if(xServiceInfo->supportsService("com.sun.star.drawing.TextProperties")) { + uno::Reference< beans::XPropertySetInfo> xInfo = xPropSet->getPropertySetInfo(); + if(xInfo->hasPropertyByName("IsNumbering")) { uno::Any anotherAny = xPropSet->getPropertyValue("IsNumbering"); sal_Bool bIsNumbering; @@ -1450,6 +1452,7 @@ namespace { if(xServiceInfo->supportsService("com.sun.star.drawing.Shape")) { + uno::Reference< beans::XPropertySetInfo> xInfo = xPropSet->getPropertySetInfo(); { uno::Any anotherAny = xPropSet->getPropertyValue("ZOrder"); sal_Int32 aZOrder; @@ -1510,6 +1513,7 @@ namespace { if(anotherAny >>= aNavigationOrder) dumpNavigationOrderAsAttribute(aNavigationOrder, xmlWriter); } + if(xInfo->hasPropertyByName("Hyperlink")) { uno::Any anotherAny = xPropSet->getPropertyValue("Hyperlink"); rtl::OUString sHyperlink; diff --git a/sd/qa/unit/regression-test.cxx b/sd/qa/unit/regression-test.cxx index 169b891d5d91..d5e089bd03e3 100644 --- a/sd/qa/unit/regression-test.cxx +++ b/sd/qa/unit/regression-test.cxx @@ -196,8 +196,6 @@ void SdFiltersTest::test() std::cout << aString << std::endl; } xDocShRef->DoClose(); - - CPPUNIT_ASSERT(false); } bool SdFiltersTest::load(const rtl::OUString &rFilter, const rtl::OUString &rURL, |