diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-09-10 13:36:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-10 14:15:12 +0100 |
commit | 7473aacc73f8572e20f6f2a3a1d10001c5cc477d (patch) | |
tree | 50e11920e225f691e02df5f269dd45bc6034f514 /sw/inc/fesh.hxx | |
parent | 8df51f799bb830db52c7be2d04b575b0443b76ec (diff) |
bundle duplicate pattern into a GetCurrFlyFrm method
Change-Id: Ib12b825ef9cc6e2b57e9320d435e3863d319cf0f
Diffstat (limited to 'sw/inc/fesh.hxx')
-rw-r--r-- | sw/inc/fesh.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx index 88bf72ae804e..2ae85eb85ce9 100644 --- a/sw/inc/fesh.hxx +++ b/sw/inc/fesh.hxx @@ -393,8 +393,13 @@ public: SwFrameFormat* GetCurFrameFormat() const; ///< If frame then frame style, else 0. void SetFrameFormat( SwFrameFormat *pFormat, bool bKeepOrient = false, Point* pDocPos = 0 ); ///< If frame then set frame style. + + // Get selected fly SwFlyFrm *GetSelectedFlyFrm() const; + // Get current fly in which the cursor is positioned + SwFlyFrm *GetCurrFlyFrm(const bool bCalcFrm = true) const; + /// Find/delete fly containing the cursor. SwFrameFormat* WizardGetFly(); |