| commit | 1a84b1c3978c691b857d481826dbe160666eb3ea | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Mon Mar 25 13:41:58 2019 +0000 |
| committer | Caolán McNamara <caolanm@redhat.com> | Mon Mar 25 22:15:25 2019 +0100 |
| tree | 5c3cf1e58b1e0a8a18c0c2149642e4e7c678f21b | |
| parent | 8fb0a3dd9f3dc68bdd5670d2d071e6f225111dc7 [diff] |
Resolves: tdf#124319 crash on restoring redline SfxChildWin Change-Id: I585ce6403e256652ebfc0ccb8ba25daa9c3e34e8 Reviewed-on: https://gerrit.libreoffice.org/69676 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/sw/source/uibase/fldui/fldwrap.cxx b/sw/source/uibase/fldui/fldwrap.cxx index c65c1d1..69cb72d 100644 --- a/sw/source/uibase/fldui/fldwrap.cxx +++ b/sw/source/uibase/fldui/fldwrap.cxx
@@ -45,7 +45,10 @@ SwChildWinWrapper::SwChildWinWrapper(vcl::Window *pParentWindow, sal_uInt16 nId) IMPL_LINK_NOARG(SwChildWinWrapper, UpdateHdl, Timer *, void) { GetController()->Activate(); // update dialog if (GetController()) GetController()->Activate(); // update dialog else if (GetWindow()) GetWindow()->Activate(); // update dialog } // newly initialise dialog after Doc switch