diff options
Diffstat (limited to 'svx/inc/tbunosearchcontrollers.hxx')
-rw-r--r-- | svx/inc/tbunosearchcontrollers.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/svx/inc/tbunosearchcontrollers.hxx b/svx/inc/tbunosearchcontrollers.hxx index a7657eedeeaf..8aa95e1e99f0 100644 --- a/svx/inc/tbunosearchcontrollers.hxx +++ b/svx/inc/tbunosearchcontrollers.hxx @@ -47,7 +47,6 @@ public: FindTextFieldControl( vcl::Window* pParent, WinBits nStyle, css::uno::Reference< css::frame::XFrame >& xFrame, const css::uno::Reference< css::uno::XComponentContext >& xContext ); - virtual ~FindTextFieldControl(); virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; @@ -119,7 +118,7 @@ public: private: - FindTextFieldControl* m_pFindTextFieldControl; + VclPtr<FindTextFieldControl> m_pFindTextFieldControl; sal_uInt16 m_nDownSearchId; // item position of findbar sal_uInt16 m_nUpSearchId; // item position of findbar @@ -221,7 +220,7 @@ public: virtual void SAL_CALL statusChanged( const css::frame::FeatureStateEvent& rEvent ) throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; private: - CheckBox* m_pMatchCaseControl; + VclPtr<CheckBox> m_pMatchCaseControl; }; class FindAllToolboxController : public svt::ToolboxController, |