Simplify SvtFilePicker

Change-Id: I2b6d1589c25cb1fa4711f088641afe1bfe1d7411
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178072
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
This commit is contained in:
Mike Kaganski 2024-12-08 11:41:03 +05:00
parent 495e38c853
commit c4dee829f3
2 changed files with 2 additions and 22 deletions

View file

@ -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

View file

@ -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;