fpicker/source/office/OfficeFilePicker.cxx | 10 ---------- fpicker/source/office/OfficeFilePicker.hxx | 14 ++------------ 2 files changed, 2 insertions(+), 22 deletions(-)
New commits: commit c4dee829f397a7ad1fe195e8f3a6f849dac459d7 Author: Mike Kaganski <[email protected]> AuthorDate: Sun Dec 8 11:41:03 2024 +0500 Commit: Mike Kaganski <[email protected]> CommitDate: Sun Dec 8 10:12:42 2024 +0100 Simplify SvtFilePicker Change-Id: I2b6d1589c25cb1fa4711f088641afe1bfe1d7411 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178072 Tested-by: Jenkins Reviewed-by: Mike Kaganski <[email protected]> diff --git a/fpicker/source/office/OfficeFilePicker.cxx b/fpicker/source/office/OfficeFilePicker.cxx index 956915e6cebc..6d845f3fd0c3 100644 --- a/fpicker/source/office/OfficeFilePicker.cxx +++ b/fpicker/source/office/OfficeFilePicker.cxx @@ -449,16 +449,6 @@ std::shared_ptr<SvtFileDialog_Base> SvtFilePicker::implCreateDialog( weld::Windo } -// disambiguate XInterface - -IMPLEMENT_FORWARD_XINTERFACE2( SvtFilePicker, OCommonPicker, SvtFilePicker_Base ) - - -// disambiguate XTypeProvider - -IMPLEMENT_FORWARD_XTYPEPROVIDER2( SvtFilePicker, OCommonPicker, SvtFilePicker_Base ) - - // XExecutableDialog functions diff --git a/fpicker/source/office/OfficeFilePicker.hxx b/fpicker/source/office/OfficeFilePicker.hxx index 48f2ef076625..33e2b6d16e7c 100644 --- a/fpicker/source/office/OfficeFilePicker.hxx +++ b/fpicker/source/office/OfficeFilePicker.hxx @@ -46,7 +46,8 @@ typedef css::uno::Sequence< UnoFilterEntry > UnoFilterList; // can be transpo // class SvtFilePicker --------------------------------------------------- -typedef ::cppu::ImplHelper5 < css::ui::dialogs::XFilePicker3 +typedef cppu::ImplInheritanceHelper <svt::OCommonPicker + , css::ui::dialogs::XFilePicker3 , css::ui::dialogs::XFilePickerControlAccess , css::ui::dialogs::XFilePreview , css::lang::XServiceInfo @@ -54,7 +55,6 @@ typedef ::cppu::ImplHelper5 < css::ui::dialogs::XFilePicker3 > SvtFilePicker_Base; class SvtFilePicker :public SvtFilePicker_Base - ,public ::svt::OCommonPicker ,public ::svt::IFilePickerListener { protected: @@ -85,16 +85,6 @@ public: virtual ~SvtFilePicker() override; - // disambiguate XInterface - - DECLARE_XINTERFACE( ) - - - // disambiguate XTypeProvider - - DECLARE_XTYPEPROVIDER( ) - - // XExecutableDialog functions virtual void SAL_CALL setTitle( const OUString& _rTitle ) override;
