summaryrefslogtreecommitdiff
path: root/sd/source/ui/framework/factories/ViewShellWrapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/framework/factories/ViewShellWrapper.cxx')
-rw-r--r--sd/source/ui/framework/factories/ViewShellWrapper.cxx2
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))