Kaydet (Commit) 3793855b authored tarafından Jochen Nitschke's avatar Jochen Nitschke Kaydeden (comit) Julien Nabet

cppcheck: identicalConditionAfterEarlyExit

Change-Id: I0c9b2e8e92ae1b439b6df548daecff07714ea1d4
Reviewed-on: https://gerrit.libreoffice.org/42135Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst f315a959
...@@ -373,8 +373,6 @@ Reference<XPropertySet> getKeyReferencedTo(const Reference<XIndexAccess>& _rxKey ...@@ -373,8 +373,6 @@ Reference<XPropertySet> getKeyReferencedTo(const Reference<XIndexAccess>& _rxKey
if(!_rxKeys.is()) if(!_rxKeys.is())
return Reference<XPropertySet>(); return Reference<XPropertySet>();
if ( !_rxKeys.is() )
return Reference<XPropertySet>();
// search the one and only primary key // search the one and only primary key
const sal_Int32 nCount = _rxKeys->getCount(); const sal_Int32 nCount = _rxKeys->getCount();
for(sal_Int32 i=0;i<nCount ;++i) for(sal_Int32 i=0;i<nCount ;++i)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment