summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/adtabdlg.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-09-08 15:29:30 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-09-08 15:29:30 +0000
commitf97d212136102c85beaec7ff8ef35bdf195b7ff9 (patch)
tree6bcc30a46fe2da1c09ca1c0f715e54932bb57a14 /dbaccess/source/ui/dlg/adtabdlg.cxx
parent189a1c731bdbf682e2192c8bb1a62db1a737466a (diff)
INTEGRATION: CWS ooo20040704 (1.17.248); FILE MERGED
2004/06/30 15:31:01 cmc 1.17.248.1: #i30801# allow using system stl if possible
Diffstat (limited to 'dbaccess/source/ui/dlg/adtabdlg.cxx')
-rw-r--r--dbaccess/source/ui/dlg/adtabdlg.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/dbaccess/source/ui/dlg/adtabdlg.cxx b/dbaccess/source/ui/dlg/adtabdlg.cxx
index ed08bcd53a95..2ccfd279cebf 100644
--- a/dbaccess/source/ui/dlg/adtabdlg.cxx
+++ b/dbaccess/source/ui/dlg/adtabdlg.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: adtabdlg.cxx,v $
*
- * $Revision: 1.18 $
+ * $Revision: 1.19 $
*
- * last change: $Author: hr $ $Date: 2004-08-02 15:43:23 $
+ * last change: $Author: rt $ $Date: 2004-09-08 16:29:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -303,7 +303,8 @@ void OAddTableDlg::UpdateTableList(BOOL bViewsAllowed)
::comphelper::TStringMixEqualFunctor aEqualFunctor;
for(;pViewBegin != pViewEnd;++pViewBegin)
aTables.erase(::std::remove_if(aTables.begin(),aTables.end(),::std::bind2nd(aEqualFunctor,*pViewBegin)));
- sTables = Sequence< ::rtl::OUString>(aTables.begin(),aTables.size());
+ ::rtl::OUString* pTables = aTables.empty() ? 0 : &aTables[0];
+ sTables = Sequence< ::rtl::OUString>(pTables, aTables.size());
sViews = Sequence< ::rtl::OUString>();
}