[Libreoffice-commits] .: unusedcode.easy vcl/inc vcl/source

Jesús Corrius jcorrius at kemper.freedesktop.org
Wed Apr 25 07:22:44 PDT 2012


 unusedcode.easy              |    1 -
 vcl/inc/vcl/dialog.hxx       |    1 -
 vcl/source/window/dialog.cxx |   11 -----------
 3 files changed, 13 deletions(-)

New commits:
commit 83201a345f90061a88c0bc1f9ede952a539df822
Author: Vicente Vendrell <viventa1 at yahoo.es>
Date:   Wed Apr 25 16:20:47 2012 +0200

    Removed usused method Dialog::Dialog(Window,ResId)

diff --git a/unusedcode.easy b/unusedcode.easy
index e557846..f063fab 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1,5 +1,4 @@
 CertificateExtension_XmlSecImpl::setCertExtn(com::sun::star::uno::Sequence<signed char>, com::sun::star::uno::Sequence<signed char>, unsigned char)
-Dialog::Dialog(Window*, ResId const&)
 EditEngine::GetNextVisPortion(ParaPortion const*) const
 FmFieldWinMgr::GetChildWindowId()
 FmPropBrwMgr::GetChildWindowId()
diff --git a/vcl/inc/vcl/dialog.hxx b/vcl/inc/vcl/dialog.hxx
index 65a7696..2d03af5 100644
--- a/vcl/inc/vcl/dialog.hxx
+++ b/vcl/inc/vcl/dialog.hxx
@@ -78,7 +78,6 @@ protected:
 
 public:
                     Dialog( Window* pParent, WinBits nStyle = WB_STDDIALOG );
-                    Dialog( Window* pParent, const ResId& rResId );
     virtual         ~Dialog();
 
     virtual long    Notify( NotifyEvent& rNEvt );
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx
index 1353c6c..598a723 100644
--- a/vcl/source/window/dialog.cxx
+++ b/vcl/source/window/dialog.cxx
@@ -409,17 +409,6 @@ Dialog::Dialog( Window* pParent, WinBits nStyle ) :
 
 // -----------------------------------------------------------------------
 
-Dialog::Dialog( Window* pParent, const ResId& rResId ) :
-    SystemWindow( WINDOW_DIALOG )
-{
-    ImplInitDialogData();
-    rResId.SetRT( RSC_DIALOG );
-    ImplInit( pParent, ImplInitRes( rResId ) );
-    ImplLoadRes( rResId );
-}
-
-// -----------------------------------------------------------------------
-
 Dialog::~Dialog()
 {
     delete mpDialogImpl;


More information about the Libreoffice-commits mailing list