diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-03-24 11:49:09 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-03-24 11:49:09 +0000 |
commit | a5d1f25e655b617074dc7e487080fcd02e2936e5 (patch) | |
tree | 47ffd5aad0cdb372a10dd5c4fb37a34649306c86 /fpicker/source | |
parent | 81b2a303708020c5f17540e17915fe0400e65625 (diff) |
INTEGRATION: CWS fwk33 (1.4.34); FILE MERGED
2006/03/10 10:42:08 mav 1.4.34.1: #i47369# check the dialog existance after yielding
Diffstat (limited to 'fpicker/source')
-rw-r--r-- | fpicker/source/office/OfficeFilePicker.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/fpicker/source/office/OfficeFilePicker.cxx b/fpicker/source/office/OfficeFilePicker.cxx index 433dde7260..0260538fd9 100644 --- a/fpicker/source/office/OfficeFilePicker.cxx +++ b/fpicker/source/office/OfficeFilePicker.cxx @@ -4,9 +4,9 @@ * * $RCSfile: OfficeFilePicker.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: rt $ $Date: 2005-11-11 11:39:08 $ + * last change: $Author: obo $ $Date: 2006-03-24 12:49:09 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -504,7 +504,9 @@ sal_Int16 SvtFilePicker::implExecutePicker( ) // now we are ready to execute the dialog sal_Int16 nRet = getDialog()->Execute(); - getDialog()->SetFileCallback( NULL ); + // the execution of the dialog yields, so it is possible the at this point the window or the dialog is closed + if ( getDialog() ) + getDialog()->SetFileCallback( NULL ); return nRet; } |