summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/calc
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-09-08 15:19:33 +0000
committerRüdiger Timm <rt@openoffice.org>2004-09-08 15:19:33 +0000
commit86213d5af764ebef86982bacd277790ea6e529f9 (patch)
tree0256582e0fc9c868a59b5be2bd3af883401c715d /connectivity/source/drivers/calc
parent54f23ba116d926b01271f2e1b198c9ce433819d4 (diff)
INTEGRATION: CWS ooo20040704 (1.22.50); FILE MERGED
2004/06/28 13:54:13 cmc 1.22.50.1: #i30801# allow using system stl if possible
Diffstat (limited to 'connectivity/source/drivers/calc')
-rw-r--r--connectivity/source/drivers/calc/CTable.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/connectivity/source/drivers/calc/CTable.cxx b/connectivity/source/drivers/calc/CTable.cxx
index 6c52d65a02c3..ecdb1f20689d 100644
--- a/connectivity/source/drivers/calc/CTable.cxx
+++ b/connectivity/source/drivers/calc/CTable.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: CTable.cxx,v $
*
- * $Revision: 1.22 $
+ * $Revision: 1.23 $
*
- * last change: $Author: vg $ $Date: 2004-01-06 17:04:08 $
+ * last change: $Author: rt $ $Date: 2004-09-08 16:19:33 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -772,7 +772,8 @@ Sequence< Type > SAL_CALL OCalcTable::getTypes( ) throw(RuntimeException)
}
aOwnTypes.push_back(::getCppuType( (const Reference< ::com::sun::star::lang::XUnoTunnel > *)0 ));
- return Sequence< Type >(aOwnTypes.begin(),aOwnTypes.size());
+ const Type* pAttrs = aOwnTypes.empty() ? 0 : &aOwnTypes[0];
+ return Sequence< Type >(pAttrs, aOwnTypes.size());
}
// -------------------------------------------------------------------------