diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2007-08-28 08:50:40 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2007-08-28 08:50:40 +0000 |
commit | e2570b1d99e532507a442b3f03f7a3c1bdc368c7 (patch) | |
tree | 0b80e55ec1239b72f69a12d2f93940643a72a5eb /toolkit/source/awt/vclxwindow.cxx | |
parent | a53ed247129075404e8b1a5244e6c60123de7358 (diff) |
INTEGRATION: CWS impress128_SRC680 (1.77.10); FILE MERGED
2007/08/17 14:35:42 cl 1.77.10.1: #i80543# temporarely disable native widgets if a control is drawn on a vdev
Diffstat (limited to 'toolkit/source/awt/vclxwindow.cxx')
-rw-r--r-- | toolkit/source/awt/vclxwindow.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx index 9bcf38a5addd..58d412bff184 100644 --- a/toolkit/source/awt/vclxwindow.cxx +++ b/toolkit/source/awt/vclxwindow.cxx @@ -4,9 +4,9 @@ * * $RCSfile: vclxwindow.cxx,v $ * - * $Revision: 1.77 $ + * $Revision: 1.78 $ * - * last change: $Author: hr $ $Date: 2007-08-02 14:18:21 $ + * last change: $Author: vg $ $Date: 2007-08-28 09:50:40 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -2399,7 +2399,12 @@ void VCLXWindow::draw( sal_Int32 nX, sal_Int32 nY ) throw(::com::sun::star::uno: } else { + BOOL bOldNW =pWindow->IsNativeWidgetEnabled(); + if( bOldNW ) + pWindow->EnableNativeWidget(FALSE); pWindow->PaintToDevice( pDev, aP, aSz ); + if( bOldNW ) + pWindow->EnableNativeWidget(TRUE); } } } |