Restore correct boolean return value

Fix commit f4c300eae4

Change-Id: I660ca80b9df47160a24c2d32b1b03a814285a9a8
This commit is contained in:
Matteo Casalin
2015-09-12 19:13:16 +02:00
parent 3342993a43
commit 1a78f0965d

View File

@@ -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)