summaryrefslogtreecommitdiff
path: root/sw/inc/fesh.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-10 13:36:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-10 14:15:12 +0100
commit7473aacc73f8572e20f6f2a3a1d10001c5cc477d (patch)
tree50e11920e225f691e02df5f269dd45bc6034f514 /sw/inc/fesh.hxx
parent8df51f799bb830db52c7be2d04b575b0443b76ec (diff)
bundle duplicate pattern into a GetCurrFlyFrm method
Change-Id: Ib12b825ef9cc6e2b57e9320d435e3863d319cf0f
Diffstat (limited to 'sw/inc/fesh.hxx')
-rw-r--r--sw/inc/fesh.hxx5
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();