diff options
Diffstat (limited to 'sd/source/ui/sidebar/RecentMasterPagesSelector.cxx')
-rw-r--r-- | sd/source/ui/sidebar/RecentMasterPagesSelector.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/sidebar/RecentMasterPagesSelector.cxx b/sd/source/ui/sidebar/RecentMasterPagesSelector.cxx index c4492e837b87..f9a23f115aab 100644 --- a/sd/source/ui/sidebar/RecentMasterPagesSelector.cxx +++ b/sd/source/ui/sidebar/RecentMasterPagesSelector.cxx @@ -38,8 +38,8 @@ VclPtr<vcl::Window> RecentMasterPagesSelector::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()); @@ -100,7 +100,7 @@ void RecentMasterPagesSelector::Fill (ItemList& rItemList) for (nIndex=0; nIndex<nMasterPageCount; nIndex++) { SdPage* pMasterPage = mrDocument.GetMasterSdPage (nIndex, PK_STANDARD); - if (pMasterPage != NULL) + if (pMasterPage != nullptr) aCurrentNames.insert (pMasterPage->GetName()); } |