diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-10-18 11:06:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-10-18 15:09:34 +0200 |
commit | 0e19bb2583717a0284e95f47b1094a5849dfeeaf (patch) | |
tree | 2c66373f6b174a4fdbdfdae89dfcadbeabaf238e /vcl | |
parent | f1ca64800074530d95e507f93c764a687310b9eb (diff) |
weld SdPresLayoutTemplateDlg
Change-Id: Ifc4c9a4631e92eee4b7f9b215c41d2bcc12a17d1
Reviewed-on: https://gerrit.libreoffice.org/61926
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/tabpage.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/tabpage.cxx b/vcl/source/window/tabpage.cxx index a9d44ffa20e1..8cfd6243f9fe 100644 --- a/vcl/source/window/tabpage.cxx +++ b/vcl/source/window/tabpage.cxx @@ -47,7 +47,7 @@ void TabPage::ImplInit( vcl::Window* pParent, WinBits nStyle ) void TabPage::ImplInitSettings() { vcl::Window* pParent = GetParent(); - if ( pParent->IsChildTransparentModeEnabled() && !IsControlBackground() ) + if (pParent && pParent->IsChildTransparentModeEnabled() && !IsControlBackground()) { EnableChildTransparentMode(); SetParentClipMode( ParentClipMode::NoClip ); |