diff options
-rw-r--r-- | dbaccess/source/core/api/tablecontainer.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/core/api/tablecontainer.cxx b/dbaccess/source/core/api/tablecontainer.cxx index 664e151b301f..80cc8b73cecc 100644 --- a/dbaccess/source/core/api/tablecontainer.cxx +++ b/dbaccess/source/core/api/tablecontainer.cxx @@ -2,9 +2,9 @@ * * $RCSfile: tablecontainer.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: oj $ $Date: 2000-10-25 07:30:24 $ + * last change: $Author: oj $ $Date: 2000-10-26 09:44:26 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -472,7 +472,7 @@ sal_Bool OTableContainer::isNameValid( const ::rtl::OUString& _rName, { sal_Int32 nTableFilterLen = _rTableFilter.getLength(); - sal_Bool bFilterMatch = (NULL != bsearch(_rName, _rTableFilter.getConstArray(), nTableFilterLen, sizeof(::rtl::OUString), NameCompare)); + sal_Bool bFilterMatch = (NULL != bsearch(&_rName, _rTableFilter.getConstArray(), nTableFilterLen, sizeof(::rtl::OUString), NameCompare)); // the table is allowed to "pass" if we had no filters at all or any of the non-wildcard filters matches if (!bFilterMatch && _rWCSearch.size()) { // or if one of the wildcrad expression matches |