summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/postgresql/pq_statics.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_statics.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_statics.cxx')
-rw-r--r--connectivity/source/drivers/postgresql/pq_statics.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_statics.cxx b/connectivity/source/drivers/postgresql/pq_statics.cxx
index 711aedb5a55d..a7de0360466a 100644
--- a/connectivity/source/drivers/postgresql/pq_statics.cxx
+++ b/connectivity/source/drivers/postgresql/pq_statics.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* $RCSfile: pq_statics.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.
*
@@ -80,10 +82,10 @@ namespace pq_sdbc_driver
struct DefColumnMetaData
{
- sal_Char * columnName;
- sal_Char * tableName;
- sal_Char * schemaTableName;
- sal_Char * typeName;
+ const sal_Char * columnName;
+ const sal_Char * tableName;
+ const sal_Char * schemaTableName;
+ const sal_Char * typeName;
sal_Int32 type;
sal_Int32 precision;
sal_Int32 scale;