switching long to a 64-bit type on 64-bit windows

Desktop / LibreOffice - Noel [gmail.com] - 26 October 2020 06:35 UTC

(*) 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

4fbd63860500 switching long to a 64-bit type on 64-bit windows
compilerplugins/clang/toolslong.cxx | 556 +++++++++++++++++++++
.../source/primitive2d/textprimitive2d.cxx | 3 +-
.../source/processor2d/vclmetafileprocessor2d.cxx | 8 +-
.../source/processor2d/vclpixelprocessor2d.cxx | 26 +-
drawinglayer/source/processor2d/vclprocessor2d.cxx | 9 +-
drawinglayer/source/tools/wmfemfhelper.cxx | 2 +-
include/cui/cuicharmap.hxx | 2 +-
.../drawinglayer/primitive2d/textprimitive2d.hxx | 7 +-
include/sfx2/templatelocalview.hxx | 4 +-
include/svx/ChildrenManager.hxx | 7 +-
include/svx/CommonStyleManager.hxx | 2 +-
include/svx/IAccessibleParent.hxx | 3 +-
include/svx/PaletteManager.hxx | 6 +-
include/svx/ShapeTypeHandler.hxx | 5 +-
include/svx/charmap.hxx | 8 +-
include/svx/dialcontrol.hxx | 8 +-
include/svx/dlgctrl.hxx | 14 +-
include/svx/fmgridcl.hxx | 2 +-
include/svx/fontwork.hxx | 8 +-
include/svx/framelinkarray.hxx | 32 +-
include/svx/frmsel.hxx | 4 +-
include/svx/gridctrl.hxx | 34 +-
include/svx/nbdtmg.hxx | 6 +-
include/svx/obj3d.hxx | 2 +-
include/svx/pagectrl.hxx | 82 +--
include/svx/paraprev.hxx | 8 +-
include/svx/pszctrl.hxx | 2 +-
include/svx/rubydialog.hxx | 8 +-
include/svx/ruler.hxx | 86 ++--
include/svx/rulritem.hxx | 98 ++--
include/svx/scene3d.hxx | 2 +-
include/svx/sderitm.hxx | 2 +-
include/svx/sdmetitm.hxx | 2 +-
include/svx/sdsxyitm.hxx | 4 +-
include/svx/sdtaaitm.hxx | 2 +-
include/svx/sdtditm.hxx | 8 +-
include/svx/sdtmfitm.hxx | 8 +-
include/svx/sidebar/LinePropertyPanelBase.hxx | 2 +-
include/svx/sidebar/LineWidthPopup.hxx | 4 +-
include/svx/svddrag.hxx | 4 +-
include/svx/svddrgmt.hxx | 4 +-
include/svx/svdedtv.hxx | 10 +-
include/svx/svdglev.hxx | 2 +-
include/svx/svdglue.hxx | 16 +-
include/svx/svdhdl.hxx | 4 +-
include/svx/svdmodel.hxx | 12 +-
include/svx/svdoashp.hxx | 6 +-
include/svx/svdobj.hxx | 16 +-
include/svx/svdocirc.hxx | 20 +-
include/svx/svdoedge.hxx | 18 +-
include/svx/svdogrp.hxx | 12 +-
include/svx/svdomeas.hxx | 6 +-
include/svx/svdopath.hxx | 4 +-
include/svx/svdorect.hxx | 6 +-
include/svx/svdotext.hxx | 28 +-
include/svx/svdovirt.hxx | 12 +-
include/svx/svdpoev.hxx | 2 +-
include/svx/svdsnpv.hxx | 14 +-
include/svx/svdtrans.hxx | 34 +-
include/svx/svxdlg.hxx | 8 +-
include/svx/sxcecitm.hxx | 4 +-
include/svx/sxcgitm.hxx | 2 +-
include/svx/sxciaitm.hxx | 4 +-
include/svx/sxcllitm.hxx | 2 +-
include/svx/sxelditm.hxx | 6 +-
include/svx/sxenditm.hxx | 12 +-
include/svx/sxmlhitm.hxx | 10 +-
include/svx/sxmtfitm.hxx | 2 +-
include/svx/xflbmsxy.hxx | 4 +-
include/svx/xflhtit.hxx | 2 +-
include/svx/xftdiit.hxx | 2 +-
include/svx/xftshxy.hxx | 4 +-
include/svx/xftstit.hxx | 2 +-
include/svx/xhatch.hxx | 9 +-
include/svx/xlndsit.hxx | 2 +-
include/svx/xlnedwit.hxx | 2 +-
include/svx/xlnstwit.hxx | 2 +-
include/svx/xlnwtit.hxx | 2 +-
include/svx/xpoly.hxx | 10 +-
include/svx/xtable.hxx | 72 +--
include/svx/zoomsliderctrl.hxx | 4 +-
include/test/sheet/xsheetannotations.hxx | 3 +-
include/toolkit/controls/unocontrol.hxx | 3 +-
sfx2/source/control/templatelocalview.cxx | 2 +-
sfx2/source/control/thumbnailview.cxx | 18 +-
svx/inc/CommonStylePreviewRenderer.hxx | 2 +-
svx/inc/sxallitm.hxx | 8 +-
svx/inc/sxcaitm.hxx | 2 +-
svx/inc/sxlogitm.hxx | 4 +-
svx/inc/sxmoitm.hxx | 2 +-
svx/inc/sxmtaitm.hxx | 2 +-
svx/inc/sxoneitm.hxx | 8 +-
svx/inc/sxsaitm.hxx | 2 +-
svx/inc/sxtraitm.hxx | 8 +-
svx/qa/unit/customshapes.cxx | 4 +-
svx/source/accessibility/ChildrenManager.cxx | 6 +-
svx/source/accessibility/ChildrenManagerImpl.cxx | 8 +-
svx/source/accessibility/ChildrenManagerImpl.hxx | 8 +-
svx/source/accessibility/DescriptionGenerator.cxx | 4 +-
.../accessibility/GraphCtlAccessibleContext.cxx | 2 +-
svx/source/accessibility/ShapeTypeHandler.cxx | 4 +-
svx/source/accessibility/lookupcolorname.cxx | 8 +-
svx/source/accessibility/lookupcolorname.hxx | 2 +-
.../accessibility/svxpixelctlaccessiblecontext.cxx | 12 +-
.../accessibility/svxrectctaccessiblecontext.cxx | 22 +-
svx/source/customshapes/EnhancedCustomShape2d.cxx | 2 +-
svx/source/customshapes/EnhancedCustomShape3d.cxx | 6 +-
.../customshapes/EnhancedCustomShapeEngine.cxx | 4 +-
.../customshapes/EnhancedCustomShapeFontWork.cxx | 2 +-
svx/source/dialog/_bmpmask.cxx | 14 +-
svx/source/dialog/_contdlg.cxx | 2 +-
svx/source/dialog/charmap.cxx | 12 +-
svx/source/dialog/compressgraphicdialog.cxx | 8 +-
svx/source/dialog/connctrl.cxx | 12 +-
svx/source/dialog/dialcontrol.cxx | 22 +-
svx/source/dialog/dlgctrl.cxx | 32 +-
svx/source/dialog/dlgunit.hxx | 2 +-
svx/source/dialog/fntctrl.cxx | 48 +-
svx/source/dialog/fontwork.cxx | 2 +-
svx/source/dialog/framelinkarray.cxx | 48 +-
svx/source/dialog/frmsel.cxx | 40 +-
svx/source/dialog/graphctl.cxx | 12 +-
svx/source/dialog/hdft.cxx | 56 +--
svx/source/dialog/hyperdlg.cxx | 8 +-
svx/source/dialog/imapdlg.cxx | 4 +-
svx/source/dialog/imapwnd.cxx | 2 +-
svx/source/dialog/measctrl.cxx | 8 +-
svx/source/dialog/optgrid.cxx | 10 +-
svx/source/dialog/pagectrl.cxx | 28 +-
svx/source/dialog/paraprev.cxx | 12 +-
svx/source/dialog/rubydialog.cxx | 32 +-
svx/source/dialog/rulritem.cxx | 38 +-
svx/source/dialog/svxbmpnumvalueset.cxx | 14 +-
svx/source/dialog/svxruler.cxx | 346 ++++++-------
svx/source/dialog/swframeexample.cxx | 12 +-
svx/source/engine3d/dragmt3d.cxx | 8 +-
svx/source/engine3d/obj3d.cxx | 2 +-
svx/source/engine3d/scene3d.cxx | 10 +-
svx/source/engine3d/view3d.cxx | 32 +-
svx/source/fmcomp/fmgridcl.cxx | 10 +-
svx/source/fmcomp/gridctrl.cxx | 60 +--
svx/source/form/fmvwimp.cxx | 12 +-
svx/source/form/tabwin.cxx | 4 +-
svx/source/gallery2/galctrl.cxx | 4 +-
svx/source/gallery2/gallerybinaryengine.cxx | 5 +-
svx/source/gallery2/galobj.cxx | 4 +-
svx/source/inc/GraphCtlAccessibleContext.hxx | 2 +-
svx/source/inc/cell.hxx | 8 +-
svx/source/inc/frmselimpl.hxx | 12 +-
svx/source/inc/svxpixelctlaccessiblecontext.hxx | 8 +-
svx/source/inc/svxrectctaccessiblecontext.hxx | 10 +-
svx/source/items/algitem.cxx | 18 +-
svx/source/items/numfmtsh.cxx | 6 +-
.../sdr/contact/viewobjectcontactofunocontrol.cxx | 8 +-
svx/source/sdr/overlay/overlaymanager.cxx | 8 +-
svx/source/sidebar/area/AreaPropertyPanelBase.cxx | 4 +-
.../sidebar/inspector/InspectorTextPanel.cxx | 2 +-
svx/source/sidebar/line/LinePropertyPanelBase.cxx | 4 +-
svx/source/sidebar/line/LineWidthPopup.cxx | 8 +-
svx/source/sidebar/line/LineWidthValueSet.cxx | 4 +-
.../sidebar/paragraph/ParaLineSpacingControl.cxx | 4 +-
.../sidebar/paragraph/ParaLineSpacingControl.hxx | 3 +-
svx/source/sidebar/paragraph/ParaPropertyPanel.cxx | 16 +-
svx/source/sidebar/paragraph/ParaPropertyPanel.hxx | 6 +-
svx/source/sidebar/paragraph/ParaSpacingWindow.cxx | 6 +-
.../sidebar/possize/PosSizePropertyPanel.cxx | 42 +-
.../sidebar/possize/PosSizePropertyPanel.hxx | 4 +-
svx/source/sidebar/shadow/ShadowPropertyPanel.cxx | 2 +-
svx/source/sidebar/shadow/ShadowPropertyPanel.hxx | 4 +-
.../sidebar/text/TextCharacterSpacingControl.cxx | 10 +-
.../sidebar/text/TextCharacterSpacingControl.hxx | 4 +-
.../sidebar/tools/ValueSetWithTextControl.cxx | 4 +-
svx/source/stbctrls/modctrl.cxx | 4 +-
svx/source/stbctrls/pszctrl.cxx | 4 +-
svx/source/stbctrls/xmlsecctrl.cxx | 2 +-
svx/source/stbctrls/zoomsliderctrl.cxx | 72 +--
svx/source/styles/CommonStyleManager.cxx | 2 +-
svx/source/styles/CommonStylePreviewRenderer.cxx | 2 +-
svx/source/svdraw/sdrpagewindow.cxx | 16 +-
svx/source/svdraw/svdattr.cxx | 8 +-
svx/source/svdraw/svddrag.cxx | 14 +-
svx/source/svdraw/svddrgm1.hxx | 14 +-
svx/source/svdraw/svddrgmt.cxx | 54 +-
svx/source/svdraw/svdedtv1.cxx | 134 ++---
svx/source/svdraw/svdedxv.cxx | 8 +-
svx/source/svdraw/svdfmtf.cxx | 14 +-
svx/source/svdraw/svdglev.cxx | 2 +-
svx/source/svdraw/svdglue.cxx | 44 +-
svx/source/svdraw/svdhdl.cxx | 6 +-
svx/source/svdraw/svdmodel.cxx | 16 +-
svx/source/svdraw/svdmrkv.cxx | 24 +-
svx/source/svdraw/svdoashp.cxx | 62 +--
svx/source/svdraw/svdobj.cxx | 78 +--
svx/source/svdraw/svdocapt.cxx | 10 +-
svx/source/svdraw/svdocirc.cxx | 74 +--
svx/source/svdraw/svdoedge.cxx | 100 ++--
svx/source/svdraw/svdograf.cxx | 16 +-
svx/source/svdraw/svdogrp.cxx | 32 +-
svx/source/svdraw/svdomeas.cxx | 124 ++---
svx/source/svdraw/svdomedia.cxx | 4 +-
svx/source/svdraw/svdoole2.cxx | 20 +-
svx/source/svdraw/svdopath.cxx | 124 ++---
svx/source/svdraw/svdorect.cxx | 14 +-
svx/source/svdraw/svdotext.cxx | 74 +--
svx/source/svdraw/svdotxat.cxx | 16 +-
svx/source/svdraw/svdotxdr.cxx | 24 +-
svx/source/svdraw/svdotxed.cxx | 12 +-
svx/source/svdraw/svdotxtr.cxx | 24 +-
svx/source/svdraw/svdovirt.cxx | 12 +-
svx/source/svdraw/svdpagv.cxx | 44 +-
svx/source/svdraw/svdpntv.cxx | 10 +-
svx/source/svdraw/svdpoev.cxx | 2 +-
svx/source/svdraw/svdsnpv.cxx | 46 +-
svx/source/svdraw/svdtrans.cxx | 110 ++--
svx/source/svdraw/svdview.cxx | 4 +-
svx/source/svdraw/svdxcgv.cxx | 4 +-
svx/source/table/cell.cxx | 8 +-
svx/source/table/svdotable.cxx | 4 +-
svx/source/table/tablertfexporter.cxx | 4 +-
svx/source/table/tablertfimporter.cxx | 4 +-
svx/source/tbxctrls/PaletteManager.cxx | 4 +-
svx/source/tbxctrls/SvxPresetListBox.cxx | 2 +-
svx/source/tbxctrls/colrctrl.cxx | 4 +-
svx/source/tbxctrls/grafctrl.cxx | 4 +-
svx/source/tbxctrls/itemwin.cxx | 20 +-
svx/source/tbxctrls/layctrl.cxx | 68 +--
svx/source/tbxctrls/linectrl.cxx | 8 +-
svx/source/tbxctrls/tbcontrl.cxx | 40 +-
svx/source/tbxctrls/tbunocontroller.cxx | 12 +-
svx/source/tbxctrls/tbunosearchcontrollers.cxx | 2 +-
svx/source/tbxctrls/tbxcolorupdate.cxx | 2 +-
svx/source/uitest/sdrobject.cxx | 12 +-
svx/source/unodraw/UnoGraphicExporter.cxx | 12 +-
svx/source/unodraw/XPropertyTable.cxx | 26 +-
svx/source/unodraw/unoctabl.cxx | 12 +-
svx/source/unodraw/unopage.cxx | 4 +-
svx/source/unodraw/unoshap3.cxx | 2 +-
svx/source/unodraw/unoshape.cxx | 14 +-
svx/source/xoutdev/_xpoly.cxx | 66 +--
svx/source/xoutdev/xattr.cxx | 30 +-
svx/source/xoutdev/xattr2.cxx | 4 +-
svx/source/xoutdev/xtabbtmp.cxx | 12 +-
svx/source/xoutdev/xtabcolr.cxx | 10 +-
svx/source/xoutdev/xtabdash.cxx | 6 +-
svx/source/xoutdev/xtabgrdt.cxx | 10 +-
svx/source/xoutdev/xtabhtch.cxx | 10 +-
svx/source/xoutdev/xtable.cxx | 18 +-
svx/source/xoutdev/xtablend.cxx | 4 +-
svx/source/xoutdev/xtabptrn.cxx | 12 +-
toolkit/inc/helper/btndlg.hxx | 6 +-
toolkit/inc/helper/scrollabledialog.hxx | 12 +-
toolkit/source/awt/animatedimagespeer.cxx | 2 +-
toolkit/source/awt/scrollabledialog.cxx | 14 +-
toolkit/source/awt/vclxgraphics.cxx | 4 +-
toolkit/source/awt/vclxspinbutton.cxx | 2 +-
toolkit/source/awt/vclxtoolkit.cxx | 12 +-
toolkit/source/awt/vclxwindows.cxx | 14 +-
toolkit/source/controls/filectrl.cxx | 6 +-
toolkit/source/controls/unocontrolmodel.cxx | 19 +-
toolkit/source/helper/btndlg.cxx | 18 +-
ucb/source/cacher/cachedcontentresultset.cxx | 5 +-
ucb/source/sorter/sortdynres.cxx | 5 +-
ucb/source/ucp/cmis/cmis_content.cxx | 5 +-
ucb/source/ucp/webdav-neon/NeonSession.cxx | 5 +-
uui/source/nameclashdlg.cxx | 6 +-
vbahelper/source/msforms/vbacontrol.cxx | 8 +-
vbahelper/source/vbahelper/vbaapplicationbase.cxx | 4 +-
writerfilter/source/dmapper/PropertyMap.cxx | 2 +-
writerfilter/source/dmapper/WrapPolygonHandler.cxx | 6 +-
writerfilter/source/rtftok/rtfdocumentimpl.cxx | 6 +-
writerfilter/source/rtftok/rtfdocumentimpl.hxx | 3 +-
writerfilter/source/rtftok/rtfsdrimport.cxx | 2 +-
writerperfect/inc/DirectoryStream.hxx | 5 +-
writerperfect/inc/WPXSvInputStream.hxx | 5 +-
writerperfect/qa/unit/WPXSvStreamTest.cxx | 6 +-
.../source/calc/MSWorksCalcImportFilter.cxx | 4 +-
writerperfect/source/common/DirectoryStream.cxx | 4 +-
writerperfect/source/common/WPXSvInputStream.cxx | 25 +-
xmloff/inc/RDFaExportHelper.hxx | 3 +-
xmloff/source/core/xmlexp.cxx | 2 +-
xmloff/source/draw/sdxmlexp.cxx | 168 +++----
xmloff/source/text/txtlists.cxx | 3 +-
xmlsecurity/source/dialogs/certificatechooser.cxx | 2 +-
xmlsecurity/source/dialogs/certificateviewer.cxx | 2 +-
284 files changed, 2859 insertions(+), 2279 deletions(-)

Upstream: cgit.freedesktop.org


  • Share