diff options
Diffstat (limited to 'vcl/source/window/btndlg.cxx')
-rw-r--r-- | vcl/source/window/btndlg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/btndlg.cxx b/vcl/source/window/btndlg.cxx index ec9589aea781..6ad603ab1a76 100644 --- a/vcl/source/window/btndlg.cxx +++ b/vcl/source/window/btndlg.cxx @@ -101,7 +101,7 @@ ImplBtnDlgItem* ButtonDialog::ImplGetItem( sal_uInt16 nId ) const return &(*it); } - return NULL; + return nullptr; } long ButtonDialog::ImplGetButtonSize() @@ -236,7 +236,7 @@ void ButtonDialog::StateChanged( StateChangedType nType ) for (auto & it : m_ItemList) { if ( it->mpPushButton && it->mbOwnButton ) - it->mpPushButton->SetZOrder(0, ZOrderFlags::Last); + it->mpPushButton->SetZOrder(nullptr, ZOrderFlags::Last); } // Set focus on default button. @@ -366,7 +366,7 @@ PushButton* ButtonDialog::GetPushButton( sal_uInt16 nId ) const if ( pItem ) return pItem->mpPushButton; else - return NULL; + return nullptr; } void ButtonDialog::SetButtonText( sal_uInt16 nId, const OUString& rText ) |