1. mst
  2. ooo340

Commits

obo  committed 1cf79b2

CWS-TOOLING: integrate CWS aquafilepicker03
2009-01-16 00:15:29 +0100 fheckl r266397 : Issue 90219 fixed

  • Participants
  • Parent commits 8d266a0
  • Branches default

Comments (0)

Files changed (1)

File fpicker/source/aqua/SalAquaFilePicker.cxx

View file
  • Ignore whitespace
     sal_Int16 retVal = 0;
 
     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();