diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2016-12-06 15:00:45 +0100 |
---|---|---|
committer | Björn Michaelsen <bjoern.michaelsen@canonical.com> | 2016-12-07 13:56:49 +0000 |
commit | 45cd3f505a02ba48171bcbb8e319fedc6f868b10 (patch) | |
tree | 1665ee9e248026fca91438ec79d13652a4e1f9d9 /sw/inc | |
parent | 48a6d928e66e6a6017002670720b25d34b14167f (diff) |
use proper message passing
Change-Id: I8be59568bd98fde7e306e44538ca7d466137e9fd
Reviewed-on: https://gerrit.libreoffice.org/31685
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/frmfmt.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sw/inc/frmfmt.hxx b/sw/inc/frmfmt.hxx index 0d3cac0f8f3c..18a5f0a28ce0 100644 --- a/sw/inc/frmfmt.hxx +++ b/sw/inc/frmfmt.hxx @@ -234,6 +234,8 @@ public: //The DrawFrame-Format + +class SwDrawFrameFormat; namespace sw { enum class DrawFrameFormatHintId { @@ -264,6 +266,13 @@ namespace sw ContactChangedHint(SdrObject** ppObject) : m_ppObject(ppObject) {}; virtual ~ContactChangedHint() override; }; + struct SW_DLLPUBLIC DrawFormatLayoutCopyHint final : SfxHint + { + SwDrawFrameFormat& m_rDestFormat; + SwDoc& m_rDestDoc; + DrawFormatLayoutCopyHint(SwDrawFrameFormat& rDestFormat, SwDoc& rDestDoc) : m_rDestFormat(rDestFormat), m_rDestDoc(rDestDoc) {}; + virtual ~DrawFormatLayoutCopyHint() override; + }; } class SW_DLLPUBLIC SwDrawFrameFormat: public SwFrameFormat |