diff options
author | Noel Grandin <noel@peralex.com> | 2013-03-05 11:34:53 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-03-05 16:12:53 +0000 |
commit | 3554b3653049cb8fffa2a56ca0c9a2d8e972f5ec (patch) | |
tree | e5f222e09be3c1b90f9a1b94b84cf79152de2251 /offapi/com | |
parent | b3876e1dc9b05c7e0e02d7a03c372cc2600c7fad (diff) |
fix for fdo#61801
... "crash on Tools - Options - LibreOffice - Personalization - Select Background Image"
The root cause of this is my conversion of the UNO code to use the
new-style FilePicker service constructor in commit
4b51374a7021d52f7f1be1861e2ee6a011b30ecd
Unfortunately, the new-style service constructor will always call
initialize(Sequence<Any>), which the old code did not do.
And initialize does not like being called without any arguments.
The cleanest fix for this is to simply remove the createDefault()
service constructor method and make all the call sites explicitly
choose the style of FilePicker dialog they want.
As a bonus, this simplifies some of the call sites.
Change-Id: I75f5e03cff4e39abe22cd9650a079ec78ab636c4
Reviewed-on: https://gerrit.libreoffice.org/2553
Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'offapi/com')
-rw-r--r-- | offapi/com/sun/star/ui/dialogs/FilePicker.idl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/offapi/com/sun/star/ui/dialogs/FilePicker.idl b/offapi/com/sun/star/ui/dialogs/FilePicker.idl index 39cd65116c12..46367481381b 100644 --- a/offapi/com/sun/star/ui/dialogs/FilePicker.idl +++ b/offapi/com/sun/star/ui/dialogs/FilePicker.idl @@ -38,7 +38,6 @@ module com { module sun { module star { module ui { module dialogs { published service FilePicker : XFilePicker3 { - createDefault(); /** Provides the ability to choose between different custom templates that do extend the subset of common controls a FilePicker usually supports. |