Kaydet (Commit) e21083ae authored tarafından Oliver Bolte's avatar Oliver Bolte

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
üst 07f97d76
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment