diff options
author | Oliver Bolte <obo@openoffice.org> | 2009-02-19 12:12:48 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2009-02-19 12:12:48 +0000 |
commit | 34fed870ec0c36bab0fb93a1eca4abc871c29ce3 (patch) | |
tree | 4c21e289e2e1f84cac4dc158661a453ba17077eb /fpicker/source | |
parent | 42d2cd944905e73f9f45b549f4d7650b28ff6665 (diff) |
CWS-TOOLING: integrate CWS aquafilepicker03
2009-01-16 00:15:29 +0100 fheckl r266397 : Issue 90219 fixed
Diffstat (limited to 'fpicker/source')
-rw-r--r-- | fpicker/source/aqua/SalAquaFilePicker.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fpicker/source/aqua/SalAquaFilePicker.cxx b/fpicker/source/aqua/SalAquaFilePicker.cxx index c590e078700b..ef0cde863f2b 100644 --- a/fpicker/source/aqua/SalAquaFilePicker.cxx +++ b/fpicker/source/aqua/SalAquaFilePicker.cxx @@ -191,6 +191,11 @@ sal_Int16 SAL_CALL SalAquaFilePicker::execute() throw( uno::RuntimeException ) implInitialize(); + // if m_pDialog is nil after initialization, something must have gone wrong before + if (m_pDialog == nil) { + throw uno::RuntimeException(rtl::OUString::createFromAscii("The dialog was not properly initialized!"), static_cast< XFilePicker* >( this )); + } + if (m_pFilterHelper) { m_pFilterHelper->SetFilters(); } |