[Libreoffice-commits] core.git: vcl/unx

Julien Nabet serval2412 at yahoo.fr
Thu May 12 20:17:36 UTC 2016


 vcl/unx/gtk/gtksalmenu.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0876e5a20ac9873dd111eb2a30a76488b642614f
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Thu May 12 21:42:57 2016 +0200

    Remove wrong TODO
    
    Change-Id: I9d3744a802b6d213fa5ac32f6e7a24537cba1970
    Reviewed-on: https://gerrit.libreoffice.org/24941
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/vcl/unx/gtk/gtksalmenu.cxx b/vcl/unx/gtk/gtksalmenu.cxx
index 86aef8c..a79713a 100644
--- a/vcl/unx/gtk/gtksalmenu.cxx
+++ b/vcl/unx/gtk/gtksalmenu.cxx
@@ -974,7 +974,7 @@ namespace
         GtkSalMenu* pSalSubMenu = reinterpret_cast<GtkSalMenu*>(sGtkSalMenu.toInt64());
 
         assert(sWindow == "window" && pSalSubMenu);
-        (void) sWindow; // TODO should we throw an exception ?
+        (void) sWindow;
 
         return MenuAndId(pSalSubMenu, sItemId.toInt32());
     }


More information about the Libreoffice-commits mailing list