diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:22:39 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:36 +0100 |
commit | de29ac09535d814e4be7e1bf0f10beb9f0f847e3 (patch) | |
tree | 139f75d657cb825622e812254b8b7df4e509140b /sc/source/ui/dbgui/dbnamdlg.cxx | |
parent | 60c40af090e420a8619b5236bde1ff4ef79100c6 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I765d2a600f9c57da50c85354688e3ae796750d94
Diffstat (limited to 'sc/source/ui/dbgui/dbnamdlg.cxx')
-rw-r--r-- | sc/source/ui/dbgui/dbnamdlg.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/dbgui/dbnamdlg.cxx b/sc/source/ui/dbgui/dbnamdlg.cxx index d80ed97a40a7..422e7abbbad8 100644 --- a/sc/source/ui/dbgui/dbnamdlg.cxx +++ b/sc/source/ui/dbgui/dbnamdlg.cxx @@ -41,7 +41,7 @@ class DBSaveData; -static DBSaveData* pSaveObj = NULL; +static DBSaveData* pSaveObj = nullptr; #define ERRORBOX(s) ScopedVclPtrInstance<MessageDialog>::Create(this, s)->Execute() @@ -217,7 +217,7 @@ void ScDbNameDlg::Init() SCTAB nEndTab = 0; ScDBCollection* pDBColl = pDoc->GetDBCollection(); - ScDBData* pDBData = NULL; + ScDBData* pDBData = nullptr; pViewData->GetSimpleArea( nStartCol, nStartRow, nStartTab, nEndCol, nEndRow, nEndTab ); @@ -396,7 +396,7 @@ bool ScDbNameDlg::IsRefInputMode() const IMPL_LINK_NOARG_TYPED(ScDbNameDlg, OkBtnHdl, Button*, void) { - AddBtnHdl( 0 ); + AddBtnHdl( nullptr ); // Der View die Aenderungen und die Remove-Liste uebergeben: // beide werden nur als Referenz uebergeben, so dass an dieser @@ -477,7 +477,7 @@ IMPL_LINK_NOARG_TYPED(ScDbNameDlg, AddBtnHdl, Button*, void) m_pBtnDoSize->Check( false ); m_pBtnKeepFmt->Check( false ); m_pBtnStripData->Check( false ); - SetInfoStrings( NULL ); // leer + SetInfoStrings( nullptr ); // leer theCurArea = ScRange(); bSaved = true; pSaveObj->Save(); @@ -557,7 +557,7 @@ IMPL_LINK_NOARG_TYPED(ScDbNameDlg, RemoveBtnHdl, Button*, void) m_pBtnDoSize->Check( false ); m_pBtnKeepFmt->Check( false ); m_pBtnStripData->Check( false ); - SetInfoStrings( NULL ); // leer + SetInfoStrings( nullptr ); // leer bSaved=false; pSaveObj->Restore(); NameModifyHdl( *m_pEdName ); |