diff options
Diffstat (limited to 'fpicker/source/office/iodlgimp.hxx')
-rw-r--r-- | fpicker/source/office/iodlgimp.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fpicker/source/office/iodlgimp.hxx b/fpicker/source/office/iodlgimp.hxx index 7300ab16e5e3..3a02dbbee641 100644 --- a/fpicker/source/office/iodlgimp.hxx +++ b/fpicker/source/office/iodlgimp.hxx @@ -48,7 +48,7 @@ private: OUString m_aType; // filter wildcard - if empty, the entry marks a group public: - SvtFileDialogFilter_Impl( const OUString& rName, const OUString& rType ); + SvtFileDialogFilter_Impl( OUString aName, OUString aType ); ~SvtFileDialogFilter_Impl(); const OUString& GetName() const { return m_aName; } @@ -86,7 +86,7 @@ public: std::unique_ptr<weld::Menu> xMenu, SvtFileDialog* pDlg); - void set_help_id(const OString& rHelpId) { m_xToolbar->set_help_id(rHelpId); } + void set_help_id(const OUString& rHelpId) { m_xToolbar->set_help_id(rHelpId); } void show() { m_xToolbar->show(); } void FillURLMenu(); @@ -95,8 +95,8 @@ public: private: - DECL_LINK(SelectHdl, const OString&, void); - DECL_LINK(ClickHdl, const OString&, void); + DECL_LINK(SelectHdl, const OUString&, void); + DECL_LINK(ClickHdl, const OUString&, void); }; class SvtURLBox; @@ -185,7 +185,7 @@ public: SvtFileDialogFilter_Impl* GetSelectedFilterEntry( OUString& rDisplayName ) const { rDisplayName = m_xLbFilter->get_active_text(); - return reinterpret_cast<SvtFileDialogFilter_Impl*>(m_xLbFilter->get_active_id().toInt64()); + return weld::fromId<SvtFileDialogFilter_Impl*>(m_xLbFilter->get_active_id()); } // access to the current filter via methods only - need to care for consistency between m_pCurFilter and m_sCurrentFilterDisplayName |