diff options
Diffstat (limited to 'sw/inc/calbck.hxx')
-rw-r--r-- | sw/inc/calbck.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/calbck.hxx b/sw/inc/calbck.hxx index d470ea12a9ac..891664cdbddc 100644 --- a/sw/inc/calbck.hxx +++ b/sw/inc/calbck.hxx @@ -183,7 +183,7 @@ class SW_DLLPUBLIC SwModify: public SwClient virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew) override { NotifyClients( pOld, pNew ); }; - SwModify(SwModify&) = delete; + SwModify(SwModify const &) = delete; SwModify &operator =(const SwModify&) = delete; public: SwModify() @@ -241,7 +241,7 @@ namespace sw ListenerEntry(SwClient *const pTellHim, SwModify *const pDepend) : SwClient(pDepend), m_pToTell(pTellHim) {} - ListenerEntry(ListenerEntry&) = delete; + ListenerEntry(ListenerEntry const &) = delete; ListenerEntry& operator=(ListenerEntry const&) = delete; ListenerEntry(ListenerEntry&& other) noexcept : SwClient(std::move(other)) |