summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2016-12-28 02:20:31 +0100
committerBjörn Michaelsen <bjoern.michaelsen@canonical.com>2016-12-30 04:13:27 +0000
commitbd9009bdadb2a35c0271f7c12384bb96831a9bf3 (patch)
treea5bf33cdee607081fa3e28548530bf6d4631b26f /sw/inc
parentd019c7ffa84104fe2583174a6c0a34e68bb4a1d4 (diff)
use proper message passing
- also skip extra GetMaster() null-check as it is only used for nullchecked dynamic_casts Change-Id: Iab51a6a3d5e40aa96f8f252d4ef5dce7d805549f Reviewed-on: https://gerrit.libreoffice.org/32466 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/frmfmt.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/sw/inc/frmfmt.hxx b/sw/inc/frmfmt.hxx
index fafa003e423f..c9f869e6e1cd 100644
--- a/sw/inc/frmfmt.hxx
+++ b/sw/inc/frmfmt.hxx
@@ -24,6 +24,7 @@
#include <tools/gen.hxx>
#include <format.hxx>
#include "swdllapi.h"
+#include <list>
class SwFlyFrame;
class SwAnchoredObject;
@@ -248,6 +249,7 @@ public:
class SwDrawFrameFormat;
class SwDrawContact;
+class SdrTextObj;
namespace sw
{
@@ -321,6 +323,12 @@ namespace sw
CreatePortionHint(SwDrawContact** ppContact) : m_ppContact(ppContact) {};
virtual ~CreatePortionHint() override;
};
+ struct SW_DLLPUBLIC CollectTextObjectsHint final : SfxHint
+ {
+ std::list<SdrTextObj*>& m_rTextObjects;
+ CollectTextObjectsHint(std::list<SdrTextObj*>& rTextObjects) : m_rTextObjects(rTextObjects) {};
+ virtual ~CollectTextObjectsHint() override;
+ };
}
class SW_DLLPUBLIC SwDrawFrameFormat: public SwFrameFormat