diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-09-12 19:13:16 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-09-12 19:13:16 +0200 |
commit | 1a78f0965d854f461a7a55ae93842ac06446e41d (patch) | |
tree | 06b51ff754b27407907538e83f0f3e3edba22f1c /dbaccess/source/ui | |
parent | 3342993a437df435f4640468fd650dfb45d43045 (diff) |
Restore correct boolean return value
Fix commit f4c300eae4e9aaaec9e5d1f478ad35161ede2761
Change-Id: I660ca80b9df47160a24c2d32b1b03a814285a9a8
Diffstat (limited to 'dbaccess/source/ui')
-rw-r--r-- | dbaccess/source/ui/misc/WTypeSelect.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/misc/WTypeSelect.cxx b/dbaccess/source/ui/misc/WTypeSelect.cxx index bc20e9604398..99be5378a93d 100644 --- a/dbaccess/source/ui/misc/WTypeSelect.cxx +++ b/dbaccess/source/ui/misc/WTypeSelect.cxx @@ -377,9 +377,9 @@ bool OWizTypeSelectList::IsPrimaryKeyAllowed() const { OFieldDescription* pField = static_cast<OFieldDescription*>(GetEntryData(GetSelectEntryPos(j))); if(!pField || pField->getTypeInfo()->nSearchType == ColumnSearch::NONE) - return true; + return false; } - return false; + return true; } void OWizTypeSelectList::setPrimaryKey(OFieldDescription* _pFieldDescr, sal_uInt16 _nPos, bool _bSet) |