[Libreoffice-commits] core.git: Branch 'libreoffice-5-3' - sw/source

Maxim Monastirsky momonasmon at gmail.com
Sun Jan 22 20:56:50 UTC 2017


 sw/source/uibase/uiview/viewling.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ff0fbfab197f6d717fd7f0afed2954356b3fe791
Author: Maxim Monastirsky <momonasmon at gmail.com>
Date:   Wed Jan 18 23:28:16 2017 +0200

    tdf#105409 Use ScopedVclPtr
    
    so disposeAndClear is called.
    
    Change-Id: I40da317ac03f815c8664e8a4648870c2066f9650
    (cherry picked from commit 6884550c20f95a635357ad848799a1aae555968a)
    Reviewed-on: https://gerrit.libreoffice.org/33324
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sw/source/uibase/uiview/viewling.cxx b/sw/source/uibase/uiview/viewling.cxx
index 5ac4f9f..56f3b7e 100644
--- a/sw/source/uibase/uiview/viewling.cxx
+++ b/sw/source/uibase/uiview/viewling.cxx
@@ -718,7 +718,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");


More information about the Libreoffice-commits mailing list