summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/SwNodeNum.hxx4
-rw-r--r--sw/inc/SwNumberTree.hxx4
-rw-r--r--sw/inc/anchoredobject.hxx10
-rw-r--r--sw/inc/dcontact.hxx2
-rw-r--r--sw/inc/doc.hxx2
-rw-r--r--sw/inc/expfld.hxx4
-rw-r--r--sw/inc/fmtanchr.hxx2
-rw-r--r--sw/inc/fmtmeta.hxx2
-rw-r--r--sw/inc/ndgrf.hxx2
-rw-r--r--sw/inc/ndtxt.hxx2
-rw-r--r--sw/inc/numrule.hxx2
-rw-r--r--sw/inc/redline.hxx2
12 files changed, 19 insertions, 19 deletions
diff --git a/sw/inc/SwNodeNum.hxx b/sw/inc/SwNodeNum.hxx
index 08f473c36a71..5efa72f6b386 100644
--- a/sw/inc/SwNodeNum.hxx
+++ b/sw/inc/SwNodeNum.hxx
@@ -35,9 +35,9 @@ public:
explicit SwNodeNum( SwNumRule* pNumRule );
virtual ~SwNodeNum();
- SwNumRule* GetNumRule() const;
+ SwNumRule* GetNumRule() const { return mpNumRule;}
void ChangeNumRule( SwNumRule& rNumRule );
- SwTxtNode* GetTxtNode() const;
+ SwTxtNode* GetTxtNode() const { return mpTxtNode;}
virtual bool IsNotificationEnabled() const SAL_OVERRIDE;
diff --git a/sw/inc/SwNumberTree.hxx b/sw/inc/SwNumberTree.hxx
index 4ac7e3157a0f..ce938020c9aa 100644
--- a/sw/inc/SwNumberTree.hxx
+++ b/sw/inc/SwNumberTree.hxx
@@ -162,7 +162,7 @@ public:
*/
SwNumberTree::tSwNumTreeNumber GetNumber( bool bValidate = true ) const;
- bool IsContinueingPreviousSubTree() const;
+ bool IsContinueingPreviousSubTree() const { return mbContinueingPreviousSubTree;}
/**
Returns level numbers of this node.
@@ -223,7 +223,7 @@ public:
@retval true this node is a phantom
@retval false this node is NOT a phantom
*/
- bool IsPhantom() const;
+ bool IsPhantom() const { return mbPhantom;}
/** set level of this node
diff --git a/sw/inc/anchoredobject.hxx b/sw/inc/anchoredobject.hxx
index d5b4336bd3f7..fcc5c1b0868e 100644
--- a/sw/inc/anchoredobject.hxx
+++ b/sw/inc/anchoredobject.hxx
@@ -215,11 +215,11 @@ class SW_DLLPUBLIC SwAnchoredObject
// accessors to member <mpDrawObj>
void SetDrawObj( SdrObject& _rDrawObj );
const SdrObject* GetDrawObj() const;
- SdrObject* DrawObj();
+ SdrObject* DrawObj() { return mpDrawObj;}
// accessors to member <mpAnchorFrm>
const SwFrm* GetAnchorFrm() const;
- SwFrm* AnchorFrm();
+ SwFrm* AnchorFrm() { return mpAnchorFrm;}
void ChgAnchorFrm( SwFrm* _pNewAnchorFrm );
/** determine anchor frame containing the anchor position
@@ -232,7 +232,7 @@ class SW_DLLPUBLIC SwAnchoredObject
*/
SwFrm* GetAnchorFrmContainingAnchPos();
- SwPageFrm* GetPageFrm();
+ SwPageFrm* GetPageFrm() { return mpPageFrm;}
const SwPageFrm* GetPageFrm() const;
void SetPageFrm( SwPageFrm* _pNewPageFrm );
@@ -298,7 +298,7 @@ class SW_DLLPUBLIC SwAnchoredObject
void ResetLastCharRectHeight();
// accessor to member <nmLastTopOfLine>
- SwTwips GetLastTopOfLine() const;
+ SwTwips GetLastTopOfLine() const { return mnLastTopOfLine;}
void AddLastTopOfLineY( SwTwips _nDiff );
/** reset members <maLastCharRect> and <mnLastTopOfLine>
@@ -468,7 +468,7 @@ class SW_DLLPUBLIC SwAnchoredObject
// accessors to member <mbTmpConsiderWrapInfluence>
void SetTmpConsiderWrapInfluence( const bool _bTmpConsiderWrapInfluence );
- bool IsTmpConsiderWrapInfluence() const;
+ bool IsTmpConsiderWrapInfluence() const { return mbTmpConsiderWrapInfluence;}
/** method to determine, if the anchored object is overlapping with a
previous column
diff --git a/sw/inc/dcontact.hxx b/sw/inc/dcontact.hxx
index 468eb1c3029c..578615599cdf 100644
--- a/sw/inc/dcontact.hxx
+++ b/sw/inc/dcontact.hxx
@@ -123,7 +123,7 @@ public:
const SwFrmFmt *GetFmt() const
{ return (const SwFrmFmt*)GetRegisteredIn(); }
- bool IsInDTOR() const;
+ bool IsInDTOR() const { return mbInDTOR;}
/** method to move drawing object to corresponding visible layer
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index f9f904d1fbf9..ee48178b2b00 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -1801,7 +1801,7 @@ public:
bool ContainsHiddenChars() const;
// call back for API wrapper
- SwModify* GetUnoCallBack() const;
+ SwModify* GetUnoCallBack() const { return mpUnoCallBack; }
IGrammarContact* getGrammarContact() const { return mpGrammarContact; }
diff --git a/sw/inc/expfld.hxx b/sw/inc/expfld.hxx
index ee1aa0e364d5..eb588342e2ec 100644
--- a/sw/inc/expfld.hxx
+++ b/sw/inc/expfld.hxx
@@ -303,7 +303,7 @@ class SW_DLLPUBLIC SwInputField : public SwField
virtual SwField* Copy() const SAL_OVERRIDE;
// Accessing Input Field's content
- const OUString& getContent() const;
+ const OUString& getContent() const { return aContent;}
void LockNotifyContentChange();
void UnlockNotifyContentChange();
@@ -320,7 +320,7 @@ public:
virtual ~SwInputField();
void SetFmtFld( SwFmtFld& rFmtFld );
- SwFmtFld* GetFmtFld();
+ SwFmtFld* GetFmtFld() { return mpFmtFld;}
// Providing new Input Field's content:
// Fill Input Field's content depending on <nSupType>.
diff --git a/sw/inc/fmtanchr.hxx b/sw/inc/fmtanchr.hxx
index 366511cbf7b8..3a9d370f0017 100644
--- a/sw/inc/fmtanchr.hxx
+++ b/sw/inc/fmtanchr.hxx
@@ -66,7 +66,7 @@ public:
sal_uInt16 GetPageNum() const { return nPageNum; }
const SwPosition *GetCntntAnchor() const { return m_pCntntAnchor.get(); }
// #i28701#
- sal_uInt32 GetOrder() const;
+ sal_uInt32 GetOrder() const { return mnOrder;}
void SetType( RndStdIds nRndId ) { nAnchorId = nRndId; }
void SetPageNum( sal_uInt16 nNew ) { nPageNum = nNew; }
diff --git a/sw/inc/fmtmeta.hxx b/sw/inc/fmtmeta.hxx
index 9adeedfa748c..0bcf9cebca20 100644
--- a/sw/inc/fmtmeta.hxx
+++ b/sw/inc/fmtmeta.hxx
@@ -135,7 +135,7 @@ protected:
SwTxtNode * m_pTxtNode;
SwTxtMeta * GetTxtAttr() const;
- SwTxtNode * GetTxtNode() const; ///< @return 0 if not in document (undo)
+ SwTxtNode * GetTxtNode() const { return m_pTxtNode;} ///< @return 0 if not in document (undo)
SwFmtMeta * GetFmtMeta() const { return m_pFmt; }
void SetFmtMeta( SwFmtMeta * const i_pFmt ) { m_pFmt = i_pFmt; };
diff --git a/sw/inc/ndgrf.hxx b/sw/inc/ndgrf.hxx
index d4cd0fb653c6..100c176ef588 100644
--- a/sw/inc/ndgrf.hxx
+++ b/sw/inc/ndgrf.hxx
@@ -202,7 +202,7 @@ public:
GraphicAttr& GetGraphicAttr( GraphicAttr&, const SwFrm* pFrm ) const;
boost::weak_ptr< SwAsyncRetrieveInputStreamThreadConsumer > GetThreadConsumer();
- bool IsLinkedInputStreamReady() const;
+ bool IsLinkedInputStreamReady() const { return mbLinkedInputStreamReady;}
void TriggerAsyncRetrieveInputStream();
void ApplyInputStream(
com::sun::star::uno::Reference<com::sun::star::io::XInputStream> xInputStream,
diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx
index b7af846bbf88..46ef40180a5f 100644
--- a/sw/inc/ndtxt.hxx
+++ b/sw/inc/ndtxt.hxx
@@ -594,7 +594,7 @@ public:
*/
void SetAttrOutlineLevel(int nLevel);
- bool IsEmptyListStyleDueToSetOutlineLevelAttr();
+ bool IsEmptyListStyleDueToSetOutlineLevelAttr() { return mbEmptyListStyleSetDueToSetOutlineLevelAttr;}
void SetEmptyListStyleDueToSetOutlineLevelAttr();
void ResetEmptyListStyleDueToResetOutlineLevelAttr();
diff --git a/sw/inc/numrule.hxx b/sw/inc/numrule.hxx
index cf63e103b949..0ba4f7a768a6 100644
--- a/sw/inc/numrule.hxx
+++ b/sw/inc/numrule.hxx
@@ -246,7 +246,7 @@ public:
bool IsOutlineRule() const { return meRuleType == OUTLINE_RULE; }
- bool IsCountPhantoms() const;
+ bool IsCountPhantoms() const { return mbCountPhantoms; }
void SetCountPhantoms(bool bCountPhantoms);
/// Query and set PoolFormat IDs.
diff --git a/sw/inc/redline.hxx b/sw/inc/redline.hxx
index ab1945b437ac..6ca6e4779f17 100644
--- a/sw/inc/redline.hxx
+++ b/sw/inc/redline.hxx
@@ -100,7 +100,7 @@ public:
virtual SwRedlineExtraData* CreateNew() const SAL_OVERRIDE;
virtual void Reject( SwPaM& rPam ) const SAL_OVERRIDE;
virtual bool operator == ( const SwRedlineExtraData& ) const SAL_OVERRIDE;
- SfxItemSet* GetItemSet( ) const;
+ SfxItemSet* GetItemSet( ) const { return pSet; }
};
class SW_DLLPUBLIC SwRedlineData