Restore correct boolean return value
Fix commit f4c300eae4
Change-Id: I660ca80b9df47160a24c2d32b1b03a814285a9a8
This commit is contained in:
@@ -377,9 +377,9 @@ bool OWizTypeSelectList::IsPrimaryKeyAllowed() const
|
|||||||
{
|
{
|
||||||
OFieldDescription* pField = static_cast<OFieldDescription*>(GetEntryData(GetSelectEntryPos(j)));
|
OFieldDescription* pField = static_cast<OFieldDescription*>(GetEntryData(GetSelectEntryPos(j)));
|
||||||
if(!pField || pField->getTypeInfo()->nSearchType == ColumnSearch::NONE)
|
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)
|
void OWizTypeSelectList::setPrimaryKey(OFieldDescription* _pFieldDescr, sal_uInt16 _nPos, bool _bSet)
|
||||||
|
Reference in New Issue
Block a user