summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-25 09:40:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-25 09:42:07 +0100
commit005f5d443e432130b902e1c78283c5f57f34d2b5 (patch)
tree6eb3f4607ffd07d06f197de6760201af07d9589c /svl
parent01f5362e7982cc1e5b8c9fa7216c892667971737 (diff)
remove freshly unused methods
Diffstat (limited to 'svl')
-rw-r--r--svl/inc/svl/style.hxx6
-rw-r--r--svl/source/items/slstitm.cxx40
-rw-r--r--svl/source/items/style.cxx8
3 files changed, 0 insertions, 54 deletions
diff --git a/svl/inc/svl/style.hxx b/svl/inc/svl/style.hxx
index 1f809bc2f92a..4f478c0c37b6 100644
--- a/svl/inc/svl/style.hxx
+++ b/svl/inc/svl/style.hxx
@@ -65,11 +65,6 @@ pointer to the <SfxStyleSheetBase>. The actions are:
The following methods already broadcast themself
-SfxStyleSheetHint(SFX_STYLESHEET_MODIFIED) from:
- SfxStyleSheetBase::SetName( const String& rName )
- SfxStyleSheetBase::SetParent( const String& rName )
- SfxStyleSheetBase::SetFollow( const String& rName )
-
SfxSimpleHint(SFX_HINT_DYING) from:
SfxStyleSheetBasePool::~SfxStyleSheetBasePool()
@@ -346,7 +341,6 @@ class SVL_DLLPUBLIC SfxStyleSheetHint: public SfxHint
public:
TYPEINFO();
- SfxStyleSheetHint( sal_uInt16 );
SfxStyleSheetHint( sal_uInt16, SfxStyleSheetBase& );
SfxStyleSheetBase* GetStyleSheet() const
{ return pStyleSh; }
diff --git a/svl/source/items/slstitm.cxx b/svl/source/items/slstitm.cxx
index ffaaf8390d6a..8bf6776d0a5b 100644
--- a/svl/source/items/slstitm.cxx
+++ b/svl/source/items/slstitm.cxx
@@ -51,7 +51,6 @@ public:
SfxImpStringList() { nRefCount = 1; }
~SfxImpStringList();
- void Sort( sal_Bool bAscending);
};
//------------------------------------------------------------------------
@@ -62,45 +61,6 @@ SfxImpStringList::~SfxImpStringList()
nRefCount = 0xffff;
}
-//------------------------------------------------------------------------
-
-void SfxImpStringList::Sort( sal_Bool bAscending)
-{
- sal_uLong nCount = aList.size();
- if( nCount > 1 )
- {
- nCount -= 2;
- // Bubble Dir Einen
- sal_Bool bSwapped = sal_True;
- while( bSwapped )
- {
- bSwapped = sal_False;
- for( sal_uLong nCur = 0; nCur <= nCount; nCur++ )
- {
- String aStr1 = aList[nCur];
- String aStr2 = aList[nCur+1];
- // COMPARE_GREATER => pStr2 ist groesser als pStr1
- StringCompare eCompare = aStr1.CompareIgnoreCaseToAscii( aStr2 ); //@@@
- sal_Bool bSwap = sal_False;
- if( bAscending )
- {
- if( eCompare == COMPARE_LESS )
- bSwap = sal_True;
- }
- else if( eCompare == COMPARE_GREATER )
- bSwap = sal_True;
-
- if( bSwap )
- {
- bSwapped = sal_True;
- aList[nCur+1] = aStr1;
- aList[nCur] = aStr2;
- }
- }
- }
- }
-}
-
// class SfxStringListItem -----------------------------------------------
SfxStringListItem::SfxStringListItem() :
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx
index 1830f25a2f5a..1078c7f3462d 100644
--- a/svl/source/items/style.cxx
+++ b/svl/source/items/style.cxx
@@ -101,14 +101,6 @@ SfxStyleSheetHint::SfxStyleSheetHint
nHint( nAction )
{}
-SfxStyleSheetHint::SfxStyleSheetHint
-(
- sal_uInt16 nAction // SFX_STYLESHEET_... (s.o.)
-)
-: pStyleSh( NULL ),
- nHint( nAction )
-{}
-
//=========================================================================
class SfxStyleSheetBasePool_Impl