framework/source/uielement/toolbarsmenucontroller.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2f3b95246362aa8290e06b29fc44ee8dafa48aa8
Author: udareechk <udare...@gmail.com>
Date:   Wed Sep 20 18:25:43 2017 +0530

    tdf#96505 Get rid of cargo cult long integer literals
    
    toolbarsmenucontrollers.cxx file
    
    Change-Id: I25a842c2be3c6edbc8c0644e78cf36a9e45176a7
    Reviewed-on: https://gerrit.libreoffice.org/42561
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Eike Rathke <er...@redhat.com>

diff --git a/framework/source/uielement/toolbarsmenucontroller.cxx 
b/framework/source/uielement/toolbarsmenucontroller.cxx
index e08891f770b9..e004b693e388 100644
--- a/framework/source/uielement/toolbarsmenucontroller.cxx
+++ b/framework/source/uielement/toolbarsmenucontroller.cxx
@@ -385,7 +385,7 @@ void ToolbarsMenuController::fillPopupMenu( Reference< 
css::awt::XPopupMenu > co
                 PopupMenu* pVCLPopupMenu = pXPopupMenu ? static_cast<PopupMenu 
*>(pXPopupMenu->GetMenu()) : nullptr;
                 assert(pVCLPopupMenu);
                 if (pVCLPopupMenu)
-                    pVCLPopupMenu->SetUserValue( nIndex, sal_uLong( 
aSortedTbs[i].bContextSensitive ? 1L : 0L ));
+                    pVCLPopupMenu->SetUserValue( nIndex, sal_uLong( 
aSortedTbs[i].bContextSensitive ? 1 : 0 ));
             }
 
             // use VCL popup menu pointer to set vital information that are 
not part of the awt implementation
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to