summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/postgresql/pq_connection.cxx
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2011-08-05 12:08:40 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2011-11-17 21:15:19 +0100
commitc4fc6b22b3af76eb1ae1df8f2e739df46cc3e1a0 (patch)
treea827d8e5e52ad1649228a4a1efeec6321eca5b21 /connectivity/source/drivers/postgresql/pq_connection.cxx
parentad69fc551b03e7f38e2c26b5d3ae2d5b2efb171a (diff)
Janitorial clean-up
- fix a bunch of compiler warnings - move to recommended way of comparing C strings and OUString - Copyright statement on files I modified
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_connection.cxx')
-rw-r--r--connectivity/source/drivers/postgresql/pq_connection.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_connection.cxx b/connectivity/source/drivers/postgresql/pq_connection.cxx
index a3a0f587b0f7..f5455f06fb7e 100644
--- a/connectivity/source/drivers/postgresql/pq_connection.cxx
+++ b/connectivity/source/drivers/postgresql/pq_connection.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* $RCSfile: pq_connection.cxx,v $
@@ -51,6 +52,7 @@
* The Initial Developer of the Original Code is: Joerg Budischewski
*
* Copyright: 2000 by Sun Microsystems, Inc.
+ * 2011 Lionel Elie Mamane <lionel@mamane.lu>
*
* All Rights Reserved.
*
@@ -138,7 +140,7 @@ class ClosableReference : public cppu::WeakImplHelper1< com::sun::star::uno::XRe
::rtl::ByteSequence m_id;
public:
ClosableReference( const ::rtl::ByteSequence & id , Connection *that )
- : m_id( id ), m_conn( that )
+ : m_conn( that ), m_id( id )
{
that->acquire();
}