summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2015-01-25 19:01:19 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2015-01-25 18:17:56 +0000
commit294cea0f5b84e6d9e0b508e0c181c77f526264ae (patch)
treef7dfa66f5d682b1902d890f02e591efdcffb173d /dbaccess
parent11638719eab866162a617f4b51cac9c3b872abed (diff)
that better be the case
Change-Id: Ic0262292e207146c563b8830243a80104f94f903 Reviewed-on: https://gerrit.libreoffice.org/14176 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/core/api/RowSet.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/dbaccess/source/core/api/RowSet.cxx b/dbaccess/source/core/api/RowSet.cxx
index 079673d307cc..c28763ff12a3 100644
--- a/dbaccess/source/core/api/RowSet.cxx
+++ b/dbaccess/source/core/api/RowSet.cxx
@@ -315,6 +315,7 @@ void SAL_CALL ORowSet::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle,const
case PROPERTY_ID_ACTIVE_CONNECTION:
// the new connection
{
+ assert(m_aActiveConnection == rValue);
Reference< XConnection > xNewConnection(m_aActiveConnection,UNO_QUERY);
setActiveConnection(xNewConnection, false);
}