summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/evoab2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-30 20:46:06 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-30 20:46:28 +0000
commit3528aea9bbb74aab3fd1035be146110b80e2780e (patch)
tree1b476d42d7e2e6ed1a3694f61dd09123b9112532 /connectivity/source/drivers/evoab2
parentfaf55a1db829bfb3f2f47f9d87190e9396676e25 (diff)
coverity#1267700 Uninitialized scalar field
Change-Id: I1e9d412ccf68996e59e0875c0f0af17592258acb
Diffstat (limited to 'connectivity/source/drivers/evoab2')
-rw-r--r--connectivity/source/drivers/evoab2/NConnection.cxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/connectivity/source/drivers/evoab2/NConnection.cxx b/connectivity/source/drivers/evoab2/NConnection.cxx
index c6f00509e4d2..17ea5c65f729 100644
--- a/connectivity/source/drivers/evoab2/NConnection.cxx
+++ b/connectivity/source/drivers/evoab2/NConnection.cxx
@@ -40,16 +40,17 @@ using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::lang;
-OEvoabConnection::OEvoabConnection( OEvoabDriver& _rDriver )
- :OSubComponent<OEvoabConnection, OConnection_BASE>( (::cppu::OWeakObject*)(&_rDriver), this )
- ,m_rDriver(_rDriver)
- ,m_xCatalog(NULL)
+OEvoabConnection::OEvoabConnection(OEvoabDriver& _rDriver)
+ : OSubComponent<OEvoabConnection, OConnection_BASE>( (::cppu::OWeakObject*)(&_rDriver), this )
+ , m_rDriver(_rDriver)
+ , m_eSDBCAddressType(SDBCAddress::EVO_LOCAL)
+ , m_xCatalog(NULL)
{
}
OEvoabConnection::~OEvoabConnection()
{
- ::osl::MutexGuard aGuard( m_aMutex );
+ ::osl::MutexGuard aGuard( m_aMutex );
if(!isClosed()) {
acquire();