summaryrefslogtreecommitdiff
path: root/dbaccess/source
diff options
context:
space:
mode:
authorRelease Engineering <releng@openoffice.org>2010-06-07 14:10:31 +0200
committerRelease Engineering <releng@openoffice.org>2010-06-07 14:10:31 +0200
commit7fa15bdd592bad7955ae532add287023ca9d592b (patch)
treef9f244ef5066249e7601df04ad000db366c4f027 /dbaccess/source
parentcb563668f55a6b7abf3fb16e148b183b4404bda0 (diff)
masterfix: #i10000# build issue
Diffstat (limited to 'dbaccess/source')
-rw-r--r--dbaccess/source/core/api/KeySet.cxx14
1 files changed, 1 insertions, 13 deletions
diff --git a/dbaccess/source/core/api/KeySet.cxx b/dbaccess/source/core/api/KeySet.cxx
index 646b1f498..3db4acdbc 100644
--- a/dbaccess/source/core/api/KeySet.cxx
+++ b/dbaccess/source/core/api/KeySet.cxx
@@ -2,7 +2,7 @@
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
- * Copyright 2000, 2010 Oracle and/or its affiliates.
+ * Copyright 2000, 2010 Oracle andor its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
@@ -347,18 +347,6 @@ void OKeySet::construct(const Reference< XResultSet>& _xDriverSet,const ::rtl::O
{
Reference<XPropertySet> xPara(xQueryParameters->getByIndex(i),UNO_QUERY_THROW);
xPara->getPropertyValue(PROPERTY_REALNAME) >>= aParameterColumns[i];
- }
-
-
- // locate parameter in select columns
- Reference<XParametersSupplier> xParaSup(m_xComposer,UNO_QUERY);
- Reference<XIndexAccess> xQueryParameters = xParaSup->getParameters();
- const sal_Int32 nParaCount = xQueryParameters->getCount();
- Sequence< ::rtl::OUString> aParameterColumns(nParaCount);
- for(sal_Int32 i = 0; i< nParaCount;++i)
- {
- Reference<XPropertySet> xPara(xQueryParameters->getByIndex(i),UNO_QUERY_THROW);
- xPara->getPropertyValue(PROPERTY_REALNAME) >>= aParameterColumns[i];
}
::rtl::OUString sCatalog,sSchema,sTable;