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/model/main/Axis.cxx | |
parent | c40c7a8c364bd8f1d7777e803e5a6b0cfddeaca3 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I71de514405bb9bcc746c1ab9633e7fe659888943
Diffstat (limited to 'chart2/source/model/main/Axis.cxx')
-rw-r--r-- | chart2/source/model/main/Axis.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/model/main/Axis.cxx b/chart2/source/model/main/Axis.cxx index 79855d68ac44..b8040e7b5648 100644 --- a/chart2/source/model/main/Axis.cxx +++ b/chart2/source/model/main/Axis.cxx @@ -406,7 +406,7 @@ Axis::~Axis() if( m_aScaleData.Categories.is()) { ModifyListenerHelper::removeListener( m_aScaleData.Categories, m_xModifyEventForwarder ); - m_aScaleData.Categories.set(0); + m_aScaleData.Categories.set(nullptr); } } catch( const uno::Exception & ex ) @@ -415,8 +415,8 @@ Axis::~Axis() } m_aSubGridProperties.realloc(0); - m_xGrid = 0; - m_xTitle = 0; + m_xGrid = nullptr; + m_xTitle = nullptr; } void Axis::AllocateSubGrids() @@ -601,7 +601,7 @@ void SAL_CALL Axis::disposing( const lang::EventObject& Source ) throw (uno::RuntimeException, std::exception) { if( Source.Source == m_aScaleData.Categories ) - m_aScaleData.Categories = 0; + m_aScaleData.Categories = nullptr; } // ____ OPropertySet ____ |