diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:25:28 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:50 +0100 |
commit | 6cd7bf2043146a630925a2e49336f02c802f707a (patch) | |
tree | 786cecd8ab993e25cda497d45b68007050c30d61 /svx/source/inc/filtnav.hxx | |
parent | 28f4bee7bd7378141d8569186162e1a3166eb012 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I71682f28c6a54d33da6b0c971f34d0a705ff04f5
Diffstat (limited to 'svx/source/inc/filtnav.hxx')
-rw-r--r-- | svx/source/inc/filtnav.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/inc/filtnav.hxx b/svx/source/inc/filtnav.hxx index d00a9676587e..891d904928a0 100644 --- a/svx/source/inc/filtnav.hxx +++ b/svx/source/inc/filtnav.hxx @@ -63,7 +63,7 @@ class FmFilterData public: TYPEINFO(); - FmFilterData(FmParentData* pParent = NULL, const OUString& rText = OUString()) + FmFilterData(FmParentData* pParent = nullptr, const OUString& rText = OUString()) :m_pParent( pParent ) ,m_aText( rText ) {} @@ -125,7 +125,7 @@ class FmFilterItems : public FmParentData { public: TYPEINFO_OVERRIDE(); - FmFilterItems() : FmParentData(NULL, OUString()) {} + FmFilterItems() : FmParentData(nullptr, OUString()) {} FmFilterItems(FmFormItem* pParent, const OUString& rText ) : FmParentData(pParent, rText) {} FmFilterItem* Find( const ::sal_Int32 _nFilterComponentIndex ) const; @@ -176,7 +176,7 @@ public: void Append(FmFilterItems* pItems, FmFilterItem* pFilterItem); void SetTextForItem(FmFilterItem* pItem, const OUString& rText); - FmFormItem* GetCurrentForm() const {return m_pCurrentItems ? static_cast<FmFormItem*>(m_pCurrentItems->GetParent()) : NULL;} + FmFormItem* GetCurrentForm() const {return m_pCurrentItems ? static_cast<FmFormItem*>(m_pCurrentItems->GetParent()) : nullptr;} FmFilterItems* GetCurrentItems() const {return m_pCurrentItems;} void SetCurrentItems(FmFilterItems* pCurrent); @@ -301,8 +301,8 @@ private: * If <TRUE/> the items will not be removed from the model, otherwise they will. */ void insertFilterItem(const ::std::vector<FmFilterItem*>& _rFilterList,FmFilterItems* _pTargetItems, bool _bCopy = false); - SvTreeListEntry* getPrevEntry(SvTreeListEntry* _pStartWith = NULL); - SvTreeListEntry* getNextEntry(SvTreeListEntry* _pStartWith = NULL); + SvTreeListEntry* getPrevEntry(SvTreeListEntry* _pStartWith = nullptr); + SvTreeListEntry* getNextEntry(SvTreeListEntry* _pStartWith = nullptr); using SvTreeListBox::Select; using SvTreeListBox::ExecuteDrop; |