• Caolán McNamara's avatar
    make FilePicker::createWithMode not crash · 58ea2712
    Caolán McNamara yazdı
    i.e. calc->data->XML Source->"browse to set source" calls
    com_sun_star_comp_svt_FilePicker_get_implementation with its
    single argument in arguments as opposed to the empty argument
    expected there.
    
    So allow the single-argument case, and pass the argument through and apply it
    automatically via XInitialization::initialize in Application::createFilePicker.
    
    I'm far from sure that this is the right solution, but it has the advantage of
    working vs crashing.
    
    Change-Id: I07c1baae7f47781920eac56763e8fd003a7b99e1
    58ea2712
svapp.cxx 49 KB