diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2004-09-08 15:31:25 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2004-09-08 15:31:25 +0000 |
commit | 83a7e7fa54af4fb5104ec940d2dde6d26864b12a (patch) | |
tree | 0248c9359af225bf1f7b87ea71a88f0c2f883168 /dbaccess/source/ui/querydesign/TableWindowAccess.cxx | |
parent | 392dca88d6dffe5dd41b518d39dabbcd57b4df32 (diff) |
INTEGRATION: CWS ooo20040704 (1.8.158); FILE MERGED
2004/06/30 15:25:57 cmc 1.8.158.1: #i30801# allow using system libs if possible
Diffstat (limited to 'dbaccess/source/ui/querydesign/TableWindowAccess.cxx')
-rw-r--r-- | dbaccess/source/ui/querydesign/TableWindowAccess.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dbaccess/source/ui/querydesign/TableWindowAccess.cxx b/dbaccess/source/ui/querydesign/TableWindowAccess.cxx index ac60d00ce9e2..4e71857bb121 100644 --- a/dbaccess/source/ui/querydesign/TableWindowAccess.cxx +++ b/dbaccess/source/ui/querydesign/TableWindowAccess.cxx @@ -2,9 +2,9 @@ * * $RCSfile: TableWindowAccess.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: vg $ $Date: 2003-06-25 11:05:09 $ + * last change: $Author: rt $ $Date: 2004-09-08 16:31:25 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -279,7 +279,8 @@ namespace dbaui for (; aIter != pConnectionList->end() ; ++aIter ) aRelations.push_back(getParentChild(aIter - pConnectionList->begin())); - Sequence< Reference<XInterface> > aSeq(aRelations.begin(),aRelations.size()); + Reference<XInterface> *pRelations = aRelations.empty() ? 0 : &aRelations[0]; + Sequence< Reference<XInterface> > aSeq(pRelations, aRelations.size()); return AccessibleRelation(AccessibleRelationType::CONTROLLER_FOR,aSeq); } return AccessibleRelation(); |