[Libreoffice-commits] .: sdext/source

Thomas Arnhold tarnhold at kemper.freedesktop.org
Sat Feb 26 01:41:39 PST 2011


 sdext/source/pdfimport/services.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f47a542835233341b17b9bad015fe6da3c47ab3f
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Sat Feb 26 10:30:44 2011 +0100

    Move bogus OSL_ASSERT(msg) to OSL_FAIL(msg)

diff --git a/sdext/source/pdfimport/services.cxx b/sdext/source/pdfimport/services.cxx
index ac83474..eaedf0b 100644
--- a/sdext/source/pdfimport/services.cxx
+++ b/sdext/source/pdfimport/services.cxx
@@ -147,7 +147,7 @@ extern "C" sal_Bool SAL_CALL component_writeInfo( void* /*pServiceManager*/, voi
         }
         catch( Exception& )
         {
-            OSL_ASSERT( "OModule::writeComponentInfos: something went wrong while creating the keys!" );
+            OSL_FAIL( "OModule::writeComponentInfos: something went wrong while creating the keys!" );
             return sal_False;
         }
         ++pComponents;


More information about the Libreoffice-commits mailing list