diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-29 12:40:47 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-29 15:08:43 +0200 |
commit | 34180700b2686c97cdce0b52ca9578a41a153035 (patch) | |
tree | 073f3753e4483f30efa3c7c769f23971e6a046d5 /sw | |
parent | e710170d906fcb248a5e4ff5a3a90cbf0e20003d (diff) |
loplugin:removeunusedmethods, remove unused stuff
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/fmtpdsc.hxx | 4 | ||||
-rw-r--r-- | sw/inc/modcfg.hxx | 1 | ||||
-rw-r--r-- | sw/source/core/text/inftxt.hxx | 10 | ||||
-rw-r--r-- | sw/source/uibase/inc/cfgitems.hxx | 1 |
4 files changed, 0 insertions, 16 deletions
diff --git a/sw/inc/fmtpdsc.hxx b/sw/inc/fmtpdsc.hxx index c1861f57c9a2..a42ce1bb6069 100644 --- a/sw/inc/fmtpdsc.hxx +++ b/sw/inc/fmtpdsc.hxx @@ -38,10 +38,6 @@ class SwEndNoteInfo; class SW_DLLPUBLIC SwFormatPageDesc : public SfxPoolItem, public SwClient { - /** This "Doc"-function is made friend in order to be able - to set the auto-flag after copying!! */ - friend bool InsAttr( SwDoc*, const SwPaM &, const SfxItemSet&, sal_uInt16, - SwHistory* ); ::boost::optional<sal_uInt16> oNumOffset; ///< Offset page number. sal_uInt16 nDescNameIdx; ///< SW3-Reader: stringpool-index of style name. SwModify* pDefinedIn; /**< Points to the object in which the diff --git a/sw/inc/modcfg.hxx b/sw/inc/modcfg.hxx index 80e43f868b7e..279423870900 100644 --- a/sw/inc/modcfg.hxx +++ b/sw/inc/modcfg.hxx @@ -340,7 +340,6 @@ public: {aMiscConfig.bShowIndexPreview = bSet; aMiscConfig.SetModified();} - bool IsDefaultFontInCurrDocOnly() const { return aMiscConfig.bDefaultFontsInCurrDocOnly;} void SetDefaultFontInCurrDocOnly(bool bSet) { aMiscConfig.bDefaultFontsInCurrDocOnly = bSet; diff --git a/sw/source/core/text/inftxt.hxx b/sw/source/core/text/inftxt.hxx index cb5aa94c9165..d10cc0de8a33 100644 --- a/sw/source/core/text/inftxt.hxx +++ b/sw/source/core/text/inftxt.hxx @@ -112,8 +112,6 @@ public: { return nListTabStopPosition; } - - friend SvStream & WriteSwLineInfo( SvStream &rOS, const SwLineInfo &rInf ); }; class SwTextInfo @@ -136,8 +134,6 @@ public: SwParaPortion *GetParaPortion() { return m_pPara; } const SwParaPortion *GetParaPortion() const { return m_pPara; } sal_Int32 GetTextStart() const { return m_nTextStart; } - - friend SvStream & WriteSwTextInfo( SvStream &rOS, const SwTextInfo &rInf ); }; class SwTextSizeInfo : public SwTextInfo @@ -293,8 +289,6 @@ public: inline void SetLen( const sal_Int32 nNew ) { m_nLen = nNew; } inline void SetText( const OUString &rNew ){ m_pText = &rNew; } - friend SvStream & WriteSwTextSizeInfo( SvStream &rOS, const SwTextSizeInfo &rInf ); - // No Bullets for the symbol font! inline bool IsNoSymbol() const { return RTL_TEXTENCODING_SYMBOL != m_pFnt->GetCharSet( m_pFnt->GetActual() ); } @@ -465,8 +459,6 @@ public: inline const SwRect &GetPaintRect() const { return aPaintRect; } - friend SvStream & WriteSwTextPaintInfo( SvStream &rOS, const SwTextPaintInfo &rInf ); - // STUFF FOR JUSTIFIED ALIGNMENT inline sal_uInt16 GetSpaceIdx() const { return nSpaceIdx; } @@ -690,8 +682,6 @@ public: // Return: Position; sets cHookChar if necessary sal_Int32 ScanPortionEnd( const sal_Int32 nStart, const sal_Int32 nEnd ); - friend SvStream & WriteSwTextFormatInfo( SvStream &rOS, const SwTextFormatInfo &rInf ); - inline void SetTabOverflow( bool bOverflow ) { bTabOverflow = bOverflow; } inline bool IsTabOverflow() { return bTabOverflow; } diff --git a/sw/source/uibase/inc/cfgitems.hxx b/sw/source/uibase/inc/cfgitems.hxx index e3c205360d0a..d25e2c80c0ba 100644 --- a/sw/source/uibase/inc/cfgitems.hxx +++ b/sw/source/uibase/inc/cfgitems.hxx @@ -37,7 +37,6 @@ class SwViewOption; class SwContentOptPage; class SwShdwCrsrOptionsTabPage; -SfxPrinter* GetPrt( SwViewShell* ); void SetPrt( SfxPrinter* ); // OS 12.01.95 |