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/dialog/rubydialog.cxx | |
parent | 28f4bee7bd7378141d8569186162e1a3166eb012 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I71682f28c6a54d33da6b0c971f34d0a705ff04f5
Diffstat (limited to 'svx/source/dialog/rubydialog.cxx')
-rw-r--r-- | svx/source/dialog/rubydialog.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/dialog/rubydialog.cxx b/svx/source/dialog/rubydialog.cxx index e1a7b9d8b8e6..6e308197ffa7 100644 --- a/svx/source/dialog/rubydialog.cxx +++ b/svx/source/dialog/rubydialog.cxx @@ -99,7 +99,7 @@ public: Reference<XModel> GetModel() { if (!xController.is()) - xModel = 0; + xModel = nullptr; else xModel = xController->getModel(); return xModel; @@ -181,7 +181,7 @@ void SvxRubyData_Impl::disposing(const EventObject&) throw (RuntimeException, st catch (const Exception&) { } - xController = 0; + xController = nullptr; } void SvxRubyData_Impl::AssertOneEntry() @@ -326,7 +326,7 @@ bool SvxRubyDialog::Close() void SvxRubyDialog::Activate() { SfxModelessDialog::Activate(); - SfxPoolItem* pState = 0; + SfxPoolItem* pState = nullptr; SfxItemState eState = pBindings->QueryState( SID_STYLE_DESIGNER, pState ); bool bEnable = (eState < SfxItemState::DEFAULT) || !pState || !static_cast<SfxBoolItem*>(pState)->GetValue(); delete pState; @@ -778,7 +778,7 @@ void SvxRubyDialog::EnableControls(bool bEnable) RubyPreview::RubyPreview(vcl::Window *pParent) : Window(pParent, WB_BORDER) - , m_pParentDlg(NULL) + , m_pParentDlg(nullptr) { SetBorderStyle(WindowBorderStyle::MONO); } |