diff options
Diffstat (limited to 'sd/source/ui/dlg/PaneChildWindows.cxx')
-rw-r--r-- | sd/source/ui/dlg/PaneChildWindows.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/dlg/PaneChildWindows.cxx b/sd/source/ui/dlg/PaneChildWindows.cxx index a8f6306a8865..e26beeca4721 100644 --- a/sd/source/ui/dlg/PaneChildWindows.cxx +++ b/sd/source/ui/dlg/PaneChildWindows.cxx @@ -66,7 +66,7 @@ PaneChildWindow::PaneChildWindow ( SetHideNotDelete(true); ViewShellBase* pBase = ViewShellBase::GetViewShellBase(pBindings->GetDispatcher()->GetFrame()); - if (pBase != NULL) + if (pBase != nullptr) { framework::FrameworkHelper::Instance(*pBase)->UpdateConfiguration(); } @@ -74,12 +74,12 @@ PaneChildWindow::PaneChildWindow ( PaneChildWindow::~PaneChildWindow() { - ViewShellBase* pBase = NULL; + ViewShellBase* pBase = nullptr; PaneDockingWindow* pDockingWindow = dynamic_cast<PaneDockingWindow*>(GetWindow()); - if (pDockingWindow != NULL) + if (pDockingWindow != nullptr) pBase = ViewShellBase::GetViewShellBase( pDockingWindow->GetBindings().GetDispatcher()->GetFrame()); - if (pBase != NULL) + if (pBase != nullptr) framework::FrameworkHelper::Instance(*pBase)->UpdateConfiguration(); } |