diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2012-07-02 14:48:03 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2012-07-02 15:17:43 +0200 |
commit | 7cb5924a9bdb6d63e6e0a1fd23b4d4f8473b21a2 (patch) | |
tree | 5c161406c7dcb351eb9ee9a6fe6f54b261c49bf5 /connectivity/source/commontools | |
parent | d221d4e5a7c8bcb019d75786c45de2c85bbadb7f (diff) |
janitorial: remove unused xParamsAsNames variable
Change-Id: Ic4fe24faf75d38a8123a8f0e8304c054760bad85
Diffstat (limited to 'connectivity/source/commontools')
-rw-r--r-- | connectivity/source/commontools/dbtools.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/connectivity/source/commontools/dbtools.cxx b/connectivity/source/commontools/dbtools.cxx index bd024cb902fe..76b5ff99bad1 100644 --- a/connectivity/source/commontools/dbtools.cxx +++ b/connectivity/source/commontools/dbtools.cxx @@ -1786,7 +1786,6 @@ void askForParameters(const Reference< XSingleSelectQueryComposer >& _xComposer, Reference<XParametersSupplier> xParameters = Reference<XParametersSupplier> (_xComposer, UNO_QUERY); Reference<XIndexAccess> xParamsAsIndicies = xParameters.is() ? xParameters->getParameters() : Reference<XIndexAccess>(); - Reference<XNameAccess> xParamsAsNames(xParamsAsIndicies, UNO_QUERY); sal_Int32 nParamCount = xParamsAsIndicies.is() ? xParamsAsIndicies->getCount() : 0; ::std::vector<bool, std::allocator<bool> > aNewParameterSet( _aParametersSet ); if ( nParamCount || ::std::count(aNewParameterSet.begin(),aNewParameterSet.end(),true) != nParamCount ) |