summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/indexfieldscontrol.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:13:39 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:22 +0100
commit89c4edc13f203db1641c63e22774262bbe61f36f (patch)
tree0aa28439045c19140ff51cd6cf1593d8cf515d89 /dbaccess/source/ui/dlg/indexfieldscontrol.cxx
parentb58d56c5109f4cf6cacfc8e9c424b179a65bf1f1 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I2bba104b1bff30910864e45b5b032533099742ff
Diffstat (limited to 'dbaccess/source/ui/dlg/indexfieldscontrol.cxx')
-rw-r--r--dbaccess/source/ui/dlg/indexfieldscontrol.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/ui/dlg/indexfieldscontrol.cxx b/dbaccess/source/ui/dlg/indexfieldscontrol.cxx
index 695ea3f47fc8..d66e76db7678 100644
--- a/dbaccess/source/ui/dlg/indexfieldscontrol.cxx
+++ b/dbaccess/source/ui/dlg/indexfieldscontrol.cxx
@@ -70,8 +70,8 @@ namespace dbaui
IndexFieldsControl::IndexFieldsControl( vcl::Window* _pParent, WinBits nWinStyle)
: EditBrowseBox(_pParent, EditBrowseBoxFlags::SMART_TAB_TRAVEL | EditBrowseBoxFlags::ACTIVATE_ON_BUTTONDOWN, nWinStyle, BROWSER_STANDARD_FLAGS)
, m_aSeekRow(m_aFields.end())
- , m_pSortingCell(NULL)
- , m_pFieldNameCell(NULL)
+ , m_pSortingCell(nullptr)
+ , m_pFieldNameCell(nullptr)
, m_nMaxColumnsInIndex(0)
, m_bAddIndexAppendix(false)
{
@@ -251,12 +251,12 @@ namespace dbaui
CellController* IndexFieldsControl::GetController(long _nRow, sal_uInt16 _nColumnId)
{
if (!IsEnabled())
- return NULL;
+ return nullptr;
IndexFields::const_iterator aRow;
bool bNewField = !implGetFieldDesc(_nRow, aRow);
- DbaMouseDownListBoxController* pReturn = NULL;
+ DbaMouseDownListBoxController* pReturn = nullptr;
switch (_nColumnId)
{
case COLUMN_ID_ORDER: