diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:13:27 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:22 +0100 |
commit | b58d56c5109f4cf6cacfc8e9c424b179a65bf1f1 (patch) | |
tree | bc7dcc71437367b193cb18dc5011c98ceb8c2c8b /cui/source/dialogs/thesdlg.cxx | |
parent | 5185569e502240a064ef78d06d9de7fbbd93f3b6 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I7257532b90e3e393d56d5349531c9ad397523bca
Diffstat (limited to 'cui/source/dialogs/thesdlg.cxx')
-rw-r--r-- | cui/source/dialogs/thesdlg.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cui/source/dialogs/thesdlg.cxx b/cui/source/dialogs/thesdlg.cxx index b06ec7d05e0b..80f9ae290581 100644 --- a/cui/source/dialogs/thesdlg.cxx +++ b/cui/source/dialogs/thesdlg.cxx @@ -57,7 +57,7 @@ using namespace ::com::sun::star; LookUpComboBox::LookUpComboBox(vcl::Window *pParent) : ComboBox(pParent, WB_LEFT|WB_DROPDOWN|WB_VCENTER|WB_3DLOOK|WB_TABSTOP) - , m_pDialog(NULL) + , m_pDialog(nullptr) { EnableAutoSize(true); @@ -100,7 +100,7 @@ IMPL_LINK_NOARG_TYPED( LookUpComboBox, ModifyTimer_Hdl, Idle *, void ) ReplaceEdit::ReplaceEdit(vcl::Window *pParent) : Edit(pParent, WB_BORDER | WB_TABSTOP) - , m_pBtn(NULL) + , m_pBtn(nullptr) { } @@ -167,7 +167,7 @@ void AlternativesString::Paint(const Point& rPos, SvTreeListBox& /*rDev*/, vcl:: ThesaurusAlternativesCtrl::ThesaurusAlternativesCtrl(vcl::Window* pParent) : SvxCheckListBox(pParent) - , m_pDialog(NULL) + , m_pDialog(nullptr) { SetStyle( GetStyle() | WB_CLIPCHILDREN | WB_HSCROLL | WB_FORCE_MAKEVISIBLE ); SetHighlightRange(); @@ -215,7 +215,7 @@ void ThesaurusAlternativesCtrl::SetExtraData( AlternativesExtraData * ThesaurusAlternativesCtrl::GetExtraData( const SvTreeListEntry *pEntry ) { - AlternativesExtraData *pRes = NULL; + AlternativesExtraData *pRes = nullptr; UserDataMap_t::iterator aIt( m_aUserData.find( pEntry ) ); if (aIt != m_aUserData.end()) pRes = &aIt->second; @@ -395,7 +395,7 @@ IMPL_LINK_TYPED( SvxThesaurusDialog, WordSelectHdl_Impl, ComboBox&, rBox, void ) IMPL_LINK_TYPED( SvxThesaurusDialog, AlternativesSelectHdl_Impl, SvTreeListBox *, pBox, void ) { - SvTreeListEntry *pEntry = pBox ? pBox->GetCurEntry() : NULL; + SvTreeListEntry *pEntry = pBox ? pBox->GetCurEntry() : nullptr; if (pEntry) { AlternativesExtraData * pData = m_pAlternativesCT->GetExtraData( pEntry ); @@ -411,7 +411,7 @@ IMPL_LINK_TYPED( SvxThesaurusDialog, AlternativesSelectHdl_Impl, SvTreeListBox * IMPL_LINK_TYPED( SvxThesaurusDialog, AlternativesDoubleClickHdl_Impl, SvTreeListBox*, pBox, bool ) { - SvTreeListEntry *pEntry = pBox ? pBox->GetCurEntry() : NULL; + SvTreeListEntry *pEntry = pBox ? pBox->GetCurEntry() : nullptr; if (pEntry) { AlternativesExtraData * pData = m_pAlternativesCT->GetExtraData( pEntry ); @@ -449,7 +449,7 @@ SvxThesaurusDialog::SvxThesaurusDialog( LanguageType nLanguage) : SvxStandardDialog(pParent, "ThesaurusDialog", "cui/ui/thesaurus.ui") , m_aErrStr(CUI_RESSTR(RID_SVXSTR_ERR_TEXTNOTFOUND)) - , xThesaurus(NULL) + , xThesaurus(nullptr) , aLookUpText() , nLookUpLanguage(LANGUAGE_NONE) , m_bWordFound(false) |