summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-19 11:23:19 +0200
committerNoel Grandin <noel@peralex.com>2015-03-23 09:42:22 +0200
commita84c07509d9051084684987ad5ec47631afd50e5 (patch)
treeb9366fc0852114c933aed2dc2c1b9fb018bc7f20 /sw/inc
parentfd68059586246f415a5fa6637fafad1ac9293e92 (diff)
loplugin:constantfunction: sw
Change-Id: Ife8ccbe4625d87d1e3314c75604cb3d947011680
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/ccoll.hxx2
-rw-r--r--sw/inc/format.hxx12
-rw-r--r--sw/inc/printdata.hxx2
-rw-r--r--sw/inc/shellio.hxx4
-rw-r--r--sw/inc/swserv.hxx3
5 files changed, 1 insertions, 22 deletions
diff --git a/sw/inc/ccoll.hxx b/sw/inc/ccoll.hxx
index 8764a4b19849..293339ec4c9f 100644
--- a/sw/inc/ccoll.hxx
+++ b/sw/inc/ccoll.hxx
@@ -61,7 +61,7 @@ public:
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE;
virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE;
- static const CommandStruct* GetCmds();
+ static inline const CommandStruct* GetCmds() { return aCmds; }
OUString GetStyle(sal_uInt16 nPos) const;
void SetStyle(const OUString* pStyle, sal_uInt16 nPos);
diff --git a/sw/inc/format.hxx b/sw/inc/format.hxx
index ec7ae44572a2..2ac64cfd4a0e 100644
--- a/sw/inc/format.hxx
+++ b/sw/inc/format.hxx
@@ -320,18 +320,6 @@ public:
*/
virtual bool IsBackgroundTransparent() const;
- /** SwFmt::IsShadowTransparent
-
- Virtual method to determine, if shadow of format is transparent.
- Default implementation returns false. Thus, subclasses have to override
- method, if the specific subclass can have a transparent shadow.
-
- @author OD
-
- @return false, default implementation
- */
- bool IsShadowTransparent() const;
-
//UUUU Access to DrawingLayer FillAttributes in a preprocessed form for primitive usage
virtual drawinglayer::attribute::SdrAllFillAttributesHelperPtr getSdrAllFillAttributesHelper() const;
virtual bool supportsFullDrawingLayerFillAttributeSet() const;
diff --git a/sw/inc/printdata.hxx b/sw/inc/printdata.hxx
index 95a5c2a63190..eed52d0a881f 100644
--- a/sw/inc/printdata.hxx
+++ b/sw/inc/printdata.hxx
@@ -190,12 +190,10 @@ public:
bool IsPrintWithBlackTextColor() const { return getBoolValue( "PrintBlackFonts", m_rDefaultPrintData.bPrintBlackFont ); }
sal_Int16 GetPrintPostItsType() const { return static_cast< sal_Int16 >(getIntValue( "PrintAnnotationMode", m_rDefaultPrintData.nPrintPostIts )); }
bool IsPaperFromSetup() const { return getBoolValue( "PrintPaperFromSetup", m_rDefaultPrintData.bPaperFromSetup ); }
- bool IsPrintReverse() const { return false; /*handled by print dialog now*/ }
bool IsPrintLeftPages() const;
bool IsPrintRightPages() const;
bool IsPrintEmptyPages( bool bIsPDFExport ) const;
- bool IsPrintTables() const;
bool IsPrintGraphics() const;
bool IsPrintDrawings() const;
};
diff --git a/sw/inc/shellio.hxx b/sw/inc/shellio.hxx
index c5f626f2c637..980282c381e6 100644
--- a/sw/inc/shellio.hxx
+++ b/sw/inc/shellio.hxx
@@ -169,8 +169,6 @@ public:
SwReader( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >&, const OUString& rFilename, SwPaM& );
// The only export interface is SwReader::Read(...)!!!
- bool NeedsPasswd( const Reader& );
- bool CheckPasswd( const OUString&, const Reader& );
sal_uLong Read( const Reader& );
// Ask for glossaries.
@@ -301,8 +299,6 @@ public:
SwTextBlocks( const OUString& );
~SwTextBlocks();
- void Flush(){}
-
SwDoc* GetDoc();
void ClearDoc(); // Delete Doc-contents.
OUString GetName();
diff --git a/sw/inc/swserv.hxx b/sw/inc/swserv.hxx
index 9cc34ad1038c..3da7b1a28df4 100644
--- a/sw/inc/swserv.hxx
+++ b/sw/inc/swserv.hxx
@@ -64,9 +64,6 @@ public:
const OUString & rMimeType,
bool bSynchron = false ) SAL_OVERRIDE;
- bool SetData( const OUString & rMimeType,
- const ::com::sun::star::uno::Any& rData );
-
void SendDataChanged( const SwPosition& rPos );
void SendDataChanged( const SwPaM& rRange );