summaryrefslogtreecommitdiff
path: root/sw/inc/calbck.hxx
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@libreoffice.org>2018-05-06 06:06:32 +0200
committerBjörn Michaelsen <bjoern.michaelsen@libreoffice.org>2018-05-06 23:32:38 +0200
commit36847ce41aae7c81ad7ca9d22a7215a640378929 (patch)
tree1eac529b3d2e56d1438348f79ca30895ac0ea916 /sw/inc/calbck.hxx
parent642cc0000fa666952e6232e5d56eaf02a06e6814 (diff)
make SwDepend an implementation detail of sw::WriterMultiListener
- ... and rename it to ListenerEntry Change-Id: Ie0f77f1d381da469899420f864995e1697e4c639 Reviewed-on: https://gerrit.libreoffice.org/53909 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@libreoffice.org>
Diffstat (limited to 'sw/inc/calbck.hxx')
-rw-r--r--sw/inc/calbck.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/sw/inc/calbck.hxx b/sw/inc/calbck.hxx
index c9d81f8df8f7..440a822b8a15 100644
--- a/sw/inc/calbck.hxx
+++ b/sw/inc/calbck.hxx
@@ -251,18 +251,19 @@ private:
namespace sw
{
+ class ListenerEntry;
class SW_DLLPUBLIC WriterMultiListener final
{
#ifdef WNT
- typedef std::shared_ptr<SwDepend> pointer_t;
+ typedef std::shared_ptr<ListenerEntry> pointer_t;
#else
- typedef std::unique_ptr<SwDepend> pointer_t;
+ typedef std::unique_ptr<ListenerEntry> pointer_t;
#endif
SwClient& m_rToTell;
std::vector<pointer_t> m_vDepends;
public:
- WriterMultiListener(SwClient& rToTell)
- : m_rToTell(rToTell) {}
+ WriterMultiListener(SwClient& rToTell);
+ ~WriterMultiListener();
void StartListening(SwModify* pDepend);
void EndListening(SwModify* pDepend);
bool IsListeningTo(const SwModify* const pDepend);