summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorTino Rachui <tra@openoffice.org>2002-07-29 10:53:17 +0000
committerTino Rachui <tra@openoffice.org>2002-07-29 10:53:17 +0000
commitbae86575845f96c2332b5d744c41686defa1bb43 (patch)
treebb4802f05bd3577a5a8bf1cebe7604e25edf418c /fpicker
parente17c4084a3cab9766e3a0a8d506835b72a4c9f26 (diff)
#101753#disabled assertion because of deadlock
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/win32/filepicker/filepickerstate.cxx15
1 files changed, 12 insertions, 3 deletions
diff --git a/fpicker/source/win32/filepicker/filepickerstate.cxx b/fpicker/source/win32/filepicker/filepickerstate.cxx
index bc45fd2f27d9..a5934479d7eb 100644
--- a/fpicker/source/win32/filepicker/filepickerstate.cxx
+++ b/fpicker/source/win32/filepicker/filepickerstate.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: filepickerstate.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: hro $ $Date: 2002-01-10 18:24:06 $
+ * last change: $Author: tra $ $Date: 2002-07-29 11:53:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -200,7 +200,16 @@ Any SAL_CALL CNonExecuteFilePickerState::getValue( sal_Int16 aControlId, sal_Int
if ( result.get() )
{
- OSL_ENSURE( result->hasResult( ), "invalid getValue request" );
+ // #101753 must remove assertion else running into deadlock
+ // because getValue may be called asynchronously from main thread
+ // with locked SOLAR_MUTEX but we also need SOLAR_MUTEX in
+ // WinFileOpenDialog::onInitDone ... but we cannot dismiss the
+ // assertion dialog because at this point the FileOpen Dialog
+ // has aleady the focus but is not yet visible :-(
+ // The real cure is to remove the VCL/SOLAR_MUTEX dependency
+ // cause by the use of our resource manager and not being able to
+ // generate native windows resources
+ //OSL_ENSURE( result->hasResult( ), "invalid getValue request" );
if ( result->hasResult( ) )
{