diff options
Diffstat (limited to 'dbaccess/source/ui/dlg')
-rw-r--r-- | dbaccess/source/ui/dlg/indexdialog.cxx | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/dbaccess/source/ui/dlg/indexdialog.cxx b/dbaccess/source/ui/dlg/indexdialog.cxx index b942f75c85d9..c5e5ca648043 100644 --- a/dbaccess/source/ui/dlg/indexdialog.cxx +++ b/dbaccess/source/ui/dlg/indexdialog.cxx @@ -88,7 +88,8 @@ namespace dbaui } extern sal_Bool isCharOk(sal_Unicode _cChar,sal_Bool _bFirstChar,sal_Bool _bUpperCase,const OUString& _sAllowedChars); - sal_Bool DbaIndexList::EditedEntry( SvTreeListEntry* _pEntry, const OUString& _rNewText ) + + bool DbaIndexList::EditedEntry( SvTreeListEntry* _pEntry, const OUString& _rNewText ) { // first check if this is valid SQL92 name if ( isSQL92CheckEnabled(m_xConnection) ) @@ -102,26 +103,26 @@ namespace dbaui sAlias != _rNewText : !_rNewText.equalsIgnoreAsciiCase(sAlias)) - return sal_False; + return false; } } if (!SvTreeListBox::EditedEntry(_pEntry, _rNewText)) - return sal_False; + return false; OUString sOldText = GetEntryText(_pEntry); SvTreeListBox::SetEntryText(_pEntry, _rNewText); - sal_Bool bValid = sal_True; + bool bValid = true; if (m_aEndEditHdl.IsSet()) bValid = (0 != m_aEndEditHdl.Call(_pEntry)); if (bValid) - return sal_True; + return true; SvTreeListBox::SetEntryText(_pEntry, sOldText); - return sal_False; + return false; } void DbaIndexList::enableSelectHandler() |