summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-03-25 00:43:57 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-03-26 12:18:08 +0100
commit70eb5c15e89409c22dbcdd7c49fa6271cc535d6b (patch)
tree5c9885f9e742e43dad124f026bce4008e955d03c
parent4eb52acf4e47ae659b1a3688e16e75509ab70597 (diff)
callcatcher: shiny unused method reduction from to-stl conversions
-rw-r--r--tools/inc/tools/table.hxx3
-rw-r--r--tools/source/memtools/table.cxx15
-rwxr-xr-xunusedcode.easy18
3 files changed, 2 insertions, 34 deletions
diff --git a/tools/inc/tools/table.hxx b/tools/inc/tools/table.hxx
index ec0c82cf663b..ec6927e9be93 100644
--- a/tools/inc/tools/table.hxx
+++ b/tools/inc/tools/table.hxx
@@ -68,7 +68,6 @@ public:
sal_uIntPtr SearchKey( sal_uIntPtr nKey, sal_uIntPtr* pPos = NULL ) const;
void* Seek( sal_uIntPtr nKey );
- void* Seek( void* p );
void* First();
void* Last();
void* Next();
@@ -129,8 +128,6 @@ public: \
\
Type Seek( sal_uIntPtr nKey ) \
{ return (Type)Table::Seek( nKey ); } \
- Type Seek( Type p ) \
- { return (Type)Table::Seek( (void*)p ); } \
Type First() { return (Type)Table::First(); } \
Type Last() { return (Type)Table::Last(); } \
Type Next() { return (Type)Table::Next(); } \
diff --git a/tools/source/memtools/table.cxx b/tools/source/memtools/table.cxx
index 3586c2769cec..9a55fb7add66 100644
--- a/tools/source/memtools/table.cxx
+++ b/tools/source/memtools/table.cxx
@@ -294,21 +294,6 @@ void* Table::Seek( sal_uIntPtr nKey )
return NULL;
}
-// -----------------------------------------------------------------------
-
-void* Table::Seek( void* p )
-{
- sal_uIntPtr nKey = GetKey( p );
-
- // Ist Key vorhanden, dann als aktuellen Eintrag setzen
- if ( nKey != TABLE_ENTRY_NOTFOUND )
- return Seek( nKey );
- else
- return NULL;
-}
-
-// -----------------------------------------------------------------------
-
void* Table::First()
{
// Testen, ob ein Eintrag vorhanden ist
diff --git a/unusedcode.easy b/unusedcode.easy
index 8fcb6b32e76a..8f2dd536a89c 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -74,6 +74,7 @@ ScDBCollection::AnonDBs::size() const
ScDPItemData::ScDPItemData(rtl::OUString const*)
ScDPItemData::SetErrorString(rtl::OUString const&)
ScDPLabelData::ScDPLabelData(rtl::OUString const&, short, bool)
+ScDPObject::HasGroups() const
ScDocRowHeightUpdater::TabRanges::TabRanges()
ScHTMLColOffset::Insert(ScHTMLColOffset const*, unsigned short, unsigned short)
ScHTMLColOffset::Insert(unsigned long const&, unsigned short&)
@@ -236,10 +237,6 @@ SwInsDBColumns::Insert(SwInsDBColumn* const*, unsigned short)
SwInsDBColumns::Insert(SwInsDBColumns const*, unsigned short, unsigned short)
SwInsDBColumns::Remove(SwInsDBColumn* const&, unsigned short)
SwInsDBColumns::Remove(unsigned short, unsigned short)
-SwLRects::Insert(SwLRects const*, unsigned short, unsigned short, unsigned short)
-SwLRects::Replace(SwLineRect const&, unsigned short)
-SwLRects::Replace(SwLineRect const*, unsigned short, unsigned short)
-SwLRects::_ForEach(unsigned short, unsigned short, unsigned char (*)(SwLineRect const&, void*), void*)
SwMailMergeChildWindow::GetChildWindowId()
SwOutlineNodes::Insert(SwNode* const&, unsigned short&)
SwOutlineNodes::Insert(SwNode* const*, unsigned short)
@@ -307,6 +304,7 @@ 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&)
+Table::Seek(void*)
TempFile::IsValid() const
TextEngine::GetLeftMargin() const
TransferableDataHelper::GetInterface(com::sun::star::datatransfer::DataFlavor const&, com::sun::star::uno::Reference<com::sun::star::uno::XInterface>&)
@@ -381,11 +379,6 @@ _MergePos::Remove(_CmpLPt const&, unsigned short)
_MergePos_SAR::Replace(_CmpLPt const&, unsigned short)
_MergePos_SAR::Replace(_CmpLPt const*, unsigned short, unsigned short)
_MergePos_SAR::_ForEach(unsigned short, unsigned short, unsigned char (*)(_CmpLPt const&, void*), void*)
-_SaveFlyArr::Insert(_SaveFlyArr const*, unsigned short, unsigned short, unsigned short)
-_SaveFlyArr::Remove(unsigned short, unsigned short)
-_SaveFlyArr::Replace(_SaveFly const&, unsigned short)
-_SaveFlyArr::Replace(_SaveFly const*, unsigned short, unsigned short)
-_SaveFlyArr::_ForEach(unsigned short, unsigned short, unsigned char (*)(_SaveFly const&, void*), void*)
_SetGetExpFlds::Insert(_SetGetExpFld* const&, unsigned short&)
_SetGetExpFlds::Insert(_SetGetExpFld* const*, unsigned short)
_SetGetExpFlds::Insert(_SetGetExpFlds const*, unsigned short, unsigned short)
@@ -410,13 +403,6 @@ _SwRedlineTbl::Insert(SwRedline* const*, unsigned short)
_SwRedlineTbl::Insert(_SwRedlineTbl const*, unsigned short, unsigned short)
_SwRedlineTbl::Remove(SwRedline* const&, unsigned short)
_WPXTabStop::_WPXTabStop(double, WPXTabAlignment, unsigned short, unsigned char)
-_ZSortFlys::Insert(_ZSortFly const&, unsigned short&)
-_ZSortFlys::Insert(_ZSortFly const*, unsigned short)
-_ZSortFlys::Insert(_ZSortFlys const*, unsigned short, unsigned short)
-_ZSortFlys::Remove(_ZSortFly const&, unsigned short)
-_ZSortFlys_SAR::Replace(_ZSortFly const&, unsigned short)
-_ZSortFlys_SAR::Replace(_ZSortFly const*, unsigned short, unsigned short)
-_ZSortFlys_SAR::_ForEach(unsigned short, unsigned short, unsigned char (*)(_ZSortFly const&, void*), void*)
basebmp::debugDump(boost::shared_ptr<basebmp::BitmapDevice> const&, std::basic_ostream<char, std::char_traits<char> >&)
basegfx::tools::equal(basegfx::B2DPolyPolygon const&, basegfx::B2DPolyPolygon const&, double const&)
basegfx::tools::equal(basegfx::B3DPolyPolygon const&, basegfx::B3DPolyPolygon const&, double const&)