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

New commits:
commit baccbd4508a375090f4d95a2dab02c8b5d404ee2
Author: Maxim Monastirsky <momonas...@gmail.com>
Date:   Sat Dec 23 22:13:55 2017 +0200

    tdf#114670 Make sure to dispose the menu
    
    Change-Id: I30612a0b3cfef7d19ff6a5180db76a8002186bd5
    Reviewed-on: https://gerrit.libreoffice.org/47025
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Maxim Monastirsky <momonas...@gmail.com>

diff --git a/sw/source/uibase/docvw/edtwin.cxx 
b/sw/source/uibase/docvw/edtwin.cxx
index f5b582994ec7..edb94d575e5d 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -5287,7 +5287,7 @@ void SwEditWin::Command( const CommandEvent& rCEvt )
                         aEvent.SourceWindow = VCLUnoHelper::GetInterface( this 
);
                         aEvent.ExecutePosition.X = aPixPos.X();
                         aEvent.ExecutePosition.Y = aPixPos.Y();
-                        VclPtr<Menu> pMenu;
+                        ScopedVclPtr<Menu> pMenu;
                         if 
(GetView().TryContextMenuInterception(aROPopup.GetMenu(), 
"private:resource/ReadonlyContextMenu", pMenu, aEvent))
                         {
                             if ( pMenu )
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to