summaryrefslogtreecommitdiff
path: root/vcl/README.lifecycle
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-10-18 16:47:23 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-10-19 17:33:33 +0200
commit66df14370e9e2d633369b446954d2a0bc0064ab6 (patch)
tree85ff5bb49f3723ad5088d2ab52ce3a2954cff06c /vcl/README.lifecycle
parent3fb1417804a7f6f1e39e94d62f7f9199fd53a9bb (diff)
drop unused ModalDialog class
Change-Id: I3186b63d4c6c437ff0c0653a6b6c7fd61ae69304 Reviewed-on: https://gerrit.libreoffice.org/81069 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/README.lifecycle')
-rw-r--r--vcl/README.lifecycle4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/README.lifecycle b/vcl/README.lifecycle
index c7dc05812b03..a309b65ef9ea 100644
--- a/vcl/README.lifecycle
+++ b/vcl/README.lifecycle
@@ -308,11 +308,11 @@ ways and often both.
Window that has already been destroyed. This can easily
happen via this sort of pattern:
- ModalDialog *pDlg = VclPtr<ModalDialog>(nullptr /* parent */);
+ Dialog *pDlg = VclPtr<Dialog>(nullptr /* parent */);
// by here the pDlg quite probably points to free'd memory...
It is necessary in these cases to ensure that the *pDlg is
- a VclPtr<ModalDialog> instead.
+ a VclPtr<Dialog> instead.
** It crashes with some invalid memory #2...