From 800528dfa0b74e12849ef9ff48762a6fe3eafa44 Mon Sep 17 00:00:00 2001 From: Bjoern Michaelsen Date: Sat, 28 Nov 2015 03:07:43 +0100 Subject: OSL_FAIL->SAL_WARN Change-Id: Ic21516d1d3892cd73aaa29ae477985ca2d35638d --- sw/source/core/unocore/unostyle.cxx | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) (limited to 'sw/source/core/unocore') diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx index b5b2c29d41e6..27bba507455d 100644 --- a/sw/source/core/unocore/unostyle.cxx +++ b/sw/source/core/unocore/unostyle.cxx @@ -734,9 +734,7 @@ uno::Reference< beans::XPropertySetInfo > SAL_CALL SwXStyleFamily::getPropertySe } void SAL_CALL SwXStyleFamily::setPropertyValue( const OUString&, const uno::Any& ) throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException, std::exception) -{ - OSL_FAIL( "###unexpected!" ); -} + { SAL_WARN("sw.uno", "###unexpected!"); } uno::Any SAL_CALL SwXStyleFamily::getPropertyValue( const OUString& sPropertyName ) throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception) { @@ -764,24 +762,16 @@ uno::Any SAL_CALL SwXStyleFamily::getPropertyValue( const OUString& sPropertyNam } void SAL_CALL SwXStyleFamily::addPropertyChangeListener( const OUString&, const uno::Reference< beans::XPropertyChangeListener >& ) throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception) -{ - OSL_FAIL( "###unexpected!" ); -} + { SAL_WARN("sw.uno", "###unexpected!"); } void SAL_CALL SwXStyleFamily::removePropertyChangeListener( const OUString&, const uno::Reference< beans::XPropertyChangeListener >& ) throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception) -{ - OSL_FAIL( "###unexpected!" ); -} + { SAL_WARN("sw.uno", "###unexpected!"); } void SAL_CALL SwXStyleFamily::addVetoableChangeListener( const OUString&, const uno::Reference< beans::XVetoableChangeListener >& ) throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception) -{ - OSL_FAIL( "###unexpected!" ); -} + { SAL_WARN("sw.uno", "###unexpected!"); } void SAL_CALL SwXStyleFamily::removeVetoableChangeListener( const OUString&, const uno::Reference< beans::XVetoableChangeListener >& ) throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception) -{ - OSL_FAIL( "###unexpected!" ); -} + { SAL_WARN("sw.uno", "###unexpected!"); } void SwXStyleFamily::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) { -- cgit v1.2.3