[PATCH] Remove ResId support for a few dbaui controls

Mathias Hasselmann (via Code Review) gerrit at gerrit.libreoffice.org
Thu Mar 21 01:23:01 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2888

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/88/2888/1

Remove ResId support for a few dbaui controls

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

Change-Id: Ib1d80a3ae7757c81ef0ee6f25ee24e91adce532d
---
M dbaccess/source/ui/control/opendoccontrols.cxx
M dbaccess/source/ui/inc/opendoccontrols.hxx
2 files changed, 0 insertions(+), 14 deletions(-)



diff --git a/dbaccess/source/ui/control/opendoccontrols.cxx b/dbaccess/source/ui/control/opendoccontrols.cxx
index 907840e..41a458c 100644
--- a/dbaccess/source/ui/control/opendoccontrols.cxx
+++ b/dbaccess/source/ui/control/opendoccontrols.cxx
@@ -161,12 +161,6 @@
     //====================================================================
     //= 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 )
@@ -204,12 +198,6 @@
     //====================================================================
     //= 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 )
diff --git a/dbaccess/source/ui/inc/opendoccontrols.hxx b/dbaccess/source/ui/inc/opendoccontrols.hxx
index 617476d..5e2edda 100644
--- a/dbaccess/source/ui/inc/opendoccontrols.hxx
+++ b/dbaccess/source/ui/inc/opendoccontrols.hxx
@@ -44,7 +44,6 @@
         ::rtl::OUString     m_sModule;
 
     public:
-        OpenDocumentButton( Window* _pParent, const sal_Char* _pAsciiModuleName, const ResId& _rResId );
         OpenDocumentButton( Window* _pParent, const sal_Char* _pAsciiModuleName );
 
     protected:
@@ -64,7 +63,6 @@
         MapIndexToStringPair    m_aURLs;
 
     public:
-        OpenDocumentListBox( Window* _pParent, const sal_Char* _pAsciiModuleName, const ResId& _rResId );
         OpenDocumentListBox( Window* _pParent, const sal_Char* _pAsciiModuleName );
 
         String  GetSelectedDocumentURL() const;

-- 
To view, visit https://gerrit.libreoffice.org/2888
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib1d80a3ae7757c81ef0ee6f25ee24e91adce532d
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Mathias Hasselmann <mathias at openismus.com>



More information about the LibreOffice mailing list