summaryrefslogtreecommitdiff
path: root/sd/source/ui/framework/factories/ChildWindowPane.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/framework/factories/ChildWindowPane.cxx')
-rw-r--r--sd/source/ui/framework/factories/ChildWindowPane.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/framework/factories/ChildWindowPane.cxx b/sd/source/ui/framework/factories/ChildWindowPane.cxx
index 4f373fe33209..3ad243701290 100644
--- a/sd/source/ui/framework/factories/ChildWindowPane.cxx
+++ b/sd/source/ui/framework/factories/ChildWindowPane.cxx
@@ -134,7 +134,7 @@ vcl::Window* ChildWindowPane::GetWindow()
// visible to early then some layouting seems to be made twice or at
// an inconvenient time and the overall process of initializing the
// Impress takes longer.
- if ( ! mbHasBeenActivated && mpShell.get()!=nullptr && ! mpShell->IsActive())
+ if (!mbHasBeenActivated && mpShell != nullptr && !mpShell->IsActive())
break;
mbHasBeenActivated = true;