diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-06-10 21:51:19 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-06-11 14:46:45 +0100 |
commit | 2106d8e648449d34b195068eef5f672a14ea64a8 (patch) | |
tree | ce43da57f52c0bad223d123a37129da918fb5668 /dbaccess/source/ui/misc | |
parent | ef877aab7ee88f03b36447af82904fc94938f569 (diff) |
callcatcher: update unused code
Change-Id: Id5f730fc447b11000b266954f9e7f5287bad02f4
Diffstat (limited to 'dbaccess/source/ui/misc')
-rw-r--r-- | dbaccess/source/ui/misc/UITools.cxx | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx index cc5409441d91..78c57565dbc1 100644 --- a/dbaccess/source/ui/misc/UITools.cxx +++ b/dbaccess/source/ui/misc/UITools.cxx @@ -306,32 +306,6 @@ void showError(const SQLExceptionInfo& _rInfo,Window* _pParent,const Reference< } // ----------------------------------------------------------------------------- -::std::vector< Reference<XNameAccess> > getKeyColumns(const Reference<XIndexAccess >& _rxKeys, - sal_Int32 _nKeyType) -{ - // use keys and indexes for excat postioning - // first the keys - ::std::vector< Reference<XNameAccess> > vRet; - if(_rxKeys.is()) - { - Reference<XPropertySet> xProp; - for(sal_Int32 i=0;i< _rxKeys->getCount();++i) - { - _rxKeys->getByIndex(i) >>= xProp; - sal_Int32 nKeyType = 0; - xProp->getPropertyValue(PROPERTY_TYPE) >>= nKeyType; - if(_nKeyType == nKeyType) - { - Reference<XColumnsSupplier> xKeyColsSup(xProp,UNO_QUERY); - OSL_ENSURE(xKeyColsSup.is(),"Columnsupplier is null!"); - vRet.push_back(xKeyColsSup->getColumns()); - } - } - } - - return vRet; -} -// ----------------------------------------------------------------------------- TOTypeInfoSP getTypeInfoFromType(const OTypeInfoMap& _rTypeInfo, sal_Int32 _nType, |