diff options
author | Frank Schönheit <fs@openoffice.org> | 2009-12-07 11:22:08 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2009-12-07 11:22:08 +0000 |
commit | 178209c0dc12f0768ac5689e7f83db602cc8b201 (patch) | |
tree | ba40a6b3b94619d735ef0adb331f63e42bab95f3 /dbaccess | |
parent | f17e58864db1476a09cc5156e85f745a9286da63 (diff) |
#i107485#
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/api/KeySet.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dbaccess/source/core/api/KeySet.cxx b/dbaccess/source/core/api/KeySet.cxx index 9cc2c6172cf4..b3e815928bff 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()); |