diff options
author | Vladimir Glazunov <vg@openoffice.org> | 2009-12-14 10:54:46 +0100 |
---|---|---|
committer | Vladimir Glazunov <vg@openoffice.org> | 2009-12-14 10:54:46 +0100 |
commit | 9b251503202b1197a16f6f66adf262e68427c3f5 (patch) | |
tree | 5873fac7fef150ee9973374bce83a76b713e65cc | |
parent | 134c579568fd294160641c71412b7a632d15b62d (diff) | |
parent | 178209c0dc12f0768ac5689e7f83db602cc8b201 (diff) |
CWS-TOOLING: integrate CWS ooo32gsl09_DEV300
Notes
split repo tag: base_ooo/DEV300_m68
split repo tag: base_ooo/DEV300_m69
-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()); |