diff options
-rw-r--r-- | svx/source/tbxctrls/tbcontrl.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index c60f81a95e75..0dc30fa42043 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -1638,7 +1638,8 @@ vcl::Window* SvxFrameWindow_Impl::GetPreferredKeyInputWindow() void SvxFrameWindow_Impl::GetFocus() { - aFrameSet->GrabFocus(); + if (aFrameSet) + aFrameSet->GrabFocus(); } void SvxFrameWindow_Impl::DataChanged( const DataChangedEvent& rDCEvt ) |