[Libreoffice-commits] core.git: dbaccess/source

Mathias Hasselmann mathias at openismus.com
Wed Mar 27 08:03:43 PDT 2013


 dbaccess/source/ui/control/opendoccontrols.cxx |   12 ------------
 dbaccess/source/ui/inc/opendoccontrols.hxx     |    2 --
 2 files changed, 14 deletions(-)

New commits:
commit 4fc429bf61b43fb78eb17aa63004d8bce6757fd2
Author: Mathias Hasselmann <mathias at openismus.com>
Date:   Thu Mar 21 08:01:34 2013 +0100

    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/2888
    Reviewed-by: Petr Mladek <pmladek at suse.cz>
    Tested-by: Petr Mladek <pmladek at suse.cz>

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 @@ namespace dbaui
     //====================================================================
     //= 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 @@ namespace dbaui
     //====================================================================
     //= 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 @@ namespace dbaui
         ::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 @@ namespace dbaui
         MapIndexToStringPair    m_aURLs;
 
     public:
-        OpenDocumentListBox( Window* _pParent, const sal_Char* _pAsciiModuleName, const ResId& _rResId );
         OpenDocumentListBox( Window* _pParent, const sal_Char* _pAsciiModuleName );
 
         String  GetSelectedDocumentURL() const;


More information about the Libreoffice-commits mailing list