Kaydet (Commit) 4fc429bf authored tarafından Mathias Hasselmann's avatar Mathias Hasselmann Kaydeden (comit) Petr Mladek

Remove ResId support for a few dbaui controls

This removes the ResId constructors of dbaui::OpenDocumentButton
and dbaui::OpenDocumentListBox.

Change-Id: Ib1d80a3ae7757c81ef0ee6f25ee24e91adce532d
Reviewed-on: https://gerrit.libreoffice.org/2888Reviewed-by: 's avatarPetr Mladek <pmladek@suse.cz>
Tested-by: 's avatarPetr Mladek <pmladek@suse.cz>
üst f3f512bd
...@@ -161,12 +161,6 @@ namespace dbaui ...@@ -161,12 +161,6 @@ namespace dbaui
//==================================================================== //====================================================================
//= OpenButton //= OpenButton
//==================================================================== //====================================================================
//--------------------------------------------------------------------
OpenDocumentButton::OpenDocumentButton( Window* _pParent, const sal_Char* _pAsciiModuleName, const ResId& _rResId )
:PushButton( _pParent, _rResId )
{
impl_init( _pAsciiModuleName );
}
//-------------------------------------------------------------------- //--------------------------------------------------------------------
OpenDocumentButton::OpenDocumentButton( Window* _pParent, const sal_Char* _pAsciiModuleName ) OpenDocumentButton::OpenDocumentButton( Window* _pParent, const sal_Char* _pAsciiModuleName )
...@@ -204,12 +198,6 @@ namespace dbaui ...@@ -204,12 +198,6 @@ namespace dbaui
//==================================================================== //====================================================================
//= OpenDocumentListBox //= OpenDocumentListBox
//==================================================================== //====================================================================
//--------------------------------------------------------------------
OpenDocumentListBox::OpenDocumentListBox( Window* _pParent, const sal_Char* _pAsciiModuleName, const ResId& _rResId )
:ListBox( _pParent, _rResId )
{
impl_init( _pAsciiModuleName );
}
//-------------------------------------------------------------------- //--------------------------------------------------------------------
OpenDocumentListBox::OpenDocumentListBox( Window* _pParent, const sal_Char* _pAsciiModuleName ) OpenDocumentListBox::OpenDocumentListBox( Window* _pParent, const sal_Char* _pAsciiModuleName )
......
...@@ -44,7 +44,6 @@ namespace dbaui ...@@ -44,7 +44,6 @@ namespace dbaui
::rtl::OUString m_sModule; ::rtl::OUString m_sModule;
public: public:
OpenDocumentButton( Window* _pParent, const sal_Char* _pAsciiModuleName, const ResId& _rResId );
OpenDocumentButton( Window* _pParent, const sal_Char* _pAsciiModuleName ); OpenDocumentButton( Window* _pParent, const sal_Char* _pAsciiModuleName );
protected: protected:
...@@ -64,7 +63,6 @@ namespace dbaui ...@@ -64,7 +63,6 @@ namespace dbaui
MapIndexToStringPair m_aURLs; MapIndexToStringPair m_aURLs;
public: public:
OpenDocumentListBox( Window* _pParent, const sal_Char* _pAsciiModuleName, const ResId& _rResId );
OpenDocumentListBox( Window* _pParent, const sal_Char* _pAsciiModuleName ); OpenDocumentListBox( Window* _pParent, const sal_Char* _pAsciiModuleName );
String GetSelectedDocumentURL() const; String GetSelectedDocumentURL() const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment