summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorudareechk <udareeck@gmail.com>2017-09-20 18:25:43 +0530
committerEike Rathke <erack@redhat.com>2017-10-05 17:58:05 +0200
commit2f3b95246362aa8290e06b29fc44ee8dafa48aa8 (patch)
tree62e8a775c050c1f08ade08568c31335ffcf869b1
parent9fa34e9f2cebe2cfc551668f2a67ddcb799d3fb8 (diff)
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 <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
-rw-r--r--framework/source/uielement/toolbarsmenucontroller.cxx2
1 files changed, 1 insertions, 1 deletions
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