Kaydet (Commit) fd9d697b authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

INTEGRATION: CWS warnings01 (1.14.30); FILE MERGED

2005/12/12 14:34:26 fs 1.14.30.2: #i57457#
2005/11/07 14:44:11 fs 1.14.30.1: #i57457# warning-free code
üst fbbd265d
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: mdrivermanager.cxx,v $ * $RCSfile: mdrivermanager.cxx,v $
* *
* $Revision: 1.14 $ * $Revision: 1.15 $
* *
* last change: $Author: rt $ $Date: 2005-09-08 07:38:59 $ * last change: $Author: hr $ $Date: 2006-06-20 02:07:05 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -61,6 +61,9 @@ ...@@ -61,6 +61,9 @@
#ifndef _OSL_DIAGNOSE_H_ #ifndef _OSL_DIAGNOSE_H_
#include <osl/diagnose.h> #include <osl/diagnose.h>
#endif #endif
#ifndef CONNECTIVITY_DIAGNOSE_EX_H
#include "diagnose_ex.h"
#endif
#include <algorithm> #include <algorithm>
#include <functional> #include <functional>
...@@ -260,7 +263,7 @@ Any SAL_CALL ODriverEnumeration::nextElement( ) throw(NoSuchElementException, W ...@@ -260,7 +263,7 @@ Any SAL_CALL ODriverEnumeration::nextElement( ) throw(NoSuchElementException, W
} }
catch( const Exception& e) catch( const Exception& e)
{ {
e; // make compiler happy OSL_UNUSED( e );
OSL_ENSURE( sal_False, "lcl_getDriverPrecedence: caught an exception!" ); OSL_ENSURE( sal_False, "lcl_getDriverPrecedence: caught an exception!" );
} }
...@@ -573,7 +576,7 @@ Reference< XInterface > SAL_CALL OSDBCDriverManager::getRegisteredObject( const ...@@ -573,7 +576,7 @@ Reference< XInterface > SAL_CALL OSDBCDriverManager::getRegisteredObject( const
if (aSearch == m_aDriversRT.end()) if (aSearch == m_aDriversRT.end())
throwNoSuchElementException(); throwNoSuchElementException();
return aSearch->second; return aSearch->second.get();
} }
//-------------------------------------------------------------------------- //--------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment