diff options
Diffstat (limited to 'sd/source/ui/sidebar/AllMasterPagesSelector.cxx')
-rw-r--r-- | sd/source/ui/sidebar/AllMasterPagesSelector.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/sidebar/AllMasterPagesSelector.cxx b/sd/source/ui/sidebar/AllMasterPagesSelector.cxx index 769ffd1aac77..9654c7b85877 100644 --- a/sd/source/ui/sidebar/AllMasterPagesSelector.cxx +++ b/sd/source/ui/sidebar/AllMasterPagesSelector.cxx @@ -83,8 +83,8 @@ VclPtr<vcl::Window> AllMasterPagesSelector::Create ( const css::uno::Reference<css::ui::XSidebar>& rxSidebar) { SdDrawDocument* pDocument = rViewShellBase.GetDocument(); - if (pDocument == NULL) - return NULL; + if (pDocument == nullptr) + return nullptr; std::shared_ptr<MasterPageContainer> pContainer (new MasterPageContainer()); |