[Libreoffice-commits] .: dbaccess/source

Thomas Arnhold tarnhold at kemper.freedesktop.org
Wed Mar 2 05:55:34 PST 2011


 dbaccess/source/core/dataaccess/datasource.cxx         |    2 +-
 dbaccess/source/core/dataaccess/documentdefinition.cxx |    2 +-
 dbaccess/source/ui/browser/formadapter.cxx             |    8 ++++----
 dbaccess/source/ui/browser/unodatbr.cxx                |    2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

New commits:
commit b30fa40eaa77b4065ad28f38b3ca6ff3dcd8f19b
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Tue Mar 1 17:52:28 2011 +0100

    Move DBG_ERROR to OSL_FAIL

diff --git a/dbaccess/source/core/dataaccess/datasource.cxx b/dbaccess/source/core/dataaccess/datasource.cxx
index 6ebe5d5..1cabbf2 100644
--- a/dbaccess/source/core/dataaccess/datasource.cxx
+++ b/dbaccess/source/core/dataaccess/datasource.cxx
@@ -273,7 +273,7 @@ Sequence< RememberAuthentication > SAL_CALL OAuthenticationContinuation::getReme
 
 void SAL_CALL OAuthenticationContinuation::setRememberAccount( RememberAuthentication /*Remember*/ ) throw(RuntimeException)
 {
-    DBG_ERROR("OAuthenticationContinuation::setRememberAccount: not supported!");
+    OSL_FAIL("OAuthenticationContinuation::setRememberAccount: not supported!");
 }
 
 /** The class OSharedConnectionManager implements a structure to share connections.
diff --git a/dbaccess/source/core/dataaccess/documentdefinition.cxx b/dbaccess/source/core/dataaccess/documentdefinition.cxx
index 9b5df75..6ab3772 100644
--- a/dbaccess/source/core/dataaccess/documentdefinition.cxx
+++ b/dbaccess/source/core/dataaccess/documentdefinition.cxx
@@ -744,7 +744,7 @@ namespace
             }
             catch( Exception& )
             {
-                DBG_ERROR( "LayoutManagerLock::~LayoutManagerLock: caught an exception!" );
+                OSL_FAIL( "LayoutManagerLock::~LayoutManagerLock: caught an exception!" );
             }
         }
     };
diff --git a/dbaccess/source/ui/browser/formadapter.cxx b/dbaccess/source/ui/browser/formadapter.cxx
index eeee6b7..75062e1 100644
--- a/dbaccess/source/ui/browser/formadapter.cxx
+++ b/dbaccess/source/ui/browser/formadapter.cxx
@@ -1086,19 +1086,19 @@ sal_Bool SAL_CALL SbaXFormAdapter::getGroupControl() throw( RuntimeException )
 // -------------------------------------------------------------------------
 void SAL_CALL SbaXFormAdapter::setGroupControl(sal_Bool /*GroupControl*/) throw( RuntimeException )
 {
-    DBG_ERROR("SAL_CALL SbaXFormAdapter::setGroupControl : not supported !");
+    OSL_FAIL("SAL_CALL SbaXFormAdapter::setGroupControl : not supported !");
 }
 
 // -------------------------------------------------------------------------
 void SAL_CALL SbaXFormAdapter::setControlModels(const Sequence< Reference< ::com::sun::star::awt::XControlModel >  >& /*Controls*/) throw( RuntimeException )
 {
-    DBG_ERROR("SAL_CALL SbaXFormAdapter::setControlModels : not supported !");
+    OSL_FAIL("SAL_CALL SbaXFormAdapter::setControlModels : not supported !");
 }
 
 // -------------------------------------------------------------------------
 Sequence< Reference< ::com::sun::star::awt::XControlModel > > SAL_CALL SbaXFormAdapter::getControlModels() throw( RuntimeException )
 {
-    DBG_ERROR("SAL_CALL SbaXFormAdapter::getControlModels : not supported !");
+    OSL_FAIL("SAL_CALL SbaXFormAdapter::getControlModels : not supported !");
     return Sequence< Reference< ::com::sun::star::awt::XControlModel > >();
 }
 
@@ -1111,7 +1111,7 @@ void SAL_CALL SbaXFormAdapter::setGroup(const Sequence< Reference< ::com::sun::s
 // -------------------------------------------------------------------------
 sal_Int32 SAL_CALL SbaXFormAdapter::getGroupCount() throw( RuntimeException )
 {
-    DBG_ERROR("SAL_CALL SbaXFormAdapter::getGroupCount : not supported !");
+    OSL_FAIL("SAL_CALL SbaXFormAdapter::getGroupCount : not supported !");
     return 0;
 }
 
diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx
index fe4225d..8654970 100644
--- a/dbaccess/source/ui/browser/unodatbr.cxx
+++ b/dbaccess/source/ui/browser/unodatbr.cxx
@@ -2264,7 +2264,7 @@ sal_Bool SbaTableQueryBrowser::ensureEntryObject( SvLBoxEntry* _pEntry )
             break;
 
         default:
-            DBG_ERROR("SbaTableQueryBrowser::ensureEntryObject: ooops ... missing some implementation here!");
+            OSL_FAIL("SbaTableQueryBrowser::ensureEntryObject: ooops ... missing some implementation here!");
             // TODO ...
             break;
     }


More information about the Libreoffice-commits mailing list