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 <[email protected]>
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
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice