summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-11-28 03:07:43 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-11-29 10:36:50 +0100
commit800528dfa0b74e12849ef9ff48762a6fe3eafa44 (patch)
tree0e063802dd1898fb46d45567fd6e3ce7fe4a216a /sw
parent55cd728d376ac9a5787a73fe1ae51263aa0403d1 (diff)
OSL_FAIL->SAL_WARN
Change-Id: Ic21516d1d3892cd73aaa29ae477985ca2d35638d
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/unocore/unostyle.cxx20
1 files changed, 5 insertions, 15 deletions
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 )
{