[Libreoffice-commits] .: sw/source

Miklos Vajna vmiklos at kemper.freedesktop.org
Fri Jun 29 07:03:12 PDT 2012


 sw/source/core/unocore/unostyle.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 73202f8edc074ec035255d25ff29bfd4a8d8dfd6
Author: Miklos Vajna <vmiklos at suse.cz>
Date:   Fri Jun 29 16:03:22 2012 +0200

    SwXStyleFamily::getPropertySetInfo: remove useless OSL_FAIL
    
    When poking around using an xray-like tool, it's quite expected that
    this method is reached.
    
    Change-Id: Ie795bbb06df740d853065d21c838e10a55ff34c6

diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx
index d43d6fc..1795c16 100644
--- a/sw/source/core/unocore/unostyle.cxx
+++ b/sw/source/core/unocore/unostyle.cxx
@@ -967,7 +967,6 @@ void SwXStyleFamily::removeByName(const OUString& rName) throw( container::NoSuc
 
 uno::Reference< beans::XPropertySetInfo > SAL_CALL SwXStyleFamily::getPropertySetInfo(  ) throw (uno::RuntimeException)
 {
-    OSL_FAIL( "###unexpected!" );
     return uno::Reference< beans::XPropertySetInfo >();
 }
 


More information about the Libreoffice-commits mailing list