summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/postgresql/pq_xcontainer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_xcontainer.cxx')
-rw-r--r--connectivity/source/drivers/postgresql/pq_xcontainer.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_xcontainer.cxx b/connectivity/source/drivers/postgresql/pq_xcontainer.cxx
index 2082816813fd..147f5c17a465 100644
--- a/connectivity/source/drivers/postgresql/pq_xcontainer.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xcontainer.cxx
@@ -66,6 +66,8 @@ using com::sun::star::lang::XEventListener;
namespace pq_sdbc_driver
{
+namespace {
+
class ReplacedBroadcaster : public EventBroadcastHelper
{
ContainerEvent m_event;
@@ -131,6 +133,8 @@ public:
}
};
+}
+
Container::Container(
const ::rtl::Reference< comphelper::RefCountedMutex > & refMutex,
const css::uno::Reference< css::sdbc::XConnection > & origin,
@@ -201,6 +205,7 @@ sal_Int32 Container::getCount()
return m_values.size();
}
+namespace {
class ContainerEnumeration : public ::cppu::WeakImplHelper< XEnumeration >
{
@@ -219,6 +224,8 @@ public:
};
+}
+
sal_Bool ContainerEnumeration::hasMoreElements()
{
return static_cast<int>(m_vec.size()) > m_index +1;