[Libreoffice-commits] core.git: dbaccess/source
Jochen Nitschke
j.nitschke+logerrit at ok.de
Sun Sep 10 11:52:42 UTC 2017
dbaccess/source/ui/querydesign/QueryTableView.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 3793855b40c0515647daa21741239fbcf0f974e4
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date: Sun Sep 10 12:25:26 2017 +0200
cppcheck: identicalConditionAfterEarlyExit
Change-Id: I0c9b2e8e92ae1b439b6df548daecff07714ea1d4
Reviewed-on: https://gerrit.libreoffice.org/42135
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/dbaccess/source/ui/querydesign/QueryTableView.cxx b/dbaccess/source/ui/querydesign/QueryTableView.cxx
index 986d5b277c34..5979dc4585db 100644
--- a/dbaccess/source/ui/querydesign/QueryTableView.cxx
+++ b/dbaccess/source/ui/querydesign/QueryTableView.cxx
@@ -373,8 +373,6 @@ Reference<XPropertySet> getKeyReferencedTo(const Reference<XIndexAccess>& _rxKey
if(!_rxKeys.is())
return Reference<XPropertySet>();
- if ( !_rxKeys.is() )
- return Reference<XPropertySet>();
// search the one and only primary key
const sal_Int32 nCount = _rxKeys->getCount();
for(sal_Int32 i=0;i<nCount ;++i)
More information about the Libreoffice-commits
mailing list