diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:11:17 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:18 +0100 |
commit | 40c4a086521703e64f7f182d8e07490855cfeb0a (patch) | |
tree | 713a700c6bc2966a3d8376c5c9da661e90fd2c50 /chart2/source/controller/dialogs/res_ErrorBar.cxx | |
parent | c40c7a8c364bd8f1d7777e803e5a6b0cfddeaca3 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I71de514405bb9bcc746c1ab9633e7fe659888943
Diffstat (limited to 'chart2/source/controller/dialogs/res_ErrorBar.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/res_ErrorBar.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chart2/source/controller/dialogs/res_ErrorBar.cxx b/chart2/source/controller/dialogs/res_ErrorBar.cxx index a77a042eedc9..2837307c6dbe 100644 --- a/chart2/source/controller/dialogs/res_ErrorBar.cxx +++ b/chart2/source/controller/dialogs/res_ErrorBar.cxx @@ -96,7 +96,7 @@ ErrorBarResources::ErrorBarResources( VclBuilderContainer* pParent, Dialog * pPa m_fPlusValue(0.0), m_fMinusValue(0.0), m_pParentDialog( pParentDialog ), - m_pCurrentRangeChoosingField( 0 ), + m_pCurrentRangeChoosingField( nullptr ), m_bHasInternalDataProvider( true ), m_bEnableDataTableDialog( true ) { @@ -342,7 +342,7 @@ void ErrorBarResources::UpdateControlStates() IMPL_LINK_NOARG_TYPED( ErrorBarResources, CategoryChosen2, ListBox&, void ) { - CategoryChosen(NULL); + CategoryChosen(nullptr); } IMPL_LINK_NOARG_TYPED( ErrorBarResources, CategoryChosen, Button*, void ) @@ -467,7 +467,7 @@ IMPL_LINK_TYPED( ErrorBarResources, ChooseRange, Button*, pButton, void ) aUIString, *this ); } else - m_pCurrentRangeChoosingField = 0; + m_pCurrentRangeChoosingField = nullptr; } IMPL_LINK_TYPED( ErrorBarResources, RangeChanged, Edit&, rEdit, void ) @@ -487,7 +487,7 @@ IMPL_LINK_TYPED( ErrorBarResources, RangeChanged, Edit&, rEdit, void ) void ErrorBarResources::Reset(const SfxItemSet& rInAttrs) { - const SfxPoolItem *pPoolItem = NULL; + const SfxPoolItem *pPoolItem = nullptr; // category m_eErrorKind = CHERROR_NONE; @@ -704,7 +704,7 @@ void ErrorBarResources::listeningFinished( PosValueChanged( *m_pMfPositive ); } - m_pCurrentRangeChoosingField = 0; + m_pCurrentRangeChoosingField = nullptr; UpdateControlStates(); OSL_ASSERT( m_pParentDialog ); |