summaryrefslogtreecommitdiffstats
path: root/connectivity/source/drivers/postgresql/pq_connection.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_connection.cxx')
-rw-r--r--connectivity/source/drivers/postgresql/pq_connection.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_connection.cxx b/connectivity/source/drivers/postgresql/pq_connection.cxx
index 56670cef1aa5..868a011584c5 100644
--- a/connectivity/source/drivers/postgresql/pq_connection.cxx
+++ b/connectivity/source/drivers/postgresql/pq_connection.cxx
@@ -94,6 +94,7 @@ using com::sun::star::sdbc::XDatabaseMetaData;
namespace pq_sdbc_driver
{
+namespace {
// Helper class for statement lifetime management
class ClosableReference : public cppu::WeakImplHelper< css::uno::XReference >
@@ -116,6 +117,8 @@ public:
}
};
+}
+
static OUString ConnectionGetImplementationName()
{
return "org.openoffice.comp.connectivity.pq.Connection.noext";
@@ -393,6 +396,8 @@ void Connection::clearWarnings()
{
}
+namespace {
+
class cstr_vector
{
std::vector<char*> values;
@@ -426,6 +431,8 @@ public:
char const** c_array() const { return const_cast <const char**>(values.data()); }
};
+}
+
static void properties2arrays( const Sequence< PropertyValue > & args,
const Reference< XTypeConverter> &tc,
rtl_TextEncoding enc,