summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-16 08:11:27 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-16 08:37:25 +0000
commit7ab881a57d01e58eebcc2608ae8dd61af4552ae8 (patch)
treee8a5a50805ebd653834adbb03e7e98b8b6f22dc6 /editeng
parent795ac5bc53f6c15f2ab4634201747eb1c3e3331f (diff)
loplugin:unusedmethods editeng
Change-Id: I15b2be5a9cd6e72447b674a65eabe9f89cb6ff12 Reviewed-on: https://gerrit.libreoffice.org/17115 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/accessibility/AccessibleParaManager.cxx10
-rw-r--r--editeng/source/editeng/editdoc.hxx37
-rw-r--r--editeng/source/editeng/editeng.cxx4
-rw-r--r--editeng/source/editeng/editstt2.hxx7
-rw-r--r--editeng/source/editeng/editundo.hxx3
-rw-r--r--editeng/source/editeng/edtspell.cxx30
-rw-r--r--editeng/source/editeng/edtspell.hxx4
-rw-r--r--editeng/source/editeng/eertfpar.hxx8
-rw-r--r--editeng/source/editeng/impedit.hxx47
-rw-r--r--editeng/source/items/paraitem.cxx17
-rw-r--r--editeng/source/misc/splwrap.cxx17
-rw-r--r--editeng/source/misc/svxacorr.cxx40
-rw-r--r--editeng/source/outliner/outleeng.cxx5
-rw-r--r--editeng/source/outliner/outleeng.hxx1
-rw-r--r--editeng/source/outliner/paralist.hxx1
15 files changed, 27 insertions, 204 deletions
diff --git a/editeng/source/accessibility/AccessibleParaManager.cxx b/editeng/source/accessibility/AccessibleParaManager.cxx
index ed36be0c825a..d107bdf27749 100644
--- a/editeng/source/accessibility/AccessibleParaManager.cxx
+++ b/editeng/source/accessibility/AccessibleParaManager.cxx
@@ -99,16 +99,6 @@ namespace accessibility
return maChildren.end();
}
- AccessibleParaManager::VectorOfChildren::const_iterator AccessibleParaManager::begin() const
- {
- return maChildren.begin();
- }
-
- AccessibleParaManager::VectorOfChildren::const_iterator AccessibleParaManager::end() const
- {
- return maChildren.end();
- }
-
void AccessibleParaManager::FireEvent( sal_Int32 nPara,
const sal_Int16 nEventId,
const uno::Any& rNewValue,
diff --git a/editeng/source/editeng/editdoc.hxx b/editeng/source/editeng/editdoc.hxx
index ce5e117e0b54..4e97c611cc73 100644
--- a/editeng/source/editeng/editdoc.hxx
+++ b/editeng/source/editeng/editdoc.hxx
@@ -198,7 +198,6 @@ public:
~CharAttribList();
void DeleteEmptyAttribs( SfxItemPool& rItemPool );
- void RemoveItemsFromPool( SfxItemPool* pItemPool );
const EditCharAttrib* FindAttrib( sal_uInt16 nWhich, sal_Int32 nPos ) const;
EditCharAttrib* FindAttrib( sal_uInt16 nWhich, sal_Int32 nPos );
@@ -505,38 +504,37 @@ public:
{ return ( ( nIndex >= nStart ) && ( bInclEnd ? ( nIndex <= nEnd ) : ( nIndex < nEnd ) ) ); }
void SetStart( sal_Int32 n ) { nStart = n; }
- sal_Int32 GetStart() const { return nStart; }
- sal_Int32& GetStart() { return nStart; }
+ sal_Int32 GetStart() const { return nStart; }
+ sal_Int32& GetStart() { return nStart; }
void SetEnd( sal_Int32 n ) { nEnd = n; }
- sal_Int32 GetEnd() const { return nEnd; }
- sal_Int32& GetEnd() { return nEnd; }
+ sal_Int32 GetEnd() const { return nEnd; }
+ sal_Int32& GetEnd() { return nEnd; }
void SetStartPortion( sal_Int32 n ) { nStartPortion = n; }
- sal_Int32 GetStartPortion() const { return nStartPortion; }
- sal_Int32& GetStartPortion() { return nStartPortion; }
+ sal_Int32 GetStartPortion() const { return nStartPortion; }
+ sal_Int32& GetStartPortion() { return nStartPortion; }
void SetEndPortion( sal_Int32 n ) { nEndPortion = n; }
- sal_Int32 GetEndPortion() const { return nEndPortion; }
- sal_Int32& GetEndPortion() { return nEndPortion; }
+ sal_Int32 GetEndPortion() const { return nEndPortion; }
+ sal_Int32& GetEndPortion() { return nEndPortion; }
void SetHeight( sal_uInt16 nH, sal_uInt16 nTxtH = 0, sal_uInt16 nCrsrH = 0 );
- sal_uInt16 GetHeight() const { return nHeight; }
- sal_uInt16 GetTxtHeight() const { return nTxtHeight; }
- sal_uInt16 GetCrsrHeight() const { return nCrsrHeight; }
+ sal_uInt16 GetHeight() const { return nHeight; }
+ sal_uInt16 GetTxtHeight() const { return nTxtHeight; }
void SetTextWidth( long n ) { nTxtWidth = n; }
long GetTextWidth() const { return nTxtWidth; }
void SetMaxAscent( sal_uInt16 n ) { nMaxAscent = n; }
- sal_uInt16 GetMaxAscent() const { return nMaxAscent; }
+ sal_uInt16 GetMaxAscent() const { return nMaxAscent; }
void SetHangingPunctuation( bool b ) { bHangingPunctuation = b; }
bool IsHangingPunctuation() const { return bHangingPunctuation; }
- sal_Int32 GetLen() const { return nEnd - nStart; }
+ sal_Int32 GetLen() const { return nEnd - nStart; }
- sal_uInt16 GetStartPosX() const { return nStartPosX; }
+ sal_uInt16 GetStartPosX() const { return nStartPosX; }
void SetStartPosX( long start );
Size CalcTextSize( ParaPortion& rParaPortion );
@@ -624,7 +622,7 @@ public:
bool MustRepaint() const { return bForceRepaint; }
void SetMustRepaint( bool bRP ) { bForceRepaint = bRP; }
- sal_uInt16 GetBulletX() const { return nBulletX; }
+ sal_uInt16 GetBulletX() const { return nBulletX; }
void SetBulletX( sal_uInt16 n ) { nBulletX = n; }
void MarkInvalid( sal_Int32 nStart, sal_Int32 nDiff);
@@ -633,7 +631,7 @@ public:
void SetVisible( bool bVisible );
bool IsVisible() const { return bVisible; }
- bool IsEmpty() { return GetTextPortions().Count() == 1 && GetTextPortions()[0].GetLen() == 0; }
+ bool IsEmpty() { return GetTextPortions().Count() == 1 && GetTextPortions()[0].GetLen() == 0; }
long GetHeight() const { return ( bVisible ? nHeight : 0 ); }
sal_Int32 GetFirstLineOffset() const { return ( bVisible ? nFirstLineOffset : 0 ); }
@@ -752,7 +750,7 @@ private:
Link<> aModifyHdl;
SvxFont aDefFont; //faster than ever from the pool!!
- sal_uInt16 nDefTab;
+ sal_uInt16 nDefTab;
bool bIsVertical:1;
bool bIsFixedCellHeight:1;
@@ -772,13 +770,12 @@ public:
void SetModified( bool b );
void SetModifyHdl( const Link<>& rLink ) { aModifyHdl = rLink; }
- Link<> GetModifyHdl() const { return aModifyHdl; }
void CreateDefFont( bool bUseStyles );
const SvxFont& GetDefFont() { return aDefFont; }
void SetDefTab( sal_uInt16 nTab ) { nDefTab = nTab ? nTab : DEFTAB; }
- sal_uInt16 GetDefTab() const { return nDefTab; }
+ sal_uInt16 GetDefTab() const { return nDefTab; }
void SetVertical( bool bVertical ) { bIsVertical = bVertical; }
bool IsVertical() const { return bIsVertical; }
diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx
index e6c2fc091dc2..7797db7bb549 100644
--- a/editeng/source/editeng/editeng.cxx
+++ b/editeng/source/editeng/editeng.cxx
@@ -2547,10 +2547,6 @@ void EditEngine::FieldClicked( const SvxFieldItem&, sal_Int32, sal_Int32 )
{
}
-void EditEngine::FieldSelected( const SvxFieldItem&, sal_Int32, sal_Int32 )
-{
-}
-
// ====================== Static Methods =======================
diff --git a/editeng/source/editeng/editstt2.hxx b/editeng/source/editeng/editstt2.hxx
index 44f1ed739c5c..f846c165e5d0 100644
--- a/editeng/source/editeng/editstt2.hxx
+++ b/editeng/source/editeng/editstt2.hxx
@@ -34,13 +34,6 @@ public:
void TurnOffFlags( EEControlBits nFlags )
{ nControlBits &= ~nFlags; }
- void TurnOnStatusBits( EditStatusFlags nBits )
- { nStatusBits |= nBits; }
-
- void TurnOffStatusBits( EditStatusFlags nBits )
- { nStatusBits &= ~nBits; }
-
-
bool UseCharAttribs() const
{ return bool( nControlBits & EEControlBits::USECHARATTRIBS ); }
diff --git a/editeng/source/editeng/editundo.hxx b/editeng/source/editeng/editundo.hxx
index a31261a38ee8..b0c4953b9565 100644
--- a/editeng/source/editeng/editundo.hxx
+++ b/editeng/source/editeng/editundo.hxx
@@ -104,9 +104,6 @@ private:
public:
EditUndoInsertChars(EditEngine* pEE, const EPaM& rEPaM, const OUString& rStr);
- const EPaM& GetEPaM() { return aEPaM; }
- OUString GetStr() const { return aText; }
-
virtual void Undo() SAL_OVERRIDE;
virtual void Redo() SAL_OVERRIDE;
diff --git a/editeng/source/editeng/edtspell.cxx b/editeng/source/editeng/edtspell.cxx
index a872de884329..90d8cf462338 100644
--- a/editeng/source/editeng/edtspell.cxx
+++ b/editeng/source/editeng/edtspell.cxx
@@ -144,13 +144,6 @@ bool EditSpellWrapper::SpellMore()
return bMore;
}
-void EditSpellWrapper::ScrollArea()
-{
- // No further action needed ...
- // Except for, that the area is to be scrolled in the center, and not stand
- // still anywhere.
-}
-
void EditSpellWrapper::ReplaceAll( const OUString &rNewText,
sal_Int16 )
{
@@ -159,29 +152,6 @@ void EditSpellWrapper::ReplaceAll( const OUString &rNewText,
CheckSpellTo();
}
-void EditSpellWrapper::ChangeWord( const OUString& rNewWord,
- const sal_uInt16 )
-{
- // Will be called when Word Button Change
- // or internally by me ChangeAll
-
- // If there is a dot Punkt after the word, this dot will be stripped away.
- // If '"' => PreStripped.
- OUString aNewWord( rNewWord );
- pEditView->InsertText( aNewWord );
- CheckSpellTo();
-}
-
-void EditSpellWrapper::ChangeThesWord( const OUString& rNewWord )
-{
- pEditView->InsertText( rNewWord );
- CheckSpellTo();
-}
-
-void EditSpellWrapper::AutoCorrect( const OUString&, const OUString& )
-{
-}
-
void EditSpellWrapper::CheckSpellTo()
{
ImpEditEngine* pImpEE = pEditView->GetImpEditEngine();
diff --git a/editeng/source/editeng/edtspell.hxx b/editeng/source/editeng/edtspell.hxx
index a3b1382090e3..4048e97f7dcd 100644
--- a/editeng/source/editeng/edtspell.hxx
+++ b/editeng/source/editeng/edtspell.hxx
@@ -51,10 +51,6 @@ protected:
virtual void SpellEnd() SAL_OVERRIDE;
virtual bool SpellMore() SAL_OVERRIDE;
virtual bool HasOtherCnt() SAL_OVERRIDE;
- virtual void ScrollArea() SAL_OVERRIDE;
- virtual void ChangeWord( const OUString& rNewWord, const sal_uInt16 nLang ) SAL_OVERRIDE;
- virtual void ChangeThesWord( const OUString& rNewWord ) SAL_OVERRIDE;
- virtual void AutoCorrect( const OUString& rOldWord, const OUString& rNewWord ) SAL_OVERRIDE;
public:
EditSpellWrapper( vcl::Window* pWin,
diff --git a/editeng/source/editeng/eertfpar.hxx b/editeng/source/editeng/eertfpar.hxx
index 59d215ec8c78..90f41e23a225 100644
--- a/editeng/source/editeng/eertfpar.hxx
+++ b/editeng/source/editeng/eertfpar.hxx
@@ -101,15 +101,9 @@ public:
virtual SvParserState CallParser() SAL_OVERRIDE;
-
- void SetDestCharSet( rtl_TextEncoding eCharSet ) { eDestCharSet = eCharSet; }
- rtl_TextEncoding
- GetDestCharSet() const { return eDestCharSet; }
-
- sal_uInt16 GetDefTab() const { return nDefTab; }
vcl::Font GetDefFont() { return GetFont( nDefFont ); }
- EditPaM GetCurPaM() const { return aCurSel.Max(); }
+ EditPaM GetCurPaM() const { return aCurSel.Max(); }
};
typedef tools::SvRef<EditRTFParser> EditRTFParserRef;
diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx
index bad7347ae36a..f78185b2cc1c 100644
--- a/editeng/source/editeng/impedit.hxx
+++ b/editeng/source/editeng/impedit.hxx
@@ -305,7 +305,6 @@ public:
void Paste( ::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::clipboard::XClipboard >& rxClipboard, bool bUseSpecial = false );
void SetVisDocStartPos( const Point& rPos ) { aVisDocStartPos = rPos; }
- const Point& GetVisDocStartPos() const { return aVisDocStartPos; }
long GetVisDocLeft() const { return aVisDocStartPos.X(); }
long GetVisDocTop() const { return aVisDocStartPos.Y(); }
@@ -325,10 +324,8 @@ public:
EESelectionMode GetSelectionMode() const { return eSelectionMode; }
void SetSelectionMode( EESelectionMode eMode );
- inline void SetPointer( const Pointer& rPointer );
inline const Pointer& GetPointer();
- inline void SetCursor( const vcl::Cursor& rCursor );
inline vcl::Cursor* GetCursor();
void AddDragAndDropListeners();
@@ -339,9 +336,9 @@ public:
// For the Selection Engine...
void CreateAnchor();
void DeselectAll();
- bool SetCursorAtPoint( const Point& rPointPixel );
- bool IsSelectionAtPoint( const Point& rPosPixel );
- bool IsInSelection( const EditPaM& rPaM );
+ bool SetCursorAtPoint( const Point& rPointPixel );
+ bool IsSelectionAtPoint( const Point& rPosPixel );
+ bool IsInSelection( const EditPaM& rPaM );
void SetAnchorMode( EVAnchorMode eMode );
@@ -349,14 +346,12 @@ public:
void CalcAnchorPoint();
void RecalcOutputArea();
- void ShowCursor( bool bGotoCursor, bool bForceVisCursor, bool test );
void ShowCursor( bool bGotoCursor, bool bForceVisCursor, sal_uInt16 nShowCursorFlags = 0 );
Pair Scroll( long ndX, long ndY, sal_uInt8 nRangeCheck = RGCHK_NEG );
void SetInsertMode( bool bInsert );
bool IsInsertMode() const { return !( nControl & EVControlBits::OVERWRITE ); }
- void EnablePaste( bool bEnable ) { SetFlags( nControl, EVControlBits::ENABLEPASTE, bEnable ); }
bool IsPasteEnabled() const { return bool( nControl & EVControlBits::ENABLEPASTE ); }
bool DoSingleLinePaste() const { return bool( nControl & EVControlBits::SINGLELINEPASTE ); }
@@ -547,11 +542,9 @@ private:
EditPaM Clear();
EditPaM RemoveText();
- EditPaM RemoveText( EditSelection aEditSelection );
- bool CreateLines( sal_Int32 nPara, sal_uInt32 nStartPosY );
+ bool CreateLines( sal_Int32 nPara, sal_uInt32 nStartPosY );
void CreateAndInsertEmptyLine( ParaPortion* pParaPortion, sal_uInt32 nStartPosY );
- bool FinishCreateLines( ParaPortion* pParaPortion );
- void CalcCharPositions( ParaPortion* pParaPortion );
+ bool FinishCreateLines( ParaPortion* pParaPortion );
void CreateTextPortions( ParaPortion* pParaPortion, sal_Int32& rStartPos /*, sal_Bool bCreateBlockPortions */ );
void RecalcTextPortion( ParaPortion* pParaPortion, sal_Int32 nStartPos, sal_Int32 nNewChars );
sal_Int32 SplitTextPortion( ParaPortion* pParaPortion, sal_Int32 nPos, EditLine* pCurLine = 0 );
@@ -634,13 +627,12 @@ private:
sal_uInt32 WriteBin(SvStream& rOutput, const EditSelection& rSel, bool bStoreUnicode = false);
void WriteItemAsRTF( const SfxPoolItem& rItem, SvStream& rOutput, sal_Int32 nPara, sal_Int32 nPos,
- std::vector<SvxFontItem*>& rFontTable, SvxColorList& rColorList );
- bool WriteItemListAsRTF( ItemList& rLst, SvStream& rOutput, sal_Int32 nPara, sal_Int32 nPos,
- std::vector<SvxFontItem*>& rFontTable, SvxColorList& rColorList );
- sal_Int32 LogicToTwips( sal_Int32 n );
+ std::vector<SvxFontItem*>& rFontTable, SvxColorList& rColorList );
+ bool WriteItemListAsRTF( ItemList& rLst, SvStream& rOutput, sal_Int32 nPara, sal_Int32 nPos,
+ std::vector<SvxFontItem*>& rFontTable, SvxColorList& rColorList );
+ sal_Int32 LogicToTwips( sal_Int32 n );
inline short GetXValue( short nXValue ) const;
- inline sal_uInt16 GetXValue( sal_uInt16 nXValue ) const;
inline long GetXValue( long nXValue ) const;
inline short GetYValue( short nYValue ) const;
@@ -917,8 +909,6 @@ public:
void SetDefaultLanguage( LanguageType eLang ) { eDefLanguage = eLang; }
LanguageType GetDefaultLanguage() const { return eDefLanguage; }
-
- LanguageType GetLanguage( const EditSelection &rSelection ) const;
LanguageType GetLanguage( const EditPaM& rPaM, sal_Int32* pEndPos = NULL ) const;
::com::sun::star::lang::Locale GetLocale( const EditPaM& rPaM ) const;
@@ -988,7 +978,6 @@ public:
void SetCharStretching( sal_uInt16 nX, sal_uInt16 nY );
inline void GetCharStretching( sal_uInt16& rX, sal_uInt16& rY ) const;
- void SetBigTextObjectStart( sal_Int32 nStartAtPortionCount ) { nBigTextObjectStart = nStartAtPortionCount; }
sal_Int32 GetBigTextObjectStart() const { return nBigTextObjectStart; }
inline EditEngine* GetEditEnginePtr() const { return pEditEngine; }
@@ -1147,13 +1136,7 @@ inline short ImpEditEngine::GetXValue( short nXValue ) const
return (short) ((long)nXValue*nStretchX/100);
}
-inline sal_uInt16 ImpEditEngine::GetXValue( sal_uInt16 nXValue ) const
-{
- if ( !aStatus.DoStretch() || ( nStretchX == 100 ) )
- return nXValue;
- return (sal_uInt16) ((long)nXValue*nStretchX/100);
-}
inline long ImpEditEngine::GetXValue( long nXValue ) const
{
@@ -1179,12 +1162,6 @@ inline sal_uInt16 ImpEditEngine::GetYValue( sal_uInt16 nYValue ) const
return (sal_uInt16) ((long)nYValue*nStretchY/100);
}
-inline void ImpEditView::SetPointer( const Pointer& rPointer )
-{
- delete pPointer;
- pPointer = new Pointer( rPointer );
-}
-
inline const Pointer& ImpEditView::GetPointer()
{
if ( !pPointer )
@@ -1207,12 +1184,6 @@ inline const Pointer& ImpEditView::GetPointer()
return *pPointer;
}
-inline void ImpEditView::SetCursor( const vcl::Cursor& rCursor )
-{
- delete pCursor;
- pCursor = new vcl::Cursor( rCursor );
-}
-
inline vcl::Cursor* ImpEditView::GetCursor()
{
if ( !pCursor )
diff --git a/editeng/source/items/paraitem.cxx b/editeng/source/items/paraitem.cxx
index c1402d9b6b38..b1fb26cfb459 100644
--- a/editeng/source/items/paraitem.cxx
+++ b/editeng/source/items/paraitem.cxx
@@ -830,23 +830,6 @@ void SvxTabStop::fillDecimal() const
}
-OUString SvxTabStop::GetValueString() const
-{
- OUString aStr = "("
- + OUString::number(nTabPos)
- + ", "
- + EE_RESSTR(RID_SVXITEMS_TAB_ADJUST_BEGIN + (sal_uInt16)eAdjustment)
- + ", ["
- + EE_RESSTR(RID_SVXITEMS_TAB_DECIMAL_CHAR)
- + OUString(GetDecimal())
- + "], , ["
- + EE_RESSTR(RID_SVXITEMS_TAB_FILL_CHAR)
- + OUString(cFill)
- + "])";
-
- return aStr;
-}
-
// class SvxTabStopItem --------------------------------------------------
SvxTabStopItem::SvxTabStopItem( sal_uInt16 _nWhich ) :
diff --git a/editeng/source/misc/splwrap.cxx b/editeng/source/misc/splwrap.cxx
index bf2cf17601da..6ddafdf6b09b 100644
--- a/editeng/source/misc/splwrap.cxx
+++ b/editeng/source/misc/splwrap.cxx
@@ -277,23 +277,6 @@ bool SvxSpellWrapper::SpellContinue()
return false;
}
-void SvxSpellWrapper::AutoCorrect( const OUString&, const OUString& )
-{
-}
-
-void SvxSpellWrapper::ScrollArea()
-{ // Set Scroll area
-}
-
-void SvxSpellWrapper::ChangeWord( const OUString&, const sal_uInt16 )
-{ // Insert Word
-}
-
-void SvxSpellWrapper::ChangeThesWord( const OUString& )
-{
- // replace word due to Thesaurus.
-}
-
void SvxSpellWrapper::ReplaceAll( const OUString &, sal_Int16 )
{ // Replace Word from the Replace list
}
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 070ab119f052..635c751b6c24 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -2653,46 +2653,6 @@ bool SvxAutoCorrectLanguageLists::PutText( const OUString& rShort,
return bRet;
}
-// Delete an entry
-bool SvxAutoCorrectLanguageLists::DeleteText( const OUString& rShort )
-{
- // First get the current list!
- GetAutocorrWordList();
-
- MakeUserStorage_Impl();
-
- tools::SvRef<SotStorage> xStg = new SotStorage( sUserAutoCorrFile, STREAM_READWRITE );
- bool bRet = xStg.Is() && SVSTREAM_OK == xStg->GetError();
- if( bRet )
- {
- SvxAutocorrWord aTmp( rShort, rShort );
- SvxAutocorrWord *pFnd = pAutocorr_List->FindAndRemove( &aTmp );
- if( pFnd )
- {
- if( !pFnd->IsTextOnly() )
- {
- OUString aName( rShort );
- if (xStg->IsOLEStorage())
- aName = EncryptBlockName_Imp(aName);
- else
- GeneratePackageName ( rShort, aName );
- if( xStg->IsContained( aName ) )
- {
- xStg->Remove( aName );
- bRet = xStg->Commit();
- }
-
- }
- delete pFnd;
- MakeBlocklist_Imp( *xStg );
- xStg = 0;
- }
- else
- bRet = false;
- }
- return bRet;
-}
-
// Keep the list sorted ...
struct CompareSvxAutocorrWordList
{
diff --git a/editeng/source/outliner/outleeng.cxx b/editeng/source/outliner/outleeng.cxx
index ea0af4fb794f..5a15d5372fb7 100644
--- a/editeng/source/outliner/outleeng.cxx
+++ b/editeng/source/outliner/outleeng.cxx
@@ -176,11 +176,6 @@ void OutlinerEditEng::FieldClicked( const SvxFieldItem& rField, sal_Int32 nPara,
pOwner->FieldClicked( rField, nPara, nPos );
}
-void OutlinerEditEng::FieldSelected( const SvxFieldItem& rField, sal_Int32 nPara, sal_Int32 nPos )
-{
- pOwner->FieldSelected( rField, nPara, nPos );
-}
-
OUString OutlinerEditEng::CalcFieldValue( const SvxFieldItem& rField, sal_Int32 nPara, sal_Int32 nPos, Color*& rpTxtColor, Color*& rpFldColor )
{
return pOwner->CalcFieldValue( rField, nPara, nPos, rpTxtColor, rpFldColor );
diff --git a/editeng/source/outliner/outleeng.hxx b/editeng/source/outliner/outleeng.hxx
index 09eebfacf62e..c581b9395474 100644
--- a/editeng/source/outliner/outleeng.hxx
+++ b/editeng/source/outliner/outleeng.hxx
@@ -73,7 +73,6 @@ public:
virtual bool ConvertNextDocument() SAL_OVERRIDE;
virtual void FieldClicked( const SvxFieldItem& rField, sal_Int32 nPara, sal_Int32 nPos ) SAL_OVERRIDE;
- virtual void FieldSelected( const SvxFieldItem& rField, sal_Int32 nPara, sal_Int32 nPos ) SAL_OVERRIDE;
virtual OUString CalcFieldValue( const SvxFieldItem& rField, sal_Int32 nPara, sal_Int32 nPos, Color*& rTxtColor, Color*& rFldColor ) SAL_OVERRIDE;
virtual Rectangle GetBulletArea( sal_Int32 nPara ) SAL_OVERRIDE;
diff --git a/editeng/source/outliner/paralist.hxx b/editeng/source/outliner/paralist.hxx
index fb3311d8f89b..8bf2d9adf179 100644
--- a/editeng/source/outliner/paralist.hxx
+++ b/editeng/source/outliner/paralist.hxx
@@ -67,7 +67,6 @@ public:
void Collapse( Paragraph* pParent );
void SetVisibleStateChangedHdl( const Link<>& rLink ) { aVisibleStateChangedHdl = rLink; }
- Link<> GetVisibleStateChangedHdl() const { return aVisibleStateChangedHdl; }
private: