diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2017-01-18 23:28:16 +0200 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2017-01-18 23:38:47 +0200 |
commit | 6884550c20f95a635357ad848799a1aae555968a (patch) | |
tree | 60048c0db59b645bad39cd6b36f55e474333a829 /sw | |
parent | ba19b9fd5763c305569ce6ae4120c9e17de6afd4 (diff) |
tdf#105409 Use ScopedVclPtr
so disposeAndClear is called.
Change-Id: I40da317ac03f815c8664e8a4648870c2066f9650
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/uiview/viewling.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/viewling.cxx b/sw/source/uibase/uiview/viewling.cxx index 2152477770d4..0e74a3d5937c 100644 --- a/sw/source/uibase/uiview/viewling.cxx +++ b/sw/source/uibase/uiview/viewling.cxx @@ -717,7 +717,7 @@ bool SwView::ExecSpellPopup(const Point& rPt) aEvent.SourceWindow = VCLUnoHelper::GetInterface( m_pEditWin ); aEvent.ExecutePosition.X = aPixPos.X(); aEvent.ExecutePosition.Y = aPixPos.Y(); - VclPtr<Menu> pMenu; + ScopedVclPtr<Menu> pMenu; OUString sMenuName = bUseGrammarContext ? OUString("private:resource/GrammarContextMenu") : OUString("private:resource/SpellContextMenu"); |