From 79ce97d35cd61b9a42876d8865f359d41ffeda8c Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Fri, 6 Jun 2008 13:11:06 +0000 Subject: INTEGRATION: CWS dba30c (1.35.8); FILE MERGED 2008/05/05 11:13:36 oj 1.35.8.1: #i87131# collect keys only once, getKeys always refetch keys --- dbaccess/source/ui/inc/UITools.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'dbaccess/source') diff --git a/dbaccess/source/ui/inc/UITools.hxx b/dbaccess/source/ui/inc/UITools.hxx index c564ac5baa02..a6bb7736618a 100644 --- a/dbaccess/source/ui/inc/UITools.hxx +++ b/dbaccess/source/ui/inc/UITools.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: UITools.hxx,v $ - * $Revision: 1.35 $ + * $Revision: 1.36 $ * * This file is part of OpenOffice.org. * @@ -58,6 +58,7 @@ namespace com { namespace sun { namespace star { namespace container { class XNameAccess; + class XIndexAccess; class XHierarchicalNameContainer; class XNameContainer; } @@ -150,7 +151,7 @@ namespace dbaui */ ::std::vector< ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess> > - getKeyColumns( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxTable, + getKeyColumns( const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess >& _rxKeys, sal_Int32 _nKeyType); /** fills a map and a vector with localized type names -- cgit