Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


This patch removes unused code as listed in unusedcode.easy
From 8d0dca528f9cb12dc8e5cdb2f2c1dcaf2270a04f Mon Sep 17 00:00:00 2001
From: Santiago Martinez <smvarela@gmail.com>
Date: Fri, 23 Mar 2012 22:05:00 +0100
Subject: [PATCH] Remove unused code in vlc.

---
 unusedcode.easy               |    1 -
 vcl/inc/vcl/scrbar.hxx        |    1 -
 vcl/source/control/scrbar.cxx |   10 ----------
 3 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/unusedcode.easy b/unusedcode.easy
index 1065082..02bc1c9 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -109,7 +109,6 @@ ScVbaFormat<ooo::vba::excel::XStyle>::getXServiceInfo()
 ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&)
 ScVbaFormat<ooo::vba::excel::XStyle>::setNumberFormat(com::sun::star::lang::Locale, rtl::OUString 
const&)
 ScVbaWorksheet::ScVbaWorksheet(com::sun::star::uno::Reference<ooo::vba::XHelperInterface> const&, 
com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&)
-ScrollBarBox::ScrollBarBox(Window*, ResId const&)
 ScrollableWindow::MakeVisible(Rectangle const&, unsigned char)
 SectReprArr::Insert(SectRepr* const&, unsigned short&)
 SectReprArr::Insert(SectRepr* const*, unsigned short)
diff --git a/vcl/inc/vcl/scrbar.hxx b/vcl/inc/vcl/scrbar.hxx
index 36c31b6..a3bf0ef 100644
--- a/vcl/inc/vcl/scrbar.hxx
+++ b/vcl/inc/vcl/scrbar.hxx
@@ -162,7 +162,6 @@ private:
 
 public:
                     ScrollBarBox( Window* pParent, WinBits nStyle = 0 );
-                    ScrollBarBox( Window* pParent, const ResId& rResId );
 
     virtual void    StateChanged( StateChangedType nType );
     virtual void    DataChanged( const DataChangedEvent& rDCEvt );
diff --git a/vcl/source/control/scrbar.cxx b/vcl/source/control/scrbar.cxx
index d2611c6..44a093b 100644
--- a/vcl/source/control/scrbar.cxx
+++ b/vcl/source/control/scrbar.cxx
@@ -1536,16 +1536,6 @@ ScrollBarBox::ScrollBarBox( Window* pParent, WinBits nStyle ) :
 
 // -----------------------------------------------------------------------
 
-ScrollBarBox::ScrollBarBox( Window* pParent, const ResId& rResId ) :
-    Window( WINDOW_SCROLLBARBOX )
-{
-    rResId.SetRT( RSC_SCROLLBAR );
-    ImplInit( pParent, ImplInitRes( rResId ) );
-    ImplLoadRes( rResId );
-}
-
-// -----------------------------------------------------------------------
-
 void ScrollBarBox::ImplInitSettings()
 {
     // Hack, damit man auch DockingWindows ohne Hintergrund bauen kann
-- 
1.7.7.6


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.