summaryrefslogtreecommitdiff
path: root/sd/source/ui/unoidl/SdUnoOutlineView.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/unoidl/SdUnoOutlineView.cxx')
-rw-r--r--sd/source/ui/unoidl/SdUnoOutlineView.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/unoidl/SdUnoOutlineView.cxx b/sd/source/ui/unoidl/SdUnoOutlineView.cxx
index da661fa39983..a88385d07769 100644
--- a/sd/source/ui/unoidl/SdUnoOutlineView.cxx
+++ b/sd/source/ui/unoidl/SdUnoOutlineView.cxx
@@ -87,10 +87,10 @@ void SAL_CALL SdUnoOutlineView::setCurrentPage (
throw(RuntimeException, std::exception)
{
SvxDrawPage* pDrawPage = SvxDrawPage::getImplementation( xPage );
- SdrPage *pSdrPage = pDrawPage ? pDrawPage->GetSdrPage() : NULL;
+ SdrPage *pSdrPage = pDrawPage ? pDrawPage->GetSdrPage() : nullptr;
SdPage *pSdPage = dynamic_cast<SdPage*>(pSdrPage);
- if (pSdPage != NULL)
+ if (pSdPage != nullptr)
mrOutlineViewShell.SetCurrentPage(pSdPage);
}
@@ -100,7 +100,7 @@ Reference< drawing::XDrawPage > SAL_CALL SdUnoOutlineView::getCurrentPage()
Reference<drawing::XDrawPage> xPage;
SdPage* pPage = mrOutlineViewShell.getCurrentPage();
- if (pPage != NULL)
+ if (pPage != nullptr)
xPage.set(pPage->getUnoPage(), UNO_QUERY);
return xPage;
@@ -143,7 +143,7 @@ Any SAL_CALL SdUnoOutlineView::getFastPropertyValue (
case DrawController::PROPERTY_CURRENTPAGE:
{
SdPage* pPage = const_cast<OutlineViewShell&>(mrOutlineViewShell).GetActualPage();
- if (pPage != NULL)
+ if (pPage != nullptr)
aValue <<= pPage->getUnoPage();
}
break;