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



Hello,These is the patch that I've created. 
Licence: made available under the MPL/LGPLv3+
Ferran Vidal                                                                              
From 8d19526ff84cab319babf7e6b1f03c05fea5bdf0 Mon Sep 17 00:00:00 2001
From: Ferran Vidal <vidalmarginet@hotmail.com>
Date: Sat, 21 Apr 2012 18:08:11 +0200
Subject: [PATCH] Remove unused code from "Spreadsheet application code"

---
 sc/inc/cell.hxx              |    1 -
 sc/source/core/data/cell.cxx |    5 -----
 unusedcode.easy              |    2 --
 3 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/sc/inc/cell.hxx b/sc/inc/cell.hxx
index 08fbdfa..b4549d1 100644
--- a/sc/inc/cell.hxx
+++ b/sc/inc/cell.hxx
@@ -207,7 +207,6 @@ public:
     DECL_FIXEDMEMPOOL_NEWDEL( ScStringCell )
 #endif
 
-                    ScStringCell();
     explicit        ScStringCell(const rtl::OUString& rString);
 
 #if OSL_DEBUG_LEVEL > 0
diff --git a/sc/source/core/data/cell.cxx b/sc/source/core/data/cell.cxx
index 9ccadde..a4e5361 100644
--- a/sc/source/core/data/cell.cxx
+++ b/sc/source/core/data/cell.cxx
@@ -657,11 +657,6 @@ ScValueCell::~ScValueCell()
 
 // ============================================================================
 
-ScStringCell::ScStringCell() :
-    ScBaseCell( CELLTYPE_STRING )
-{
-}
-
 ScStringCell::ScStringCell( const rtl::OUString& rString ) :
     ScBaseCell( CELLTYPE_STRING ),
     maString( rString.intern() )
diff --git a/unusedcode.easy b/unusedcode.easy
index 89aa3c8..ef08833 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)
-CharAttribList::Clear()
 Dialog::Dialog(Window*, ResId const&)
 EditEngine::GetNextVisPortion(ParaPortion const*) const
 FmFieldWinMgr::GetChildWindowId()
@@ -86,7 +85,6 @@ ScRTFColTwips_SAR::_ForEach(unsigned short, unsigned short, unsigned char (*)(un
 ScRangeData::ReplaceRangeNamesInUse(std::__debug::map<unsigned short, unsigned short, 
std::less<unsigned short>, std::allocator<std::pair<unsigned short const, unsigned short> > > 
const&)
 ScRangeData::ScRangeData(unsigned short)
 ScSimpleRangeList::Range::contains(ScSimpleRangeList::Range const&) const
-ScStringCell::ScStringCell()
 ScTable::ReplaceRangeNamesInUse(short, int, short, int, std::__debug::map<unsigned short, unsigned 
short, std::less<unsigned short>, std::allocator<std::pair<unsigned short const, unsigned short> > 
const&)
 ScTypedStrData::GetValue() const
 ScValidationEntries_Impl::Insert(ScValidationData* const&, unsigned short&)
-- 
1.7.5.4


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.