This patch removes unused code as listed in unusedcode.easy
From 585721f333baa53199ab2dbe36964e5759b3089a Mon Sep 17 00:00:00 2001 From: Santiago Martinez <smvar...@gmail.com> Date: Mon, 12 Mar 2012 20:38:51 +0100 Subject: [PATCH] Remove unused code in dpitemdata
--- sc/inc/dpitemdata.hxx | 2 -- sc/source/core/data/dpitemdata.cxx | 11 ----------- unusedcode.easy | 2 -- 3 files changed, 0 insertions(+), 15 deletions(-) diff --git a/sc/inc/dpitemdata.hxx b/sc/inc/dpitemdata.hxx index 3e09d89..10363be 100644 --- a/sc/inc/dpitemdata.hxx +++ b/sc/inc/dpitemdata.hxx @@ -79,7 +79,6 @@ public: ScDPItemData(); ScDPItemData(const ScDPItemData& r); ScDPItemData(const rtl::OUString& rStr); - ScDPItemData(double fVal); ScDPItemData(sal_Int32 nGroupType, sal_Int32 nValue); ~ScDPItemData(); @@ -89,7 +88,6 @@ public: void SetRangeStart(double fVal); void SetRangeFirst(); void SetRangeLast(); - void SetGroupValue(sal_Int32 nGroupType, sal_Int32 nValue); void SetErrorString(const rtl::OUString& rS); bool IsCaseInsEqual(const ScDPItemData& r) const; diff --git a/sc/source/core/data/dpitemdata.cxx b/sc/source/core/data/dpitemdata.cxx index 77c01b9..dd370ca 100644 --- a/sc/source/core/data/dpitemdata.cxx +++ b/sc/source/core/data/dpitemdata.cxx @@ -112,9 +112,6 @@ void ScDPItemData::DisposeString() ScDPItemData::ScDPItemData(const rtl::OUString& rStr) : mpString(new rtl::OUString(rStr)), meType(String) {} -ScDPItemData::ScDPItemData(double fVal) : - mfValue(fVal), meType(Value) {} - ScDPItemData::ScDPItemData(sal_Int32 nGroupType, sal_Int32 nValue) : meType(GroupValue) { @@ -167,14 +164,6 @@ void ScDPItemData::SetRangeLast() meType = RangeStart; } -void ScDPItemData::SetGroupValue(sal_Int32 nGroupType, sal_Int32 nValue) -{ - DisposeString(); - maGroupValue.mnGroupType = nGroupType; - maGroupValue.mnValue = nValue; - meType = GroupValue; -} - void ScDPItemData::SetErrorString(const rtl::OUString& rS) { SetString(rS); diff --git a/unusedcode.easy b/unusedcode.easy index e1067ed..77ae5b4 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -72,8 +72,6 @@ ScConditionalFormats_Impl::Remove(unsigned short, unsigned short) ScCsvControl::ScCsvControl(Window*, ScCsvLayoutData const&, long) ScDBCollection::AnonDBs::erase(boost::void_ptr_iterator<__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<void**, std::__cxx1998::vector<void*, std::allocator<void*> > >, std::__debug::vector<void*, std::allocator<void*> > >, ScDBData>) ScDBCollection::AnonDBs::size() const -ScDPItemData::ScDPItemData(double) -ScDPItemData::SetGroupValue(int, int) ScDPLabelData::ScDPLabelData(rtl::OUString const&, short, bool) ScDocRowHeightUpdater::TabRanges::TabRanges() ScFilterDetect::impl_createFactory(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&) -- 1.7.7.6
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice