diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:14:53 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:25 +0100 |
commit | f19dda5a55156afda2c6dde6c51c455cc5657fc2 (patch) | |
tree | a0ec501f676cf5ec67aaf0eb3b8572dc1bad0db0 /extensions/source/dbpilots | |
parent | e1e967a1bb0f4e4fac50f353c990389ccc73a053 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I5bbef6c88255f3e8c740a5239a5010cf1251b7fa
Diffstat (limited to 'extensions/source/dbpilots')
-rw-r--r-- | extensions/source/dbpilots/commonpagesdbp.cxx | 6 | ||||
-rw-r--r-- | extensions/source/dbpilots/controlwizard.cxx | 14 | ||||
-rw-r--r-- | extensions/source/dbpilots/groupboxwiz.cxx | 2 |
3 files changed, 11 insertions, 11 deletions
diff --git a/extensions/source/dbpilots/commonpagesdbp.cxx b/extensions/source/dbpilots/commonpagesdbp.cxx index e0e01c3f2f0d..dbd3ed256af9 100644 --- a/extensions/source/dbpilots/commonpagesdbp.cxx +++ b/extensions/source/dbpilots/commonpagesdbp.cxx @@ -378,9 +378,9 @@ namespace dbp OMaybeListSelectionPage::OMaybeListSelectionPage( OControlWizard* _pParent, const OString& _rID, const OUString& _rUIXMLDescription ) :OControlWizardPage(_pParent, _rID, _rUIXMLDescription) - ,m_pYes(NULL) - ,m_pNo(NULL) - ,m_pList(NULL) + ,m_pYes(nullptr) + ,m_pNo(nullptr) + ,m_pList(nullptr) { } diff --git a/extensions/source/dbpilots/controlwizard.cxx b/extensions/source/dbpilots/controlwizard.cxx index f758757d2fe3..2e8f25329dbb 100644 --- a/extensions/source/dbpilots/controlwizard.cxx +++ b/extensions/source/dbpilots/controlwizard.cxx @@ -75,12 +75,12 @@ namespace dbp OControlWizardPage::OControlWizardPage( OControlWizard* _pParent, const OString& rID, const OUString& rUIXMLDescription ) :OControlWizardPage_Base( _pParent, rID, rUIXMLDescription ) - ,m_pFormDatasourceLabel(NULL) - ,m_pFormDatasource(NULL) - ,m_pFormContentTypeLabel(NULL) - ,m_pFormContentType(NULL) - ,m_pFormTableLabel(NULL) - ,m_pFormTable(NULL) + ,m_pFormDatasourceLabel(nullptr) + ,m_pFormDatasource(nullptr) + ,m_pFormContentTypeLabel(nullptr) + ,m_pFormContentType(nullptr) + ,m_pFormTableLabel(nullptr) + ,m_pFormTable(nullptr) { } @@ -472,7 +472,7 @@ namespace dbp Reference< XInteractionHandler > xHandler; try { - xHandler.set( InteractionHandler::createWithParent(m_xContext, 0), UNO_QUERY_THROW ); + xHandler.set( InteractionHandler::createWithParent(m_xContext, nullptr), UNO_QUERY_THROW ); } catch(const Exception&) { } if (!xHandler.is()) diff --git a/extensions/source/dbpilots/groupboxwiz.cxx b/extensions/source/dbpilots/groupboxwiz.cxx index 35f190f712ac..391fc5a3189f 100644 --- a/extensions/source/dbpilots/groupboxwiz.cxx +++ b/extensions/source/dbpilots/groupboxwiz.cxx @@ -85,7 +85,7 @@ namespace dbp return VclPtr<OFinalizeGBWPage>::Create(this); } - return NULL; + return nullptr; } |