diff options
Diffstat (limited to 'dbaccess/source/ui/dlg/indexdialog.cxx')
-rw-r--r-- | dbaccess/source/ui/dlg/indexdialog.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/dbaccess/source/ui/dlg/indexdialog.cxx b/dbaccess/source/ui/dlg/indexdialog.cxx index 76cba671709a..02babdd93f9e 100644 --- a/dbaccess/source/ui/dlg/indexdialog.cxx +++ b/dbaccess/source/ui/dlg/indexdialog.cxx @@ -169,8 +169,8 @@ namespace dbaui :ModalDialog( _pParent, "IndexDesignDialog", "dbaccess/ui/indexdesigndialog.ui") ,m_xConnection(_rxConnection) ,m_aGeometrySettings(E_DIALOG, OUString("dbaccess.tabledesign.indexdialog")) - ,m_pIndexes(NULL) - ,m_pPreviousSelection(NULL) + ,m_pIndexes(nullptr) + ,m_pPreviousSelection(nullptr) ,m_bEditAgain(false) ,m_xContext(_rxContext) { @@ -267,7 +267,7 @@ namespace dbaui m_pActions->EnableItem(mnNewCmdId, !m_pIndexList->IsEditingActive()); SvTreeListEntry* pSelected = m_pIndexList->FirstSelected(); - bool bSelectedAnything = NULL != pSelected; + bool bSelectedAnything = nullptr != pSelected; if (pSelected) { @@ -295,7 +295,7 @@ namespace dbaui Indexes::iterator aEnd = m_pIndexes->end(); for (; aIndexLoop != aEnd; ++aIndexLoop) { - SvTreeListEntry* pNewEntry = NULL; + SvTreeListEntry* pNewEntry = nullptr; if (aIndexLoop->bPrimaryKey) pNewEntry = m_pIndexList->InsertEntry(aIndexLoop->sName, aPKeyIcon, aPKeyIcon); else @@ -314,7 +314,7 @@ namespace dbaui void DbaIndexDialog::dispose() { - setToolBox(NULL); + setToolBox(nullptr); delete m_pIndexes; m_pActions.clear(); m_pIndexList.clear(); @@ -473,7 +473,7 @@ namespace dbaui // if the removed entry was the selected on... if (m_pPreviousSelection == _pEntry) - m_pPreviousSelection = NULL; + m_pPreviousSelection = nullptr; // the Remove automatically selected another entry (if possible), but we disabled the calling of the handler // to prevent that we missed something... call the handler directly @@ -790,7 +790,7 @@ namespace dbaui } } - bool bHaveSelection = (NULL != m_pIndexList->FirstSelected()); + bool bHaveSelection = (nullptr != m_pIndexList->FirstSelected()); // disable/enable the detail controls m_pIndexDetails->Enable(bHaveSelection); |