editeng/inc/editeng/editeng.hxx| 30 --
editeng/source/editeng/editeng.cxx | 176 -
unusedcode.easy| 25 -
3 files changed, 1 insertion(+), 230 deletions(-)
New commits:
commit 46bc8b9027a6a68791973a3da702db39b3cd0e30
Author: Felix Zhang fezh...@suse.com
Date: Thu Nov 3 15:59:37 2011 +0800
remove unused methods in EditEngine
diff --git a/editeng/inc/editeng/editeng.hxx b/editeng/inc/editeng/editeng.hxx
index 0db0464..f23223e 100644
--- a/editeng/inc/editeng/editeng.hxx
+++ b/editeng/inc/editeng/editeng.hxx
@@ -135,7 +135,6 @@ public:
const SfxItemSet GetEmptyItemSet();
voidSetDefTab( sal_uInt16 nDefTab );
-sal_uInt16 GetDefTab() const;
voidSetRefDevice( OutputDevice* pRefDef );
OutputDevice* GetRefDevice() const;
@@ -150,7 +149,6 @@ public:
Color GetBackgroundColor() const;
Color GetAutoColor() const;
voidEnableAutoColor( sal_Bool b );
-sal_BoolIsAutoColorEnabled() const;
voidForceAutoColor( sal_Bool b );
sal_BoolIsForceAutoColor() const;
@@ -161,7 +159,6 @@ public:
sal_uInt16 GetViewCount() const;
sal_BoolHasView( EditView* pView ) const;
EditView* GetActiveView() const;
-voidSetActiveView( EditView* pView );
voidSetPaperSize( const Size rSize );
const Size GetPaperSize() const;
@@ -170,7 +167,6 @@ public:
sal_BoolIsVertical() const;
voidSetFixedCellHeight( sal_Bool bUseFixedCellHeight );
-sal_BoolIsFixedCellHeight() const;
voidSetDefaultHorizontalTextDirection(
EEHorizontalTextDirection eHTextDir );
EEHorizontalTextDirection GetDefaultHorizontalTextDirection() const;
@@ -181,18 +177,14 @@ public:
voidTransliterateText( const ESelection rSelection, sal_Int32
nTransliterationMode );
voidSetAsianCompressionMode( sal_uInt16 nCompression );
-sal_uInt16 GetAsianCompressionMode() const;
voidSetKernAsianPunctuation( sal_Bool bEnabled );
-sal_BoolIsKernAsianPunctuation() const;
voidSetAddExtLeading( sal_Bool b );
-sal_BoolIsAddExtLeading() const;
voidSetPolygon( const basegfx::B2DPolyPolygon
rPolyPolygon );
voidSetPolygon( const basegfx::B2DPolyPolygon
rPolyPolygon, const basegfx::B2DPolyPolygon* pLinePolyPolygon);
voidClearPolygon();
-const PolyPolygon* GetPolygon();
const Size GetMinAutoPaperSize() const;
voidSetMinAutoPaperSize( const Size rSz );
@@ -218,7 +210,6 @@ public:
voidGetLineBoundaries( /*out*/sal_uInt16 rStart,
/*out*/sal_uInt16 rEnd, sal_uInt16 nParagraph, sal_uInt16 nLine ) const;
sal_uInt16 GetLineNumberAtIndex( sal_uInt16 nPara, sal_uInt16
nIndex ) const;
sal_uInt32 GetLineHeight( sal_uInt16 nParagraph, sal_uInt16 nLine = 0
);
-sal_uInt16 GetFirstLineOffset( sal_uInt16 nParagraph );
ParagraphInfos GetParagraphInfos( sal_uInt16 nPara );
sal_uInt16 FindParagraph( long nDocPosY );
EPosition FindDocPosition( const Point rDocPos ) const;
@@ -227,7 +218,6 @@ public:
String GetWord( sal_uInt16 nPara, xub_StrLen nIndex );
ESelection GetWord( const ESelection rSelection, sal_uInt16
nWordType ) const;
-ESelection SelectSentence( const ESelection rCurSel ) const;
voidClear();
voidSetText( const String rStr );
@@ -241,7 +231,6 @@ public:
voidInsertParagraph( sal_uInt16 nPara, const EditTextObject
rTxtObj );
voidInsertParagraph( sal_uInt16 nPara, const String rText);
-voidSetText( sal_uInt16 nPara, const EditTextObject rTxtObj );
voidSetText( sal_uInt16 nPara, const String rText);
virtual voidSetParaAttribs( sal_uInt16 nPara, const
SfxItemSet rSet );
@@ -261,7 +250,6 @@ public:
voidRemoveAttribs( const ESelection rSelection, sal_Bool
bRemoveParaAttribs, sal_uInt16 nWhich );
voidShowParagraph( sal_uInt16 nParagraph, sal_Bool bShow =
sal_True );
-sal_BoolIsParagraphVisible( sal_uInt16 nParagraph );
::svl::IUndoManager
GetUndoManager();
@@ -285,7 +273,6 @@ public:
LinkGetModifyHdl() const;
sal_BoolIsInSelectionMode() const;
-voidStopSelectionMode();
voidStripPortions();
voidGetPortions( sal_uInt16 nPara, std::vectorsal_uInt16
rList );
@@ -347,12 +334,6 @@ public:
voidSetWordDelimiters( const String rDelimiters );
String