diff options
author | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2010-09-15 13:20:02 +0200 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2010-09-15 13:20:02 +0200 |
commit | ea2e5380f2e137dd7300f678517fc7daa68beed8 (patch) | |
tree | 0f38bd636936d2f524c1bd4f3db5b39b5431edcd /connectivity/inc | |
parent | a5f2eef02c6adca78824aebedb31964cde862bf4 (diff) |
dba34a: #i114492# properly calculate the composed filter, placing enough brackets around the single terms ...
Diffstat (limited to 'connectivity/inc')
-rw-r--r-- | connectivity/inc/connectivity/filtermanager.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/connectivity/inc/connectivity/filtermanager.hxx b/connectivity/inc/connectivity/filtermanager.hxx index 71494de67b38..c9d1e95cfac4 100644 --- a/connectivity/inc/connectivity/filtermanager.hxx +++ b/connectivity/inc/connectivity/filtermanager.hxx @@ -33,7 +33,8 @@ #include <com/sun/star/sdb/XSQLQueryComposer.hpp> #include <com/sun/star/sdbc/XConnection.hpp> /** === end UNO includes === **/ -#include <rtl/ustring.hxx> + +#include <rtl/ustrbuf.hxx> #include <vector> #include "connectivity/dbtoolsdllapi.hxx" @@ -111,10 +112,10 @@ namespace dbtools /** appends one filter component to the statement in our composer */ - void appendFilterComponent( ::rtl::OUString& /* [inout] */ _rAppendTo, const ::rtl::OUString& _rComponent ) const; + void appendFilterComponent( ::rtl::OUStringBuffer& io_appendTo, const ::rtl::OUString& i_component ) const; /// checks whether there is only one (or even no) non-empty filter component - bool isThereAtMostOneComponent( ::rtl::OUString& _rOnlyComponent ) const; + bool isThereAtMostOneComponent( ::rtl::OUStringBuffer& o_singleComponent ) const; /// returns the index of the first filter component which should be considered when building the composed filter inline sal_Int32 getFirstApplicableFilterIndex() const |