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 aea46d66c3f360782436ff53150d92877b687a45 Mon Sep 17 00:00:00 2001
From: Santiago Martinez <smvarela@gmail.com>
Date: Fri, 20 Jan 2012 19:42:48 +0100
Subject: [PATCH] Removed unused code as listed in unusedcode.easy

---
 filter/inc/filter/msfilter/mstoolbar.hxx |    1 -
 filter/source/msfilter/mstoolbar.cxx     |    5 -----
 unusedcode.easy                          |    1 -
 3 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/filter/inc/filter/msfilter/mstoolbar.hxx b/filter/inc/filter/msfilter/mstoolbar.hxx
index ccbefb2..35b05da 100644
--- a/filter/inc/filter/msfilter/mstoolbar.hxx
+++ b/filter/inc/filter/msfilter/mstoolbar.hxx
@@ -326,7 +326,6 @@ public:
     WString& getName(){ return name; }
     bool IsEnabled();
     bool IsMenuToolbar(){ return ( ( ltbtr & 0x2000000 ) == 0x2000000 ); }
-    bool NeedsPositioning();
 };
 
 class MSFILTER_DLLPUBLIC SRECT : public TBBase
diff --git a/filter/source/msfilter/mstoolbar.cxx b/filter/source/msfilter/mstoolbar.cxx
index 044c691..fbac37f 100644
--- a/filter/source/msfilter/mstoolbar.cxx
+++ b/filter/source/msfilter/mstoolbar.cxx
@@ -781,11 +781,6 @@ bool TB::IsEnabled()
     return ( bFlags & 0x01 ) != 0x01;
 }
 
-bool TB::NeedsPositioning()
-{
-    return ( bFlags & 0x10 ) == 0x10;
-}
-
 void TB::Print( FILE* fp )
 {
     Indent a;
diff --git a/unusedcode.easy b/unusedcode.easy
index 18a54b3..f3f518b 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -711,7 +711,6 @@ SwpHtStart::Insert(SwTxtAttr const**, unsigned short)
 SwpHtStart::Insert(SwpHtStart const*, unsigned short, unsigned short)
 SwpHtStart::Remove(SwTxtAttr const*&, unsigned short)
 SystemChildWindow::SystemChildWindow(Window*, ResId const&)
-TB::NeedsPositioning()
 TESortedPositions::Insert(TESortedPositions const*, unsigned short, unsigned short)
 TESortedPositions::Insert(unsigned long const&, unsigned short&)
 TESortedPositions::Insert(unsigned long const*, unsigned short)
-- 
1.7.7.5


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.