diff options
author | Mathias Bauer <mba@openoffice.org> | 2001-07-20 16:42:55 +0000 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2001-07-20 16:42:55 +0000 |
commit | 9a3b85ecafeee7b73cb23335c0ee3315756e3d86 (patch) | |
tree | e42a11e6e0c46eb9bc70b083542df748c0654a37 /svtools/source/contnr | |
parent | 017bf752854b27f033d7c6c459ccd55beb7c7f69 (diff) |
#89666#: disable preview window
Diffstat (limited to 'svtools/source/contnr')
-rw-r--r-- | svtools/source/contnr/templwin.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/svtools/source/contnr/templwin.cxx b/svtools/source/contnr/templwin.cxx index 67c79b873e34..a713dea66954 100644 --- a/svtools/source/contnr/templwin.cxx +++ b/svtools/source/contnr/templwin.cxx @@ -2,9 +2,9 @@ * * $RCSfile: templwin.cxx,v $ * - * $Revision: 1.21 $ + * $Revision: 1.22 $ * - * last change: $Author: dv $ $Date: 2001-07-19 10:19:49 $ + * last change: $Author: mba $ $Date: 2001-07-20 17:42:55 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -773,6 +773,10 @@ void SvtFrameWindow_Impl::OpenFile( const String& rURL, sal_Bool bPreview, sal_B { if ( bPreview ) { + // disabling must be done here, does not work in ctor because + // execute of the dialog will overwrite it + // ( own execute method would help ) + pTextWin->EnableInput( FALSE, TRUE ); if ( pTextWin->IsReallyVisible() ) { Sequence < PropertyValue > aArgs( 2 ); |