diff options
Diffstat (limited to 'sd/source/ui/framework/factories/ViewShellWrapper.cxx')
-rw-r--r-- | sd/source/ui/framework/factories/ViewShellWrapper.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sd/source/ui/framework/factories/ViewShellWrapper.cxx b/sd/source/ui/framework/factories/ViewShellWrapper.cxx index 41bdda7a8de7..079f4bbf3e7a 100644 --- a/sd/source/ui/framework/factories/ViewShellWrapper.cxx +++ b/sd/source/ui/framework/factories/ViewShellWrapper.cxx @@ -206,12 +206,12 @@ sal_Bool SAL_CALL ViewShellWrapper::relocateToAnchor ( Reference<awt::XWindow> xWindow (mxWindow); if (xWindow.is()) xWindow->removeWindowListener(this); - mxWindow = NULL; + mxWindow = nullptr; - if (mpViewShell.get() != NULL) + if (mpViewShell.get() != nullptr) { vcl::Window* pWindow = VCLUnoHelper::GetWindow(xPane->getWindow()); - if (pWindow != NULL && mpViewShell->RelocateToParentWindow(pWindow)) + if (pWindow != nullptr && mpViewShell->RelocateToParentWindow(pWindow)) { bResult = true; @@ -262,7 +262,7 @@ void SAL_CALL ViewShellWrapper::windowResized (const awt::WindowEvent& rEvent) { (void)rEvent; ViewShell* pViewShell (mpViewShell.get()); - if (pViewShell != NULL) + if (pViewShell != nullptr) pViewShell->Resize(); } @@ -277,7 +277,7 @@ void SAL_CALL ViewShellWrapper::windowShown (const lang::EventObject& rEvent) { (void)rEvent; ViewShell* pViewShell (mpViewShell.get()); - if (pViewShell != NULL) + if (pViewShell != nullptr) pViewShell->Resize(); } @@ -293,7 +293,7 @@ void SAL_CALL ViewShellWrapper::disposing (const lang::EventObject& rEvent) throw (RuntimeException, std::exception) { if (rEvent.Source == mxWindow) - mxWindow = NULL; + mxWindow = nullptr; } } } // end of namespace sd::framework |