diff options
-rw-r--r-- | sc/inc/dpitemdata.hxx | 2 | ||||
-rw-r--r-- | sc/source/core/data/dpitemdata.cxx | 9 | ||||
-rwxr-xr-x | unusedcode.easy | 2 |
3 files changed, 0 insertions, 13 deletions
diff --git a/sc/inc/dpitemdata.hxx b/sc/inc/dpitemdata.hxx index 1996d686f81c..46642a95af13 100644 --- a/sc/inc/dpitemdata.hxx +++ b/sc/inc/dpitemdata.hxx @@ -87,7 +87,6 @@ public: ScDPItemData(); ScDPItemData(const ScDPItemData& r); ScDPItemData(const rtl::OUString& rStr); - ScDPItemData(const rtl::OUString* pStr); ScDPItemData(sal_Int32 nGroupType, sal_Int32 nValue); ~ScDPItemData(); @@ -98,7 +97,6 @@ public: void SetRangeStart(double fVal); void SetRangeFirst(); void SetRangeLast(); - void SetErrorString(const rtl::OUString& rS); void SetErrorString(const rtl::OUString* pS); bool IsCaseInsEqual(const ScDPItemData& r) const; diff --git a/sc/source/core/data/dpitemdata.cxx b/sc/source/core/data/dpitemdata.cxx index 83ca357a741f..1bcc3a6ecb9a 100644 --- a/sc/source/core/data/dpitemdata.cxx +++ b/sc/source/core/data/dpitemdata.cxx @@ -121,9 +121,6 @@ void ScDPItemData::DisposeString() ScDPItemData::ScDPItemData(const rtl::OUString& rStr) : mpString(new rtl::OUString(rStr)), meType(String), mbStringInterned(false) {} -ScDPItemData::ScDPItemData(const rtl::OUString* pStr) : - mpString(pStr), meType(String), mbStringInterned(true) {} - ScDPItemData::ScDPItemData(sal_Int32 nGroupType, sal_Int32 nValue) : meType(GroupValue), mbStringInterned(false) { @@ -184,12 +181,6 @@ void ScDPItemData::SetRangeLast() meType = RangeStart; } -void ScDPItemData::SetErrorString(const rtl::OUString& rS) -{ - SetString(rS); - meType = Error; -} - void ScDPItemData::SetErrorString(const rtl::OUString* pS) { SetString(pS); diff --git a/unusedcode.easy b/unusedcode.easy index 046ba9a74485..a96ce89a3589 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -56,8 +56,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::findByTable(short) const -ScDPItemData::ScDPItemData(rtl::OUString const*) -ScDPItemData::SetErrorString(rtl::OUString const&) ScDPLabelData::ScDPLabelData(rtl::OUString const&, short, bool) ScDPObject::HasGroups() const ScDocRowHeightUpdater::TabRanges::TabRanges() |