summaryrefslogtreecommitdiff
path: root/svx/source/inc/filtnav.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-01-23 08:45:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-01-23 09:42:01 +0200
commite5f5d9022150242a8a1222ccc657f7769d881594 (patch)
tree5992f71fe2d867c67d60c9c7224d589649dda607 /svx/source/inc/filtnav.hxx
parentc3199d1d58957a421d68ffbf6a63666aac755a51 (diff)
use rtl::Reference in OLocalExchangeHelper
instead of manual acquire/release Change-Id: I40035df2995b71d868fc4d1f08a20b5fa4546fc9
Diffstat (limited to 'svx/source/inc/filtnav.hxx')
-rw-r--r--svx/source/inc/filtnav.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/inc/filtnav.hxx b/svx/source/inc/filtnav.hxx
index 5f458f7f241f..a48391a6c63b 100644
--- a/svx/source/inc/filtnav.hxx
+++ b/svx/source/inc/filtnav.hxx
@@ -220,7 +220,7 @@ class OFilterExchangeHelper : public OLocalExchangeHelper
public:
OFilterExchangeHelper(vcl::Window* _pDragSource) : OLocalExchangeHelper(_pDragSource) { }
- OFilterItemExchange* operator->() const { return static_cast<OFilterItemExchange*>(m_pTransferable); }
+ OFilterItemExchange* operator->() const { return static_cast<OFilterItemExchange*>(m_xTransferable.get()); }
protected:
virtual OLocalExchange* createExchange() const override;