[PATCH] replace remaining InterlockedCount() with inlined version

Norbert Thiebaud (via Code Review) gerrit at gerrit.libreoffice.org
Fri Sep 21 23:52:09 PDT 2012


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/671

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/71/671/1

replace remaining InterlockedCount() with inlined version

Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c
---
M accessibility/source/extended/AccessibleBrowseBoxBase.cxx
M accessibility/source/extended/AccessibleGridControlBase.cxx
M accessibility/source/extended/accessibleiconchoicectrlentry.cxx
M accessibility/source/extended/accessiblelistbox.cxx
M accessibility/source/extended/accessiblelistboxentry.cxx
M accessibility/source/extended/accessibletablistbox.cxx
M accessibility/source/extended/accessibletablistboxtable.cxx
M accessibility/source/helper/acc_factory.cxx
M basctl/source/basicide/doceventnotifier.cxx
M basic/source/classes/sbxmod.cxx
M basic/source/uno/namecont.cxx
M binaryurp/source/proxy.cxx
M bridges/inc/bridges/cpp_uno/bridge.hxx
M bridges/source/cpp_uno/shared/bridge.cxx
M bridges/source/cpp_uno/shared/cppinterfaceproxy.cxx
M bridges/source/cpp_uno/shared/unointerfaceproxy.cxx
M bridges/source/jni_uno/jni_bridge.cxx
M bridges/source/jni_uno/jni_uno2java.cxx
M bridges/test/java_uno/acquire/testacquire.cxx
M bridges/test/performance/testperformance.cxx
M bridges/test/testcomp.cxx
M canvas/source/null/null_usagecounter.hxx
M chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx
M chart2/source/controller/main/ShapeToolbarController.cxx
M chart2/source/model/main/Axis.cxx
M chart2/source/model/main/ChartModel.cxx
M cli_ure/source/uno_bridge/cli_bridge.cxx
M cli_ure/source/uno_bridge/cli_proxy.cxx
M codemaker/source/codemaker/typemanager.cxx
M comphelper/inc/comphelper/uno3.hxx
M comphelper/source/misc/SelectionMultiplex.cxx
M comphelper/source/misc/accessiblewrapper.cxx
M comphelper/source/misc/asyncnotification.cxx
M comphelper/source/misc/componentmodule.cxx
M comphelper/source/misc/proxyaggregation.cxx
M comphelper/source/misc/weakeventlistener.cxx
M connectivity/inc/connectivity/CommonTools.hxx
M connectivity/source/commontools/ConnectionWrapper.cxx
M connectivity/source/commontools/TDatabaseMetaDataBase.cxx
M connectivity/source/commontools/TPrivilegesResultSet.cxx
M connectivity/source/commontools/dbtools.cxx
M connectivity/source/cpool/ZConnectionWrapper.cxx
M connectivity/source/cpool/ZDriverWrapper.cxx
M connectivity/source/cpool/ZPoolCollection.cxx
M connectivity/source/drivers/ado/AConnection.cxx
M connectivity/source/drivers/ado/ADatabaseMetaDataResultSet.cxx
M connectivity/source/drivers/ado/APreparedStatement.cxx
M connectivity/source/drivers/ado/AResultSet.cxx
M connectivity/source/drivers/ado/AStatement.cxx
M connectivity/source/drivers/calc/CConnection.cxx
M connectivity/source/drivers/evoab2/NConnection.cxx
M connectivity/source/drivers/file/FConnection.cxx
M connectivity/source/drivers/file/FResultSet.cxx
M connectivity/source/drivers/file/FStatement.cxx
M connectivity/source/drivers/flat/EConnection.cxx
M connectivity/source/drivers/hsqldb/HConnection.cxx
M connectivity/source/drivers/jdbc/ConnectionLog.cxx
M connectivity/source/drivers/jdbc/Object.cxx
M connectivity/source/drivers/jdbc/ResultSet.cxx
M connectivity/source/drivers/kab/KConnection.cxx
M connectivity/source/drivers/kab/KDatabaseMetaData.cxx
M connectivity/source/drivers/kab/KDriver.cxx
M connectivity/source/drivers/macab/MacabConnection.cxx
M connectivity/source/drivers/macab/MacabDatabaseMetaData.cxx
M connectivity/source/drivers/macab/MacabDriver.cxx
M connectivity/source/drivers/mork/MCatalog.cxx
M connectivity/source/drivers/mozab/MCatalog.cxx
M connectivity/source/drivers/odbcbase/ODatabaseMetaData.cxx
M connectivity/source/drivers/odbcbase/ODatabaseMetaDataResultSet.cxx
M connectivity/source/drivers/odbcbase/OResultSet.cxx
M connectivity/source/drivers/odbcbase/OStatement.cxx
M connectivity/source/resource/sharedresources.cxx
M connectivity/source/simpledbt/refbase.cxx
M dbaccess/source/core/api/RowSet.cxx
M dbaccess/source/core/api/RowSetRow.hxx
M dbaccess/source/core/api/definitioncolumn.cxx
M dbaccess/source/core/api/query.cxx
M dbaccess/source/core/dataaccess/ModelImpl.cxx
M dbaccess/source/core/dataaccess/connection.cxx
M dbaccess/source/core/dataaccess/databasecontext.cxx
M dbaccess/source/core/dataaccess/databasedocument.cxx
M dbaccess/source/core/dataaccess/datasource.cxx
M dbaccess/source/core/dataaccess/documentdefinition.cxx
M dbaccess/source/core/dataaccess/documenteventexecutor.cxx
M dbaccess/source/core/dataaccess/documenteventnotifier.cxx
M dbaccess/source/core/inc/FilteredContainer.hxx
M dbaccess/source/core/misc/ContainerMediator.cxx
M dbaccess/source/core/misc/DatabaseDataProvider.cxx
M dbaccess/source/core/misc/PropertyForward.cxx
M dbaccess/source/core/misc/apitools.cxx
M dbaccess/source/core/recovery/settingsimport.cxx
M dbaccess/source/core/recovery/subcomponentloader.cxx
M dbaccess/source/ui/app/AppController.cxx
M dbaccess/source/ui/browser/dbexchange.cxx
M dbaccess/source/ui/browser/genericcontroller.cxx
M dbaccess/source/ui/browser/unodatbr.cxx
M dbaccess/source/ui/control/toolboxcontroller.cxx
M dbaccess/source/ui/misc/TokenWriter.cxx
M dbaccess/source/ui/querydesign/querycontroller.cxx
M dbaccess/source/ui/uno/ColumnPeer.cxx
M editeng/source/xml/xmltxtexp.cxx
M embeddedobj/source/msole/advisesink.cxx
M embeddedobj/source/msole/olewrapclient.cxx
M embedserv/source/embed/ed_ipersiststr.cxx
M embedserv/source/embed/iipaobj.cxx
M embedserv/source/embed/servprov.cxx
M extensions/source/logging/logger.cxx
M extensions/source/ole/servprov.cxx
M extensions/source/ole/unoconversionutilities.hxx
M extensions/source/propctrlr/composeduiupdate.cxx
M extensions/source/propctrlr/formcomponenthandler.cxx
M extensions/source/propctrlr/formcontroller.cxx
M extensions/source/propctrlr/formgeometryhandler.cxx
M extensions/source/propctrlr/formmetadata.cxx
M extensions/source/propctrlr/genericpropertyhandler.cxx
M extensions/source/propctrlr/propcontroller.cxx
M extensions/source/propctrlr/propertycomposer.cxx
M extensions/source/propctrlr/sqlcommanddesign.cxx
M extensions/source/propctrlr/xsddatatypes.cxx
M filter/source/config/cache/lateinitlistener.cxx
M forms/source/component/DatabaseForm.cxx
M forms/source/component/Date.cxx
M forms/source/component/FormComponent.cxx
M forms/source/component/FormattedFieldWrapper.cxx
M forms/source/component/FormsCollection.cxx
M forms/source/component/Grid.cxx
M forms/source/component/ImageControl.cxx
M forms/source/component/clickableimage.cxx
M forms/source/helper/windowstateguard.cxx
M forms/source/richtext/rtattributehandler.cxx
M fpicker/source/office/asyncfilepicker.cxx
M fpicker/source/win32/filepicker/VistaFilePickerEventHandler.cxx
M framework/inc/helper/shareablemutex.hxx
M framework/source/fwe/helper/documentundoguard.cxx
M framework/source/uiconfiguration/imagemanagerimpl.cxx
M io/source/acceptor/acc_pipe.cxx
M io/source/acceptor/acc_socket.cxx
M io/source/connector/ctr_pipe.cxx
M io/source/connector/ctr_socket.cxx
M linguistic/source/lngopt.cxx
M mysqlc/source/mysqlc_databasemetadata.cxx
M mysqlc/source/mysqlc_driver.cxx
M o3tl/inc/o3tl/cow_wrapper.hxx
M odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx
M odk/examples/DevelopersGuide/Database/DriverSkeleton/SConnection.cxx
M odk/examples/DevelopersGuide/Database/DriverSkeleton/SDatabaseMetaData.cxx
M odk/examples/DevelopersGuide/Database/DriverSkeleton/SDriver.cxx
M rdbmaker/inc/codemaker/registry.hxx
M rdbmaker/source/codemaker/dependency.cxx
M rdbmaker/source/codemaker/typemanager.cxx
M reportdesign/source/core/api/FixedLine.cxx
M reportdesign/source/core/api/FixedText.cxx
M reportdesign/source/core/api/FormattedField.cxx
M reportdesign/source/core/api/Group.cxx
M reportdesign/source/core/api/ImageControl.cxx
M reportdesign/source/core/api/ReportComponent.cxx
M reportdesign/source/core/api/ReportDefinition.cxx
M reportdesign/source/core/api/Shape.cxx
M reportdesign/source/core/sdr/PropertyForward.cxx
M reportdesign/source/core/sdr/UndoEnv.cxx
M reportdesign/source/ui/misc/toolboxcontroller.cxx
M reportdesign/source/ui/report/ReportControllerObserver.cxx
M reportdesign/source/ui/report/StartMarker.cxx
M sal/inc/rtl/unload.h
M sal/osl/all/debugbase.cxx
M sal/osl/unx/pipe.c
M sal/osl/unx/socket.c
M sal/osl/w32/pipe.c
M sal/osl/w32/socket.cxx
M sal/osl/w32/thread.c
M sal/rtl/source/byteseq.cxx
M sal/rtl/source/unload.cxx
M salhelper/inc/salhelper/simplereferenceobject.hxx
M sc/source/ui/Accessibility/AccessibleCell.cxx
M sc/source/ui/Accessibility/AccessibleContextBase.cxx
M sc/source/ui/Accessibility/AccessibleCsvControl.cxx
M sc/source/ui/Accessibility/AccessibleDataPilotControl.cxx
M sc/source/ui/Accessibility/AccessibleDocument.cxx
M sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
M sc/source/ui/Accessibility/AccessibleEditObject.cxx
M sc/source/ui/Accessibility/AccessiblePageHeader.cxx
M sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx
M sc/source/ui/Accessibility/AccessiblePreviewCell.cxx
M sc/source/ui/Accessibility/AccessiblePreviewTable.cxx
M sc/source/ui/unoobj/fielduno.cxx
M sc/source/ui/vba/vbawindow.cxx
M scripting/source/provider/BrowseNodeFactoryImpl.cxx
M sd/source/core/stlsheet.cxx
M sd/source/helper/simplereferencecomponent.cxx
M sd/source/ui/toolpanel/ToolPanelViewShell.cxx
M sd/source/ui/unoidl/unomodel.cxx
M sd/workben/custompanel/ctp_panel.cxx
M sfx2/workben/custompanel/ctp_panel.cxx
M stoc/source/invocation_adapterfactory/iafactory.cxx
M stoc/source/proxy_factory/proxyfac.cxx
M stoc/source/security/access_controller.cxx
M stoc/test/security/test_security.cxx
M svtools/source/contnr/svimpbox.cxx
M svtools/source/java/javacontext.cxx
M svtools/source/java/javainteractionhandler.cxx
M svtools/source/misc/svtaccessiblefactory.cxx
M svtools/source/misc/transfer.cxx
M svtools/source/table/mousefunction.cxx
M svtools/source/toolpanel/refbase.cxx
M svx/source/accessibility/AccessibleControlShape.cxx
M svx/source/accessibility/charmapacc.cxx
M svx/source/accessibility/svxrectctaccessiblecontext.cxx
M svx/source/form/ParseContext.cxx
M svx/source/form/fmscriptingenv.cxx
M svx/source/form/fmtextcontrolfeature.cxx
M svx/source/form/fmtextcontrolshell.cxx
M svx/source/form/formcontrolling.cxx
M svx/source/inc/fmundo.hxx
M svx/source/sdr/overlay/overlaymanager.cxx
M svx/source/unodraw/unoshape.cxx
M svx/source/unodraw/unoshcol.cxx
M svx/source/unodraw/unoshtxt.cxx
M sw/source/core/doc/doc.cxx
M sw/source/core/docnode/observablethread.cxx
M sw/source/core/inc/threadmanager.hxx
M sw/source/ui/uno/unomailmerge.cxx
M testtools/source/performance/pseudo.cxx
M testtools/source/performance/ubobject.cxx
M toolkit/source/controls/formattedcontrol.cxx
M toolkit/source/controls/grid/gridcontrol.cxx
M toolkit/source/controls/spinningprogress.cxx
M toolkit/source/controls/unocontrols.cxx
M toolkit/source/helper/accessibilityclient.cxx
M ucb/source/ucp/tdoc/tdoc_stgelems.cxx
M ucb/source/ucp/tdoc/tdoc_storage.cxx
M ucb/source/ucp/webdav/DAVSession.hxx
M ucb/source/ucp/webdav/DAVSessionFactory.cxx
M ucb/workben/cachemap/cachemapobject1.cxx
M ucb/workben/cachemap/cachemapobject1.hxx
M ucb/workben/cachemap/cachemapobject3.cxx
M ucb/workben/cachemap/cachemapobject3.hxx
M xmloff/inc/xmloff/uniref.hxx
M xmloff/source/forms/handler/property_handler_base.cxx
M xmloff/source/style/uniref.cxx
239 files changed, 529 insertions(+), 532 deletions(-)


--
To view, visit https://gerrit.libreoffice.org/671
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud <nthiebaud at gmail.com>



More information about the LibreOffice mailing list