diff options
Diffstat (limited to 'sd/source/ui/framework/factories/ViewShellWrapper.cxx')
-rw-r--r-- | sd/source/ui/framework/factories/ViewShellWrapper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/framework/factories/ViewShellWrapper.cxx b/sd/source/ui/framework/factories/ViewShellWrapper.cxx index cd38dc210db8..488cad3b1932 100644 --- a/sd/source/ui/framework/factories/ViewShellWrapper.cxx +++ b/sd/source/ui/framework/factories/ViewShellWrapper.cxx @@ -196,7 +196,7 @@ sal_Bool SAL_CALL ViewShellWrapper::relocateToAnchor ( xWindow->removeWindowListener(this); mxWindow = nullptr; - if (mpViewShell.get() != nullptr) + if (mpViewShell != nullptr) { VclPtr<vcl::Window> pWindow = VCLUnoHelper::GetWindow(xPane->getWindow()); if (pWindow && mpViewShell->RelocateToParentWindow(pWindow)) |