From e5f5d9022150242a8a1222ccc657f7769d881594 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 23 Jan 2017 08:45:50 +0200 Subject: use rtl::Reference in OLocalExchangeHelper instead of manual acquire/release Change-Id: I40035df2995b71d868fc4d1f08a20b5fa4546fc9 --- svx/source/inc/filtnav.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx/source/inc/filtnav.hxx') 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(m_pTransferable); } + OFilterItemExchange* operator->() const { return static_cast(m_xTransferable.get()); } protected: virtual OLocalExchange* createExchange() const override; -- cgit