In a previous commit, OSL_ASSERT were changed into OSL_FAIL but 2 of them
created the build fail.
From 6a1c81ffb1bfdb5361cf885a89d29b8fcb362e2d Mon Sep 17 00:00:00 2001
From: Xisco Fauli <aniste...@gmail.com>
Date: Sun, 27 Feb 2011 21:12:58 +0100
Subject: [PATCH] Revert 2 OSL_FAIL

---
 sfx2/source/doc/guisaveas.cxx |    2 +-
 sfx2/source/doc/objstor.cxx   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx
index 940e3e9..aa68646 100644
--- a/sfx2/source/doc/guisaveas.cxx
+++ b/sfx2/source/doc/guisaveas.cxx
@@ -230,7 +230,7 @@ public:
             }
             catch( uno::Exception& )
             {
-                OSL_FAIL( "Unexpected exception!" );
+                OSL_ASSERT( "Unexpected exception!" );
             }
         }
     }
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index e6cb611..eb45ce0 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -1605,7 +1605,7 @@ sal_Bool SfxObjectShell::SaveTo_Impl
                         {
                             // it should not happen, the copies signature is invalid!
                             // throw the changes away
-                            OSL_FAIL( "An invalid signature was copied!" );
+                            OSL_ASSERT( "An invalid signature was copied!" );
                         }
                     }
                 }
-- 
1.7.1

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to