diff options
-rw-r--r-- | basctl/source/basicide/objdlg.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/basctl/source/basicide/objdlg.cxx b/basctl/source/basicide/objdlg.cxx index d8b9538aff3d..2371c3facad3 100644 --- a/basctl/source/basicide/objdlg.cxx +++ b/basctl/source/basicide/objdlg.cxx @@ -98,8 +98,11 @@ void ObjectCatalog::ToggleFloatingMode () } // ArrangeWindows() -- arranges the controls to the size of the ObjectCatalog -void ObjectCatalog::ArrangeWindows () +void ObjectCatalog::ArrangeWindows() { + if (!aTitle || !aTree) + return; + Size const aSize = GetOutputSizePixel(); bool const bFloating = IsFloatingMode(); |