summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/adtabdlg.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-01-16 14:28:10 +0000
committerOliver Bolte <obo@openoffice.org>2006-01-16 14:28:10 +0000
commit0b1e1626de6b75db009618c7b1c04292c42646f0 (patch)
treea3c225e3ac619040aace965870ddef745b8edd1f /dbaccess/source/ui/dlg/adtabdlg.cxx
parent915703d20bb4de23b71e5ea3a4957bd61677a7e2 (diff)
INTEGRATION: CWS dba202b (1.21.46); FILE MERGED
2005/12/16 07:37:00 oj 1.21.46.1: #129276# end() param for erase missing
Diffstat (limited to 'dbaccess/source/ui/dlg/adtabdlg.cxx')
-rw-r--r--dbaccess/source/ui/dlg/adtabdlg.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/dlg/adtabdlg.cxx b/dbaccess/source/ui/dlg/adtabdlg.cxx
index da832c407fcd..d74a8a467404 100644
--- a/dbaccess/source/ui/dlg/adtabdlg.cxx
+++ b/dbaccess/source/ui/dlg/adtabdlg.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: adtabdlg.cxx,v $
*
- * $Revision: 1.21 $
+ * $Revision: 1.22 $
*
- * last change: $Author: hr $ $Date: 2005-09-23 12:28:53 $
+ * last change: $Author: obo $ $Date: 2006-01-16 15:28:10 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -282,7 +282,7 @@ void OAddTableDlg::UpdateTableList(BOOL bViewsAllowed)
const ::rtl::OUString* pViewEnd = pViewBegin + sViews.getLength();
::comphelper::TStringMixEqualFunctor aEqualFunctor;
for(;pViewBegin != pViewEnd;++pViewBegin)
- aTables.erase(::std::remove_if(aTables.begin(),aTables.end(),::std::bind2nd(aEqualFunctor,*pViewBegin)));
+ aTables.erase(::std::remove_if(aTables.begin(),aTables.end(),::std::bind2nd(aEqualFunctor,*pViewBegin)),aTables.end());
::rtl::OUString* pTables = aTables.empty() ? 0 : &aTables[0];
sTables = Sequence< ::rtl::OUString>(pTables, aTables.size());
sViews = Sequence< ::rtl::OUString>();