diff options
Diffstat (limited to 'sd/source/ui/slidesorter/controller/SlsSelectionManager.cxx')
-rw-r--r-- | sd/source/ui/slidesorter/controller/SlsSelectionManager.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsSelectionManager.cxx b/sd/source/ui/slidesorter/controller/SlsSelectionManager.cxx index 4d7e7d7480d5..66c47a969f69 100644 --- a/sd/source/ui/slidesorter/controller/SlsSelectionManager.cxx +++ b/sd/source/ui/slidesorter/controller/SlsSelectionManager.cxx @@ -216,7 +216,7 @@ void SelectionManager::SelectionHasChanged (const bool bMakeSelectionVisible) mbIsMakeSelectionVisiblePending = true; ViewShell* pViewShell = mrSlideSorter.GetViewShell(); - if (pViewShell != NULL) + if (pViewShell != nullptr) { pViewShell->Invalidate (SID_EXPAND_PAGE); pViewShell->Invalidate (SID_SUMMARY_PAGE); @@ -232,13 +232,13 @@ void SelectionManager::SelectionHasChanged (const bool bMakeSelectionVisible) OSL_ASSERT(mrController.GetCurrentSlideManager()); SharedPageDescriptor pDescriptor(mrController.GetCurrentSlideManager()->GetCurrentSlide()); - if (pDescriptor.get() != NULL) + if (pDescriptor.get() != nullptr) pViewShell->UpdatePreview(pDescriptor->GetPage()); // Tell the selection change listeners that the selection has changed. for (auto& rLink : maSelectionChangeListeners) { - rLink.Call(NULL); + rLink.Call(nullptr); } // Reset the insertion position: until set again it is calculated from |