diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-09-10 12:25:26 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-09-10 13:52:21 +0200 |
commit | 3793855b40c0515647daa21741239fbcf0f974e4 (patch) | |
tree | a3b7b4727cfd6cb84e932887f901415a078deb42 | |
parent | f315a959f4f5cae0f61910056bfb822c5111903e (diff) |
cppcheck: identicalConditionAfterEarlyExit
Change-Id: I0c9b2e8e92ae1b439b6df548daecff07714ea1d4
Reviewed-on: https://gerrit.libreoffice.org/42135
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r-- | dbaccess/source/ui/querydesign/QueryTableView.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
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) |