summaryrefslogtreecommitdiff
path: root/fpicker/source/aqua
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2009-05-29 13:09:31 +0000
committerKurt Zenker <kz@openoffice.org>2009-05-29 13:09:31 +0000
commit716f5e03ab91205c67e9c64c5ba7cd25742b6ad4 (patch)
treec8432b9dd116b4a86e694af3b6252e6fd9bf4ecd /fpicker/source/aqua
parent2ed1e05dbe61796d72bb2a97312f9f7a9ca57399 (diff)
CWS-TOOLING: integrate CWS macrofpicker01
2009-03-21 22:07:29 +0100 fheckl r269842 : Issue 100214 fix for dummy mode without initialization
Diffstat (limited to 'fpicker/source/aqua')
-rw-r--r--fpicker/source/aqua/SalAquaFilePicker.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/fpicker/source/aqua/SalAquaFilePicker.cxx b/fpicker/source/aqua/SalAquaFilePicker.cxx
index ef0cde863f2b..5cd5247dac37 100644
--- a/fpicker/source/aqua/SalAquaFilePicker.cxx
+++ b/fpicker/source/aqua/SalAquaFilePicker.cxx
@@ -192,8 +192,10 @@ sal_Int16 SAL_CALL SalAquaFilePicker::execute() throw( uno::RuntimeException )
implInitialize();
// if m_pDialog is nil after initialization, something must have gone wrong before
+ // or there was no initialization (see issue http://www.openoffice.org/issues/show_bug.cgi?id=100214)
if (m_pDialog == nil) {
- throw uno::RuntimeException(rtl::OUString::createFromAscii("The dialog was not properly initialized!"), static_cast< XFilePicker* >( this ));
+ //throw uno::RuntimeException(rtl::OUString::createFromAscii("The dialog was not properly initialized!"), static_cast< XFilePicker* >( this ));
+ m_nDialogType = NAVIGATIONSERVICES_OPEN;
}
if (m_pFilterHelper) {