Tag: cws_src680_dba24c
User: fs      
Date: 2007-09-18 13:14:17+0000
Modified:
   dba/connectivity/source/commontools/sqlerror.cxx

Log:
 getErrorCode can be static

File Changes:

Directory: /dba/connectivity/source/commontools/
================================================

File [changed]: sqlerror.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/commontools/sqlerror.cxx?r1=1.1.2.2&r2=1.1.2.3
Delta lines:  +10 -10
---------------------
--- sqlerror.cxx        2007-09-18 12:59:15+0000        1.1.2.2
+++ sqlerror.cxx        2007-09-18 13:14:14+0000        1.1.2.3
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: sqlerror.cxx,v $
  *
- *  $Revision: 1.1.2.2 $
+ *  $Revision: 1.1.2.3 $
  *
- *  last change: $Author: fs $ $Date: 2007/09/18 12:59:15 $
+ *  last change: $Author: fs $ $Date: 2007/09/18 13:14:14 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -79,7 +79,7 @@
         static const ::rtl::OUString& getMessagePrefix();
         ::rtl::OUString getErrorMessage( const ErrorCondition _eCondition, 
const ParamValue& _rParamValue1, const ParamValue& _rParamValue2, const 
ParamValue& _rParamValue3 );
         ::rtl::OUString getSQLState( const ErrorCondition _eCondition );
-        ErrorCode       getErrorCode( const ErrorCondition _eCondition );
+        static ErrorCode    getErrorCode( const ErrorCondition _eCondition );
         void            raiseException( const ErrorCondition _eCondition, 
const Reference< XInterface >& _rxContext, const ParamValue& _rParamValue1, 
const ParamValue& _rParamValue2, const ParamValue& _rParamValue3 );
         void            raiseException( const ErrorCondition _eCondition, 
const ParamValue& _rParamValue1, const ParamValue& _rParamValue2, const 
ParamValue& _rParamValue3 );
         void            raiseTypedException( const ErrorCondition _eCondition, 
const Reference< XInterface >& _rxContext, const Type& _rExceptionType, const 
ParamValue& _rParamValue1, const ParamValue& _rParamValue2, const ParamValue& 
_rParamValue3 );
@@ -304,9 +304,9 @@
     }
 
        //--------------------------------------------------------------------
-    ErrorCode SQLError::getErrorCode( const ErrorCondition _eCondition ) const
+    ErrorCode SQLError::getErrorCode( const ErrorCondition _eCondition )
     {
-        return m_pImpl->getErrorCode( _eCondition );
+        return SQLError_Impl::getErrorCode( _eCondition );
     }
 
        //--------------------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to