summaryrefslogtreecommitdiff
path: root/include/editeng
diff options
context:
space:
mode:
Diffstat (limited to 'include/editeng')
-rw-r--r--include/editeng/AccessibleEditableTextPara.hxx3
-rw-r--r--include/editeng/AccessibleParaManager.hxx2
-rw-r--r--include/editeng/acorrcfg.hxx4
-rw-r--r--include/editeng/borderline.hxx4
-rw-r--r--include/editeng/charsetcoloritem.hxx1
-rw-r--r--include/editeng/cmapitem.hxx2
-rw-r--r--include/editeng/crossedoutitem.hxx2
-rw-r--r--include/editeng/editeng.hxx3
-rw-r--r--include/editeng/editstat.hxx4
-rw-r--r--include/editeng/editview.hxx4
-rw-r--r--include/editeng/edtdlg.hxx4
-rw-r--r--include/editeng/emphasismarkitem.hxx2
-rw-r--r--include/editeng/flditem.hxx11
-rw-r--r--include/editeng/formatbreakitem.hxx6
-rw-r--r--include/editeng/fwdtitem.hxx7
-rw-r--r--include/editeng/langitem.hxx2
-rw-r--r--include/editeng/lrspitem.hxx5
-rw-r--r--include/editeng/measfld.hxx1
-rw-r--r--include/editeng/numitem.hxx7
-rw-r--r--include/editeng/outliner.hxx24
-rw-r--r--include/editeng/pmdlitem.hxx1
-rw-r--r--include/editeng/postitem.hxx2
-rw-r--r--include/editeng/scripttypeitem.hxx5
-rw-r--r--include/editeng/splwrap.hxx17
-rw-r--r--include/editeng/svxacorr.hxx5
-rw-r--r--include/editeng/svxrtf.hxx18
-rw-r--r--include/editeng/tstpitem.hxx4
-rw-r--r--include/editeng/txtrange.hxx2
-rw-r--r--include/editeng/unofield.hxx1
-rw-r--r--include/editeng/unoforou.hxx4
-rw-r--r--include/editeng/unoipset.hxx3
-rw-r--r--include/editeng/unopracc.hxx3
-rw-r--r--include/editeng/unotext.hxx1
-rw-r--r--include/editeng/wghtitem.hxx2
34 files changed, 5 insertions, 161 deletions
diff --git a/include/editeng/AccessibleEditableTextPara.hxx b/include/editeng/AccessibleEditableTextPara.hxx
index 1b4d7c44a553..37a6a25da8ea 100644
--- a/include/editeng/AccessibleEditableTextPara.hxx
+++ b/include/editeng/AccessibleEditableTextPara.hxx
@@ -373,9 +373,6 @@ namespace accessibility
/// Our listeners (guarded by maMutex)
int mnNotifierClientId;
-public:
- void SetParagraphBackColorAccessible(const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > & ref)
- { m_xAccInfo = ref ;}
private:
::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > m_xAccInfo;
diff --git a/include/editeng/AccessibleParaManager.hxx b/include/editeng/AccessibleParaManager.hxx
index 081e36c03893..e1460512d11e 100644
--- a/include/editeng/AccessibleParaManager.hxx
+++ b/include/editeng/AccessibleParaManager.hxx
@@ -169,8 +169,6 @@ namespace accessibility
// iterators
VectorOfChildren::iterator begin();
VectorOfChildren::iterator end();
- VectorOfChildren::const_iterator begin() const;
- VectorOfChildren::const_iterator end() const;
/// Set focus to given child
void SetFocus( sal_Int32 nChild );
diff --git a/include/editeng/acorrcfg.hxx b/include/editeng/acorrcfg.hxx
index e2fd887ad02e..7bc0e291cc9c 100644
--- a/include/editeng/acorrcfg.hxx
+++ b/include/editeng/acorrcfg.hxx
@@ -105,14 +105,10 @@ public:
bool IsSaveRelNet() const { return bNetRel; }
void SetSaveRelNet( bool bSet ) { bNetRel = bSet; aSwConfig.SetModified();}
- bool IsAutoTextPreview() const {return bAutoTextPreview;}
- void SetAutoTextPreview(bool bSet) {bAutoTextPreview = bSet; aSwConfig.SetModified();}
-
bool IsAutoTextTip() const { return bAutoTextTip; }
void SetAutoTextTip(bool bSet ) { bAutoTextTip = bSet;aSwConfig.SetModified();}
bool IsSearchInAllCategories() const { return bSearchInAllCategories;}
- void SetSearchInAllCategories(bool bSet ) { bSearchInAllCategories = bSet; aSwConfig.SetModified(); }
SvxAutoCorrCfg();
virtual ~SvxAutoCorrCfg();
diff --git a/include/editeng/borderline.hxx b/include/editeng/borderline.hxx
index c080a9413200..1afc40348c8e 100644
--- a/include/editeng/borderline.hxx
+++ b/include/editeng/borderline.hxx
@@ -124,10 +124,6 @@ namespace editeng {
SvxBorderStyle GetBorderLineStyle() const { return m_nStyle; }
void SetColor( const Color &rColor ) { aColor = rColor; }
- void SetColorOutFn( Color (*pColorOutFn)( Color ) ) { m_pColorOutFn = pColorOutFn; }
- void SetColorInFn( Color (*pColorInFn)( Color ) ) { m_pColorInFn = pColorInFn; }
- void SetColorGapFn( Color (*pColorGapFn)( Color ) ) { m_pColorGapFn = pColorGapFn; }
- void SetUseLeftTop( bool bUseLeftTop ) { m_bUseLeftTop = bUseLeftTop; }
void SetBorderLineStyle( SvxBorderStyle nNew );
void ScaleMetrics( long nMult, long nDiv );
diff --git a/include/editeng/charsetcoloritem.hxx b/include/editeng/charsetcoloritem.hxx
index b64bf3b4fcb5..0dde644edb33 100644
--- a/include/editeng/charsetcoloritem.hxx
+++ b/include/editeng/charsetcoloritem.hxx
@@ -50,7 +50,6 @@ public:
virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const SAL_OVERRIDE;
virtual SvStream& Store(SvStream &, sal_uInt16 nItemVersion) const SAL_OVERRIDE;
- inline rtl_TextEncoding& GetCharSet() { return eFrom; }
inline rtl_TextEncoding GetCharSet() const { return eFrom; }
inline SvxCharSetColorItem& operator=(const SvxCharSetColorItem& rColor)
diff --git a/include/editeng/cmapitem.hxx b/include/editeng/cmapitem.hxx
index 00ba3ad0bc2c..2af3c281ccf1 100644
--- a/include/editeng/cmapitem.hxx
+++ b/include/editeng/cmapitem.hxx
@@ -65,8 +65,6 @@ public:
// enum cast
SvxCaseMap GetCaseMap() const
{ return (SvxCaseMap)GetValue(); }
- void SetCaseMap( SvxCaseMap eNew )
- { SetValue( (sal_uInt16)eNew ); }
virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const SAL_OVERRIDE;
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) SAL_OVERRIDE;
};
diff --git a/include/editeng/crossedoutitem.hxx b/include/editeng/crossedoutitem.hxx
index 8e64ba9feff1..f182b5989b8a 100644
--- a/include/editeng/crossedoutitem.hxx
+++ b/include/editeng/crossedoutitem.hxx
@@ -70,8 +70,6 @@ public:
// enum cast
FontStrikeout GetStrikeout() const
{ return (FontStrikeout)GetValue(); }
- void SetStrikeout( FontStrikeout eNew )
- { SetValue( (sal_uInt16)eNew ); }
};
#endif // INCLUDED_EDITENG_CROSSEDOUTITEM_HXX
diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx
index 5c95c4d53077..66abc62852f4 100644
--- a/include/editeng/editeng.hxx
+++ b/include/editeng/editeng.hxx
@@ -214,8 +214,6 @@ public:
void SetUpdateMode( bool bUpdate );
bool GetUpdateMode() const;
- void SetUpdateModeForAcc( bool bUp);
- bool GetUpdateModeForAcc( ) const;
void SetBackgroundColor( const Color& rColor );
Color GetBackgroundColor() const;
@@ -499,7 +497,6 @@ public:
virtual OUString GetUndoComment( sal_uInt16 nUndoId ) const;
virtual bool SpellNextDocument();
virtual void FieldClicked( const SvxFieldItem& rField, sal_Int32 nPara, sal_Int32 nPos );
- virtual void FieldSelected( const SvxFieldItem& rField, sal_Int32 nPara, sal_Int32 nPos );
virtual OUString CalcFieldValue( const SvxFieldItem& rField, sal_Int32 nPara, sal_Int32 nPos, Color*& rTxtColor, Color*& rFldColor );
// override this if access to bullet information needs to be provided
diff --git a/include/editeng/editstat.hxx b/include/editeng/editstat.hxx
index b53c744c3092..46ddd44ad8df 100644
--- a/include/editeng/editstat.hxx
+++ b/include/editeng/editstat.hxx
@@ -125,16 +125,12 @@ public:
EditStatus() { nStatusBits = EditStatusFlags::NONE; nControlBits = EEControlBits::NONE; nPrevPara = -1; }
void Clear() { nStatusBits = EditStatusFlags::NONE; }
- void SetControlBits( EEControlBits nMask, bool bOn )
- { SetFlags( nControlBits, nMask, bOn ); }
EditStatusFlags GetStatusWord() const { return nStatusBits; }
EditStatusFlags& GetStatusWord() { return nStatusBits; }
- EEControlBits GetControlWord() const { return nControlBits; }
EEControlBits& GetControlWord() { return nControlBits; }
- sal_Int32 GetPrevParagraph() const { return nPrevPara; }
sal_Int32& GetPrevParagraph() { return nPrevPara; }
};
diff --git a/include/editeng/editview.hxx b/include/editeng/editview.hxx
index bb091172c9ba..f67fa3480f31 100644
--- a/include/editeng/editview.hxx
+++ b/include/editeng/editview.hxx
@@ -118,7 +118,6 @@ public:
bool IsInsertMode() const;
void SetInsertMode( bool bInsert );
- void ReplaceSelected( const OUString& rStr );
OUString GetSelected();
void DeleteSelected();
@@ -205,14 +204,11 @@ public:
// for text conversion
void StartTextConversion( LanguageType nSrcLang, LanguageType nDestLang, const vcl::Font *pDestFont, sal_Int32 nOptions, bool bIsInteractive, bool bMultipleDoc );
- bool HasConvertibleTextPortion( LanguageType nLang );
void TransliterateText( sal_Int32 nTransliterationMode );
bool IsCursorAtWrongSpelledWord( bool bMarkIfWrong = false );
bool IsWrongSpelledWordAtPos( const Point& rPosPixel, bool bMarkIfWrong = false );
- bool IsShapeParaFocusable();
- bool WrongSpelledBreakPara(sal_Int32 nPara, sal_Int32& nStartIndex, sal_Int32& nEndIndex, sal_Int32 nIndex);
void ExecuteSpellPopup( const Point& rPosPixel, Link<>* pCallBack = 0 );
void InsertField( const SvxFieldItem& rFld );
diff --git a/include/editeng/edtdlg.hxx b/include/editeng/edtdlg.hxx
index 01ff1ea7b9a6..6dc82f44756e 100644
--- a/include/editeng/edtdlg.hxx
+++ b/include/editeng/edtdlg.hxx
@@ -41,15 +41,11 @@ class AbstractThesaurusDialog : public VclAbstractDialog
{
public:
virtual OUString GetWord() = 0;
- virtual sal_uInt16 GetLanguage() const = 0;
- virtual vcl::Window* GetWindow() = 0;
};
class AbstractHyphenWordDialog : public VclAbstractDialog
{
public:
- virtual void SelLeft() = 0;
- virtual void SelRight() = 0;
virtual vcl::Window* GetWindow() = 0;
};
diff --git a/include/editeng/emphasismarkitem.hxx b/include/editeng/emphasismarkitem.hxx
index 44a3cbf27ff7..244d55007b04 100644
--- a/include/editeng/emphasismarkitem.hxx
+++ b/include/editeng/emphasismarkitem.hxx
@@ -64,8 +64,6 @@ public:
// enum cast
FontEmphasisMark GetEmphasisMark() const
{ return (FontEmphasisMark)GetValue(); }
- void SetEmphasisMark( FontEmphasisMark eNew )
- { SetValue( (sal_uInt16)eNew ); }
};
#endif // INCLUDED_EDITENG_EMPHASISMARKITEM_HXX
diff --git a/include/editeng/flditem.hxx b/include/editeng/flditem.hxx
index 19cc8eb894c8..9096590f0e6d 100644
--- a/include/editeng/flditem.hxx
+++ b/include/editeng/flditem.hxx
@@ -366,22 +366,13 @@ public:
SvxAuthorType eType = SVXAUTHORTYPE_VAR,
SvxAuthorFormat eFormat = SVXAUTHORFORMAT_FULLNAME );
- OUString GetName() const { return aName; }
- void SetName( const OUString& rString ) { aName = rString; }
-
- OUString GetFirstName() const { return aFirstName; }
- void SetFirstName( const OUString& rString ) { aFirstName = rString; }
-
- OUString GetShortName() const { return aShortName; }
- void SetShortName( const OUString& rString ) { aShortName = rString; }
-
SvxAuthorType GetType() const { return eType; }
void SetType( SvxAuthorType eTp ) { eType = eTp; }
SvxAuthorFormat GetFormat() const { return eFormat; }
void SetFormat( SvxAuthorFormat eFmt ) { eFormat = eFmt; }
- OUString GetFormatted() const;
+ OUString GetFormatted() const;
virtual SvxFieldData* Clone() const SAL_OVERRIDE;
virtual bool operator==( const SvxFieldData& ) const SAL_OVERRIDE;
diff --git a/include/editeng/formatbreakitem.hxx b/include/editeng/formatbreakitem.hxx
index 7dee5d66e039..ceeab5508e70 100644
--- a/include/editeng/formatbreakitem.hxx
+++ b/include/editeng/formatbreakitem.hxx
@@ -61,11 +61,9 @@ public:
virtual sal_uInt16 GetValueCount() const SAL_OVERRIDE;
// MS VC4.0 messes things up
- void SetValue( sal_uInt16 nNewVal )
+ void SetValue( sal_uInt16 nNewVal )
{SfxEnumItem::SetValue(nNewVal); }
- SvxBreak GetBreak() const { return SvxBreak( GetValue() ); }
- void SetBreak( const SvxBreak eNew )
- { SetValue( (sal_uInt16)eNew ); }
+ SvxBreak GetBreak() const { return SvxBreak( GetValue() ); }
};
diff --git a/include/editeng/fwdtitem.hxx b/include/editeng/fwdtitem.hxx
index 34f281ecd51f..3d2d3bef2203 100644
--- a/include/editeng/fwdtitem.hxx
+++ b/include/editeng/fwdtitem.hxx
@@ -64,13 +64,6 @@ public:
return *this;
}
- void SetWidth( sal_uInt16 nNewWidth, const sal_uInt16 nNewProp = 100 )
- {
- DBG_ASSERT( GetRefCount() == 0, "SetValue() with pooled item" );
- nWidth = sal_uInt16(( (sal_uInt32)nNewWidth * nNewProp ) / 100 );
- nProp = nNewProp;
- }
-
sal_uInt16 GetWidth() const { return nWidth; }
void SetWidthValue( sal_uInt16 nNewWidth )
diff --git a/include/editeng/langitem.hxx b/include/editeng/langitem.hxx
index f8a5b03884e5..c69fb9ab7029 100644
--- a/include/editeng/langitem.hxx
+++ b/include/editeng/langitem.hxx
@@ -60,8 +60,6 @@ public:
// enum cast
LanguageType GetLanguage() const
{ return (LanguageType)GetValue(); }
- void SetLanguage( const LanguageType eLang )
- { SetValue( (sal_uInt16)eLang ); }
virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const SAL_OVERRIDE;
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) SAL_OVERRIDE;
};
diff --git a/include/editeng/lrspitem.hxx b/include/editeng/lrspitem.hxx
index 4e1b0796bbd6..9751199628f3 100644
--- a/include/editeng/lrspitem.hxx
+++ b/include/editeng/lrspitem.hxx
@@ -106,11 +106,6 @@ public:
inline bool IsExplicitZeroMarginValLeft() const { return bExplicitZeroMarginValLeft; }
inline void SetExplicitZeroMarginValRight( const bool eR ) { bExplicitZeroMarginValRight = eR; }
inline void SetExplicitZeroMarginValLeft( const bool eL ) { bExplicitZeroMarginValLeft = eL; }
- // Query/Setting the percentage values
- inline void SetPropLeft( const sal_uInt16 nProp = 100 )
- { nPropLeftMargin = nProp; }
- inline void SetPropRight( const sal_uInt16 nProp = 100 )
- { nPropRightMargin = nProp;}
inline sal_uInt16 GetPropLeft() const { return nPropLeftMargin; }
inline sal_uInt16 GetPropRight() const { return nPropRightMargin;}
diff --git a/include/editeng/measfld.hxx b/include/editeng/measfld.hxx
index 17e7e88737aa..ae316da6d0b4 100644
--- a/include/editeng/measfld.hxx
+++ b/include/editeng/measfld.hxx
@@ -47,7 +47,6 @@ public:
virtual SvxFieldData* Clone() const SAL_OVERRIDE;
virtual bool operator==(const SvxFieldData&) const SAL_OVERRIDE;
SdrMeasureFieldKind GetMeasureFieldKind() const { return eMeasureFieldKind; }
- void SetMeasureFieldKind(SdrMeasureFieldKind eNewKind) { eMeasureFieldKind=eNewKind; }
};
diff --git a/include/editeng/numitem.hxx b/include/editeng/numitem.hxx
index bcf8b29b054a..9a0e5f8145e3 100644
--- a/include/editeng/numitem.hxx
+++ b/include/editeng/numitem.hxx
@@ -287,7 +287,6 @@ public:
OUString MakeNumString( const SvxNodeNum&, bool bInclStrings = true ) const;
SvxNumRuleType GetNumRuleType() const { return eNumberingType; }
- void SetNumRuleType( const SvxNumRuleType& rType ) { eNumberingType = rType; }
bool UnLinkGraphics();
};
@@ -327,12 +326,6 @@ public:
sal_uInt8 GetLevel() const { return nMyLevel; }
void SetLevel( sal_uInt8 nVal ) { nMyLevel = nVal; }
- bool IsStart() const { return bStartNum; }
- void SetStart( bool bFlag = true ) { bStartNum = bFlag; }
-
- sal_uInt16 GetSetValue() const { return nSetValue; }
- void SetSetValue( sal_uInt16 nVal ) { nSetValue = nVal; }
-
const sal_uInt16* GetLevelVal() const { return nLevelVal; }
sal_uInt16* GetLevelVal() { return nLevelVal; }
};
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx
index d121f0110160..5921122c3f5f 100644
--- a/include/editeng/outliner.hxx
+++ b/include/editeng/outliner.hxx
@@ -173,7 +173,6 @@ struct ParaRange
ParaRange( sal_Int32 nS, sal_Int32 nE ) { nStartPara = nS, nEndPara = nE; }
void Adjust();
- sal_Int32 Len() const { return 1 + ( ( nEndPara > nStartPara ) ? (nEndPara-nStartPara) : (nStartPara-nEndPara) ); }
};
inline void ParaRange::Adjust()
@@ -408,7 +407,6 @@ public:
bool mbEndOfParagraph : 1;
bool mbEndOfBullet : 1;
- sal_uInt8 GetBiDiLevel() const { return mnBiDiLevel; }
bool IsRTL() const { return mnBiDiLevel % 2 == 1; }
DrawPortionInfo(
@@ -537,7 +535,6 @@ public:
sal_Int32 GetPara() const { return nPara; }
sal_Int32 GetPos() const { return nPos; }
- bool IsSimpleClick() const { return bSimpleClick; }
void SetSimpleClick( bool bSimple ) { bSimpleClick = bSimple; }
const OUString& GetRepresentation() const { return aRepresentation; }
@@ -638,18 +635,12 @@ class EDITENG_DLLPUBLIC Outliner : public SfxBroadcaster
void ImplBlockInsertionCallbacks( bool b );
- void ImplCheckStyleSheet( sal_Int32 nPara, bool bReplaceExistingStyle );
- void ImpRecalcBulletIndent( sal_Int32 nPara );
-
- const SvxBulletItem& ImpGetBullet( sal_Int32 nPara, sal_uInt16& );
void ImpFilterIndents( sal_Int32 nFirstPara, sal_Int32 nLastPara );
bool ImpConvertEdtToOut( sal_Int32 nPara, EditView* pView = 0 );
void ImpTextPasted( sal_Int32 nStartPara, sal_Int32 nCount );
- long ImpCalcMaxBulletWidth( sal_Int32 nPara, const SvxBulletItem& rBullet );
vcl::Font ImpCalcBulletFont( sal_Int32 nPara ) const;
Rectangle ImpCalcBulletArea( sal_Int32 nPara, bool bAdjust, bool bReturnPaperPos );
- long ImpGetTextIndent( sal_Int32 nPara );
bool ImpCanIndentSelectedPages( OutlinerView* pCurView );
bool ImpCanDeleteSelectedPages( OutlinerView* pCurView );
bool ImpCanDeleteSelectedPages( OutlinerView* pCurView, sal_Int32 nFirstPage, sal_Int32 nPages );
@@ -733,7 +724,6 @@ public:
sal_Int32 GetParagraphCount() const;
Paragraph* GetParagraph( sal_Int32 nAbsPos ) const;
- bool HasParent( Paragraph* pParagraph ) const;
bool HasChildren( Paragraph* pParagraph ) const;
sal_Int32 GetChildCount( Paragraph* pParent ) const;
bool IsExpanded( Paragraph* pPara ) const;
@@ -756,7 +746,6 @@ public:
bool IsModified() const;
Paragraph* GetHdlParagraph() const { return pHdlParagraph; }
- bool IsExpanding() const { return bIsExpanding; }
void ParagraphInsertedHdl();
void SetParaInsertedHdl(const Link<Outliner*,void>& rLink){aParaInsertedHdl=rLink;}
@@ -774,29 +763,19 @@ public:
bool RemovingPagesHdl( OutlinerView* );
void SetRemovingPagesHdl(const Link<OutlinerView*,bool>& rLink){aRemovingPagesHdl=rLink;}
- Link<OutlinerView*,bool> GetRemovingPagesHdl() const { return aRemovingPagesHdl; }
bool IndentingPagesHdl( OutlinerView* );
void SetIndentingPagesHdl(const Link<OutlinerView*,bool>& rLink){aIndentingPagesHdl=rLink;}
// valid only in the two upper handlers
sal_Int32 GetSelPageCount() const { return nDepthChangedHdlPrevDepth; }
- // valid only in the two upper handlers
- sal_Int32 GetFirstSelPage() const { return mnFirstSelPage; }
-
void SetCalcFieldValueHdl(const Link<EditFieldInfo*,void>& rLink ) { aCalcFieldValueHdl= rLink; }
Link<EditFieldInfo*,void> GetCalcFieldValueHdl() const { return aCalcFieldValueHdl; }
- void SetFieldClickedHdl(const Link<EditFieldInfo*,void>& rLink ) { aFieldClickedHdl= rLink; }
- Link<EditFieldInfo*,void> GetFieldClickedHdl() const { return aFieldClickedHdl; }
-
void SetDrawPortionHdl(const Link<DrawPortionInfo*,void>& rLink){aDrawPortionHdl=rLink;}
- Link<DrawPortionInfo*,void> GetDrawPortionHdl() const { return aDrawPortionHdl; }
void SetDrawBulletHdl(const Link<DrawBulletInfo*,void>& rLink){aDrawBulletHdl=rLink;}
- Link<DrawBulletInfo*,void> GetDrawBulletHdl() const { return aDrawBulletHdl; }
void SetPaintFirstLineHdl(const Link<PaintFirstLineInfo*,void>& rLink) { maPaintFirstLineHdl = rLink; }
- Link<PaintFirstLineInfo*,void> GetPaintFirstLineHdl() const { return maPaintFirstLineHdl; }
void SetModifyHdl( const Link<>& rLink );
Link<> GetModifyHdl() const;
@@ -813,7 +792,6 @@ public:
void SetPaperSize( const Size& rSize );
void SetFirstPageNumber( sal_Int32 n ) { nFirstPage = n; }
- sal_Int32 GetFirstPageNumber() const { return nFirstPage; }
void SetPolygon( const basegfx::B2DPolyPolygon& rPolyPolygon );
void SetPolygon( const basegfx::B2DPolyPolygon& rPolyPolygon, const basegfx::B2DPolyPolygon* pLinePolyPolygon);
@@ -985,11 +963,9 @@ public:
/** sets a link that is called before a drop or paste operation. */
void SetBeginPasteOrDropHdl( const Link<PasteOrDropInfos*,void>& rLink );
- Link<PasteOrDropInfos*,void> GetBeginPasteOrDropHdl() const { return maBeginPasteOrDropHdl; }
/** sets a link that is called after a drop or paste operation. */
void SetEndPasteOrDropHdl( const Link<PasteOrDropInfos*,void>& rLink );
- Link<PasteOrDropInfos*,void> GetEndPasteOrDropHdl() const { return maEndPasteOrDropHdl; }
sal_Int16 GetNumberingStartValue( sal_Int32 nPara );
void SetNumberingStartValue( sal_Int32 nPara, sal_Int16 nNumberingStartValue );
diff --git a/include/editeng/pmdlitem.hxx b/include/editeng/pmdlitem.hxx
index 02db19da70aa..ae0964550447 100644
--- a/include/editeng/pmdlitem.hxx
+++ b/include/editeng/pmdlitem.hxx
@@ -51,7 +51,6 @@ public:
virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const SAL_OVERRIDE;
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) SAL_OVERRIDE;
- bool IsAuto() const { return bAuto; }
};
inline SvxPageModelItem::SvxPageModelItem( sal_uInt16 nWh )
diff --git a/include/editeng/postitem.hxx b/include/editeng/postitem.hxx
index d8a2b42c6360..4646c8de7e6a 100644
--- a/include/editeng/postitem.hxx
+++ b/include/editeng/postitem.hxx
@@ -67,8 +67,6 @@ public:
// enum cast
FontItalic GetPosture() const
{ return (FontItalic)GetValue(); }
- void SetPosture( FontItalic eNew )
- { SetValue( (sal_uInt16)eNew ); }
void dumpAsXml(struct _xmlTextWriter* pWriter) const SAL_OVERRIDE;
};
diff --git a/include/editeng/scripttypeitem.hxx b/include/editeng/scripttypeitem.hxx
index f9ab9103a178..566e72ce405a 100644
--- a/include/editeng/scripttypeitem.hxx
+++ b/include/editeng/scripttypeitem.hxx
@@ -53,8 +53,6 @@ public:
static const SfxPoolItem* GetItemOfScriptSet( const SfxItemSet& rSet,
sal_uInt16 nWhich );
- inline const SfxPoolItem* GetItemOfScriptSet( sal_uInt16 _nWhich ) const
- { return SvxScriptSetItem::GetItemOfScriptSet( GetItemSet(), _nWhich ); }
static const SfxPoolItem* GetItemOfScript( sal_uInt16 nSlotId, const SfxItemSet& rSet, SvtScriptType nScript );
@@ -68,9 +66,6 @@ public:
static void GetSlotIds( sal_uInt16 nSlotId, sal_uInt16& rLatin, sal_uInt16& rAsian,
sal_uInt16& rComplex );
- inline void GetSlotIds( sal_uInt16& rLatin, sal_uInt16& rAsian,
- sal_uInt16& rComplex ) const
- { GetSlotIds( Which(), rLatin, rAsian, rComplex ); }
};
#endif
diff --git a/include/editeng/splwrap.hxx b/include/editeng/splwrap.hxx
index e9de2f7a31ec..602741bd5309 100644
--- a/include/editeng/splwrap.hxx
+++ b/include/editeng/splwrap.hxx
@@ -99,19 +99,9 @@ public:
void SpellDocument(); // Perform Spell Checking
inline bool IsStartDone(){ return bStartDone; }
inline bool IsEndDone(){ return bEndDone; }
- inline bool IsReverse(){ return bReverse; }
- inline bool IsDialog(){ return bDialog; } // SvxSpellCheckDialog OnScreen
inline bool IsHyphen(){ return bHyphen; } // Split instead of Spell check
inline void SetHyphen( const bool bNew = true ){ bHyphen = bNew; }
- inline ::com::sun::star::uno::Reference<
- ::com::sun::star::linguistic2::XSpellChecker1 >
- GetXSpellChecker() { return xSpell; }
- inline ::com::sun::star::uno::Reference<
- ::com::sun::star::linguistic2::XHyphenator >
- GetXHyphenator() { return xHyph; }
inline bool IsAllRight() { return bAllRight; }
- inline vcl::Window* GetWin() { return pWin; }
- inline void EnableAutoCorrect() { bAuto = true; }
protected:
::com::sun::star::uno::Reference<
@@ -130,16 +120,9 @@ protected:
::com::sun::star::linguistic2::XDictionary >
GetAllRightDic();
virtual void SpellEnd(); // Finish area
- virtual void ScrollArea(); // Set ScrollArea
- // Replace word
- virtual void ChangeWord( const OUString& rNewWord, const sal_uInt16 nLang );
- // Wort via Thesaurus ersetzen
- virtual void ChangeThesWord( const OUString& rNewWord );
- virtual void AutoCorrect( const OUString& rAktStr, const OUString& rNewStr );
virtual void InsertHyphen( const sal_Int32 nPos ); // Insert hyphen
void SetCurTextObj( SdrObject* pObj ) { mpTextObj = pObj; }
- SdrObject* GetCurTextObj() { return mpTextObj; }
};
#endif
diff --git a/include/editeng/svxacorr.hxx b/include/editeng/svxacorr.hxx
index 7de2a0e6f109..41c1db3c4ae8 100644
--- a/include/editeng/svxacorr.hxx
+++ b/include/editeng/svxacorr.hxx
@@ -220,8 +220,6 @@ public:
bool PutText( const OUString& rShort, const OUString& rLong );
// - Text with attribution (only the SWG - SWG format!)
bool PutText( const OUString& rShort, SfxObjectShell& );
- // - Deleting an entry
- bool DeleteText( const OUString& rShort );
// - Make combined changes in one pass
bool MakeCombinedChanges( std::vector<SvxAutocorrWord>& aNewEntries, std::vector<SvxAutocorrWord>& aDeleteEntries );
};
@@ -335,9 +333,6 @@ public:
SvxAutocorrWordList* LoadAutocorrWordList(
LanguageType eLang = LANGUAGE_SYSTEM )
{ return _GetLanguageList( eLang ).LoadAutocorrWordList(); }
- const SvxAutocorrWordList* GetAutocorrWordList(
- LanguageType eLang = LANGUAGE_SYSTEM )
- { return _GetLanguageList( eLang ).GetAutocorrWordList(); }
// Save word substitutions:
// Save these directly in the storage. The word list is updated
diff --git a/include/editeng/svxrtf.hxx b/include/editeng/svxrtf.hxx
index 5dcb23efda69..fe93c33ae15a 100644
--- a/include/editeng/svxrtf.hxx
+++ b/include/editeng/svxrtf.hxx
@@ -217,7 +217,6 @@ class EDITENG_DLLPUBLIC SvxRTFParser : public SvRTFParser
void _ClearStyleAttr( SvxRTFItemStackType& rStkType );
// Sets all the attributes that are different from the current
- void SetAttrSet( SfxItemSet& rAttrSet, SvxPosition& rSttPos );
void SetAttrSet( SvxRTFItemStackType &rSet );
void SetDefault( int nToken, int nValue );
@@ -285,31 +284,15 @@ protected:
bool bReadNewDoc = true );
virtual ~SvxRTFParser();
- bool IsNewDoc() const { return bNewDoc; }
void SetNewDoc( bool bFlag ) { bNewDoc = bFlag; }
- bool IsNewGroup() const { return bNewGroup; }
- void SetNewGroup( bool bFlag ) { bNewGroup = bFlag; }
bool IsChkStyleAttr() const { return bChkStyleAttr; }
void SetChkStyleAttr( bool bFlag ) { bChkStyleAttr = bFlag; }
bool IsCalcValue() const { return bCalcValue; }
void SetCalcValue( bool bFlag ) { bCalcValue = bFlag; }
- bool IsPardTokenRead() const { return bPardTokenRead; }
- void SetPardTokenRead( bool bFlag ) { bPardTokenRead = bFlag; }
- bool IsReadDocInfo() const { return bReadDocInfo; }
- void SetReadDocInfo( bool bFlag ) { bReadDocInfo = bFlag; }
// Query/Set the current insert position
- SvxPosition& GetInsPos() const { return *pInsPos; }
void SetInsPos( const SvxPosition& rNew );
-
- long GetVersionNo() const { return nVersionNo; }
-
SvxRTFStyleTbl& GetStyleTbl() { return aStyleTbl; }
- SvxRTFItemStack& GetAttrStack() { return aAttrStack; }
- SvxRTFColorTbl& GetColorTbl() { return aColorTbl; }
- SvxRTFFontTbl& GetFontTbl() { return aFontTbl; }
-
- const OUString& GetBaseURL() const { return sBaseURL; }
public:
@@ -325,7 +308,6 @@ public:
void SetAttrPool( SfxItemPool* pNewPool ) { pAttrPool = pNewPool; }
// to set different WhichIds for a different pool.
RTFPardAttrMapIds& GetPardMap() { return aPardMap; }
- RTFPlainAttrMapIds& GetPlainMap() { return aPlainMap; }
// to be able to assign them from the outside as for example table cells
void ReadBorderAttr( int nToken, SfxItemSet& rSet, bool bTableDef=false );
void ReadBackgroundAttr( int nToken, SfxItemSet& rSet, bool bTableDef=false );
diff --git a/include/editeng/tstpitem.hxx b/include/editeng/tstpitem.hxx
index 2d7384c696b4..fac8d431401f 100644
--- a/include/editeng/tstpitem.hxx
+++ b/include/editeng/tstpitem.hxx
@@ -64,8 +64,6 @@ public:
sal_Unicode& GetFill() { return cFill; }
sal_Unicode GetFill() const { return cFill; }
- OUString GetValueString() const;
-
// the "old" operator==()
bool IsEqual( const SvxTabStop& rTS ) const
{
@@ -125,8 +123,6 @@ public:
bool Insert( const SvxTabStop& rTab );
void Insert( const SvxTabStopItem* pTabs, sal_uInt16 nStart = 0,
sal_uInt16 nEnd = USHRT_MAX );
- void Remove( SvxTabStop& rTab )
- { maTabStops.erase( rTab ); }
void Remove( const sal_uInt16 nPos, const sal_uInt16 nLen = 1 )
{ maTabStops.erase( maTabStops.begin() + nPos, maTabStops.begin() + nPos + nLen ); }
diff --git a/include/editeng/txtrange.hxx b/include/editeng/txtrange.hxx
index f37d835724d5..2069152a58c9 100644
--- a/include/editeng/txtrange.hxx
+++ b/include/editeng/txtrange.hxx
@@ -74,9 +74,7 @@ public:
bool IsSimple() const { return bSimple; }
bool IsInner() const { return bInner; }
bool IsVertical() const { return bVertical; }
- bool HasBorder() const { return nRight || nLeft; }
const tools::PolyPolygon& GetPolyPolygon() const { return *mpPolyPolygon; }
- const tools::PolyPolygon* GetLinePolygon() const { return mpLinePolyPolygon; }
const Rectangle& GetBoundRect()
{ return pBound ? static_cast< const Rectangle& >(*pBound) : _GetBoundRect(); }
void SetUpper( sal_uInt16 nNew ){ nUpper = nNew; }
diff --git a/include/editeng/unofield.hxx b/include/editeng/unofield.hxx
index c44ec6740886..b416a2e6ff70 100644
--- a/include/editeng/unofield.hxx
+++ b/include/editeng/unofield.hxx
@@ -63,7 +63,6 @@ public:
// Internal
SvxFieldData* CreateFieldData() const throw();
- void SetAnchor( ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > xAnchor ) { mxAnchor = xAnchor; }
static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw();
virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/include/editeng/unoforou.hxx b/include/editeng/unoforou.hxx
index 5403ef68e7ff..873df709b72a 100644
--- a/include/editeng/unoforou.hxx
+++ b/include/editeng/unoforou.hxx
@@ -77,10 +77,8 @@ public:
virtual bool IsValid() const SAL_OVERRIDE;
- Outliner& GetOutliner() const { return rOutliner; }
-
virtual LanguageType GetLanguage( sal_Int32, sal_Int32 ) const SAL_OVERRIDE;
- virtual sal_Int32 GetFieldCount( sal_Int32 nPara ) const SAL_OVERRIDE;
+ virtual sal_Int32 GetFieldCount( sal_Int32 nPara ) const SAL_OVERRIDE;
virtual EFieldInfo GetFieldInfo( sal_Int32 nPara, sal_uInt16 nField ) const SAL_OVERRIDE;
virtual EBulletInfo GetBulletInfo( sal_Int32 nPara ) const SAL_OVERRIDE;
virtual Rectangle GetCharBounds( sal_Int32 nPara, sal_Int32 nIndex ) const SAL_OVERRIDE;
diff --git a/include/editeng/unoipset.hxx b/include/editeng/unoipset.hxx
index e2f2c7e704a4..43ecb9dea6ce 100644
--- a/include/editeng/unoipset.hxx
+++ b/include/editeng/unoipset.hxx
@@ -60,8 +60,7 @@ public:
void ClearAllUsrAny();
com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > getPropertySetInfo() const;
- const SfxItemPropertyMapEntry* getPropertyMapEntries() const {return _pMap;}
- const SfxItemPropertyMap& getPropertyMap()const { return m_aPropertyMap;}
+ const SfxItemPropertyMap& getPropertyMap() const { return m_aPropertyMap;}
const SfxItemPropertySimpleEntry* getPropertyMapEntry(const OUString &rName) const;
static com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo > getPropertySetInfo( const SfxItemPropertyMapEntry* pMap );
diff --git a/include/editeng/unopracc.hxx b/include/editeng/unopracc.hxx
index ba0e79a5068d..b56b24681611 100644
--- a/include/editeng/unopracc.hxx
+++ b/include/editeng/unopracc.hxx
@@ -54,9 +54,6 @@ public:
// lang::XTypeProvider
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
-
- // XServiceName
- OUString SAL_CALL getServiceName() throw (::com::sun::star::uno::RuntimeException);
};
#endif
diff --git a/include/editeng/unotext.hxx b/include/editeng/unotext.hxx
index 2bc45c24e28e..3717a1f96f2a 100644
--- a/include/editeng/unotext.hxx
+++ b/include/editeng/unotext.hxx
@@ -401,7 +401,6 @@ protected:
public:
UNO3_GETIMPLEMENTATION_DECL( SvxUnoTextBase )
- ESelection InsertField( const SvxFieldItem& rField ) throw();
static ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getStaticTypes() throw();
::com::sun::star::uno::Reference< ::com::sun::star::text::XTextCursor > createTextCursorBySelection( const ESelection& rSel );
diff --git a/include/editeng/wghtitem.hxx b/include/editeng/wghtitem.hxx
index 834052674189..e7df17842e87 100644
--- a/include/editeng/wghtitem.hxx
+++ b/include/editeng/wghtitem.hxx
@@ -67,8 +67,6 @@ public:
// enum cast
FontWeight GetWeight() const
{ return (FontWeight)GetValue(); }
- void SetWeight( FontWeight eNew )
- { SetValue( (sal_uInt16)eNew ); }
void dumpAsXml(struct _xmlTextWriter* pWriter) const SAL_OVERRIDE;
};