summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/vclxdevice.cxx
diff options
context:
space:
mode:
authorMalte Timmermann <mt@openoffice.org>2001-05-15 11:34:01 +0000
committerMalte Timmermann <mt@openoffice.org>2001-05-15 11:34:01 +0000
commit6c3deeb15a358a7b9c779d8c3e57269cd95b77c2 (patch)
tree1a1be6067e30e1a1d36e04e0bdcf796d4082bdd4 /toolkit/source/awt/vclxdevice.cxx
parent82a5b5856eb3a8f6530ad89e3fb56f5f1fd57518 (diff)
#86489# Lock solar mutex before calling DestroyOutputDevice...
Diffstat (limited to 'toolkit/source/awt/vclxdevice.cxx')
-rw-r--r--toolkit/source/awt/vclxdevice.cxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/toolkit/source/awt/vclxdevice.cxx b/toolkit/source/awt/vclxdevice.cxx
index 79298c2fbda2..deef35ba7b4e 100644
--- a/toolkit/source/awt/vclxdevice.cxx
+++ b/toolkit/source/awt/vclxdevice.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: vclxdevice.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 17:02:08 $
+ * last change: $Author: mt $ $Date: 2001-05-15 12:34:01 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -267,4 +267,11 @@ IMPL_XTYPEPROVIDER_END
}
+VCLXVirtualDevice::~VCLXVirtualDevice()
+{
+ ::vos::OGuard aGuard( GetMutex() );
+
+ DestroyOutputDevice();
+}
+