diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2017-02-14 19:09:30 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2017-02-14 19:10:24 +0100 |
commit | 3acdc0a0fca421addde76da36b156af70c234939 (patch) | |
tree | 99b230001daf8a513ff1afa6de14b95634a991a7 /sw/inc/frmfmt.hxx | |
parent | ed4b23548d28941f9b2c75207832afcb6c6ad0b3 (diff) |
Revert commits that caused instability on the Linux debug tinderbox
Revert "DYING_FLYFRAMEFORMAT not needed anymore"
This reverts commit 837545feb63f31095d69d006aeda520637c3bc8c.
Revert "give SwFlyDrawContact a clear owner: SwFlyFrameFormat"
This reverts commit 4ae93f7d3b063d13ff757884444a468212227ef9.
Diffstat (limited to 'sw/inc/frmfmt.hxx')
-rw-r--r-- | sw/inc/frmfmt.hxx | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/sw/inc/frmfmt.hxx b/sw/inc/frmfmt.hxx index 9d40d967858a..b55ca5d7abd0 100644 --- a/sw/inc/frmfmt.hxx +++ b/sw/inc/frmfmt.hxx @@ -174,15 +174,11 @@ public: // The FlyFrame-Format -class SdrModel; -class SwFlyDrawContact; - class SW_DLLPUBLIC SwFlyFrameFormat: public SwFrameFormat { friend class SwDoc; OUString msTitle; OUString msDesc; - std::unique_ptr<SwFlyDrawContact> m_pContact; /** Both not existent. it stores the previous position of Prt rectangle from RequestObjectResize @@ -194,13 +190,12 @@ class SW_DLLPUBLIC SwFlyFrameFormat: public SwFrameFormat SwFlyFrameFormat &operator=( const SwFlyFrameFormat &rCpy ) = delete; protected: - SwFlyFrameFormat(SwAttrPool& rPool, const OUString& rFormatNm, SwFrameFormat* pDrvdFrame); + SwFlyFrameFormat( SwAttrPool& rPool, const OUString &rFormatNm, + SwFrameFormat *pDrvdFrame ) + : SwFrameFormat( rPool, rFormatNm, pDrvdFrame, RES_FLYFRMFMT ) + {} public: - SwFlyDrawContact* GetContact() - { return m_pContact.get(); }; - void InitContact(SdrModel* pSdrModel); - void ClearContact(); virtual ~SwFlyFrameFormat() override; /// Creates the views. @@ -262,6 +257,7 @@ namespace sw { enum class DrawFrameFormatHintId { DYING, + DYING_FLYFRAMEFORMAT, /* possibly can be merged with DYING, if all client handle it and handle it the same */ PREPPASTING, PREP_INSERT_FLY, PREP_DELETE_FLY, |