Kaydet (Commit) 5aee96ed authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: loplugin:vclwidgets

OutputDevice subclass with VclPtr field must call dispose() from its
destructor.

Change-Id: I775e1add8bba7ae03d503c7099f7492b0e006524
üst 20859250
......@@ -56,7 +56,7 @@ class SwFrameMenuButtonBase : public MenuButton, public ISwFrameControl
const SwFrm* m_pFrm;
protected:
virtual ~SwFrameMenuButtonBase() {}
virtual ~SwFrameMenuButtonBase() { disposeOnce(); }
virtual void dispose() SAL_OVERRIDE;
public:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment