summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Glazunov <vg@openoffice.org>2009-12-14 10:54:46 +0100
committerVladimir Glazunov <vg@openoffice.org>2009-12-14 10:54:46 +0100
commitb7c07c7d44a28db1e59a33eb9312e77b59d2bb87 (patch)
tree49ce13dd36b9285965b80a246a21f02010c5b1a2
parent8a3357d3f94286b7a4218876f91a41dd1121ca66 (diff)
parent74a1ac4a82efeb6c105fe13c69bf20ca1e554b65 (diff)
CWS-TOOLING: integrate CWS ooo32gsl09_DEV300ooo/DEV300_m69ooo/DEV300_m68
-rw-r--r--dbaccess/source/core/api/KeySet.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/dbaccess/source/core/api/KeySet.cxx b/dbaccess/source/core/api/KeySet.cxx
index 56c87c7b5..47cf5d2d4 100644
--- a/dbaccess/source/core/api/KeySet.cxx
+++ b/dbaccess/source/core/api/KeySet.cxx
@@ -310,7 +310,10 @@ void OKeySet::construct(const Reference< XResultSet>& _xDriverSet)
const ::rtl::OUString sOldFilter = xAnalyzer->getFilter();
if ( sOldFilter.getLength() )
{
- aFilter = sOldFilter + aAnd + aFilter.makeStringAndClear();
+ FilterCreator aFilterCreator;
+ aFilterCreator.append( aFilter.makeStringAndClear() );
+ aFilterCreator.append( sOldFilter );
+ aFilter = aFilterCreator.getComposedAndClear();
}
xAnalyzer->setFilter(aFilter.makeStringAndClear());
m_xStatement = m_xConnection->prepareStatement(xAnalyzer->getQueryWithSubstitution());