Tag: cws_src680_sb80
User: sb      
Date: 2007-11-16 14:49:52+0000
Modified:
   dba/dbaccess/source/ui/dlg/odbcconfig.cxx

Log:
 #i82999# Replaced erroneous osl_loadModuleRelative call with osl_loadModule 
again.

File Changes:

Directory: /dba/dbaccess/source/ui/dlg/
=======================================

File [changed]: odbcconfig.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/odbcconfig.cxx?r1=1.22&r2=1.22.14.1
Delta lines:  +4 -9
-------------------
--- odbcconfig.cxx      2007-11-02 12:22:06+0000        1.22
+++ odbcconfig.cxx      2007-11-16 14:49:49+0000        1.22.14.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: odbcconfig.cxx,v $
  *
- *  $Revision: 1.22 $
+ *  $Revision: 1.22.14.1 $
  *
- *  last change: $Author: hr $ $Date: 2007/11/02 12:22:06 $
+ *  last change: $Author: sb $ $Date: 2007/11/16 14:49:49 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -166,17 +166,12 @@
 #endif
 
 //-------------------------------------------------------------------------
-#ifdef HAVE_ODBC_SUPPORT
-extern "C" { static void SAL_CALL thisModule() {} }
-#endif
-
 sal_Bool OOdbcLibWrapper::load(const sal_Char* _pLibPath)
 {
        m_sLibPath = ::rtl::OUString::createFromAscii(_pLibPath);
 #ifdef HAVE_ODBC_SUPPORT
        // load the module
-       m_pOdbcLib = osl_loadModuleRelative(
-        &thisModule, m_sLibPath.pData, SAL_LOADMODULE_NOW);
+       m_pOdbcLib = osl_loadModule(m_sLibPath.pData, SAL_LOADMODULE_NOW);
        return (NULL != m_pOdbcLib);
 #endif
 }




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

Reply via email to