From 4fbd63860500b2db76df4d5aedbe5e3aa31fac69 Mon Sep 17 00:00:00 2001 From: Noel Date: Mon, 12 Oct 2020 09:52:12 +0200 Subject: switching long to a 64-bit type on 64-bit windows (*) create a rewriting plugin to do most of the work, heavily based on the fakebool plugin (*) but there are still a number of "long"s in the codebase that will need to be done by hand (*) the plugin needs lots of handholding, due to needing to add #include and update macros Change-Id: I8184d7000ca482c0469514bb73178c3a1123b1e9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104203 Tested-by: Jenkins Reviewed-by: Noel Grandin --- uui/source/nameclashdlg.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'uui/source') diff --git a/uui/source/nameclashdlg.cxx b/uui/source/nameclashdlg.cxx index 5c64583da46d..e49174bd688e 100644 --- a/uui/source/nameclashdlg.cxx +++ b/uui/source/nameclashdlg.cxx @@ -29,10 +29,10 @@ IMPL_LINK(NameClashDialog, ButtonHdl_Impl, weld::Button&, rBtn, void) { - long nRet = long(ABORT); + tools::Long nRet = tools::Long(ABORT); if (m_xBtnRename.get() == &rBtn) { - nRet = long(RENAME); + nRet = tools::Long(RENAME); OUString aNewName = m_xEDNewName->get_text(); if ( ( aNewName == m_aNewName ) || aNewName.isEmpty() ) { @@ -45,7 +45,7 @@ IMPL_LINK(NameClashDialog, ButtonHdl_Impl, weld::Button&, rBtn, void) m_aNewName = aNewName; } else if (m_xBtnOverwrite.get() == &rBtn) - nRet = long(OVERWRITE); + nRet = tools::Long(OVERWRITE); m_xDialog->response(nRet); } -- cgit