summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-02-27 15:39:58 +0000
committerMichael Meeks <michael.meeks@collabora.com>2015-04-09 22:24:38 +0100
commit292990396aefdae15b91f2df395da4b52d5e3f6a (patch)
treedca1fd853d0dcfff0cfe929f7dda8a3c785f9efa /vcl
parent7fd0cd651dbca1df4ea94b949e9e8e5b0fab1830 (diff)
sw: more double dispose work.
Change-Id: I746623d14a96bb1b2756e49da4d41adf9dbc55ca
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/window.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 101ba16fb8b8..d21b70c06113 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -2530,6 +2530,8 @@ void Window::GetBorder( sal_Int32& rLeftBorder, sal_Int32& rTopBorder,
void Window::Enable( bool bEnable, bool bChild )
{
+ if ( IsDisposed() )
+ return;
if ( !bEnable )
{