[Libreoffice-commits] core.git: 79 commits - basic/source bridges/source canvas/source chart2/qa chart2/source comphelper/source compilerplugins/clang connectivity/source cppuhelper/source cppu/source cui/source dbaccess/qa dbaccess/source desktop/source drawinglayer/source editeng/source embeddedobj/source eventattacher/source extensions/source filter/source forms/source fpicker/source framework/source hwpfilter/source i18npool/source include/canvas include/com include/comphelper include/cppuhelper include/uno include/unotools include/vbahelper jvmfwk/plugins jvmfwk/source l10ntools/source lingucomponent/source linguistic/source lotuswordpro/source mysqlc/source odk/qa oox/source package/source pyuno/source registry/source reportdesign/source rsc/source salhelper/source sal/osl sal/qa sal/rtl sax/source sc/qa scripting/source sc/source sdext/source sd/source sfx2/source shell/source slideshow/source smoketest/smoketest.cxx starmath/source stoc/source svl/source svtools/source svx/source sw/qa sw /source test/source testtools/source toolkit/source ucbhelper/source ucb/source unodevtools/source unotools/source unoxml/source uui/source vbahelper/source vcl/source writerfilter/source writerperfect/inc xmloff/source xmlscript/source xmlsecurity/source
Stephan Bergmann
sbergman at redhat.com
Wed Apr 20 15:28:28 UTC 2016
basic/source/basmgr/basicmanagerrepository.cxx | 4
basic/source/classes/sbunoobj.cxx | 4
basic/source/classes/sbxmod.cxx | 2
basic/source/uno/dlgcont.cxx | 2
basic/source/uno/namecont.cxx | 16
basic/source/uno/scriptcont.cxx | 2
bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx | 4
bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx | 4
bridges/source/jni_uno/jni_bridge.cxx | 4
bridges/source/jni_uno/jni_java2uno.cxx | 4
bridges/source/jni_uno/jni_uno2java.cxx | 4
canvas/source/cairo/cairo_canvashelper.cxx | 2
canvas/source/simplecanvas/simplecanvasimpl.cxx | 2
canvas/source/tools/canvastools.cxx | 2
chart2/qa/extras/charttest.hxx | 2
chart2/source/controller/chartapiwrapper/AxisWrapper.cxx | 2
chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx | 20 -
chart2/source/controller/chartapiwrapper/WrappedAxisAndGridExistenceProperties.cxx | 2
chart2/source/controller/chartapiwrapper/WrappedStatisticProperties.cxx | 2
chart2/source/controller/chartapiwrapper/WrappedStockProperties.cxx | 4
chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx | 4
chart2/source/controller/dialogs/TitleDialogData.cxx | 4
chart2/source/controller/dialogs/tp_DataSource.cxx | 2
chart2/source/controller/itemsetwrapper/CharacterPropertyItemConverter.cxx | 4
chart2/source/controller/main/ChartController.cxx | 18
chart2/source/controller/main/ChartController_TextEdit.cxx | 4
chart2/source/controller/main/ChartController_Window.cxx | 4
chart2/source/controller/main/ChartFrameloader.cxx | 6
chart2/source/controller/main/ChartModelClone.cxx | 2
chart2/source/model/filter/XMLFilter.cxx | 4
chart2/source/model/main/ChartModel.cxx | 28 -
chart2/source/model/main/ChartModel_Persistence.cxx | 12
chart2/source/model/main/DataPointProperties.cxx | 8
chart2/source/model/template/BubbleDataInterpreter.cxx | 4
chart2/source/model/template/ChartTypeTemplate.cxx | 2
chart2/source/model/template/DataInterpreter.cxx | 4
chart2/source/model/template/NetChartTypeTemplate.cxx | 2
chart2/source/model/template/ScatterChartTypeTemplate.cxx | 2
chart2/source/model/template/StockDataInterpreter.cxx | 10
chart2/source/model/template/XYDataInterpreter.cxx | 4
chart2/source/tools/AxisHelper.cxx | 10
chart2/source/tools/CharacterProperties.cxx | 2
chart2/source/tools/DiagramHelper.cxx | 2
chart2/source/tools/InternalDataProvider.cxx | 2
chart2/source/tools/LegendHelper.cxx | 4
chart2/source/tools/OPropertySet.cxx | 8
chart2/source/tools/RangeHighlighter.cxx | 8
chart2/source/tools/ThreeDHelper.cxx | 16
chart2/source/tools/TitleHelper.cxx | 2
chart2/source/tools/UncachedDataSequence.cxx | 4
chart2/source/tools/WrappedPropertySet.cxx | 2
chart2/source/view/main/ChartView.cxx | 4
chart2/source/view/main/OpenglShapeFactory.cxx | 6
chart2/source/view/main/PropertyMapper.cxx | 6
chart2/source/view/main/ShapeFactory.cxx | 4
chart2/source/view/main/VLegend.cxx | 4
comphelper/source/container/embeddedobjectcontainer.cxx | 10
comphelper/source/container/enumerablemap.cxx | 4
comphelper/source/container/enumhelper.cxx | 8
comphelper/source/eventattachermgr/eventattachermgr.cxx | 2
comphelper/source/misc/accessibletexthelper.cxx | 2
comphelper/source/misc/instancelocker.cxx | 2
comphelper/source/misc/mimeconfighelper.cxx | 2
comphelper/source/property/opropertybag.cxx | 10
comphelper/source/property/propagg.cxx | 10
comphelper/source/property/propstate.cxx | 2
compilerplugins/clang/implicitboolconversion.cxx | 13
compilerplugins/clang/salbool.cxx | 61 +++
connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx | 22 -
connectivity/source/commontools/FDatabaseMetaDataResultSetMetaData.cxx | 14
connectivity/source/commontools/TDatabaseMetaDataBase.cxx | 18
connectivity/source/commontools/TIndex.cxx | 2
connectivity/source/commontools/TIndexColumns.cxx | 2
connectivity/source/commontools/TIndexes.cxx | 2
connectivity/source/commontools/TPrivilegesResultSet.cxx | 2
connectivity/source/commontools/TTableHelper.cxx | 2
connectivity/source/commontools/dbtools.cxx | 8
connectivity/source/commontools/paramwrapper.cxx | 4
connectivity/source/drivers/calc/CResultSet.cxx | 2
connectivity/source/drivers/calc/CTable.cxx | 2
connectivity/source/drivers/dbase/DDatabaseMetaData.cxx | 8
connectivity/source/drivers/dbase/DDriver.cxx | 6
connectivity/source/drivers/dbase/DResultSet.cxx | 4
connectivity/source/drivers/evoab2/NConnection.cxx | 4
connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx | 160 ++++----
connectivity/source/drivers/evoab2/NPreparedStatement.cxx | 2
connectivity/source/drivers/evoab2/NResultSet.cxx | 6
connectivity/source/drivers/evoab2/NResultSetMetaData.cxx | 16
connectivity/source/drivers/file/FDatabaseMetaData.cxx | 166 ++++----
connectivity/source/drivers/file/FDriver.cxx | 12
connectivity/source/drivers/file/FResultSet.cxx | 4
connectivity/source/drivers/file/FResultSetMetaData.cxx | 8
connectivity/source/drivers/file/FStatement.cxx | 4
connectivity/source/drivers/firebird/Connection.cxx | 2
connectivity/source/drivers/firebird/DatabaseMetaData.cxx | 200 +++++-----
connectivity/source/drivers/firebird/ResultSet.cxx | 30 -
connectivity/source/drivers/firebird/ResultSetMetaData.cxx | 10
connectivity/source/drivers/firebird/StatementCommonBase.cxx | 2
connectivity/source/drivers/flat/EDriver.cxx | 10
connectivity/source/drivers/flat/EResultSet.cxx | 2
connectivity/source/drivers/hsqldb/HDriver.cxx | 10
connectivity/source/drivers/hsqldb/HStorageMap.cxx | 2
connectivity/source/drivers/jdbc/Blob.cxx | 2
connectivity/source/drivers/jdbc/CallableStatement.cxx | 2
connectivity/source/drivers/jdbc/DatabaseMetaData.cxx | 4
connectivity/source/drivers/jdbc/InputStream.cxx | 2
connectivity/source/drivers/jdbc/JDriver.cxx | 28 -
connectivity/source/drivers/jdbc/JStatement.cxx | 6
connectivity/source/drivers/jdbc/Object.cxx | 4
connectivity/source/drivers/jdbc/PreparedStatement.cxx | 2
connectivity/source/drivers/jdbc/ResultSet.cxx | 2
connectivity/source/drivers/jdbc/ResultSetMetaData.cxx | 2
connectivity/source/drivers/jdbc/tools.cxx | 6
connectivity/source/drivers/mork/MConnection.cxx | 4
connectivity/source/drivers/mork/MDatabaseMetaData.cxx | 160 ++++----
connectivity/source/drivers/mork/MPreparedStatement.cxx | 2
connectivity/source/drivers/mork/MResultSet.cxx | 14
connectivity/source/drivers/mork/MResultSetMetaData.cxx | 10
connectivity/source/drivers/mysql/YDriver.cxx | 18
connectivity/source/drivers/odbc/ODatabaseMetaData.cxx | 10
connectivity/source/drivers/odbc/ODatabaseMetaDataResultSet.cxx | 2
connectivity/source/drivers/odbc/ODriver.cxx | 18
connectivity/source/drivers/odbc/OResultSet.cxx | 6
connectivity/source/drivers/postgresql/pq_baseresultset.cxx | 16
connectivity/source/drivers/postgresql/pq_connection.cxx | 8
connectivity/source/drivers/postgresql/pq_databasemetadata.cxx | 182 ++++-----
connectivity/source/drivers/postgresql/pq_driver.cxx | 4
connectivity/source/drivers/postgresql/pq_preparedstatement.cxx | 4
connectivity/source/drivers/postgresql/pq_resultset.cxx | 2
connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx | 8
connectivity/source/drivers/postgresql/pq_sequenceresultsetmetadata.cxx | 8
connectivity/source/drivers/postgresql/pq_statement.cxx | 4
connectivity/source/drivers/postgresql/pq_statics.cxx | 4
connectivity/source/drivers/postgresql/pq_updateableresultset.hxx | 2
connectivity/source/drivers/postgresql/pq_xbase.cxx | 2
connectivity/source/parse/sqlnode.cxx | 2
cppu/source/helper/purpenv/helper_purpenv_Proxy.cxx | 4
cppu/source/threadpool/current.cxx | 24 -
cppu/source/threadpool/threadident.cxx | 4
cppu/source/typelib/static_types.cxx | 16
cppu/source/typelib/typelib.cxx | 32 -
cppu/source/uno/assign.hxx | 2
cppu/source/uno/constr.hxx | 2
cppu/source/uno/copy.hxx | 6
cppu/source/uno/data.cxx | 8
cppu/source/uno/eq.hxx | 8
cppuhelper/source/component.cxx | 10
cppuhelper/source/factory.cxx | 6
cppuhelper/source/implbase.cxx | 20 -
cppuhelper/source/implbase_ex.cxx | 2
cppuhelper/source/interfacecontainer.cxx | 22 -
cppuhelper/source/propshlp.cxx | 22 -
cppuhelper/source/tdmgr.cxx | 4
cui/source/customize/cfg.cxx | 18
cui/source/customize/macropg.cxx | 4
cui/source/dialogs/SpellDialog.cxx | 6
cui/source/dialogs/hyphen.cxx | 4
cui/source/options/optdict.cxx | 2
cui/source/options/optinet2.cxx | 4
cui/source/options/optjava.cxx | 12
cui/source/options/treeopt.cxx | 4
cui/source/options/webconninfo.cxx | 4
cui/source/tabpages/numpages.cxx | 4
dbaccess/qa/extras/dialog-save.cxx | 2
dbaccess/source/core/api/CRowSetColumn.cxx | 2
dbaccess/source/core/api/CRowSetDataColumn.cxx | 4
dbaccess/source/core/api/RowSet.cxx | 22 -
dbaccess/source/core/api/RowSetBase.cxx | 16
dbaccess/source/core/api/RowSetCache.cxx | 8
dbaccess/source/core/api/SingleSelectQueryComposer.cxx | 2
dbaccess/source/core/api/datasettings.cxx | 2
dbaccess/source/core/api/definitioncolumn.cxx | 2
dbaccess/source/core/api/query.cxx | 2
dbaccess/source/core/api/querycomposer.cxx | 2
dbaccess/source/core/api/resultcolumn.cxx | 4
dbaccess/source/core/api/resultset.cxx | 2
dbaccess/source/core/dataaccess/ContentHelper.cxx | 4
dbaccess/source/core/dataaccess/ModelImpl.cxx | 2
dbaccess/source/core/dataaccess/SharedConnection.cxx | 2
dbaccess/source/core/dataaccess/commanddefinition.cxx | 4
dbaccess/source/core/dataaccess/databasecontext.cxx | 2
dbaccess/source/core/dataaccess/databasedocument.cxx | 8
dbaccess/source/core/dataaccess/datasource.cxx | 10
dbaccess/source/core/dataaccess/documentcontainer.cxx | 4
dbaccess/source/core/dataaccess/documentdefinition.cxx | 20 -
dbaccess/source/core/dataaccess/intercept.cxx | 16
dbaccess/source/core/misc/DatabaseDataProvider.cxx | 16
dbaccess/source/core/misc/dsntypes.cxx | 10
dbaccess/source/core/recovery/dbdocrecovery.cxx | 2
dbaccess/source/core/recovery/subcomponentloader.cxx | 2
dbaccess/source/ext/macromigration/macromigrationdialog.cxx | 8
dbaccess/source/filter/xml/dbloader2.cxx | 2
dbaccess/source/filter/xml/xmlDataSource.cxx | 8
dbaccess/source/filter/xml/xmlDataSourceInfo.cxx | 2
dbaccess/source/filter/xml/xmlfilter.cxx | 2
dbaccess/source/inc/apitools.hxx | 4
dbaccess/source/sdbtools/connection/tablename.cxx | 2
dbaccess/source/ui/app/AppController.cxx | 20 -
dbaccess/source/ui/app/AppDetailPageHelper.cxx | 10
dbaccess/source/ui/app/subcomponentmanager.cxx | 4
dbaccess/source/ui/browser/brwctrlr.cxx | 20 -
dbaccess/source/ui/browser/brwview.cxx | 6
dbaccess/source/ui/browser/dbloader.cxx | 6
dbaccess/source/ui/browser/exsrcbrw.cxx | 2
dbaccess/source/ui/browser/formadapter.cxx | 40 +-
dbaccess/source/ui/browser/genericcontroller.cxx | 4
dbaccess/source/ui/browser/sbagrid.cxx | 4
dbaccess/source/ui/browser/unodatbr.cxx | 38 -
dbaccess/source/ui/control/FieldDescControl.cxx | 2
dbaccess/source/ui/control/sqledit.cxx | 2
dbaccess/source/ui/control/toolboxcontroller.cxx | 20 -
dbaccess/source/ui/dlg/DbAdminImpl.cxx | 10
dbaccess/source/ui/dlg/UserAdminDlg.cxx | 2
dbaccess/source/ui/dlg/tablespage.cxx | 2
dbaccess/source/ui/misc/DExport.cxx | 2
dbaccess/source/ui/misc/UITools.cxx | 2
dbaccess/source/ui/misc/databaseobjectview.cxx | 10
dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx | 8
dbaccess/source/ui/misc/singledoccontroller.cxx | 2
dbaccess/source/ui/querydesign/JoinController.cxx | 6
dbaccess/source/ui/querydesign/JoinTableView.cxx | 6
dbaccess/source/ui/querydesign/QueryDesignView.cxx | 14
dbaccess/source/ui/querydesign/QueryTableView.cxx | 8
dbaccess/source/ui/querydesign/QueryTextView.cxx | 4
dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx | 14
dbaccess/source/ui/querydesign/TableWindow.cxx | 2
dbaccess/source/ui/querydesign/TableWindowTitle.cxx | 2
dbaccess/source/ui/querydesign/querycontainerwindow.cxx | 4
dbaccess/source/ui/querydesign/querycontroller.cxx | 20 -
dbaccess/source/ui/relationdesign/RelationController.cxx | 4
dbaccess/source/ui/tabledesign/TEditControl.cxx | 10
dbaccess/source/ui/tabledesign/TableController.cxx | 30 -
dbaccess/source/ui/tabledesign/TableUndo.cxx | 6
dbaccess/source/ui/uno/ColumnControl.cxx | 4
dbaccess/source/ui/uno/copytablewizard.cxx | 2
dbaccess/source/ui/uno/unosqlmessage.cxx | 2
desktop/source/app/app.cxx | 4
desktop/source/app/appinit.cxx | 2
desktop/source/app/dispatchwatcher.cxx | 24 -
desktop/source/deployment/registry/component/dp_component.cxx | 4
desktop/source/deployment/registry/executable/dp_executable.cxx | 4
desktop/source/deployment/registry/package/dp_package.cxx | 2
desktop/source/lib/init.cxx | 2
desktop/source/lib/lokinteractionhandler.cxx | 2
desktop/source/migration/migration.cxx | 10
drawinglayer/source/primitive2d/textbreakuphelper.cxx | 4
drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx | 4
editeng/source/accessibility/AccessibleEditableTextPara.cxx | 30 -
editeng/source/editeng/editview.cxx | 4
editeng/source/editeng/impedit.cxx | 4
editeng/source/editeng/impedit3.cxx | 2
editeng/source/misc/acorrcfg.cxx | 2
editeng/source/misc/splwrap.cxx | 4
editeng/source/misc/svxacorr.cxx | 2
editeng/source/misc/unolingu.cxx | 2
editeng/source/uno/UnoForbiddenCharsTable.cxx | 2
editeng/source/uno/unonrule.cxx | 2
editeng/source/uno/unotext.cxx | 2
editeng/source/uno/unotext2.cxx | 2
editeng/source/xml/xmltxtexp.cxx | 4
embeddedobj/source/commonembedding/embedobj.cxx | 6
embeddedobj/source/commonembedding/persistence.cxx | 32 -
embeddedobj/source/general/docholder.cxx | 26 -
embeddedobj/source/general/dummyobject.cxx | 6
embeddedobj/source/general/intercept.cxx | 16
embeddedobj/source/msole/oleembed.cxx | 16
embeddedobj/source/msole/olepersist.cxx | 6
embeddedobj/source/msole/ownview.cxx | 10
eventattacher/source/eventattacher.cxx | 2
extensions/source/abpilot/unodialogabp.cxx | 2
extensions/source/bibliography/bibbeam.cxx | 4
extensions/source/bibliography/bibload.cxx | 2
extensions/source/bibliography/datman.cxx | 12
extensions/source/bibliography/framectr.cxx | 42 +-
extensions/source/bibliography/general.cxx | 4
extensions/source/logging/consolehandler.cxx | 4
extensions/source/logging/filehandler.cxx | 6
extensions/source/propctrlr/eformshelper.cxx | 4
extensions/source/propctrlr/eformspropertyhandler.cxx | 2
extensions/source/propctrlr/eventhandler.cxx | 8
extensions/source/propctrlr/formcomponenthandler.cxx | 30 -
extensions/source/propctrlr/formcontroller.cxx | 2
extensions/source/propctrlr/formgeometryhandler.cxx | 4
extensions/source/propctrlr/genericpropertyhandler.cxx | 4
extensions/source/propctrlr/handlerhelper.cxx | 2
extensions/source/propctrlr/propcontroller.cxx | 6
extensions/source/propctrlr/propertycomposer.cxx | 2
extensions/source/propctrlr/propertyhandler.cxx | 4
extensions/source/propctrlr/sqlcommanddesign.cxx | 4
extensions/source/propctrlr/standardcontrol.cxx | 8
extensions/source/propctrlr/taborder.cxx | 2
extensions/source/propctrlr/xsdvalidationpropertyhandler.cxx | 10
extensions/source/resource/oooresourceloader.cxx | 6
extensions/source/update/check/updatecheck.cxx | 6
extensions/source/update/check/updatecheckconfig.cxx | 10
extensions/source/update/feed/updatefeed.cxx | 4
filter/source/config/cache/filtercache.cxx | 12
filter/source/flash/swffilter.cxx | 4
filter/source/graphicfilter/icgm/actimpr.cxx | 14
filter/source/msfilter/svdfppt.cxx | 4
filter/source/odfflatxml/OdfFlatXml.cxx | 12
filter/source/pdf/pdfexport.cxx | 12
filter/source/placeware/filter.cxx | 2
filter/source/svg/svgwriter.cxx | 4
filter/source/xsltfilter/XSLTFilter.cxx | 14
forms/source/component/CheckBox.cxx | 4
forms/source/component/Columns.cxx | 2
forms/source/component/DatabaseForm.cxx | 26 -
forms/source/component/Filter.cxx | 12
forms/source/component/FormComponent.cxx | 10
forms/source/component/FormattedField.cxx | 2
forms/source/component/Grid.cxx | 4
forms/source/component/ImageControl.cxx | 2
forms/source/component/ListBox.cxx | 2
forms/source/component/clickableimage.cxx | 4
forms/source/helper/windowstateguard.cxx | 2
forms/source/misc/limitedformats.cxx | 2
forms/source/richtext/featuredispatcher.cxx | 4
forms/source/richtext/richtextmodel.cxx | 2
forms/source/richtext/specialdispatchers.cxx | 6
forms/source/runtime/formoperations.cxx | 20 -
forms/source/runtime/formoperations.hxx | 2
forms/source/xforms/binding.cxx | 2
forms/source/xforms/collection.hxx | 2
forms/source/xforms/datatypes.cxx | 4
forms/source/xforms/model_ui.cxx | 4
forms/source/xforms/propertysetbase.cxx | 6
forms/source/xforms/submission.cxx | 2
forms/source/xforms/submission/replace.cxx | 4
fpicker/source/office/commonpicker.cxx | 4
framework/source/accelerators/acceleratorconfiguration.cxx | 8
framework/source/classes/taskcreator.cxx | 4
framework/source/dispatch/closedispatcher.cxx | 6
framework/source/dispatch/startmoduledispatcher.cxx | 2
framework/source/dispatch/systemexec.cxx | 2
framework/source/fwe/classes/actiontriggerpropertyset.cxx | 2
framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx | 2
framework/source/fwe/classes/rootactiontriggercontainer.cxx | 2
framework/source/fwi/uielement/constitemcontainer.cxx | 2
framework/source/fwi/uielement/rootitemcontainer.cxx | 2
framework/source/helper/dockingareadefaultacceptor.cxx | 6
framework/source/helper/uiconfigelementwrapperbase.cxx | 2
framework/source/helper/uielementwrapperbase.cxx | 4
framework/source/jobs/job.cxx | 6
framework/source/jobs/shelljob.cxx | 2
framework/source/layoutmanager/helpers.cxx | 2
framework/source/layoutmanager/layoutmanager.cxx | 26 -
framework/source/layoutmanager/toolbarlayoutmanager.cxx | 24 -
framework/source/loadenv/loadenv.cxx | 10
framework/source/recording/dispatchrecorder.cxx | 4
framework/source/services/autorecovery.cxx | 24 -
framework/source/services/desktop.cxx | 18
framework/source/services/dispatchhelper.cxx | 2
framework/source/services/frame.cxx | 16
framework/source/services/pathsettings.cxx | 8
framework/source/services/sessionlistener.cxx | 2
framework/source/services/urltransformer.cxx | 30 -
framework/source/tabwin/tabwindow.cxx | 2
framework/source/uiconfiguration/globalsettings.cxx | 2
framework/source/uiconfiguration/imagemanagerimpl.cxx | 6
framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx | 8
framework/source/uiconfiguration/uicategorydescription.cxx | 2
framework/source/uiconfiguration/uiconfigurationmanager.cxx | 4
framework/source/uiconfiguration/windowstateconfiguration.cxx | 12
framework/source/uielement/fontmenucontroller.cxx | 6
framework/source/uielement/fontsizemenucontroller.cxx | 4
framework/source/uielement/langselectionstatusbarcontroller.cxx | 4
framework/source/uielement/menubarwrapper.cxx | 8
framework/source/uielement/popuptoolbarcontroller.cxx | 2
framework/source/uielement/recentfilesmenucontroller.cxx | 2
framework/source/uielement/resourcemenucontroller.cxx | 4
framework/source/uielement/statusbaritem.cxx | 2
framework/source/uielement/statusbarmanager.cxx | 2
framework/source/uielement/statusbarwrapper.cxx | 4
framework/source/uielement/subtoolbarcontroller.cxx | 4
framework/source/uielement/toolbarmanager.cxx | 8
framework/source/uielement/toolbarsmenucontroller.cxx | 8
framework/source/uielement/toolbarwrapper.cxx | 4
framework/source/uielement/uicommanddescription.cxx | 4
hwpfilter/source/hwpreader.cxx | 6
i18npool/source/breakiterator/breakiteratorImpl.cxx | 18
i18npool/source/calendar/calendar_gregorian.cxx | 2
i18npool/source/characterclassification/cclass_unicode.cxx | 2
i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx | 4
i18npool/source/indexentry/indexentrysupplier.cxx | 2
i18npool/source/indexentry/indexentrysupplier_common.cxx | 2
i18npool/source/inputchecker/inputsequencechecker.cxx | 4
i18npool/source/inputchecker/inputsequencechecker_hi.cxx | 4
i18npool/source/inputchecker/inputsequencechecker_th.cxx | 6
i18npool/source/nativenumber/nativenumbersupplier.cxx | 6
i18npool/source/numberformatcode/numberformatcode.cxx | 2
i18npool/source/search/textsearch.cxx | 4
i18npool/source/textconversion/textconversion_ko.cxx | 2
i18npool/source/textconversion/textconversion_zh.cxx | 2
i18npool/source/transliteration/textToPronounce_zh.cxx | 2
i18npool/source/transliteration/transliterationImpl.cxx | 6
include/canvas/base/bitmapcanvasbase.hxx | 2
include/canvas/base/graphicdevicebase.hxx | 2
include/com/sun/star/uno/Any.hxx | 10
include/comphelper/property.hxx | 2
include/comphelper/servicehelper.hxx | 2
include/cppuhelper/implbase1.hxx | 2
include/cppuhelper/implbase10.hxx | 2
include/cppuhelper/implbase11.hxx | 2
include/cppuhelper/implbase12.hxx | 2
include/cppuhelper/implbase13.hxx | 2
include/cppuhelper/implbase2.hxx | 2
include/cppuhelper/implbase3.hxx | 2
include/cppuhelper/implbase4.hxx | 2
include/cppuhelper/implbase5.hxx | 2
include/cppuhelper/implbase6.hxx | 2
include/cppuhelper/implbase7.hxx | 2
include/cppuhelper/implbase8.hxx | 2
include/cppuhelper/implbase9.hxx | 2
include/cppuhelper/propshlp.hxx | 4
include/uno/current_context.hxx | 2
include/unotools/digitgroupingiterator.hxx | 4
include/vbahelper/vbahelperinterface.hxx | 4
jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx | 4
jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx | 8
jvmfwk/source/elements.cxx | 6
jvmfwk/source/framework.cxx | 4
l10ntools/source/export.cxx | 2
l10ntools/source/xmlparse.cxx | 14
lingucomponent/source/spellcheck/spell/sspellimp.cxx | 6
linguistic/source/convdiclist.cxx | 8
linguistic/source/dlistimp.cxx | 16
linguistic/source/gciterator.cxx | 4
linguistic/source/hyphdsp.cxx | 6
linguistic/source/iprcache.cxx | 2
linguistic/source/lngopt.cxx | 4
linguistic/source/lngsvcmgr.cxx | 2
lotuswordpro/source/filter/lwptablelayout.cxx | 6
lotuswordpro/source/filter/lwptools.cxx | 4
mysqlc/source/mysqlc_connection.cxx | 2
mysqlc/source/mysqlc_databasemetadata.cxx | 4
mysqlc/source/mysqlc_driver.cxx | 4
mysqlc/source/mysqlc_resultset.cxx | 40 +-
mysqlc/source/mysqlc_resultsetmetadata.cxx | 16
mysqlc/source/mysqlc_statement.cxx | 4
odk/qa/checkapi/checkapi.cxx | 2
oox/source/core/filterdetect.cxx | 2
oox/source/core/xmlfilterbase.cxx | 2
oox/source/drawingml/chart/chartconverter.cxx | 2
oox/source/drawingml/shape.cxx | 10
oox/source/drawingml/table/tablecell.cxx | 4
oox/source/drawingml/table/tableproperties.cxx | 2
oox/source/drawingml/table/tablestyletextstylecontext.cxx | 8
oox/source/drawingml/textfield.cxx | 6
oox/source/drawingml/textparagraph.cxx | 6
oox/source/drawingml/textparagraphproperties.cxx | 2
oox/source/drawingml/textparagraphpropertiescontext.cxx | 8
oox/source/drawingml/textrun.cxx | 14
oox/source/export/drawingml.cxx | 2
oox/source/helper/textinputstream.cxx | 2
oox/source/ole/vbaproject.cxx | 2
oox/source/ppt/pptshapepropertiescontext.cxx | 2
oox/source/ppt/presentationfragmenthandler.cxx | 2
oox/source/ppt/soundactioncontext.cxx | 2
oox/source/vml/vmlformatting.cxx | 6
oox/source/vml/vmlinputstream.cxx | 4
oox/source/vml/vmlshape.cxx | 8
package/source/xstor/ocompinstream.cxx | 4
package/source/xstor/owriteablestream.cxx | 10
package/source/xstor/xstorage.cxx | 30 -
package/source/zipapi/ZipOutputEntry.cxx | 2
package/source/zippackage/ZipPackage.cxx | 22 -
pyuno/source/module/pyuno_module.cxx | 2
pyuno/source/module/pyuno_runtime.cxx | 4
registry/source/registry.cxx | 2
reportdesign/source/core/api/Function.cxx | 2
reportdesign/source/core/api/ReportDefinition.cxx | 18
reportdesign/source/core/api/ReportEngineJFree.cxx | 6
reportdesign/source/core/sdr/ReportDrawPage.cxx | 2
reportdesign/source/core/sdr/RptObject.cxx | 8
reportdesign/source/filter/xml/xmlExport.cxx | 8
reportdesign/source/filter/xml/xmlExport.hxx | 2
reportdesign/source/filter/xml/xmlFunction.cxx | 2
reportdesign/source/filter/xml/xmlGroup.cxx | 6
reportdesign/source/filter/xml/xmlHelper.cxx | 2
reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx | 2
reportdesign/source/filter/xml/xmlReport.cxx | 8
reportdesign/source/filter/xml/xmlfilter.cxx | 4
reportdesign/source/ui/dlg/DateTime.cxx | 4
reportdesign/source/ui/dlg/GroupsSorting.cxx | 2
reportdesign/source/ui/inspection/DataProviderHandler.cxx | 16
reportdesign/source/ui/inspection/GeometryHandler.cxx | 60 +--
reportdesign/source/ui/misc/RptUndo.cxx | 4
reportdesign/source/ui/misc/toolboxcontroller.cxx | 8
reportdesign/source/ui/report/ReportController.cxx | 22 -
reportdesign/source/ui/report/dlgedfunc.cxx | 2
reportdesign/source/ui/report/propbrw.cxx | 4
rsc/source/parser/rscinit.cxx | 4
sal/osl/all/signalshared.cxx | 4
sal/osl/unx/conditn.cxx | 14
sal/osl/unx/file_stat.cxx | 6
sal/osl/unx/module.cxx | 2
sal/osl/unx/mutex.cxx | 12
sal/osl/unx/profile.cxx | 44 +-
sal/osl/unx/security.cxx | 8
sal/osl/unx/socket.cxx | 58 +-
sal/osl/unx/thread.cxx | 8
sal/osl/unx/time.cxx | 22 -
sal/qa/osl/file/osl_File.cxx | 8
sal/qa/osl/module/osl_Module_DLL.cxx | 2
sal/qa/rtl/uuid/rtl_Uuid.cxx | 2
sal/rtl/byteseq.cxx | 4
sal/rtl/locale.cxx | 10
sal/rtl/string.cxx | 4
sal/rtl/strtmpl.cxx | 6
sal/rtl/ustring.cxx | 8
salhelper/source/timer.cxx | 4
sax/source/tools/fastattribs.cxx | 4
sax/source/tools/fastserializer.cxx | 2
sc/qa/extras/sceditfieldobj-cell.cxx | 2
sc/qa/extras/sceditfieldobj-header.cxx | 2
sc/qa/unit/bugfix-test.cxx | 2
sc/qa/unit/copy_paste_test.cxx | 2
sc/source/core/data/dptabsrc.cxx | 8
sc/source/core/tool/charthelper.cxx | 6
sc/source/filter/oox/defnamesbuffer.cxx | 4
sc/source/filter/oox/pagesettings.cxx | 16
sc/source/filter/oox/pivotcachebuffer.cxx | 4
sc/source/filter/oox/pivottablebuffer.cxx | 4
sc/source/filter/oox/stylesbuffer.cxx | 6
sc/source/filter/oox/viewsettings.cxx | 2
sc/source/filter/oox/worksheethelper.cxx | 2
sc/source/filter/xml/XMLCodeNameProvider.cxx | 4
sc/source/filter/xml/XMLTableHeaderFooterContext.cxx | 2
sc/source/filter/xml/XMLTrackedChangesContext.cxx | 4
sc/source/filter/xml/xmldpimp.cxx | 6
sc/source/filter/xml/xmlstyle.cxx | 18
sc/source/filter/xml/xmlwrap.cxx | 4
sc/source/ui/Accessibility/AccessibleEditObject.cxx | 4
sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx | 20 -
sc/source/ui/Accessibility/AccessibleTableBase.cxx | 8
sc/source/ui/docshell/docsh.cxx | 8
sc/source/ui/docshell/docsh4.cxx | 14
sc/source/ui/drawfunc/drawsh.cxx | 2
sc/source/ui/drawfunc/fuins2.cxx | 2
sc/source/ui/formdlg/formula.cxx | 2
sc/source/ui/unoobj/appluno.cxx | 2
sc/source/ui/unoobj/cellvaluebinding.cxx | 2
sc/source/ui/unoobj/chart2uno.cxx | 6
sc/source/ui/unoobj/dispuno.cxx | 2
sc/source/ui/unoobj/docuno.cxx | 6
sc/source/ui/unoobj/eventuno.cxx | 2
sc/source/ui/unoobj/fielduno.cxx | 10
sc/source/ui/unoobj/fmtuno.cxx | 2
sc/source/ui/unoobj/linkuno.cxx | 4
sc/source/ui/unoobj/nameuno.cxx | 2
sc/source/ui/unoobj/servuno.cxx | 2
sc/source/ui/unoobj/shapeuno.cxx | 2
sc/source/ui/unoobj/styleuno.cxx | 2
sc/source/ui/unoobj/targuno.cxx | 4
sc/source/ui/vba/excelvbahelper.cxx | 2
sc/source/ui/vba/vbaapplication.cxx | 10
sc/source/ui/vba/vbaaxis.cxx | 6
sc/source/ui/vba/vbaborders.cxx | 14
sc/source/ui/vba/vbacharacters.cxx | 4
sc/source/ui/vba/vbachart.cxx | 28 -
sc/source/ui/vba/vbacomment.cxx | 4
sc/source/ui/vba/vbaformat.cxx | 4
sc/source/ui/vba/vbapagebreak.cxx | 8
sc/source/ui/vba/vbapagebreaks.cxx | 6
sc/source/ui/vba/vbapalette.cxx | 2
sc/source/ui/vba/vbarange.cxx | 40 +-
sc/source/ui/vba/vbasheetobject.cxx | 2
sc/source/ui/vba/vbavalidation.cxx | 6
sc/source/ui/vba/vbawindow.cxx | 2
sc/source/ui/vba/vbaworkbooks.cxx | 2
sc/source/ui/view/tabvwshg.cxx | 2
scripting/source/basprov/basmethnode.cxx | 4
scripting/source/dlgprov/dlgprov.cxx | 2
scripting/source/provider/BrowseNodeFactoryImpl.cxx | 8
scripting/source/provider/MasterScriptProvider.cxx | 2
scripting/source/stringresource/stringresource.cxx | 2
scripting/source/vbaevents/eventhelper.cxx | 4
sd/source/core/CustomAnimationEffect.cxx | 2
sd/source/core/stlfamily.cxx | 10
sd/source/core/stlpool.cxx | 12
sd/source/core/stlsheet.cxx | 14
sd/source/filter/eppt/pptx-text.cxx | 2
sd/source/filter/xml/sdxmlwrp.cxx | 2
sd/source/ui/animations/CustomAnimationDialog.cxx | 8
sd/source/ui/dlg/dlgass.cxx | 2
sd/source/ui/dlg/filedlg.cxx | 6
sd/source/ui/framework/factories/FullScreenPane.cxx | 2
sd/source/ui/presenter/PresenterCanvas.cxx | 8
sd/source/ui/presenter/PresenterHelper.cxx | 2
sd/source/ui/slideshow/slideshow.cxx | 6
sd/source/ui/slideshow/slideshowimpl.cxx | 12
sd/source/ui/slidesorter/shell/SlideSorterService.cxx | 2
sd/source/ui/table/TableDesignPane.cxx | 2
sd/source/ui/tools/PropertySet.cxx | 2
sd/source/ui/unoidl/DrawController.cxx | 12
sd/source/ui/unoidl/SdUnoOutlineView.cxx | 2
sd/source/ui/unoidl/randomnode.cxx | 2
sd/source/ui/unoidl/unomodel.cxx | 4
sd/source/ui/unoidl/unoobj.cxx | 2
sd/source/ui/unoidl/unopage.cxx | 6
sd/source/ui/view/DocumentRenderer.cxx | 2
sd/source/ui/view/PresentationViewShellBase.cxx | 2
sd/source/ui/view/drviewse.cxx | 4
sd/source/ui/view/sdview3.cxx | 6
sdext/source/minimizer/fileopendialog.cxx | 2
sdext/source/minimizer/impoptimizer.cxx | 4
sdext/source/minimizer/informationdialog.cxx | 10
sdext/source/minimizer/optimizerdialog.cxx | 24 -
sdext/source/minimizer/optimizerdialogcontrols.cxx | 4
sdext/source/minimizer/unodialog.cxx | 10
sdext/source/pdfimport/pdfiadaptor.cxx | 2
sdext/source/presenter/PresenterAccessibility.cxx | 14
sdext/source/presenter/PresenterButton.cxx | 12
sdext/source/presenter/PresenterController.cxx | 2
sdext/source/presenter/PresenterGeometryHelper.cxx | 6
sdext/source/presenter/PresenterHelpView.cxx | 4
sdext/source/presenter/PresenterNotesView.cxx | 12
sdext/source/presenter/PresenterPane.cxx | 4
sdext/source/presenter/PresenterPaneBase.cxx | 12
sdext/source/presenter/PresenterPaneBorderPainter.cxx | 2
sdext/source/presenter/PresenterPaneFactory.cxx | 6
sdext/source/presenter/PresenterProtocolHandler.cxx | 4
sdext/source/presenter/PresenterScrollBar.cxx | 14
sdext/source/presenter/PresenterSlidePreview.cxx | 4
sdext/source/presenter/PresenterSlideShowView.cxx | 10
sdext/source/presenter/PresenterSlideSorter.cxx | 6
sdext/source/presenter/PresenterSprite.cxx | 2
sdext/source/presenter/PresenterSpritePane.cxx | 4
sdext/source/presenter/PresenterTextView.cxx | 2
sdext/source/presenter/PresenterToolBar.cxx | 6
sdext/source/presenter/PresenterWindowManager.cxx | 2
sfx2/source/appl/appserv.cxx | 6
sfx2/source/appl/childwin.cxx | 4
sfx2/source/appl/fileobj.cxx | 2
sfx2/source/appl/newhelp.cxx | 16
sfx2/source/appl/sfxhelp.cxx | 4
sfx2/source/appl/shutdowniconunx.cxx | 4
sfx2/source/bastyp/fltfnc.cxx | 2
sfx2/source/control/statcach.cxx | 2
sfx2/source/control/unoctitm.cxx | 12
sfx2/source/dialog/backingcomp.cxx | 6
sfx2/source/dialog/backingwindow.cxx | 2
sfx2/source/dialog/dinfdlg.cxx | 2
sfx2/source/dialog/filedlghelper.cxx | 10
sfx2/source/dialog/mailmodel.cxx | 4
sfx2/source/dialog/partwnd.cxx | 4
sfx2/source/doc/SfxDocumentMetaData.cxx | 2
sfx2/source/doc/docfac.cxx | 8
sfx2/source/doc/doctempl.cxx | 8
sfx2/source/doc/doctemplates.cxx | 22 -
sfx2/source/doc/guisaveas.cxx | 2
sfx2/source/doc/iframe.cxx | 6
sfx2/source/doc/objcont.cxx | 2
sfx2/source/doc/objserv.cxx | 6
sfx2/source/doc/objstor.cxx | 4
sfx2/source/doc/objxtor.cxx | 2
sfx2/source/doc/sfxbasemodel.cxx | 34 -
sfx2/source/doc/sfxmodelfactory.cxx | 6
sfx2/source/doc/templatedlg.cxx | 4
sfx2/source/notify/eventsupplier.cxx | 8
sfx2/source/sidebar/Theme.cxx | 8
sfx2/source/toolbox/tbxitem.cxx | 2
sfx2/source/view/frame.cxx | 4
sfx2/source/view/frmload.cxx | 8
sfx2/source/view/ipclient.cxx | 6
sfx2/source/view/sfxbasecontroller.cxx | 14
sfx2/source/view/userinputinterception.cxx | 2
sfx2/source/view/viewfrm2.cxx | 2
sfx2/source/view/viewprn.cxx | 4
shell/source/cmdmail/cmdmailmsg.cxx | 16
slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx | 14
slideshow/source/engine/shapes/viewappletshape.cxx | 2
smoketest/smoketest.cxx | 2
starmath/source/accessibility.cxx | 4
starmath/source/mathmlexport.cxx | 2
starmath/source/unomodel.cxx | 2
stoc/source/corereflection/crbase.cxx | 4
stoc/source/corereflection/crcomp.cxx | 4
stoc/source/corereflection/crefl.cxx | 2
stoc/source/corereflection/criface.cxx | 4
stoc/source/defaultregistry/defaultregistry.cxx | 6
stoc/source/implementationregistration/implreg.cxx | 4
stoc/source/invocation/invocation.cxx | 6
stoc/source/javavm/javavm.cxx | 10
stoc/source/loader/dllcomponentloader.cxx | 2
stoc/source/servicemanager/servicemanager.cxx | 6
stoc/source/typeconv/convert.cxx | 4
svl/source/misc/documentlockfile.cxx | 4
svl/source/misc/sharecontrolfile.cxx | 4
svtools/source/control/tabbar.cxx | 6
svtools/source/filter/DocumentToGraphicRenderer.cxx | 4
svtools/source/hatchwindow/documentcloser.cxx | 4
svtools/source/misc/transfer.cxx | 4
svtools/source/misc/transfer2.cxx | 2
svtools/source/uno/genericunodialog.cxx | 4
svtools/source/uno/popupmenucontrollerbase.cxx | 4
svtools/source/uno/statusbarcontroller.cxx | 8
svtools/source/uno/svtxgridcontrol.cxx | 4
svtools/source/uno/toolboxcontroller.cxx | 6
svtools/source/uno/treecontrolpeer.cxx | 10
svtools/source/uno/wizard/wizardpagecontroller.cxx | 2
svx/source/accessibility/AccessibleFrameSelector.cxx | 2
svx/source/accessibility/AccessibleShape.cxx | 14
svx/source/accessibility/ChildrenManagerImpl.cxx | 4
svx/source/accessibility/svxrectctaccessiblecontext.cxx | 4
svx/source/dialog/docrecovery.cxx | 18
svx/source/fmcomp/fmgridif.cxx | 62 +--
svx/source/fmcomp/gridcell.cxx | 4
svx/source/form/datanavi.cxx | 8
svx/source/form/fmPropBrw.cxx | 4
svx/source/form/fmshimp.cxx | 10
svx/source/form/formcontroller.cxx | 38 -
svx/source/form/formfeaturedispatcher.cxx | 2
svx/source/gallery2/galmisc.cxx | 4
svx/source/inc/gridcell.hxx | 6
svx/source/svdraw/svdograf.cxx | 2
svx/source/table/accessibletableshape.cxx | 32 -
svx/source/table/cell.cxx | 2
svx/source/table/cellcursor.cxx | 4
svx/source/table/tablecolumn.cxx | 2
svx/source/table/tabledesign.cxx | 12
svx/source/table/tablemodel.cxx | 18
svx/source/table/tablerow.cxx | 2
svx/source/toolbars/extrusionbar.cxx | 6
svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx | 4
svx/source/unodraw/UnoGraphicExporter.cxx | 8
svx/source/unodraw/UnoNameItemTable.cxx | 10
svx/source/unodraw/XPropertyTable.cxx | 4
svx/source/unodraw/gluepts.cxx | 8
svx/source/unodraw/recoveryui.cxx | 2
svx/source/unodraw/unomtabl.cxx | 14
svx/source/unodraw/unopage.cxx | 10
svx/source/unodraw/unoshap4.cxx | 2
svx/source/unodraw/unoshcol.cxx | 10
svx/source/xml/xmleohlp.cxx | 6
svx/source/xml/xmlgrhlp.cxx | 2
svx/source/xml/xmlxtexp.cxx | 2
sw/qa/extras/ooxmlimport/ooxmlimport.cxx | 2
sw/qa/extras/rtfimport/rtfimport.cxx | 2
sw/source/core/access/acchyperlink.cxx | 14
sw/source/core/access/accnotextframe.cxx | 4
sw/source/core/access/accnotexthyperlink.cxx | 4
sw/source/core/access/accpara.cxx | 22 -
sw/source/core/access/acctable.cxx | 16
sw/source/core/access/acctextframe.cxx | 4
sw/source/core/doc/DocumentChartDataProviderManager.cxx | 2
sw/source/core/doc/docxforms.cxx | 2
sw/source/core/layout/calcmove.cxx | 10
sw/source/core/unocore/unochart.cxx | 8
sw/source/core/unocore/unocoll.cxx | 6
sw/source/core/unocore/unodraw.cxx | 2
sw/source/core/unocore/unofield.cxx | 4
sw/source/core/unocore/unoflatpara.cxx | 2
sw/source/core/unocore/unoframe.cxx | 2
sw/source/core/unocore/unoftn.cxx | 2
sw/source/core/unocore/unoidx.cxx | 8
sw/source/core/unocore/unoobj.cxx | 26 -
sw/source/core/unocore/unoobj2.cxx | 4
sw/source/core/unocore/unoredline.cxx | 6
sw/source/core/unocore/unorefmk.cxx | 4
sw/source/core/unocore/unosett.cxx | 2
sw/source/core/unocore/unostyle.cxx | 8
sw/source/core/unocore/unotbl.cxx | 16
sw/source/core/unocore/unotext.cxx | 24 -
sw/source/core/view/printdata.cxx | 4
sw/source/filter/rtf/swparrtf.cxx | 2
sw/source/filter/ww8/rtfexportfilter.cxx | 6
sw/source/filter/ww8/writerhelper.cxx | 2
sw/source/filter/ww8/ww8par.cxx | 2
sw/source/filter/ww8/ww8toolbar.cxx | 4
sw/source/filter/xml/xmltbli.cxx | 2
sw/source/ui/dbui/dbinsdlg.cxx | 2
sw/source/ui/dbui/mmresultdialogs.cxx | 2
sw/source/ui/dbui/selectdbtabledialog.cxx | 4
sw/source/ui/fldui/changedb.cxx | 4
sw/source/ui/index/cntex.cxx | 2
sw/source/ui/vba/vbaaddins.cxx | 2
sw/source/ui/vba/vbaautotextentry.cxx | 6
sw/source/ui/vba/vbabookmarks.cxx | 10
sw/source/ui/vba/vbaborders.cxx | 16
sw/source/ui/vba/vbacells.cxx | 2
sw/source/ui/vba/vbadocument.cxx | 6
sw/source/ui/vba/vbadocumentproperties.cxx | 8
sw/source/ui/vba/vbafield.cxx | 4
sw/source/ui/vba/vbafind.cxx | 4
sw/source/ui/vba/vbaheaderfooter.cxx | 2
sw/source/ui/vba/vbaheadersfooters.cxx | 2
sw/source/ui/vba/vbaoptions.cxx | 20 -
sw/source/ui/vba/vbapagesetup.cxx | 4
sw/source/ui/vba/vbapalette.cxx | 2
sw/source/ui/vba/vbapanes.cxx | 2
sw/source/ui/vba/vbaparagraph.cxx | 2
sw/source/ui/vba/vbarange.cxx | 32 -
sw/source/ui/vba/vbarangehelper.cxx | 4
sw/source/ui/vba/vbasection.cxx | 2
sw/source/ui/vba/vbasections.cxx | 2
sw/source/ui/vba/vbaselection.cxx | 30 -
sw/source/ui/vba/vbastyles.cxx | 10
sw/source/ui/vba/vbatable.cxx | 2
sw/source/ui/vba/vbatables.cxx | 2
sw/source/ui/vba/vbatablesofcontents.cxx | 4
sw/source/ui/vba/vbatabstops.cxx | 2
sw/source/ui/vba/vbaview.cxx | 8
sw/source/uibase/config/StoredChapterNumbering.cxx | 2
sw/source/uibase/dbui/dbmgr.cxx | 6
sw/source/uibase/lingu/olmenu.cxx | 6
sw/source/uibase/shells/textdrw.cxx | 2
sw/source/uibase/uiview/view2.cxx | 2
sw/source/uibase/uiview/viewling.cxx | 2
sw/source/uibase/uno/unoatxt.cxx | 6
sw/source/uibase/uno/unodispatch.cxx | 2
sw/source/uibase/uno/unomailmerge.cxx | 4
sw/source/uibase/uno/unotxdoc.cxx | 6
sw/source/uibase/uno/unotxvw.cxx | 14
sw/source/uibase/utlui/unotools.cxx | 10
sw/source/uibase/wrtsh/wrtsh1.cxx | 2
test/source/bootstrapfixture.cxx | 4
test/source/sheet/xprintareas.cxx | 4
test/source/text/xtext.cxx | 2
testtools/source/bridgetest/constructors.cxx | 2
toolkit/source/awt/animatedimagespeer.cxx | 2
toolkit/source/awt/vclxfont.cxx | 4
toolkit/source/awt/vclxmenu.cxx | 2
toolkit/source/awt/vclxprinter.cxx | 2
toolkit/source/awt/vclxtopwindow.cxx | 4
toolkit/source/awt/vclxwindow.cxx | 20 -
toolkit/source/awt/vclxwindows.cxx | 2
toolkit/source/controls/animatedimages.cxx | 6
toolkit/source/controls/controlmodelcontainerbase.cxx | 2
toolkit/source/controls/dialogcontrol.cxx | 4
toolkit/source/controls/grid/defaultgridcolumnmodel.cxx | 2
toolkit/source/controls/grid/gridcontrol.cxx | 4
toolkit/source/controls/tree/treecontrol.cxx | 4
toolkit/source/controls/unocontrol.cxx | 6
toolkit/source/controls/unocontrolcontainer.cxx | 6
toolkit/source/controls/unocontrolmodel.cxx | 4
toolkit/source/controls/unocontrols.cxx | 26 -
toolkit/source/helper/vclunohelper.cxx | 2
ucb/source/cacher/cachedcontentresultset.cxx | 84 ++--
ucb/source/cacher/cachedcontentresultsetstub.cxx | 4
ucb/source/cacher/contentresultsetwrapper.cxx | 4
ucb/source/core/FileAccess.cxx | 2
ucb/source/core/ucbcmds.cxx | 18
ucb/source/core/ucbstore.cxx | 12
ucb/source/sorter/sortresult.cxx | 44 +-
ucb/source/ucp/ext/ucpext_content.cxx | 2
ucb/source/ucp/gio/gio_content.cxx | 2
ucb/source/ucp/hierarchy/hierarchycontent.cxx | 4
ucb/source/ucp/hierarchy/hierarchydatasource.cxx | 2
ucb/source/ucp/package/pkgcontent.cxx | 4
ucb/source/ucp/tdoc/tdoc_content.cxx | 2
ucb/source/ucp/tdoc/tdoc_docmgr.cxx | 2
ucb/source/ucp/webdav-neon/NeonSession.cxx | 6
ucb/source/ucp/webdav-neon/webdavcontent.cxx | 2
ucbhelper/source/client/content.cxx | 2
ucbhelper/source/provider/resultset.cxx | 62 +--
ucbhelper/source/provider/resultsetmetadata.cxx | 16
ucbhelper/source/provider/simpleauthenticationrequest.cxx | 4
unodevtools/source/skeletonmaker/skeletonmaker.cxx | 2
unodevtools/source/unodevtools/options.cxx | 2
unotools/source/config/configitem.cxx | 2
unotools/source/config/moduleoptions.cxx | 2
unotools/source/misc/closeveto.cxx | 2
unotools/source/misc/mediadescriptor.cxx | 2
unotools/source/misc/sharedunocomponent.cxx | 2
unotools/source/ucbhelper/ucbstreamhelper.cxx | 2
unoxml/source/dom/attr.cxx | 4
unoxml/source/dom/characterdata.cxx | 2
unoxml/source/dom/document.cxx | 4
unoxml/source/dom/documentbuilder.cxx | 4
unoxml/source/dom/domimplementation.cxx | 2
unoxml/source/dom/element.cxx | 6
unoxml/source/dom/node.cxx | 14
unoxml/source/events/uievent.cxx | 2
uui/source/iahndl-authentication.cxx | 2
uui/source/passwordcontainer.cxx | 6
vbahelper/source/msforms/vbabutton.cxx | 4
vbahelper/source/msforms/vbalistbox.cxx | 6
vbahelper/source/msforms/vbatogglebutton.cxx | 6
vbahelper/source/msforms/vbauserform.cxx | 4
vbahelper/source/vbahelper/vbaapplicationbase.cxx | 6
vbahelper/source/vbahelper/vbacommandbar.cxx | 4
vbahelper/source/vbahelper/vbacommandbarcontrol.cxx | 2
vbahelper/source/vbahelper/vbacommandbarcontrols.cxx | 4
vbahelper/source/vbahelper/vbacommandbarhelper.cxx | 6
vbahelper/source/vbahelper/vbacommandbars.cxx | 4
vbahelper/source/vbahelper/vbadocumentbase.cxx | 2
vbahelper/source/vbahelper/vbadocumentsbase.cxx | 2
vbahelper/source/vbahelper/vbaeventshelperbase.cxx | 2
vbahelper/source/vbahelper/vbafillformat.cxx | 4
vbahelper/source/vbahelper/vbalineformat.cxx | 4
vbahelper/source/vbahelper/vbashape.cxx | 6
vbahelper/source/vbahelper/vbatextframe.cxx | 2
vcl/source/gdi/pdfwriter_impl.cxx | 2
vcl/source/gdi/print3.cxx | 6
vcl/source/helper/canvasbitmap.cxx | 4
vcl/source/outdev/text.cxx | 2
writerfilter/source/dmapper/DomainMapperTableHandler.cxx | 18
writerfilter/source/dmapper/DomainMapperTableManager.cxx | 4
writerfilter/source/dmapper/DomainMapper_Impl.cxx | 24 -
writerfilter/source/dmapper/PropertyMap.cxx | 8
writerfilter/source/dmapper/SdtHelper.cxx | 4
writerfilter/source/dmapper/StyleSheetTable.cxx | 2
writerfilter/source/filter/RtfFilter.cxx | 4
writerfilter/source/filter/WriterFilter.cxx | 52 +-
writerfilter/source/ooxml/OOXMLStreamImpl.cxx | 2
writerperfect/inc/ImportFilter.hxx | 2
xmloff/source/chart/SchXMLAxisContext.cxx | 12
xmloff/source/chart/SchXMLChartContext.cxx | 10
xmloff/source/chart/SchXMLImport.cxx | 2
xmloff/source/chart/SchXMLLegendContext.cxx | 2
xmloff/source/chart/SchXMLPlotAreaContext.cxx | 4
xmloff/source/chart/SchXMLSeries2Context.cxx | 4
xmloff/source/chart/SchXMLTableContext.cxx | 4
xmloff/source/chart/SchXMLTools.cxx | 2
xmloff/source/core/DocumentSettingsContext.cxx | 2
xmloff/source/core/PropertySetMerger.cxx | 2
xmloff/source/core/XMLEmbeddedObjectImportContext.cxx | 2
xmloff/source/core/xmlexp.cxx | 6
xmloff/source/core/xmlimp.cxx | 2
xmloff/source/draw/animationimport.cxx | 4
xmloff/source/draw/shapeexport.cxx | 2
xmloff/source/draw/ximpbody.cxx | 2
xmloff/source/draw/ximppage.cxx | 4
xmloff/source/draw/ximpshap.cxx | 24 -
xmloff/source/forms/elementexport.cxx | 2
xmloff/source/forms/elementimport.cxx | 4
xmloff/source/forms/gridcolumnproptranslator.cxx | 4
xmloff/source/forms/layerexport.cxx | 2
xmloff/source/style/PageMasterImportPropMapper.cxx | 8
xmloff/source/style/xmlbahdl.cxx | 2
xmloff/source/table/XMLTableImport.cxx | 4
xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx | 2
xmloff/source/text/XMLIndexTOCContext.cxx | 14
xmloff/source/text/XMLIndexTemplateContext.cxx | 80 ++--
xmloff/source/text/XMLSectionFootnoteConfigImport.cxx | 16
xmloff/source/text/XMLSectionImportContext.cxx | 18
xmloff/source/text/XMLSectionSourceDDEImportContext.cxx | 2
xmloff/source/text/XMLTextFrameContext.cxx | 2
xmloff/source/text/XMLTextHeaderFooterContext.cxx | 6
xmloff/source/text/XMLTextMarkImportContext.cxx | 4
xmloff/source/text/txtdropi.cxx | 6
xmloff/source/text/txtflde.cxx | 2
xmloff/source/text/txtfldi.cxx | 6
xmloff/source/text/txtimp.cxx | 20 -
xmloff/source/text/txtparae.cxx | 2
xmloff/source/text/txtparai.cxx | 14
xmloff/source/text/txtprhdl.cxx | 18
xmloff/source/text/txtvfldi.cxx | 2
xmloff/source/transform/OOo2Oasis.cxx | 2
xmlscript/source/xmldlg_imexp/imp_share.hxx | 4
xmlscript/source/xmldlg_imexp/xmldlg_export.cxx | 8
xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx | 12
xmlscript/source/xmldlg_imexp/xmldlg_import.cxx | 8
xmlscript/source/xmlflat_imexp/xmlbas_import.cxx | 8
xmlsecurity/source/framework/saxeventkeeperimpl.cxx | 10
xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx | 4
xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx | 4
xmlsecurity/source/helper/xsecctl.cxx | 2
xmlsecurity/source/helper/xsecsign.cxx | 2
xmlsecurity/source/helper/xsecverify.cxx | 6
xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx | 4
xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.cxx | 4
xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.cxx | 4
xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.cxx | 4
966 files changed, 3739 insertions(+), 3667 deletions(-)
New commits:
commit e8425c48102321d4f5a8bd687c8ca1ac7bae797e
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Apr 20 17:23:25 2016 +0200
loplugin:salbool: Warn about uses of sal_False/True
...that can generally be rewritten as false/true, and sometimes could hide
errors, see e.g. <5be5f00fe16b0e255b31fbaba5f119773d1cd071> "So this is
apparently about right-to-left levels, not a boolean flag".
Change-Id: Ib39a936a632c2aab206f24c346252e31dcbb98f3
diff --git a/compilerplugins/clang/salbool.cxx b/compilerplugins/clang/salbool.cxx
index 0cea0eb..1c55e34 100644
--- a/compilerplugins/clang/salbool.cxx
+++ b/compilerplugins/clang/salbool.cxx
@@ -150,7 +150,11 @@ public:
bool VisitValueDecl(ValueDecl const * decl);
+ bool TraverseStaticAssertDecl(StaticAssertDecl * decl);
+
private:
+ bool isFromCIncludeFile(SourceLocation spellingLocation) const;
+
bool isInSpecialMainFile(SourceLocation spellingLocation) const;
bool rewrite(SourceLocation location);
@@ -276,6 +280,43 @@ bool SalBool::VisitCStyleCastExpr(CStyleCastExpr * expr) {
StringRef name { Lexer::getImmediateMacroName(
loc, compiler.getSourceManager(), compiler.getLangOpts()) };
if (name == "sal_False" || name == "sal_True") {
+ auto callLoc = compiler.getSourceManager().getSpellingLoc(
+ compiler.getSourceManager().getImmediateMacroCallerLoc(
+ loc));
+ if (!isFromCIncludeFile(callLoc)) {
+ SourceLocation argLoc;
+ if (compiler.getSourceManager().isMacroArgExpansion(
+ expr->getLocStart(), &argLoc)
+ //TODO: check its the complete (first) arg to the macro
+ && (Lexer::getImmediateMacroName(
+ argLoc, compiler.getSourceManager(),
+ compiler.getLangOpts())
+ == "CPPUNIT_ASSERT_EQUAL"))
+ {
+ // Ignore sal_False/True that are directly used as
+ // arguments to CPPUNIT_ASSERT_EQUAL:
+ return true;
+ }
+ bool b = name == "sal_True";
+ if (rewriter != nullptr) {
+ unsigned n = Lexer::MeasureTokenLength(
+ callLoc, compiler.getSourceManager(),
+ compiler.getLangOpts());
+ if (StringRef(
+ compiler.getSourceManager().getCharacterData(
+ callLoc),
+ n)
+ == name)
+ {
+ return replaceText(
+ callLoc, n, b ? "true" : "false");
+ }
+ }
+ report(
+ DiagnosticsEngine::Warning,
+ "use '%select{false|true}0' instead of '%1'", callLoc)
+ << b << name << expr->getSourceRange();
+ }
return true;
}
}
@@ -578,6 +619,26 @@ bool SalBool::VisitValueDecl(ValueDecl const * decl) {
return true;
}
+bool SalBool::TraverseStaticAssertDecl(StaticAssertDecl * decl) {
+ // Ignore special code like
+ //
+ // static_cast<sal_Bool>(true) == sal_True
+ //
+ // inside static_assert in cppu/source/uno/check.cxx:
+ return
+ (compiler.getSourceManager().getFilename(decl->getLocation())
+ == SRCDIR "/cppu/source/uno/check.cxx")
+ || RecursiveASTVisitor::TraverseStaticAssertDecl(decl);
+}
+
+bool SalBool::isFromCIncludeFile(SourceLocation spellingLocation) const {
+ return !compat::isInMainFile(compiler.getSourceManager(), spellingLocation)
+ && (StringRef(
+ compiler.getSourceManager().getPresumedLoc(spellingLocation)
+ .getFilename())
+ .endswith(".h"));
+}
+
bool SalBool::isInSpecialMainFile(SourceLocation spellingLocation) const {
if (!compat::isInMainFile(compiler.getSourceManager(), spellingLocation)) {
return false;
commit f3059ab1dcb4a413f487fbac1329044f9f5a7e90
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Apr 20 17:21:57 2016 +0200
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I96cef821fc1d87963b8928af5dfc8ba97557da74
diff --git a/xmlsecurity/source/framework/saxeventkeeperimpl.cxx b/xmlsecurity/source/framework/saxeventkeeperimpl.cxx
index 9bc7cbe..2c616c9 100644
--- a/xmlsecurity/source/framework/saxeventkeeperimpl.cxx
+++ b/xmlsecurity/source/framework/saxeventkeeperimpl.cxx
@@ -102,7 +102,7 @@ void SAXEventKeeperImpl::setCurrentBufferNode(BufferNode* pBufferNode)
if ( m_pCurrentBufferNode == m_pRootBufferNode &&
m_xSAXEventKeeperStatusChangeListener.is())
{
- m_xSAXEventKeeperStatusChangeListener->collectionStatusChanged(sal_True);
+ m_xSAXEventKeeperStatusChangeListener->collectionStatusChanged(true);
}
if (pBufferNode->getParent() == nullptr)
@@ -170,7 +170,7 @@ BufferNode* SAXEventKeeperImpl::addNewElementMarkBuffers()
if (m_xSAXEventKeeperStatusChangeListener.is())
{
- m_xSAXEventKeeperStatusChangeListener->blockingStatusChanged(sal_True);
+ m_xSAXEventKeeperStatusChangeListener->blockingStatusChanged(true);
}
}
@@ -724,7 +724,7 @@ void SAXEventKeeperImpl::releaseElementMarkBuffer()
if (m_pCurrentBlockingBufferNode == nullptr &&
m_xSAXEventKeeperStatusChangeListener.is())
{
- m_xSAXEventKeeperStatusChangeListener->blockingStatusChanged(sal_False);
+ m_xSAXEventKeeperStatusChangeListener->blockingStatusChanged(false);
}
}
@@ -749,7 +749,7 @@ void SAXEventKeeperImpl::releaseElementMarkBuffer()
!m_pRootBufferNode->hasChildren() &&
m_xSAXEventKeeperStatusChangeListener.is())
{
- m_xSAXEventKeeperStatusChangeListener->bufferStatusChanged(sal_True);
+ m_xSAXEventKeeperStatusChangeListener->bufferStatusChanged(true);
}
}
@@ -1161,7 +1161,7 @@ void SAL_CALL SAXEventKeeperImpl::endElement( const OUString& aName )
if ((m_pCurrentBufferNode == m_pRootBufferNode) &&
m_xSAXEventKeeperStatusChangeListener.is())
{
- m_xSAXEventKeeperStatusChangeListener->collectionStatusChanged(sal_False);
+ m_xSAXEventKeeperStatusChangeListener->collectionStatusChanged(false);
}
}
}
diff --git a/xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx b/xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx
index 90e83c8..2cb0627 100644
--- a/xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx
+++ b/xmlsecurity/source/framework/xmlencryptiontemplateimpl.cxx
@@ -88,9 +88,9 @@ sal_Bool SAL_CALL XMLEncryptionTemplateImpl::supportsService( const OUString& se
const OUString* pArray = seqServiceNames.getConstArray() ;
for( sal_Int32 i = 0 ; i < seqServiceNames.getLength() ; i ++ ) {
if( *( pArray + i ) == serviceName )
- return sal_True ;
+ return true ;
}
- return sal_False ;
+ return false ;
}
/* XServiceInfo */
diff --git a/xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx b/xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx
index 6d46550..a2f7b9b 100644
--- a/xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx
+++ b/xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx
@@ -111,9 +111,9 @@ sal_Bool SAL_CALL XMLSignatureTemplateImpl::supportsService( const OUString& ser
const OUString* pArray = seqServiceNames.getConstArray() ;
for( sal_Int32 i = 0 ; i < seqServiceNames.getLength() ; i ++ ) {
if( *( pArray + i ) == serviceName )
- return sal_True ;
+ return true ;
}
- return sal_False ;
+ return false ;
}
/* XServiceInfo */
diff --git a/xmlsecurity/source/helper/xsecctl.cxx b/xmlsecurity/source/helper/xsecctl.cxx
index b9f21ec..fb0b85e 100644
--- a/xmlsecurity/source/helper/xsecctl.cxx
+++ b/xmlsecurity/source/helper/xsecctl.cxx
@@ -511,7 +511,7 @@ void XSecController::clearSAXChainConnector()
if (m_xElementStackKeeper.is() && m_xSAXEventKeeper.is())
{
cssu::Reference< cssxs::XDocumentHandler > xSEKHandler(m_xSAXEventKeeper, cssu::UNO_QUERY);
- m_xElementStackKeeper->retrieve(xSEKHandler, sal_True);
+ m_xElementStackKeeper->retrieve(xSEKHandler, true);
}
chainOff();
diff --git a/xmlsecurity/source/helper/xsecsign.cxx b/xmlsecurity/source/helper/xsecsign.cxx
index 4489866..ea88c0e 100644
--- a/xmlsecurity/source/helper/xsecsign.cxx
+++ b/xmlsecurity/source/helper/xsecsign.cxx
@@ -68,7 +68,7 @@ cssu::Reference< cssxc::sax::XReferenceResolvedListener > XSecController::prepar
cssu::Reference< cssxc::sax::XReferenceResolvedListener > xReferenceResolvedListener;
nIdOfSignatureElementCollector =
- m_xSAXEventKeeper->addSecurityElementCollector( cssxc::sax::ElementMarkPriority_AFTERMODIFY, sal_True );
+ m_xSAXEventKeeper->addSecurityElementCollector( cssxc::sax::ElementMarkPriority_AFTERMODIFY, true );
m_xSAXEventKeeper->setSecurityId(nIdOfSignatureElementCollector, nSecurityId);
diff --git a/xmlsecurity/source/helper/xsecverify.cxx b/xmlsecurity/source/helper/xsecverify.cxx
index 8ca52f5..a60b4c5 100644
--- a/xmlsecurity/source/helper/xsecverify.cxx
+++ b/xmlsecurity/source/helper/xsecverify.cxx
@@ -55,7 +55,7 @@ cssu::Reference< cssxc::sax::XReferenceResolvedListener > XSecController::prepar
cssu::Reference< cssxc::sax::XReferenceResolvedListener > xReferenceResolvedListener;
nIdOfSignatureElementCollector =
- m_xSAXEventKeeper->addSecurityElementCollector( cssxc::sax::ElementMarkPriority_BEFOREMODIFY, sal_False);
+ m_xSAXEventKeeper->addSecurityElementCollector( cssxc::sax::ElementMarkPriority_BEFOREMODIFY, false);
m_xSAXEventKeeper->setSecurityId(nIdOfSignatureElementCollector, nSecurityId);
@@ -359,7 +359,7 @@ void XSecController::collectToVerify( const OUString& referenceId )
}
sal_Int32 nKeeperId = m_xSAXEventKeeper->addSecurityElementCollector(
- cssxc::sax::ElementMarkPriority_BEFOREMODIFY, sal_False );
+ cssxc::sax::ElementMarkPriority_BEFOREMODIFY, false );
cssu::Reference<cssxc::sax::XReferenceResolvedBroadcaster> xReferenceResolvedBroadcaster
(m_xSAXEventKeeper,
@@ -383,7 +383,7 @@ void XSecController::collectToVerify( const OUString& referenceId )
cssu::Reference< cssxs::XDocumentHandler > xSEKHandler(m_xSAXEventKeeper, cssu::UNO_QUERY);
if (m_xElementStackKeeper.is())
{
- m_xElementStackKeeper->retrieve(xSEKHandler, sal_True);
+ m_xElementStackKeeper->retrieve(xSEKHandler, true);
}
m_xSAXEventKeeper->setNextHandler(xHandler);
}
diff --git a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx
index 43abf22..47f609b 100644
--- a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx
+++ b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx
@@ -152,9 +152,9 @@ sal_Bool SAL_CALL SecurityEnvironment_NssImpl::supportsService( const OUString&
const OUString* pArray = seqServiceNames.getConstArray() ;
for( sal_Int32 i = 0 ; i < seqServiceNames.getLength() ; i ++ ) {
if( *( pArray + i ) == serviceName )
- return sal_True ;
+ return true ;
}
- return sal_False ;
+ return false ;
}
/* XServiceInfo */
diff --git a/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.cxx
index 1a871d6..bc4ae47 100644
--- a/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.cxx
+++ b/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.cxx
@@ -320,9 +320,9 @@ sal_Bool SAL_CALL XMLEncryption_NssImpl::supportsService( const OUString& servic
const OUString* pArray = seqServiceNames.getConstArray() ;
for( sal_Int32 i = 0 ; i < seqServiceNames.getLength() ; i ++ ) {
if( *( pArray + i ) == serviceName )
- return sal_True ;
+ return true ;
}
- return sal_False ;
+ return false ;
}
/* XServiceInfo */
diff --git a/xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.cxx
index 1c78f57..8cf0f94 100644
--- a/xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.cxx
+++ b/xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.cxx
@@ -133,9 +133,9 @@ sal_Bool SAL_CALL XMLSecurityContext_NssImpl::supportsService( const OUString& s
const OUString* pArray = seqServiceNames.getConstArray() ;
for( sal_Int32 i = 0 ; i < seqServiceNames.getLength() ; i ++ ) {
if( *( pArray + i ) == serviceName )
- return sal_True ;
+ return true ;
}
- return sal_False ;
+ return false ;
}
/* XServiceInfo */
diff --git a/xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.cxx
index 28468cb..21c78d5 100644
--- a/xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.cxx
+++ b/xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.cxx
@@ -294,9 +294,9 @@ sal_Bool SAL_CALL XMLSignature_NssImpl::supportsService( const OUString& service
const OUString* pArray = seqServiceNames.getConstArray() ;
for( sal_Int32 i = 0 ; i < seqServiceNames.getLength() ; i ++ ) {
if( *( pArray + i ) == serviceName )
- return sal_True ;
+ return true ;
}
- return sal_False ;
+ return false ;
}
/* XServiceInfo */
commit ef0161b649d54454bfb588a251d48ea9c3b79f79
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Apr 20 17:21:52 2016 +0200
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I2f5c4c341c4c38e1603748fb7c1f50e42547d005
diff --git a/xmlscript/source/xmldlg_imexp/imp_share.hxx b/xmlscript/source/xmldlg_imexp/imp_share.hxx
index 30f8ffd..743b5ee 100644
--- a/xmlscript/source/xmldlg_imexp/imp_share.hxx
+++ b/xmlscript/source/xmldlg_imexp/imp_share.hxx
@@ -67,12 +67,12 @@ inline bool getBoolAttr(
{
if ( aValue == "true" )
{
- *pRet = sal_True;
+ *pRet = true;
return true;
}
else if ( aValue == "false" )
{
- *pRet = sal_False;
+ *pRet = false;
return true;
}
else
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
index cee3520..4d157d2 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
@@ -561,7 +561,7 @@ void FormattedFieldElement::endElement()
{
Reference< util::XNumberFormats > xFormats(
_pImport->getNumberFormatsSupplier()->getNumberFormats() );
- sal_Int32 nKey = xFormats->queryKey( sFormat, locale, sal_True );
+ sal_Int32 nKey = xFormats->queryKey( sFormat, locale, true );
if (-1 == nKey)
{
nKey = xFormats->addNew( sFormat, locale );
@@ -1225,7 +1225,7 @@ void TitledBoxElement::endElement()
ctx.importStringProperty( "GroupName", "group-name", xAttributes );
sal_Int16 nVal = 0;
- sal_Bool bChecked = sal_False;
+ sal_Bool bChecked = false;
if (getBoolAttr( &bChecked, "checked", xAttributes, _pImport->XMLNS_DIALOGS_UID ) && bChecked)
{
nVal = 1;
@@ -1321,7 +1321,7 @@ void RadioGroupElement::endElement()
ctx.importBooleanProperty( "MultiLine", "multiline", xAttributes );
ctx.importStringProperty( "GroupName", "group-name", xAttributes );
sal_Int16 nVal = 0;
- sal_Bool bChecked = sal_False;
+ sal_Bool bChecked = false;
if (getBoolAttr( &bChecked, "checked", xAttributes, _pImport->XMLNS_DIALOGS_UID ) && bChecked)
{
nVal = 1;
@@ -1578,12 +1578,12 @@ void CheckBoxElement::endElement()
ctx.importImagePositionProperty( "ImagePosition", "image-position", _xAttributes );
ctx.importBooleanProperty( "MultiLine", "multiline", _xAttributes );
- sal_Bool bTriState = sal_False;
+ sal_Bool bTriState = false;
if (getBoolAttr( &bTriState, "tristate", _xAttributes, _pImport->XMLNS_DIALOGS_UID ))
{
xControlModel->setPropertyValue( "TriState", makeAny( bTriState ) );
}
- sal_Bool bChecked = sal_False;
+ sal_Bool bChecked = false;
if (getBoolAttr( &bChecked, "checked", _xAttributes, _pImport->XMLNS_DIALOGS_UID ))
{
// has "checked" attribute
@@ -1655,7 +1655,7 @@ void ButtonElement::endElement()
ctx.importBooleanProperty( "FocusOnClick", "grab-focus", _xAttributes );
ctx.importBooleanProperty( "MultiLine", "multiline", _xAttributes );
// State
- sal_Bool bChecked = sal_False;
+ sal_Bool bChecked = false;
if (getBoolAttr( &bChecked, "checked", _xAttributes, _pImport->XMLNS_DIALOGS_UID ) && bChecked)
{
sal_Int16 nVal = 1;
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
index c82d306..3303bb0 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
@@ -1575,18 +1575,18 @@ void ImportContext::importDefaults(
importShortProperty( "TabIndex", "tab-index", xAttributes );
- sal_Bool bDisable = sal_False;
+ sal_Bool bDisable = false;
if (getBoolAttr( &bDisable,"disabled", xAttributes, _pImport->XMLNS_DIALOGS_UID ) && bDisable)
{
- _xControlModel->setPropertyValue( "Enabled", makeAny( sal_False ) );
+ _xControlModel->setPropertyValue( "Enabled", makeAny( false ) );
}
- sal_Bool bVisible = sal_True;
+ sal_Bool bVisible = true;
if (getBoolAttr( &bVisible, "visible", xAttributes, _pImport->XMLNS_DIALOGS_UID ) && !bVisible)
{
try
{
- _xControlModel->setPropertyValue( "EnableVisible", makeAny( sal_False ) );
+ _xControlModel->setPropertyValue( "EnableVisible", makeAny( false ) );
}
catch( Exception& )
{
diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx b/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx
index c3f93e7..81d7cbd 100644
--- a/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx
+++ b/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx
@@ -73,12 +73,12 @@ namespace xmlscript
{
if ( aValue == "true" )
{
- *pRet = sal_True;
+ *pRet = true;
return true;
}
else if ( aValue == "false" )
{
- *pRet = sal_False;
+ *pRet = false;
return true;
}
else
@@ -180,7 +180,7 @@ void BasicElementBase::processingInstruction( const OUString& /*rTarget*/, const
OUString aStorageURL = xAttributes->getValueByUidName(m_pImport->XMLNS_XLINK_UID, "href" );
- sal_Bool bReadOnly = sal_False;
+ sal_Bool bReadOnly = false;
getBoolAttr( &bReadOnly,"readonly", xAttributes, m_pImport->XMLNS_UID );
if ( m_xLibContainer.is() )
@@ -211,7 +211,7 @@ void BasicElementBase::processingInstruction( const OUString& /*rTarget*/, const
{
OUString aName = xAttributes->getValueByUidName( m_pImport->XMLNS_UID, "name" );
- sal_Bool bReadOnly = sal_False;
+ sal_Bool bReadOnly = false;
getBoolAttr( &bReadOnly, "readonly", xAttributes, m_pImport->XMLNS_UID );
if ( m_xLibContainer.is() )
commit 5ef76efb407a3dba8898a9a9b1b80cc548a94105
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Apr 20 17:21:39 2016 +0200
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I5896c6b8bf2aa9c7c66ca5f7c50cee1b0738ea0a
diff --git a/xmloff/source/chart/SchXMLAxisContext.cxx b/xmloff/source/chart/SchXMLAxisContext.cxx
index 03a0745..9feded2 100644
--- a/xmloff/source/chart/SchXMLAxisContext.cxx
+++ b/xmloff/source/chart/SchXMLAxisContext.cxx
@@ -168,7 +168,7 @@ Reference< drawing::XShape > SchXMLAxisContext::getTitleShape()
SAL_INFO("xmloff.chart", "Invalid axis" );
break;
}
- xDiaProp->setPropertyValue( aPropName, uno::makeAny(sal_True) );
+ xDiaProp->setPropertyValue( aPropName, uno::makeAny(true) );
xResult.set( xAxis->getAxisTitle(), uno::UNO_QUERY );
return xResult;
}
@@ -205,7 +205,7 @@ void SchXMLAxisContext::CreateGrid( const OUString& sAutoStyleName, bool bIsMajo
SAL_INFO("xmloff.chart", "Invalid axis" );
break;
}
- xDiaProp->setPropertyValue( aPropName, uno::makeAny(sal_True) );
+ xDiaProp->setPropertyValue( aPropName, uno::makeAny(true) );
Reference< beans::XPropertySet > xGridProp;
if( bIsMajor )
@@ -412,7 +412,7 @@ void SchXMLAxisContext::CreateAxis()
}
try
{
- xDiaProp->setPropertyValue( aPropName, uno::makeAny(sal_True) );
+ xDiaProp->setPropertyValue( aPropName, uno::makeAny(true) );
}
catch( beans::UnknownPropertyException & )
{
@@ -439,7 +439,7 @@ void SchXMLAxisContext::CreateAxis()
{
try
{
- xDiaProp->setPropertyValue("HasXAxis", uno::makeAny(sal_True) );
+ xDiaProp->setPropertyValue("HasXAxis", uno::makeAny(true) );
}
catch( beans::UnknownPropertyException & )
{
@@ -450,8 +450,8 @@ void SchXMLAxisContext::CreateAxis()
// set properties
if( m_xAxisProps.is())
{
- uno::Any aTrueBool( uno::makeAny( sal_True ));
- uno::Any aFalseBool( uno::makeAny( sal_False ));
+ uno::Any aTrueBool( uno::makeAny( true ));
+ uno::Any aFalseBool( uno::makeAny( false ));
// #i109879# the line color is black as default, in the model it is a light gray
m_xAxisProps->setPropertyValue("LineColor",
diff --git a/xmloff/source/chart/SchXMLChartContext.cxx b/xmloff/source/chart/SchXMLChartContext.cxx
index abc9110..2c6c6bd 100644
--- a/xmloff/source/chart/SchXMLChartContext.cxx
+++ b/xmloff/source/chart/SchXMLChartContext.cxx
@@ -354,7 +354,7 @@ void SchXMLChartContext::StartElement( const uno::Reference< xml::sax::XAttribut
{
xDocProp->getPropertyValue("BaseDiagram") >>= aOldChartTypeName;
maChartTypeServiceName = SchXMLTools::GetNewChartTypeName( aOldChartTypeName );
- xDocProp->setPropertyValue("RefreshAddInAllowed", uno::makeAny( sal_False) );
+ xDocProp->setPropertyValue("RefreshAddInAllowed", uno::makeAny( false) );
}
catch(const uno::Exception&)
{
@@ -663,7 +663,7 @@ static void lcl_ApplyDataFromRectangularRangeToDiagram(
beans::PropertyState_DIRECT_VALUE );
aArgs[ sal::static_int_cast<sal_uInt32>(aArgs.getLength()) - 1 ] = beans::PropertyValue(
OUString("UseCategoriesAsX"),
- -1, uno::makeAny( sal_False ),//categories in ODF files are not to be used as x values (independent from what is offered in our ui)
+ -1, uno::makeAny( false ),//categories in ODF files are not to be used as x values (independent from what is offered in our ui)
beans::PropertyState_DIRECT_VALUE );
xNewDia->setDiagramData( xDataSource, aArgs );
@@ -762,7 +762,7 @@ void SchXMLChartContext::EndElement()
}
else if( bHasOwnData )
{
- xNewDoc->createInternalDataProvider( sal_False /* bCloneExistingData */ );
+ xNewDoc->createInternalDataProvider( false /* bCloneExistingData */ );
}
if( bHasOwnData )
msChartAddress = "all";
@@ -815,7 +815,7 @@ void SchXMLChartContext::EndElement()
msChartAddress = "all";
if( !xNewDoc->hasInternalDataProvider() )
{
- xNewDoc->createInternalDataProvider( sal_False /* bCloneExistingData */ );
+ xNewDoc->createInternalDataProvider( false /* bCloneExistingData */ );
SchXMLTableHelper::applyTableToInternalDataProvider( maTable, xNewDoc );
try
{
@@ -904,7 +904,7 @@ void SchXMLChartContext::EndElement()
}
if( xProp.is())
- xProp->setPropertyValue("RefreshAddInAllowed", uno::makeAny( sal_True) );
+ xProp->setPropertyValue("RefreshAddInAllowed", uno::makeAny( true) );
}
void SchXMLChartContext::MergeSeriesForStockChart()
diff --git a/xmloff/source/chart/SchXMLImport.cxx b/xmloff/source/chart/SchXMLImport.cxx
index 443425d..3b903be 100644
--- a/xmloff/source/chart/SchXMLImport.cxx
+++ b/xmloff/source/chart/SchXMLImport.cxx
@@ -642,7 +642,7 @@ void SAL_CALL SchXMLImport::setTargetDocument( const uno::Reference< lang::XComp
// else we have no parent => we have our own data
if( bHasOwnData && ! xChartDoc->hasInternalDataProvider() )
- xChartDoc->createInternalDataProvider( sal_False );
+ xChartDoc->createInternalDataProvider( false );
}
}
catch( const uno::Exception & rEx )
diff --git a/xmloff/source/chart/SchXMLLegendContext.cxx b/xmloff/source/chart/SchXMLLegendContext.cxx
index 1e84331..04d06c0 100644
--- a/xmloff/source/chart/SchXMLLegendContext.cxx
+++ b/xmloff/source/chart/SchXMLLegendContext.cxx
@@ -95,7 +95,7 @@ void SchXMLLegendContext::StartElement( const uno::Reference< xml::sax::XAttribu
{
try
{
- xDocProp->setPropertyValue("HasLegend", uno::makeAny( sal_True ) );
+ xDocProp->setPropertyValue("HasLegend", uno::makeAny( true ) );
}
catch(const beans::UnknownPropertyException&)
{
diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.cxx b/xmloff/source/chart/SchXMLPlotAreaContext.cxx
index af2e117..c77d0f7 100644
--- a/xmloff/source/chart/SchXMLPlotAreaContext.cxx
+++ b/xmloff/source/chart/SchXMLPlotAreaContext.cxx
@@ -1152,8 +1152,8 @@ void SchXMLStatisticsObjectContext::StartElement( const uno::Reference< xml::sax
xBarProp->setPropertyValue("PositiveError",uno::makeAny(static_cast<double>(0.0)));
xBarProp->setPropertyValue("NegativeError",uno::makeAny(static_cast<double>(0.0)));
xBarProp->setPropertyValue("Weight",uno::makeAny(static_cast<double>(1.0)));
- xBarProp->setPropertyValue("ShowPositiveError",uno::makeAny(sal_True));
- xBarProp->setPropertyValue("ShowNegativeError",uno::makeAny(sal_True));
+ xBarProp->setPropertyValue("ShowPositiveError",uno::makeAny(true));
+ xBarProp->setPropertyValue("ShowNegativeError",uno::makeAny(true));
// first import defaults from parent style
SetErrorBarStyleProperties( maSeriesStyleName, xBarProp, mrImportHelper );
diff --git a/xmloff/source/chart/SchXMLSeries2Context.cxx b/xmloff/source/chart/SchXMLSeries2Context.cxx
index 3be3a22..5c1c9f1 100644
--- a/xmloff/source/chart/SchXMLSeries2Context.cxx
+++ b/xmloff/source/chart/SchXMLSeries2Context.cxx
@@ -1065,7 +1065,7 @@ void SchXMLSeries2Context::setStylesToDataPoints( SeriesDefaultsAndStyles& rSeri
{
//need to set this explicitly here for old files as the new api does not support this property fully anymore
if( bSwitchOffLinesForScatter )
- xPointProp->setPropertyValue("Lines",uno::makeAny(sal_False));
+ xPointProp->setPropertyValue("Lines",uno::makeAny(false));
}
catch( const uno::Exception & )
{
@@ -1114,7 +1114,7 @@ void SchXMLSeries2Context::switchSeriesLinesOff( ::std::list< DataRowPointStyle
if( !xSeries.is() )
continue;
- xSeries->setPropertyValue("Lines",uno::makeAny(sal_False));
+ xSeries->setPropertyValue("Lines",uno::makeAny(false));
}
catch( uno::Exception & )
{
diff --git a/xmloff/source/chart/SchXMLTableContext.cxx b/xmloff/source/chart/SchXMLTableContext.cxx
index d3403d3..1d07bfe 100644
--- a/xmloff/source/chart/SchXMLTableContext.cxx
+++ b/xmloff/source/chart/SchXMLTableContext.cxx
@@ -823,8 +823,8 @@ void SchXMLTableHelper::applyTableToInternalDataProvider(
try
{
Reference< beans::XPropertySet > xProps( xChartDoc, uno::UNO_QUERY_THROW );
- xProps->setPropertyValue( "DisableDataTableDialog", uno::makeAny( sal_True ) );
- xProps->setPropertyValue( "DisableComplexChartTypes", uno::makeAny( sal_True ) );
+ xProps->setPropertyValue( "DisableDataTableDialog", uno::makeAny( true ) );
+ xProps->setPropertyValue( "DisableComplexChartTypes", uno::makeAny( true ) );
}
catch ( uno::Exception& )
{
diff --git a/xmloff/source/chart/SchXMLTools.cxx b/xmloff/source/chart/SchXMLTools.cxx
index 619758f..2618566 100644
--- a/xmloff/source/chart/SchXMLTools.cxx
+++ b/xmloff/source/chart/SchXMLTools.cxx
@@ -407,7 +407,7 @@ Reference< chart2::data::XDataSequence > CreateDataSequence(
if( !xRet.is() && !xChartDoc->hasInternalDataProvider() && !rRange.isEmpty() )
{
//#i103911# switch to internal data in case the parent cannot provide the requested data
- xChartDoc->createInternalDataProvider( sal_True /* bCloneExistingData */ );
+ xChartDoc->createInternalDataProvider( true /* bCloneExistingData */ );
xDataProvider = xChartDoc->getDataProvider();
try
{
diff --git a/xmloff/source/core/DocumentSettingsContext.cxx b/xmloff/source/core/DocumentSettingsContext.cxx
index 59917ab7..38f8e4f 100644
--- a/xmloff/source/core/DocumentSettingsContext.cxx
+++ b/xmloff/source/core/DocumentSettingsContext.cxx
@@ -644,7 +644,7 @@ void XMLConfigItemContext::ManipulateConfigItem()
OUString aURL;
mrAny >>= aURL;
- aURL = xStringSubsitution->substituteVariables( aURL, sal_False );
+ aURL = xStringSubsitution->substituteVariables( aURL, false );
mrAny <<= aURL;
}
catch( uno::Exception& )
diff --git a/xmloff/source/core/PropertySetMerger.cxx b/xmloff/source/core/PropertySetMerger.cxx
index 62a6cd5..dd32897 100644
--- a/xmloff/source/core/PropertySetMerger.cxx
+++ b/xmloff/source/core/PropertySetMerger.cxx
@@ -238,7 +238,7 @@ Property SAL_CALL PropertySetMergerImpl::getPropertyByName( const OUString& aNam
sal_Bool SAL_CALL PropertySetMergerImpl::hasPropertyByName( const OUString& Name ) throw(RuntimeException, std::exception)
{
if(mxPropSet1Info->hasPropertyByName( Name ) )
- return sal_True;
+ return true;
return mxPropSet2Info->hasPropertyByName( Name );
}
diff --git a/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx b/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx
index edd01ee..d853006 100644
--- a/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx
+++ b/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx
@@ -308,7 +308,7 @@ void XMLEmbeddedObjectImportContext::EndElement()
{
Reference < XModifiable2 > xModifiable2( xComp, UNO_QUERY_THROW );
xModifiable2->enableSetModified();
- xModifiable2->setModified( sal_True ); // trigger new replacement image generation
+ xModifiable2->setModified( true ); // trigger new replacement image generation
}
catch( Exception& )
{
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx
index 44cfd31..807e55a 100644
--- a/xmloff/source/core/xmlexp.cxx
+++ b/xmloff/source/core/xmlexp.cxx
@@ -792,7 +792,7 @@ sal_Bool SAL_CALL SvXMLExport::filter( const uno::Sequence< beans::PropertyValue
{
// check for xHandler first... should have been supplied in initialize
if( !mxHandler.is() )
- return sal_False;
+ return false;
try
{
@@ -814,12 +814,12 @@ sal_Bool SAL_CALL SvXMLExport::filter( const uno::Sequence< beans::PropertyValue
if ( rPropName == "FileName" )
{
if( !(rValue >>= msOrigFileName ) )
- return sal_False;
+ return false;
}
else if ( rPropName == "FilterName" )
{
if( !(rValue >>= msFilterName ) )
- return sal_False;
+ return false;
}
}
}
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index d8358a7..7034d75 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -956,7 +956,7 @@ void SAL_CALL SvXMLImport::setTargetDocument( const uno::Reference< lang::XCompo
sal_Bool SAL_CALL SvXMLImport::filter( const uno::Sequence< beans::PropertyValue >& )
throw (uno::RuntimeException, std::exception)
{
- return sal_False;
+ return false;
}
void SAL_CALL SvXMLImport::cancel( )
diff --git a/xmloff/source/draw/animationimport.cxx b/xmloff/source/draw/animationimport.cxx
index a595112..f6cb2e7 100644
--- a/xmloff/source/draw/animationimport.cxx
+++ b/xmloff/source/draw/animationimport.cxx
@@ -1385,7 +1385,7 @@ void AnimationNodeContext::postProcessRootNode( SvXMLImport& /*rImport*/, const
Reference< XCommand > xCommand( xChildNode, UNO_QUERY_THROW );
if( xCommand->getCommand() == EffectCommands::STOPAUDIO )
{
- xPageProps->setPropertyValue("Sound", Any(sal_True) );
+ xPageProps->setPropertyValue("Sound", Any(true) );
}
}
break;
@@ -1400,7 +1400,7 @@ void AnimationNodeContext::postProcessRootNode( SvXMLImport& /*rImport*/, const
Timing eTiming;
if( (xAudio->getRepeatCount() >>= eTiming) && (eTiming == Timing_INDEFINITE) )
- xPageProps->setPropertyValue("LoopSound", Any( sal_True ) );
+ xPageProps->setPropertyValue("LoopSound", Any( true ) );
}
}
break;
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index 392dcf0..4577f72 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -3126,7 +3126,7 @@ static void lcl_CopyStream(
uno::makeAny(rMimeType));
xStreamProps->setPropertyValue( // turn off compression
"Compressed",
- uno::makeAny(sal_False));
+ uno::makeAny(false));
}
::comphelper::OStorageHelper::CopyInputToOutput(xInStream, xOutStream);
xOutStream->closeOutput();
diff --git a/xmloff/source/draw/ximpbody.cxx b/xmloff/source/draw/ximpbody.cxx
index 586539f..418ba89 100644
--- a/xmloff/source/draw/ximpbody.cxx
+++ b/xmloff/source/draw/ximpbody.cxx
@@ -294,7 +294,7 @@ void SdXMLDrawPageContext::EndElement()
{
const OUString sFlushCustomShapeUnoApiObjects("FlushCustomShapeUnoApiObjects");
uno::Any aAny;
- aAny <<= sal_True;
+ aAny <<= true;
xPropSet->setPropertyValue(sFlushCustomShapeUnoApiObjects, aAny);
}
}
diff --git a/xmloff/source/draw/ximppage.cxx b/xmloff/source/draw/ximppage.cxx
index 15758d6..742b764 100644
--- a/xmloff/source/draw/ximppage.cxx
+++ b/xmloff/source/draw/ximppage.cxx
@@ -183,8 +183,8 @@ void DrawAnnotationContext::EndElement()
{
// delete addition newline
const OUString aEmpty;
- mxCursor->gotoEnd( sal_False );
- mxCursor->goLeft( 1, sal_True );
+ mxCursor->gotoEnd( false );
+ mxCursor->goLeft( 1, true );
mxCursor->setString( aEmpty );
// reset cursor
diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx
index 45f1e5c..fd684a6 100644
--- a/xmloff/source/draw/ximpshap.cxx
+++ b/xmloff/source/draw/ximpshap.cxx
@@ -264,12 +264,12 @@ void SdXMLShapeContext::addGluePoint( const uno::Reference< xml::sax::XAttribute
}
drawing::GluePoint2 aGluePoint;
- aGluePoint.IsUserDefined = sal_True;
+ aGluePoint.IsUserDefined = true;
aGluePoint.Position.X = 0;
aGluePoint.Position.Y = 0;
aGluePoint.Escape = drawing::EscapeDirection_SMART;
aGluePoint.PositionAlignment = drawing::Alignment_CENTER;
- aGluePoint.IsRelative = sal_True;
+ aGluePoint.IsRelative = true;
sal_Int32 nId = -1;
@@ -307,7 +307,7 @@ void SdXMLShapeContext::addGluePoint( const uno::Reference< xml::sax::XAttribute
if( SvXMLUnitConverter::convertEnum( eKind, sValue, aXML_GlueAlignment_EnumMap ) )
{
aGluePoint.PositionAlignment = (drawing::Alignment)eKind;
- aGluePoint.IsRelative = sal_False;
+ aGluePoint.IsRelative = false;
}
}
else if( IsXMLToken( aLocalName, XML_ESCAPE_DIRECTION ) )
@@ -346,8 +346,8 @@ void SdXMLShapeContext::EndElement()
{
// delete addition newline
const OUString aEmpty;
- mxCursor->gotoEnd( sal_False );
- mxCursor->goLeft( 1, sal_True );
+ mxCursor->gotoEnd( false );
+ mxCursor->goLeft( 1, true );
mxCursor->setString( aEmpty );
// reset cursor
@@ -437,10 +437,10 @@ void SdXMLShapeContext::AddShape(uno::Reference< drawing::XShape >& xShape)
{
uno::Reference< beans::XPropertySet > xSet( xShape, uno::UNO_QUERY_THROW );
if( !mbVisible )
- xSet->setPropertyValue("Visible", uno::Any( sal_False ) );
+ xSet->setPropertyValue("Visible", uno::Any( false ) );
if( !mbPrintable )
- xSet->setPropertyValue("Printable", uno::Any( sal_False ) );
+ xSet->setPropertyValue("Printable", uno::Any( false ) );
}
catch(const Exception&)
{
@@ -2201,7 +2201,7 @@ void SdXMLMeasureShapeContext::EndElement()
const OUString aEmpty;
xCursor->collapseToStart();
- xCursor->goRight( 1, sal_True );
+ xCursor->goRight( 1, true );
xCursor->setString( aEmpty );
}
while(false);
@@ -2338,7 +2338,7 @@ void SdXMLCaptionShapeContext::StartElement(const uno::Reference< xml::sax::XAtt
aAny >>= bIsAutoGrowWidth;
if ( bIsAutoGrowWidth )
- xProps->setPropertyValue("TextAutoGrowWidth", uno::makeAny( sal_False ) );
+ xProps->setPropertyValue("TextAutoGrowWidth", uno::makeAny( false ) );
}
// set pos, size, shear and rotate
@@ -2347,7 +2347,7 @@ void SdXMLCaptionShapeContext::StartElement(const uno::Reference< xml::sax::XAtt
xProps->setPropertyValue("CaptionPoint", uno::makeAny( maCaptionPoint ) );
if ( bIsAutoGrowWidth )
- xProps->setPropertyValue("TextAutoGrowWidth", uno::makeAny( sal_True ) );
+ xProps->setPropertyValue("TextAutoGrowWidth", uno::makeAny( true ) );
if(mnRadius)
{
@@ -3847,7 +3847,7 @@ void SdXMLCustomShapeContext::EndElement()
pItem->Name = sName;
pItem->Handle = -1;
- pItem->Value <<= sal_True;
+ pItem->Value <<= true;
pItem->State = beans::PropertyState_DIRECT_VALUE;
}
}
@@ -4044,7 +4044,7 @@ void SdXMLTableShapeContext::processAttribute( sal_uInt16 nPrefix, const OUStrin
if( IsXMLToken( rLocalName, pEntry->meXMLName ) )
{
if( IsXMLToken( rValue, XML_TRUE ) )
- maTemplateStylesUsed[i] = sal_True;
+ maTemplateStylesUsed[i] = true;
break;
}
pEntry++;
diff --git a/xmloff/source/forms/elementexport.cxx b/xmloff/source/forms/elementexport.cxx
index d6ecb78..81eed72 100644
--- a/xmloff/source/forms/elementexport.cxx
+++ b/xmloff/source/forms/elementexport.cxx
@@ -2182,7 +2182,7 @@ namespace xmloff
};
static const sal_Bool nEnumPropertyAttrDefaultFlags[] =
{
- sal_False, sal_False, sal_False, sal_False, sal_True
+ false, false, false, false, true
};
static const sal_Int32 nIdCount = SAL_N_ELEMENTS(eEnumPropertyIds);
#if OSL_DEBUG_LEVEL > 0
diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx
index acf5c3e..85b0b97 100644
--- a/xmloff/source/forms/elementimport.cxx
+++ b/xmloff/source/forms/elementimport.cxx
@@ -1522,8 +1522,8 @@ namespace xmloff
{
// delete the newline which has been imported erroneously
// TODO (fs): stole this code somewhere - why don't we fix the text import??
- m_xCursor->gotoEnd( sal_False );
- m_xCursor->goLeft( 1, sal_True );
+ m_xCursor->gotoEnd( false );
+ m_xCursor->goLeft( 1, true );
m_xCursor->setString( OUString() );
// reset cursor
diff --git a/xmloff/source/forms/gridcolumnproptranslator.cxx b/xmloff/source/forms/gridcolumnproptranslator.cxx
index c5b1c7d..601aec11 100644
--- a/xmloff/source/forms/gridcolumnproptranslator.cxx
+++ b/xmloff/source/forms/gridcolumnproptranslator.cxx
@@ -171,10 +171,10 @@ namespace xmloff
sal_Bool SAL_CALL OMergedPropertySetInfo::hasPropertyByName( const OUString& Name ) throw (RuntimeException, std::exception)
{
if ( Name == getParaAlignProperty() )
- return sal_True;
+ return true;
if ( !m_xMasterInfo.is() )
- return sal_False;
+ return false;
return m_xMasterInfo->hasPropertyByName( Name );
}
diff --git a/xmloff/source/forms/layerexport.cxx b/xmloff/source/forms/layerexport.cxx
index bd689f7..3a27f9d 100644
--- a/xmloff/source/forms/layerexport.cxx
+++ b/xmloff/source/forms/layerexport.cxx
@@ -689,7 +689,7 @@ namespace xmloff
}
// check if our own formats collection already knows the format
- nOwnFormatKey = m_xControlNumberFormats->queryKey(sFormatDescription, aFormatLocale, sal_False);
+ nOwnFormatKey = m_xControlNumberFormats->queryKey(sFormatDescription, aFormatLocale, false);
if (-1 == nOwnFormatKey)
{ // no, we don't
// -> create a new format
diff --git a/xmloff/source/style/PageMasterImportPropMapper.cxx b/xmloff/source/style/PageMasterImportPropMapper.cxx
index c6078c0..ebab21f 100644
--- a/xmloff/source/style/PageMasterImportPropMapper.cxx
+++ b/xmloff/source/style/PageMasterImportPropMapper.cxx
@@ -313,28 +313,28 @@ void PageMasterImportPropertyMapper::finished(std::vector< XMLPropertyState >& r
if (pHeaderHeight)
{
- sal_Bool bValue(sal_False);
+ sal_Bool bValue(false);
uno::Any aAny;
aAny.setValue( &bValue, cppu::UnoType<bool>::get() );
xHeaderDynamic.reset(new XMLPropertyState(pHeaderHeight->mnIndex + 2, aAny));
}
if (pHeaderMinHeight)
{
- sal_Bool bValue(sal_True);
+ sal_Bool bValue(true);
uno::Any aAny;
aAny.setValue( &bValue, cppu::UnoType<bool>::get() );
xHeaderDynamic.reset(new XMLPropertyState(pHeaderMinHeight->mnIndex + 1, aAny));
}
if (pFooterHeight)
{
- sal_Bool bValue(sal_False);
+ sal_Bool bValue(false);
uno::Any aAny;
aAny.setValue( &bValue, cppu::UnoType<bool>::get() );
xFooterDynamic.reset(new XMLPropertyState(pFooterHeight->mnIndex + 2, aAny));
}
if (pFooterMinHeight)
{
- sal_Bool bValue(sal_True);
+ sal_Bool bValue(true);
uno::Any aAny;
aAny.setValue( &bValue, cppu::UnoType<bool>::get() );
xFooterDynamic.reset(new XMLPropertyState(pFooterMinHeight->mnIndex + 1, aAny));
diff --git a/xmloff/source/style/xmlbahdl.cxx b/xmloff/source/style/xmlbahdl.cxx
index c7ead92..6020dcd 100644
--- a/xmloff/source/style/xmlbahdl.cxx
+++ b/xmloff/source/style/xmlbahdl.cxx
@@ -223,7 +223,7 @@ bool XMLBoolFalsePropHdl::importXML( const OUString&, Any&, const SvXMLUnitConve
bool XMLBoolFalsePropHdl::exportXML( OUString& rStrExpValue, const Any& /*rValue*/, const SvXMLUnitConverter& rCnv) const
{
- return XMLBoolPropHdl::exportXML( rStrExpValue, makeAny( sal_False ), rCnv );
+ return XMLBoolPropHdl::exportXML( rStrExpValue, makeAny( false ), rCnv );
}
// class XMLBoolPropHdl
diff --git a/xmloff/source/table/XMLTableImport.cxx b/xmloff/source/table/XMLTableImport.cxx
index f1f1c4b..6989915 100644
--- a/xmloff/source/table/XMLTableImport.cxx
+++ b/xmloff/source/table/XMLTableImport.cxx
@@ -661,8 +661,8 @@ void XMLCellImportContext::EndElement()
{
// delete addition newline
const OUString aEmpty;
- mxCursor->gotoEnd( sal_False );
- mxCursor->goLeft( 1, sal_True );
+ mxCursor->gotoEnd( false );
+ mxCursor->goLeft( 1, true );
mxCursor->setString( aEmpty );
// reset cursor
diff --git a/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx b/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx
index 19e1581..5adef3de 100644
--- a/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx
+++ b/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx
@@ -158,7 +158,7 @@ SvXMLImportContext *XMLIndexBibliographyConfigurationContext::CreateChildContext
const Reference<XAttributeList> & xAttrList )
{
OUString sKey;
- sal_Bool bSort(sal_True);
+ sal_Bool bSort(true);
// process children here and use default context!
if ( ( nPrefix == XML_NAMESPACE_TEXT ) &&
diff --git a/xmloff/source/text/XMLIndexTOCContext.cxx b/xmloff/source/text/XMLIndexTOCContext.cxx
index 9ed5e22..6dbe66a 100644
--- a/xmloff/source/text/XMLIndexTOCContext.cxx
+++ b/xmloff/source/text/XMLIndexTOCContext.cxx
@@ -131,7 +131,7 @@ void XMLIndexTOCContext::StartElement(
// find text:protected and set value
// find text:name and set value (if not empty)
sal_Int16 nCount = xAttrList->getLength();
- sal_Bool bProtected = sal_False;
+ sal_Bool bProtected = false;
OUString sIndexName;
OUString sXmlId;
XMLPropStyleContext* pStyle(nullptr);
@@ -226,7 +226,7 @@ void XMLIndexTOCContext::StartElement(
// b) insert marker and move cursor
rImport->InsertString(sMarker);
- rImport->GetCursor()->goLeft(2, sal_False);
+ rImport->GetCursor()->goLeft(2, false);
}
}
@@ -262,19 +262,19 @@ void XMLIndexTOCContext::EndElement()
rtl::Reference<XMLTextImportHelper> rHelper= GetImport().GetTextImport();
// get rid of last paragraph (unless it's the only paragraph)
- rHelper->GetCursor()->goRight(1, sal_False);
+ rHelper->GetCursor()->goRight(1, false);
if( xBodyContextRef.Is() &&
static_cast<XMLIndexBodyContext*>(&xBodyContextRef)->HasContent() )
{
- rHelper->GetCursor()->goLeft(1, sal_True);
+ rHelper->GetCursor()->goLeft(1, true);
rHelper->GetText()->insertString(rHelper->GetCursorAsRange(),
- "", sal_True);
+ "", true);
}
// and delete second marker
- rHelper->GetCursor()->goRight(1, sal_True);
+ rHelper->GetCursor()->goRight(1, true);
rHelper->GetText()->insertString(rHelper->GetCursorAsRange(),
- "", sal_True);
+ "", true);
// check for Redlines on our end node
GetImport().GetTextImport()->RedlineAdjustStartNodeCursor(false);
diff --git a/xmloff/source/text/XMLIndexTemplateContext.cxx b/xmloff/source/text/XMLIndexTemplateContext.cxx
index e52d562..d34f403 100644
--- a/xmloff/source/text/XMLIndexTemplateContext.cxx
+++ b/xmloff/source/text/XMLIndexTemplateContext.cxx
@@ -354,26 +354,26 @@ const sal_Char* aLevelStylePropNameTOCMap[] =
const sal_Bool aAllowedTokenTypesTOC[] =
{
- sal_True, // XML_TOK_INDEX_TYPE_ENTRY_TEXT =
- sal_True, // XML_TOK_INDEX_TYPE_TAB_STOP,
- sal_True, // XML_TOK_INDEX_TYPE_TEXT,
- sal_True, // XML_TOK_INDEX_TYPE_PAGE_NUMBER,
- sal_True, // XML_TOK_INDEX_TYPE_CHAPTER,
- sal_True, // XML_TOK_INDEX_TYPE_LINK_START,
- sal_True, // XML_TOK_INDEX_TYPE_LINK_END,
- sal_False // XML_TOK_INDEX_TYPE_BIBLIOGRAPHY
+ true, // XML_TOK_INDEX_TYPE_ENTRY_TEXT =
+ true, // XML_TOK_INDEX_TYPE_TAB_STOP,
+ true, // XML_TOK_INDEX_TYPE_TEXT,
+ true, // XML_TOK_INDEX_TYPE_PAGE_NUMBER,
+ true, // XML_TOK_INDEX_TYPE_CHAPTER,
+ true, // XML_TOK_INDEX_TYPE_LINK_START,
+ true, // XML_TOK_INDEX_TYPE_LINK_END,
+ false // XML_TOK_INDEX_TYPE_BIBLIOGRAPHY
};
const sal_Bool aAllowedTokenTypesUser[] =
{
- sal_True, // XML_TOK_INDEX_TYPE_ENTRY_TEXT =
- sal_True, // XML_TOK_INDEX_TYPE_TAB_STOP,
- sal_True, // XML_TOK_INDEX_TYPE_TEXT,
- sal_True, // XML_TOK_INDEX_TYPE_PAGE_NUMBER,
- sal_True, // XML_TOK_INDEX_TYPE_CHAPTER,
- sal_False, // XML_TOK_INDEX_TYPE_LINK_START,
- sal_False, // XML_TOK_INDEX_TYPE_LINK_END,
- sal_False // XML_TOK_INDEX_TYPE_BIBLIOGRAPHY
+ true, // XML_TOK_INDEX_TYPE_ENTRY_TEXT =
+ true, // XML_TOK_INDEX_TYPE_TAB_STOP,
+ true, // XML_TOK_INDEX_TYPE_TEXT,
+ true, // XML_TOK_INDEX_TYPE_PAGE_NUMBER,
+ true, // XML_TOK_INDEX_TYPE_CHAPTER,
+ false, // XML_TOK_INDEX_TYPE_LINK_START,
+ false, // XML_TOK_INDEX_TYPE_LINK_END,
+ false // XML_TOK_INDEX_TYPE_BIBLIOGRAPHY
};
@@ -394,14 +394,14 @@ const sal_Char* aLevelStylePropNameAlphaMap[] =
const sal_Bool aAllowedTokenTypesAlpha[] =
{
- sal_True, // XML_TOK_INDEX_TYPE_ENTRY_TEXT =
- sal_True, // XML_TOK_INDEX_TYPE_TAB_STOP,
- sal_True, // XML_TOK_INDEX_TYPE_TEXT,
- sal_True, // XML_TOK_INDEX_TYPE_PAGE_NUMBER,
- sal_True, // XML_TOK_INDEX_TYPE_CHAPTER,
- sal_False, // XML_TOK_INDEX_TYPE_LINK_START,
- sal_False, // XML_TOK_INDEX_TYPE_LINK_END,
- sal_False // XML_TOK_INDEX_TYPE_BIBLIOGRAPHY
+ true, // XML_TOK_INDEX_TYPE_ENTRY_TEXT =
+ true, // XML_TOK_INDEX_TYPE_TAB_STOP,
+ true, // XML_TOK_INDEX_TYPE_TEXT,
+ true, // XML_TOK_INDEX_TYPE_PAGE_NUMBER,
+ true, // XML_TOK_INDEX_TYPE_CHAPTER,
+ false, // XML_TOK_INDEX_TYPE_LINK_START,
+ false, // XML_TOK_INDEX_TYPE_LINK_END,
+ false // XML_TOK_INDEX_TYPE_BIBLIOGRAPHY
};
@@ -448,14 +448,14 @@ const sal_Char* aLevelStylePropNameBibliographyMap[] =
const sal_Bool aAllowedTokenTypesBibliography[] =
{
- sal_True, // XML_TOK_INDEX_TYPE_ENTRY_TEXT =
- sal_True, // XML_TOK_INDEX_TYPE_TAB_STOP,
- sal_True, // XML_TOK_INDEX_TYPE_TEXT,
- sal_True, // XML_TOK_INDEX_TYPE_PAGE_NUMBER,
- sal_False, // XML_TOK_INDEX_TYPE_CHAPTER,
- sal_False, // XML_TOK_INDEX_TYPE_LINK_START,
- sal_False, // XML_TOK_INDEX_TYPE_LINK_END,
- sal_True // XML_TOK_INDEX_TYPE_BIBLIOGRAPHY
+ true, // XML_TOK_INDEX_TYPE_ENTRY_TEXT =
+ true, // XML_TOK_INDEX_TYPE_TAB_STOP,
+ true, // XML_TOK_INDEX_TYPE_TEXT,
+ true, // XML_TOK_INDEX_TYPE_PAGE_NUMBER,
+ false, // XML_TOK_INDEX_TYPE_CHAPTER,
+ false, // XML_TOK_INDEX_TYPE_LINK_START,
+ false, // XML_TOK_INDEX_TYPE_LINK_END,
+ true // XML_TOK_INDEX_TYPE_BIBLIOGRAPHY
};
@@ -469,14 +469,14 @@ const sal_Char* aLevelStylePropNameTableMap[] =
const sal_Bool aAllowedTokenTypesTable[] =
{
- sal_True, // XML_TOK_INDEX_TYPE_ENTRY_TEXT =
- sal_True, // XML_TOK_INDEX_TYPE_TAB_STOP,
- sal_True, // XML_TOK_INDEX_TYPE_TEXT,
- sal_True, // XML_TOK_INDEX_TYPE_PAGE_NUMBER,
- sal_True, // XML_TOK_INDEX_TYPE_CHAPTER,
- sal_False, // XML_TOK_INDEX_TYPE_LINK_START,
- sal_False, // XML_TOK_INDEX_TYPE_LINK_END,
- sal_False // XML_TOK_INDEX_TYPE_BIBLIOGRAPHY
+ true, // XML_TOK_INDEX_TYPE_ENTRY_TEXT =
+ true, // XML_TOK_INDEX_TYPE_TAB_STOP,
+ true, // XML_TOK_INDEX_TYPE_TEXT,
+ true, // XML_TOK_INDEX_TYPE_PAGE_NUMBER,
+ true, // XML_TOK_INDEX_TYPE_CHAPTER,
+ false, // XML_TOK_INDEX_TYPE_LINK_START,
+ false, // XML_TOK_INDEX_TYPE_LINK_END,
+ false // XML_TOK_INDEX_TYPE_BIBLIOGRAPHY
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/text/XMLSectionFootnoteConfigImport.cxx b/xmloff/source/text/XMLSectionFootnoteConfigImport.cxx
index 8f35712..b13bf41 100644
--- a/xmloff/source/text/XMLSectionFootnoteConfigImport.cxx
+++ b/xmloff/source/text/XMLSectionFootnoteConfigImport.cxx
@@ -65,9 +65,9 @@ XMLSectionFootnoteConfigImport::~XMLSectionFootnoteConfigImport()
void XMLSectionFootnoteConfigImport::StartElement(
const Reference<XAttributeList> & xAttrList)
{
- sal_Bool bEnd = sal_True; // we're inside the element, so this is true
- sal_Bool bNumOwn = sal_False;
- sal_Bool bNumRestart = sal_False;
+ sal_Bool bEnd = true; // we're inside the element, so this is true
+ sal_Bool bNumOwn = false;
+ sal_Bool bNumRestart = false;
bool bEndnote = false;
sal_Int16 nNumRestartAt = 0;
OUString sNumPrefix;
@@ -93,7 +93,7 @@ void XMLSectionFootnoteConfigImport::StartElement(
if (::sax::Converter::convertNumber(nTmp, sAttrValue))
{
nNumRestartAt = static_cast< sal_Int16 >( nTmp ) - 1;
- bNumRestart = sal_True;
+ bNumRestart = true;
}
}
else if( IsXMLToken( sLocalName, XML_NOTE_CLASS ) )
@@ -107,22 +107,22 @@ void XMLSectionFootnoteConfigImport::StartElement(
if (IsXMLToken(sLocalName, XML_NUM_PREFIX))
{
sNumPrefix = sAttrValue;
- bNumOwn = sal_True;
+ bNumOwn = true;
}
else if (IsXMLToken(sLocalName, XML_NUM_SUFFIX))
{
sNumSuffix = sAttrValue;
- bNumOwn = sal_True;
+ bNumOwn = true;
}
else if (IsXMLToken(sLocalName, XML_NUM_FORMAT))
{
sNumFormat = sAttrValue;
- bNumOwn = sal_True;
+ bNumOwn = true;
}
else if (IsXMLToken(sLocalName, XML_NUM_LETTER_SYNC))
{
sNumLetterSync = sAttrValue;
- bNumOwn = sal_True;
+ bNumOwn = true;
}
}
}
diff --git a/xmloff/source/text/XMLSectionImportContext.cxx b/xmloff/source/text/XMLSectionImportContext.cxx
index 059259e..440bfab 100644
--- a/xmloff/source/text/XMLSectionImportContext.cxx
+++ b/xmloff/source/text/XMLSectionImportContext.cxx
@@ -219,8 +219,8 @@ void XMLSectionImportContext::StartElement(
rHelper->InsertString(sMarkerString);
// select first marker
- rHelper->GetCursor()->gotoRange(xStart, sal_False);
- rHelper->GetCursor()->goRight(1, sal_True);
+ rHelper->GetCursor()->gotoRange(xStart, false);
+ rHelper->GetCursor()->goRight(1, true);
// convert section to XTextContent
Reference<XTextContent> xTextContent(xSectionPropertySet,
@@ -228,11 +228,11 @@ void XMLSectionImportContext::StartElement(
// and insert (over marker)
rHelper->GetText()->insertTextContent(
- rHelper->GetCursorAsRange(), xTextContent, sal_True );
+ rHelper->GetCursorAsRange(), xTextContent, true );
// and delete first marker (in section)
rHelper->GetText()->insertString(
- rHelper->GetCursorAsRange(), "", sal_True);
+ rHelper->GetCursorAsRange(), "", true);
// finally, check for redlines that should start at
// the section start node
@@ -332,18 +332,18 @@ void XMLSectionImportContext::EndElement()
// get rid of last paragraph
// (unless it's the only paragraph in the section)
rtl::Reference<XMLTextImportHelper> rHelper = GetImport().GetTextImport();
- rHelper->GetCursor()->goRight(1, sal_False);
+ rHelper->GetCursor()->goRight(1, false);
if (bHasContent)
{
- rHelper->GetCursor()->goLeft(1, sal_True);
+ rHelper->GetCursor()->goLeft(1, true);
rHelper->GetText()->insertString(rHelper->GetCursorAsRange(),
- "", sal_True);
+ "", true);
}
// and delete second marker
- rHelper->GetCursor()->goRight(1, sal_True);
+ rHelper->GetCursor()->goRight(1, true);
rHelper->GetText()->insertString(rHelper->GetCursorAsRange(),
- "", sal_True);
+ "", true);
// check for redlines to our endnode
rHelper->RedlineAdjustStartNodeCursor(false);
diff --git a/xmloff/source/text/XMLSectionSourceDDEImportContext.cxx b/xmloff/source/text/XMLSectionSourceDDEImportContext.cxx
index f65e922..b2bc4be 100644
--- a/xmloff/source/text/XMLSectionSourceDDEImportContext.cxx
+++ b/xmloff/source/text/XMLSectionSourceDDEImportContext.cxx
@@ -92,7 +92,7 @@ void XMLSectionSourceDDEImportContext::StartElement(
OUString sApplication;
OUString sTopic;
OUString sItem;
- sal_Bool bAutomaticUpdate = sal_False;
+ sal_Bool bAutomaticUpdate = false;
sal_Int16 nLength = xAttrList->getLength();
for(sal_Int16 nAttr = 0; nAttr < nLength; nAttr++)
diff --git a/xmloff/source/text/XMLTextFrameContext.cxx b/xmloff/source/text/XMLTextFrameContext.cxx
index 0e67042..7de81fa 100644
--- a/xmloff/source/text/XMLTextFrameContext.cxx
+++ b/xmloff/source/text/XMLTextFrameContext.cxx
@@ -225,7 +225,7 @@ XMLTextFrameContourContext_Impl::XMLTextFrameContourContext_Impl(
{
OUString sD, sPoints, sViewBox;
bool bPixelWidth = false, bPixelHeight = false;
- sal_Bool bAuto = sal_False;
+ sal_Bool bAuto = false;
sal_Int32 nWidth = 0;
sal_Int32 nHeight = 0;
diff --git a/xmloff/source/text/XMLTextHeaderFooterContext.cxx b/xmloff/source/text/XMLTextHeaderFooterContext.cxx
index a1423a7..90f2208 100644
--- a/xmloff/source/text/XMLTextHeaderFooterContext.cxx
+++ b/xmloff/source/text/XMLTextHeaderFooterContext.cxx
@@ -133,7 +133,7 @@ SvXMLImportContext *XMLTextHeaderFooterContext::CreateChildContext(
if( !bOn )
{
// Switch header on
- bOn = sal_True;
+ bOn = true;
aAny.setValue( &bOn, cppu::UnoType<bool>::get() );
xPropSet->setPropertyValue( sOn, aAny );
@@ -147,7 +147,7 @@ SvXMLImportContext *XMLTextHeaderFooterContext::CreateChildContext(
sal_Bool bShared = *static_cast<sal_Bool const *>(aAny.getValue());
if( !bShared )
{
- bShared = sal_True;
+ bShared = true;
aAny.setValue( &bShared, cppu::UnoType<bool>::get() );
xPropSet->setPropertyValue( sShareContent, aAny );
}
@@ -201,7 +201,7 @@ void XMLTextHeaderFooterContext::EndElement()
{
// If no content has been inserted into the header or footer,
// switch it off.
- sal_Bool bOn = sal_False;
+ sal_Bool bOn = false;
Any aAny;
aAny.setValue( &bOn, cppu::UnoType<bool>::get() );
xPropSet->setPropertyValue( sOn, aAny );
diff --git a/xmloff/source/text/XMLTextMarkImportContext.cxx b/xmloff/source/text/XMLTextMarkImportContext.cxx
index 8774c47..2cb098a 100644
--- a/xmloff/source/text/XMLTextMarkImportContext.cxx
+++ b/xmloff/source/text/XMLTextMarkImportContext.cxx
@@ -303,7 +303,7 @@ void XMLTextMarkImportContext::EndElement()
m_rHelper.GetText()->createTextCursorByRange(
xEndRange);
try {
- xInsertionCursor->gotoRange(xStartRange, sal_True);
+ xInsertionCursor->gotoRange(xStartRange, true);
} catch (uno::Exception&) {
OSL_ENSURE(false,
"cannot go to end position of bookmark");
@@ -446,7 +446,7 @@ Reference<XTextContent> XMLTextMarkImportContext::CreateAndInsertMark(
// if inserting marks, bAbsorb==sal_False will cause
// collapsing of the given XTextRange.
rImport.GetTextImport()->GetText()->insertTextContent(rRange,
- xTextContent, sal_True);
+ xTextContent, true);
// xml:id for RDF metadata -- after insertion!
rImport.SetXmlId(xIfc, i_rXmlId);
diff --git a/xmloff/source/text/txtdropi.cxx b/xmloff/source/text/txtdropi.cxx
index 0694977..85622be 100644
--- a/xmloff/source/text/txtdropi.cxx
+++ b/xmloff/source/text/txtdropi.cxx
@@ -62,7 +62,7 @@ void XMLTextDropCapImportContext::ProcessAttrs(
SvXMLTokenMap aTokenMap( aDropAttrTokenMap );
DropCapFormat aFormat;
- sal_Bool bWholeWord = sal_False;
+ sal_Bool bWholeWord = false;
sal_Int32 nTmp;
sal_Int16 nAttrCount = xAttrList.is() ? xAttrList->getLength() : 0;
@@ -87,11 +87,11 @@ void XMLTextDropCapImportContext::ProcessAttrs(
case XML_TOK_DROP_LENGTH:
if( IsXMLToken( rValue, XML_WORD ) )
{
- bWholeWord = sal_True;
+ bWholeWord = true;
}
else if (::sax::Converter::convertNumber( nTmp, rValue, 1, 255 ))
{
- bWholeWord = sal_False;
+ bWholeWord = false;
aFormat.Count = (sal_Int8)nTmp;
}
break;
diff --git a/xmloff/source/text/txtflde.cxx b/xmloff/source/text/txtflde.cxx
index 2e3d293..7353bcd 100644
--- a/xmloff/source/text/txtflde.cxx
+++ b/xmloff/source/text/txtflde.cxx
@@ -1063,7 +1063,7 @@ void XMLTextFieldExport::ExportFieldHelper(
// in all implementations)
Reference<XPropertySetInfo> xPropSetInfo(rPropSet->getPropertySetInfo());
- OUString sPresentation = rTextField->getPresentation(sal_False);
+ OUString sPresentation = rTextField->getPresentation(false);
// process each field type
switch (nToken) {
diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx
index ac943f6..3e59289 100644
--- a/xmloff/source/text/txtfldi.cxx
+++ b/xmloff/source/text/txtfldi.cxx
@@ -2933,7 +2933,7 @@ void XMLDdeFieldDeclImportContext::StartElement(
OUString sCommandTopic;
OUString sCommandItem;
- sal_Bool bUpdate = sal_False;
+ sal_Bool bUpdate = false;
bool bNameOK = false;
bool bCommandApplicationOK = false;
bool bCommandTopicOK = false;
@@ -3597,8 +3597,8 @@ void XMLAnnotationImportContext::EndElement()
{
// delete addition newline
const OUString aEmpty;
- mxCursor->gotoEnd( sal_False );
- mxCursor->goLeft( 1, sal_True );
+ mxCursor->gotoEnd( false );
+ mxCursor->goLeft( 1, true );
mxCursor->setString( aEmpty );
// reset cursor
diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx
index 6ad3333..768ae88 100644
--- a/xmloff/source/text/txtimp.cxx
+++ b/xmloff/source/text/txtimp.cxx
@@ -1093,7 +1093,7 @@ void XMLTextImportHelper::InsertString( const OUString& rChars )
if (m_xImpl->m_xText.is())
{
m_xImpl->m_xText->insertString(m_xImpl->m_xCursorAsRange,
- rChars, sal_False);
+ rChars, false);
}
}
@@ -1127,7 +1127,7 @@ void XMLTextImportHelper::InsertString( const OUString& rChars,
}
}
m_xImpl->m_xText->insertString(m_xImpl->m_xCursorAsRange,
- sChars.makeStringAndClear(), sal_False);
+ sChars.makeStringAndClear(), false);
}
}
@@ -1138,7 +1138,7 @@ void XMLTextImportHelper::InsertControlCharacter( sal_Int16 nControl )
if (m_xImpl->m_xText.is())
{
m_xImpl->m_xText->insertControlCharacter(
- m_xImpl->m_xCursorAsRange, nControl, sal_False);
+ m_xImpl->m_xCursorAsRange, nControl, false);
}
}
@@ -1150,7 +1150,7 @@ void XMLTextImportHelper::InsertTextContent(
if (m_xImpl->m_xText.is())
{
// note: this may throw IllegalArgumentException and callers handle it
- m_xImpl->m_xText->insertTextContent( m_xImpl->m_xCursorAsRange, xContent, sal_False);
+ m_xImpl->m_xText->insertTextContent( m_xImpl->m_xCursorAsRange, xContent, false);
}
}
@@ -1181,10 +1181,10 @@ void XMLTextImportHelper::DeleteParagraph()
}
if( bDelete )
{
- if (m_xImpl->m_xCursor->goLeft( 1, sal_True ))
+ if (m_xImpl->m_xCursor->goLeft( 1, true ))
{
m_xImpl->m_xText->insertString(m_xImpl->m_xCursorAsRange,
- "", sal_True);
+ "", true);
}
}
}
@@ -1558,7 +1558,7 @@ OUString XMLTextImportHelper::SetStyleAndAttrs(
if (!bNumberingIsNumber &&
xPropSetInfo->hasPropertyByName(s_NumberingIsNumber))
{
- xPropSet->setPropertyValue(s_NumberingIsNumber, Any(sal_False));
+ xPropSet->setPropertyValue(s_NumberingIsNumber, Any(false));
}
xPropSet->setPropertyValue( s_NumberingLevel, Any(nLevel) );
@@ -1685,8 +1685,8 @@ OUString XMLTextImportHelper::SetStyleAndAttrs(
if (rCursor->getString().getLength() >
MAX_COMBINED_CHARACTERS)
{
- rCursor->gotoRange(rCursor->getStart(), sal_False);
- rCursor->goRight(MAX_COMBINED_CHARACTERS, sal_True);
+ rCursor->gotoRange(rCursor->getStart(), false);
+ rCursor->goRight(MAX_COMBINED_CHARACTERS, true);
}
// set field value (the combined character string)
@@ -1699,7 +1699,7 @@ OUString XMLTextImportHelper::SetStyleAndAttrs(
{
// #i107225# the combined characters need to be inserted first
// the selected text has to be removed afterwards
- m_xImpl->m_xText->insertTextContent( rCursor->getStart(), xTextContent, sal_True );
+ m_xImpl->m_xText->insertTextContent( rCursor->getStart(), xTextContent, true );
if( !rCursor->getString().isEmpty() )
{
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index 9b4ff73..62be56b 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -1305,7 +1305,7 @@ XMLTextParagraphExport::XMLTextParagraphExport(
sal_Int32 nIndex = xTextPropMapper->getPropertySetMapper()->FindEntryIndex(
"", XML_NAMESPACE_STYLE,
GetXMLToken(XML_TEXT_COMBINE));
- pFieldExport = new XMLTextFieldExport( rExp, new XMLPropertyState( nIndex, uno::makeAny(sal_True) ) );
+ pFieldExport = new XMLTextFieldExport( rExp, new XMLPropertyState( nIndex, uno::makeAny(true) ) );
PushNewTextListsHelper();
}
diff --git a/xmloff/source/text/txtparai.cxx b/xmloff/source/text/txtparai.cxx
index f2ac9f2..06c3c53 100644
--- a/xmloff/source/text/txtparai.cxx
+++ b/xmloff/source/text/txtparai.cxx
@@ -651,7 +651,7 @@ XMLImpRubyContext_Impl::~XMLImpRubyContext_Impl()
const Reference < XTextCursor > xAttrCursor(
xTextImport->GetText()->createTextCursorByRange( m_xStart ));
xAttrCursor->gotoRange(xTextImport->GetCursorAsRange()->getStart(),
- sal_True);
+ true);
xTextImport->SetRuby( GetImport(), xAttrCursor,
m_sStyleName, m_sTextStyleName, m_sText );
}
@@ -775,7 +775,7 @@ void XMLMetaImportContextBase::EndElement()
const Reference<XTextCursor> xInsertionCursor(
GetImport().GetTextImport()->GetText()->createTextCursorByRange(
xEndRange) );
- xInsertionCursor->gotoRange(m_xStart, sal_True);
+ xInsertionCursor->gotoRange(m_xStart, true);
InsertMeta(xInsertionCursor);
}
@@ -1952,7 +1952,7 @@ XMLParaContext::~XMLParaContext()
Reference < XTextCursor > xIdCursor( xTxtImport->GetText()->createTextCursorByRange( xStart ) );
if( xIdCursor.is() )
{
- xIdCursor->gotoRange( xEnd, sal_True );
+ xIdCursor->gotoRange( xEnd, true );
GetImport().getInterfaceToIdentifierMapper().registerReference(
m_sXmlId, Reference<XInterface>( xIdCursor, UNO_QUERY ));
}
@@ -1972,7 +1972,7 @@ XMLParaContext::~XMLParaContext()
// though it just means 'we were unable to create the cursor'
return;
}
- xAttrCursor->gotoRange( xEnd, sal_True );
+ xAttrCursor->gotoRange( xEnd, true );
// xml:id for RDF metadata
if (!m_sXmlId.isEmpty() || m_bHaveAbout || !m_sProperty.isEmpty())
@@ -2072,8 +2072,8 @@ XMLParaContext::~XMLParaContext()
for (size_t i = 0; i < pHints->GetHints().size(); ++i)
{
XMLHint_Impl *const pHint = pHints->GetHints()[i].get();
- xAttrCursor->gotoRange( pHint->GetStart(), sal_False );
- xAttrCursor->gotoRange( pHint->GetEnd(), sal_True );
+ xAttrCursor->gotoRange( pHint->GetStart(), false );
+ xAttrCursor->gotoRange( pHint->GetEnd(), true );
switch( pHint->GetType() )
{
case XML_HINT_STYLE:
@@ -2125,7 +2125,7 @@ XMLParaContext::~XMLParaContext()
static_cast<const XMLIndexMarkHint_Impl *>(pHint)->GetMark());
Reference<XTextContent> xContent(xMark, UNO_QUERY);
xTxtImport->GetText()->insertTextContent(
- xAttrCursor, xContent, sal_True );
+ xAttrCursor, xContent, true );
}
break;
case XML_HINT_TEXT_FRAME:
diff --git a/xmloff/source/text/txtprhdl.cxx b/xmloff/source/text/txtprhdl.cxx
index 51a2ebd..d2c5779 100644
--- a/xmloff/source/text/txtprhdl.cxx
+++ b/xmloff/source/text/txtprhdl.cxx
@@ -334,9 +334,9 @@ bool XMLOpaquePropHdl_Impl::importXML(
const SvXMLUnitConverter& ) const
{
bool bRet = true;
- sal_Bool bVal = sal_False;
+ sal_Bool bVal = false;
if( IsXMLToken( rStrImpValue, XML_FOREGROUND ) )
- bVal = sal_True;
+ bVal = true;
else if( !IsXMLToken( rStrImpValue, XML_BACKGROUND ) )
bRet = false;
@@ -384,9 +384,9 @@ bool XMLContourModePropHdl_Impl::importXML(
const SvXMLUnitConverter& ) const
{
bool bRet = true;
- sal_Bool bVal = sal_False;
+ sal_Bool bVal = false;
if( IsXMLToken( rStrImpValue, XML_OUTSIDE ) )
- bVal = sal_True;
+ bVal = true;
else if( ! IsXMLToken( rStrImpValue, XML_FULL ) )
bRet = false;
@@ -434,7 +434,7 @@ bool XMLParagraphOnlyPropHdl_Impl::importXML(
const SvXMLUnitConverter& ) const
{
bool bRet = true;
- sal_Bool bVal = sal_False;
+ sal_Bool bVal = false;
if( ! IsXMLToken( rStrImpValue, XML_NO_LIMIT ) )
{
@@ -552,7 +552,7 @@ bool XMLFrameProtectPropHdl_Impl::importXML(
const SvXMLUnitConverter& ) const
{
bool bRet = true;
- sal_Bool bVal = sal_False;
+ sal_Bool bVal = false;
if( ! IsXMLToken( rStrImpValue, XML_NONE ) )
{
bRet = false;
@@ -563,7 +563,7 @@ bool XMLFrameProtectPropHdl_Impl::importXML(
bRet = true;
if( aToken == sVal )
{
- bVal = sal_True;
+ bVal = true;
break;
}
}
@@ -794,7 +794,7 @@ bool XMLGrfMirrorPropHdl_Impl::importXML(
const SvXMLUnitConverter& ) const
{
bool bRet = true;
- sal_Bool bVal = sal_False;
+ sal_Bool bVal = false;
if( ! IsXMLToken( rStrImpValue, XML_NONE ) )
{
bRet = false;
@@ -806,7 +806,7 @@ bool XMLGrfMirrorPropHdl_Impl::importXML(
if( aToken == sVal ||
(bHori && IsXMLToken( aToken, XML_HORIZONTAL ) ) )
{
- bVal = sal_True;
+ bVal = true;
break;
}
}
diff --git a/xmloff/source/text/txtvfldi.cxx b/xmloff/source/text/txtvfldi.cxx
index 72e3252..5ca8d33 100644
--- a/xmloff/source/text/txtvfldi.cxx
+++ b/xmloff/source/text/txtvfldi.cxx
@@ -489,7 +489,7 @@ void XMLVariableInputFieldImportContext::PrepareField(
{
// set type (input field)
Any aAny;
- sal_Bool bTrue = sal_True;
+ sal_Bool bTrue = true;
aAny.setValue( &bTrue, cppu::UnoType<bool>::get() );
xPropertySet->setPropertyValue(sPropertyIsInput, aAny);
diff --git a/xmloff/source/transform/OOo2Oasis.cxx b/xmloff/source/transform/OOo2Oasis.cxx
index ed4ff6d..c8ff4c6 100644
--- a/xmloff/source/transform/OOo2Oasis.cxx
+++ b/xmloff/source/transform/OOo2Oasis.cxx
@@ -1893,7 +1893,7 @@ sal_Bool SAL_CALL OOo2OasisTransformer::filter(
if( xFilter.is() )
return xFilter->filter( aDescriptor );
- return sal_False;
+ return false;
}
void SAL_CALL OOo2OasisTransformer::cancel( )
commit 2170e2f230b612c035a1264a1d7a7c45b5d24622
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Apr 20 17:21:35 2016 +0200
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I38560113652ac39104b942a4cb80b1e03944513c
diff --git a/writerperfect/inc/ImportFilter.hxx b/writerperfect/inc/ImportFilter.hxx
index 9833edb..be429ae 100644
--- a/writerperfect/inc/ImportFilter.hxx
+++ b/writerperfect/inc/ImportFilter.hxx
@@ -74,7 +74,7 @@ public:
if (!xInputStream.is())
{
OSL_ASSERT(false);
- return sal_False;
+ return false;
}
// An XML import service: what we push sax messages to..
commit d88ad8b99d416c98134fcd27bbc2cad794f2ec6f
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Apr 20 17:21:30 2016 +0200
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I5f38167cc2fd0104ad388c63f766bda6acae96e2
diff --git a/writerfilter/source/dmapper/DomainMapperTableHandler.cxx b/writerfilter/source/dmapper/DomainMapperTableHandler.cxx
index ef82f4b..7bf99d7 100644
--- a/writerfilter/source/dmapper/DomainMapperTableHandler.cxx
+++ b/writerfilter/source/dmapper/DomainMapperTableHandler.cxx
@@ -476,7 +476,7 @@ TableStyleSheetEntry * DomainMapperTableHandler::endTableGetTableStyle(TableInfo
aDistances.IsTopDistanceValid =
aDistances.IsBottomDistanceValid =
aDistances.IsLeftDistanceValid =
- aDistances.IsRightDistanceValid = sal_True;
+ aDistances.IsRightDistanceValid = true;
aDistances.TopDistance = static_cast<sal_Int16>( rInfo.nTopBorderDistance );
aDistances.BottomDistance = static_cast<sal_Int16>( rInfo.nBottomBorderDistance );
aDistances.LeftDistance = static_cast<sal_Int16>( rInfo.nLeftBorderDistance );
@@ -498,17 +498,17 @@ TableStyleSheetEntry * DomainMapperTableHandler::endTableGetTableStyle(TableInfo
if (lcl_extractTableBorderProperty(m_aTableProperties, PROP_TOP_BORDER, rInfo, aBorderLine))
{
aTableBorder.TopLine = aBorderLine;
- aTableBorder.IsTopLineValid = sal_True;
+ aTableBorder.IsTopLineValid = true;
}
if (lcl_extractTableBorderProperty(m_aTableProperties, PROP_BOTTOM_BORDER, rInfo, aBorderLine))
{
aTableBorder.BottomLine = aBorderLine;
- aTableBorder.IsBottomLineValid = sal_True;
+ aTableBorder.IsBottomLineValid = true;
}
if (lcl_extractTableBorderProperty(m_aTableProperties, PROP_LEFT_BORDER, rInfo, aLeftBorder))
{
aTableBorder.LeftLine = aLeftBorder;
- aTableBorder.IsLeftLineValid = sal_True;
+ aTableBorder.IsLeftLineValid = true;
// Only top level table position depends on border width
if (rInfo.nNestLevel == 1)
{
@@ -521,21 +521,21 @@ TableStyleSheetEntry * DomainMapperTableHandler::endTableGetTableStyle(TableInfo
if (lcl_extractTableBorderProperty(m_aTableProperties, PROP_RIGHT_BORDER, rInfo, aBorderLine))
{
aTableBorder.RightLine = aBorderLine;
- aTableBorder.IsRightLineValid = sal_True;
+ aTableBorder.IsRightLineValid = true;
}
if (lcl_extractTableBorderProperty(m_aTableProperties, META_PROP_HORIZONTAL_BORDER, rInfo, aBorderLine))
{
aTableBorder.HorizontalLine = aBorderLine;
- aTableBorder.IsHorizontalLineValid = sal_True;
+ aTableBorder.IsHorizontalLineValid = true;
}
if (lcl_extractTableBorderProperty(m_aTableProperties, META_PROP_VERTICAL_BORDER, rInfo, aBorderLine))
{
aTableBorder.VerticalLine = aBorderLine;
- aTableBorder.IsVerticalLineValid = sal_True;
+ aTableBorder.IsVerticalLineValid = true;
}
aTableBorder.Distance = 0;
- aTableBorder.IsDistanceValid = sal_False;
+ aTableBorder.IsDistanceValid = false;
m_aTableProperties->Insert( PROP_TABLE_BORDER, uno::makeAny( aTableBorder ) );
@@ -921,7 +921,7 @@ css::uno::Sequence<css::beans::PropertyValues> DomainMapperTableHandler::endTabl
if( aRowIter->get() )
{
//set default to 'break across pages"
- (*aRowIter)->Insert( PROP_IS_SPLIT_ALLOWED, uno::makeAny(sal_True ), false );
+ (*aRowIter)->Insert( PROP_IS_SPLIT_ALLOWED, uno::makeAny(true ), false );
// tblHeader is only our property, remove before the property map hits UNO
(*aRowIter)->Erase(PROP_TBL_HEADER);
diff --git a/writerfilter/source/dmapper/DomainMapperTableManager.cxx b/writerfilter/source/dmapper/DomainMapperTableManager.cxx
index 61988b6..900688b 100644
--- a/writerfilter/source/dmapper/DomainMapperTableManager.cxx
+++ b/writerfilter/source/dmapper/DomainMapperTableManager.cxx
@@ -669,7 +669,7 @@ void DomainMapperTableManager::endOfRowAction()
sal_Int16 nRelPos = rtl::math::round((fGridWidth * 10000) / nFullWidthRelative);
pSeparators[nBorder].Position = nRelPos + nLastRelPos;
- pSeparators[nBorder].IsVisible = sal_True;
+ pSeparators[nBorder].IsVisible = true;
nLastRelPos = nLastRelPos + nRelPos;
++aSpansIter;
}
@@ -716,7 +716,7 @@ void DomainMapperTableManager::endOfRowAction()
{
nSum += (*pCellWidths.get())[i];
pSeparators[nPos].Position = (nSum * 10000) / nFullWidthRelative; // Relative position
- pSeparators[nPos].IsVisible = sal_True;
+ pSeparators[nPos].IsVisible = true;
nPos++;
}
}
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index d24cbe9..92d2742 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -410,7 +410,7 @@ void DomainMapper_Impl::RemoveLastParagraph( )
// disable redlining for this operation, otherwise we might
// end up with an unwanted recorded deletion
- xDocProps->setPropertyValue(aRecordChanges, uno::Any(sal_False));
+ xDocProps->setPropertyValue(aRecordChanges, uno::Any(false));
// delete
xCursor->setString(OUString());
@@ -1224,7 +1224,7 @@ void DomainMapper_Impl::appendTextPortion( const OUString& rString, const Proper
for( int i =0; i < len; ++i )
{
if (pValues[i].Name == "CharHidden")
- pValues[i].Value = uno::makeAny(sal_False);
+ pValues[i].Value = uno::makeAny(false);
}
uno::Reference< text::XTextRange > xTextRange;
@@ -1494,7 +1494,7 @@ void DomainMapper_Impl::PushPageHeaderFooter(bool bHeader, SectionPropertyMap::P
//switch on header/footer use
xPageStyle->setPropertyValue(
getPropertyName(ePropIsOn),
- uno::makeAny(sal_True));
+ uno::makeAny(true));
if (bFirst)
{
@@ -1503,7 +1503,7 @@ void DomainMapper_Impl::PushPageHeaderFooter(bool bHeader, SectionPropertyMap::P
{
// This is a first page and has a follow style, then enable the header/footer there as well to be consistent.
uno::Reference<beans::XPropertySet> xFollowStyle(GetPageStyles()->getByName(aFollowStyle), uno::UNO_QUERY);
- xFollowStyle->setPropertyValue(getPropertyName(ePropIsOn), uno::makeAny(sal_True));
+ xFollowStyle->setPropertyValue(getPropertyName(ePropIsOn), uno::makeAny(true));
}
}
@@ -1918,7 +1918,7 @@ void DomainMapper_Impl::PushShapeContext( const uno::Reference< drawing::XShape
uno::Reference<text::XTextContent> xTextContent(xShape, uno::UNO_QUERY_THROW);
uno::Reference<text::XTextRange> xTextRange(xTextAppend->createTextCursorByRange(xTextAppend->getEnd()), uno::UNO_QUERY_THROW);
- xTextAppend->insertTextContent(xTextRange, xTextContent, sal_False);
+ xTextAppend->insertTextContent(xTextRange, xTextContent, false);
uno::Reference<beans::XPropertySet> xPropertySet(xTextContent, uno::UNO_QUERY);
// we need to re-set this value to xTextContent, then only values are preserved.
@@ -2922,7 +2922,7 @@ void DomainMapper_Impl::handleFieldAsk
uno::makeAny( sHint ));
xFieldProperties->setPropertyValue(getPropertyName(PROP_SUB_TYPE), uno::makeAny(text::SetVariableType::STRING));
// The ASK has no field value to display
- xFieldProperties->setPropertyValue(getPropertyName(PROP_IS_VISIBLE), uno::makeAny(sal_False));
+ xFieldProperties->setPropertyValue(getPropertyName(PROP_IS_VISIBLE), uno::makeAny(false));
}
else
{
@@ -3439,8 +3439,8 @@ void DomainMapper_Impl::handleToc
if(xCrsr.is() && xText.is())
{
xCrsr->gotoEnd(false);
- xText->insertString(xCrsr, sMarker, sal_False);
- xText->insertTextContent(uno::Reference< text::XTextRange >( xCrsr, uno::UNO_QUERY_THROW ), xToInsert, sal_False);
+ xText->insertString(xCrsr, sMarker, false);
+ xText->insertTextContent(uno::Reference< text::XTextRange >( xCrsr, uno::UNO_QUERY_THROW ), xToInsert, false);
xTOCMarkerCursor = xCrsr;
}
}
@@ -4112,7 +4112,7 @@ void DomainMapper_Impl::CloseFieldCommand()
if(xCrsr.is() && xText.is())
{
xCrsr->gotoEnd(false);
- xText->insertTextContent(uno::Reference< text::XTextRange >( xCrsr, uno::UNO_QUERY_THROW ), xToInsert, sal_False);
+ xText->insertTextContent(uno::Reference< text::XTextRange >( xCrsr, uno::UNO_QUERY_THROW ), xToInsert, false);
}
}
}
@@ -4199,7 +4199,7 @@ void DomainMapper_Impl::CloseFieldCommand()
uno::Reference< text::XTextCursor > xCrsr = xTextAppend->createTextCursorByRange(pContext->GetStartRange());
if (xTextContent.is())
{
- xTextAppend->insertTextContent(xCrsr,xTextContent, sal_True);
+ xTextAppend->insertTextContent(xCrsr,xTextContent, true);
}
uno::Reference<uno::XInterface> xContent(xTextContent);
uno::Reference< text::XFormField> xFormField(xContent, uno::UNO_QUERY);
@@ -4463,9 +4463,9 @@ void DomainMapper_Impl::PopFieldContext()
}
else
{
- xTOCMarkerCursor->goLeft(1,sal_True);
+ xTOCMarkerCursor->goLeft(1,true);
xTOCMarkerCursor->setString(OUString());
- xTOCMarkerCursor->goLeft(1,sal_True);
+ xTOCMarkerCursor->goLeft(1,true);
xTOCMarkerCursor->setString(OUString());
}
}
diff --git a/writerfilter/source/dmapper/PropertyMap.cxx b/writerfilter/source/dmapper/PropertyMap.cxx
index 2b7babe..9dfdc94 100644
--- a/writerfilter/source/dmapper/PropertyMap.cxx
+++ b/writerfilter/source/dmapper/PropertyMap.cxx
@@ -847,7 +847,7 @@ void SectionPropertyMap::CopyHeaderFooter(
if ( bHasPrevHeader )
{
- xStyle->setPropertyValue( sHeaderIsOn, uno::makeAny( sal_True ) );
+ xStyle->setPropertyValue( sHeaderIsOn, uno::makeAny( true ) );
xStyle->setPropertyValue( sHeaderIsShared, uno::makeAny(bHeaderIsShared));
if ( !bOmitRightHeader )
{
@@ -873,7 +873,7 @@ void SectionPropertyMap::CopyHeaderFooter(
if ( bHasPrevFooter )
{
- xStyle->setPropertyValue( sFooterIsOn, uno::makeAny( sal_True ) );
+ xStyle->setPropertyValue( sFooterIsOn, uno::makeAny( true ) );
xStyle->setPropertyValue( sFooterIsShared, uno::makeAny(bFooterIsShared) );
if ( !bOmitRightFooter )
{
@@ -1343,8 +1343,8 @@ void SectionPropertyMap::CloseSectionGroup( DomainMapper_Impl& rDM_Impl )
}
evenOddStyle->setPropertyValue("FollowStyle", uno::makeAny(*pageStyle));
rDM_Impl.GetPageStyles()->insertByName( evenOddStyleName, uno::makeAny( evenOddStyle ) );
- evenOddStyle->setPropertyValue("HeaderIsOn", uno::makeAny(sal_False));
- evenOddStyle->setPropertyValue("FooterIsOn", uno::makeAny(sal_False));
+ evenOddStyle->setPropertyValue("HeaderIsOn", uno::makeAny(false));
+ evenOddStyle->setPropertyValue("FooterIsOn", uno::makeAny(false));
CopyHeaderFooter( pageProperties, evenOddStyle );
*pageStyle = evenOddStyleName; // And use it instead of the original one (which is set as follow of this one).
if (m_nBreakType == static_cast<sal_Int32>(NS_ooxml::LN_Value_ST_SectionMark_evenPage))
diff --git a/writerfilter/source/dmapper/SdtHelper.cxx b/writerfilter/source/dmapper/SdtHelper.cxx
index 6803639..a9449f1 100644
--- a/writerfilter/source/dmapper/SdtHelper.cxx
+++ b/writerfilter/source/dmapper/SdtHelper.cxx
@@ -79,7 +79,7 @@ void SdtHelper::createDropDownControl()
uno::Reference<awt::XControlModel> xControlModel(m_rDM_Impl.GetTextFactory()->createInstance("com.sun.star.form.component.ComboBox"), uno::UNO_QUERY);
uno::Reference<beans::XPropertySet> xPropertySet(xControlModel, uno::UNO_QUERY);
xPropertySet->setPropertyValue("DefaultText", uno::makeAny(aDefaultText));
- xPropertySet->setPropertyValue("Dropdown", uno::makeAny(sal_True));
+ xPropertySet->setPropertyValue("Dropdown", uno::makeAny(true));
xPropertySet->setPropertyValue("StringItemList", uno::makeAny(comphelper::containerToSequence(m_aDropDownItems)));
createControlShape(lcl_getOptimalWidth(m_rDM_Impl.GetStyleSheetTable(), aDefaultText, m_aDropDownItems), xControlModel);
@@ -105,7 +105,7 @@ void SdtHelper::createDateControl(OUString& rContentText, const beans::PropertyV
uno::Reference<beans::XPropertySet> xPropertySet(
xControlModel, uno::UNO_QUERY_THROW);
- xPropertySet->setPropertyValue("Dropdown", uno::makeAny(sal_True));
+ xPropertySet->setPropertyValue("Dropdown", uno::makeAny(true));
// See com/sun/star/awt/UnoControlDateFieldModel.idl, DateFormat; sadly there are no constants
sal_Int16 nDateFormat = 0;
diff --git a/writerfilter/source/dmapper/StyleSheetTable.cxx b/writerfilter/source/dmapper/StyleSheetTable.cxx
index d4af3df..05eb20d 100644
--- a/writerfilter/source/dmapper/StyleSheetTable.cxx
+++ b/writerfilter/source/dmapper/StyleSheetTable.cxx
@@ -1160,7 +1160,7 @@ void StyleSheetTable::ApplyStyleSheets( const FontTablePtr& rFontTable )
// List styles don't support automatic update.
if (pEntry->bAutoRedefine && !bListStyle)
- xPropertySet->setPropertyValue("IsAutoUpdate", uno::makeAny(sal_True));
+ xPropertySet->setPropertyValue("IsAutoUpdate", uno::makeAny(true));
}
else if(pEntry->nStyleTypeCode == STYLE_TYPE_TABLE)
{
diff --git a/writerfilter/source/filter/RtfFilter.cxx b/writerfilter/source/filter/RtfFilter.cxx
index a482dcc..bd34e37 100644
--- a/writerfilter/source/filter/RtfFilter.cxx
+++ b/writerfilter/source/filter/RtfFilter.cxx
@@ -92,11 +92,11 @@ sal_Bool RtfFilter::filter(const uno::Sequence< beans::PropertyValue >& aDescrip
uno::Reference< lang::XMultiServiceFactory > xMSF(m_xContext->getServiceManager(), uno::UNO_QUERY_THROW);
uno::Reference< uno::XInterface > xIfc(xMSF->createInstance("com.sun.star.comp.Writer.RtfExport"), uno::UNO_QUERY_THROW);
if (!xIfc.is())
- return sal_False;
+ return false;
uno::Reference< document::XExporter > xExporter(xIfc, uno::UNO_QUERY_THROW);
uno::Reference< document::XFilter > xFilter(xIfc, uno::UNO_QUERY_THROW);
if (!xExporter.is() || !xFilter.is())
- return sal_False;
+ return false;
xExporter->setSourceDocument(m_xSrcDoc);
return xFilter->filter(aDescriptor);
}
diff --git a/writerfilter/source/filter/WriterFilter.cxx b/writerfilter/source/filter/WriterFilter.cxx
index 65cd9b3..61ad186 100644
--- a/writerfilter/source/filter/WriterFilter.cxx
+++ b/writerfilter/source/filter/WriterFilter.cxx
@@ -144,7 +144,7 @@ sal_Bool WriterFilter::filter(const uno::Sequence< beans::PropertyValue >& aDesc
uno::Reference< document::XExporter > xExprtr(xIfc, uno::UNO_QUERY_THROW);
uno::Reference< document::XFilter > xFltr(xIfc, uno::UNO_QUERY_THROW);
if (!xExprtr.is() || !xFltr.is())
- return sal_False;
+ return false;
xExprtr->setSourceDocument(m_xSrcDoc);
return xFltr->filter(aDescriptor);
}
@@ -166,7 +166,7 @@ sal_Bool WriterFilter::filter(const uno::Sequence< beans::PropertyValue >& aDesc
}
if (!xInputStream.is())
- return sal_False;
+ return false;
writerfilter::dmapper::SourceDocumentType eType = writerfilter::dmapper::SourceDocumentType::OOXML;
writerfilter::Stream::Pointer_t pStream(writerfilter::dmapper::DomainMapperFactory::createMapper(m_xContext, xInputStream, m_xDstDoc, bRepairStorage, eType, aMediaDesc));
@@ -257,9 +257,9 @@ sal_Bool WriterFilter::filter(const uno::Sequence< beans::PropertyValue >& aDesc
pStream.reset();
- return sal_True;
+ return true;
}
- return sal_False;
+ return false;
}
@@ -275,28 +275,28 @@ void WriterFilter::setTargetDocument(const uno::Reference< lang::XComponent >& x
uno::Reference< lang::XMultiServiceFactory > xFactory(xDoc, uno::UNO_QUERY);
uno::Reference< beans::XPropertySet > xSettings(xFactory->createInstance("com.sun.star.document.Settings"), uno::UNO_QUERY);
- xSettings->setPropertyValue("AddFrameOffsets", uno::makeAny(sal_True));
- xSettings->setPropertyValue("AddVerticalFrameOffsets", uno::makeAny(sal_True));
- xSettings->setPropertyValue("UseOldNumbering", uno::makeAny(sal_False));
- xSettings->setPropertyValue("IgnoreFirstLineIndentInNumbering", uno::makeAny(sal_False));
- xSettings->setPropertyValue("DoNotResetParaAttrsForNumFont", uno::makeAny(sal_False));
- xSettings->setPropertyValue("UseFormerLineSpacing", uno::makeAny(sal_False));
- xSettings->setPropertyValue("AddParaSpacingToTableCells", uno::makeAny(sal_True));
- xSettings->setPropertyValue("UseFormerObjectPositioning", uno::makeAny(sal_False));
- xSettings->setPropertyValue("ConsiderTextWrapOnObjPos", uno::makeAny(sal_True));
- xSettings->setPropertyValue("UseFormerTextWrapping", uno::makeAny(sal_False));
- xSettings->setPropertyValue("TableRowKeep", uno::makeAny(sal_True));
- xSettings->setPropertyValue("IgnoreTabsAndBlanksForLineCalculation", uno::makeAny(sal_True));
- xSettings->setPropertyValue("InvertBorderSpacing", uno::makeAny(sal_True));
- xSettings->setPropertyValue("CollapseEmptyCellPara", uno::makeAny(sal_True));
- xSettings->setPropertyValue("TabOverflow", uno::makeAny(sal_True));
- xSettings->setPropertyValue("UnbreakableNumberings", uno::makeAny(sal_True));
-
- xSettings->setPropertyValue("FloattableNomargins", uno::makeAny(sal_True));
- xSettings->setPropertyValue("ClippedPictures", uno::makeAny(sal_True));
- xSettings->setPropertyValue("BackgroundParaOverDrawings", uno::makeAny(sal_True));
- xSettings->setPropertyValue("TabOverMargin", uno::makeAny(sal_True));
- xSettings->setPropertyValue("PropLineSpacingShrinksFirstLine", uno::makeAny(sal_True));
+ xSettings->setPropertyValue("AddFrameOffsets", uno::makeAny(true));
+ xSettings->setPropertyValue("AddVerticalFrameOffsets", uno::makeAny(true));
+ xSettings->setPropertyValue("UseOldNumbering", uno::makeAny(false));
+ xSettings->setPropertyValue("IgnoreFirstLineIndentInNumbering", uno::makeAny(false));
+ xSettings->setPropertyValue("DoNotResetParaAttrsForNumFont", uno::makeAny(false));
+ xSettings->setPropertyValue("UseFormerLineSpacing", uno::makeAny(false));
+ xSettings->setPropertyValue("AddParaSpacingToTableCells", uno::makeAny(true));
+ xSettings->setPropertyValue("UseFormerObjectPositioning", uno::makeAny(false));
+ xSettings->setPropertyValue("ConsiderTextWrapOnObjPos", uno::makeAny(true));
+ xSettings->setPropertyValue("UseFormerTextWrapping", uno::makeAny(false));
+ xSettings->setPropertyValue("TableRowKeep", uno::makeAny(true));
+ xSettings->setPropertyValue("IgnoreTabsAndBlanksForLineCalculation", uno::makeAny(true));
+ xSettings->setPropertyValue("InvertBorderSpacing", uno::makeAny(true));
+ xSettings->setPropertyValue("CollapseEmptyCellPara", uno::makeAny(true));
+ xSettings->setPropertyValue("TabOverflow", uno::makeAny(true));
+ xSettings->setPropertyValue("UnbreakableNumberings", uno::makeAny(true));
+
+ xSettings->setPropertyValue("FloattableNomargins", uno::makeAny(true));
+ xSettings->setPropertyValue("ClippedPictures", uno::makeAny(true));
+ xSettings->setPropertyValue("BackgroundParaOverDrawings", uno::makeAny(true));
+ xSettings->setPropertyValue("TabOverMargin", uno::makeAny(true));
+ xSettings->setPropertyValue("PropLineSpacingShrinksFirstLine", uno::makeAny(true));
}
void WriterFilter::setSourceDocument(const uno::Reference< lang::XComponent >& xDoc) throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception)
diff --git a/writerfilter/source/ooxml/OOXMLStreamImpl.cxx b/writerfilter/source/ooxml/OOXMLStreamImpl.cxx
index 3174036..2b7bff9 100644
--- a/writerfilter/source/ooxml/OOXMLStreamImpl.cxx
+++ b/writerfilter/source/ooxml/OOXMLStreamImpl.cxx
@@ -324,7 +324,7 @@ bool OOXMLStreamImpl::lcl_getTarget(const uno::Reference<embed::XRelationshipAcc
// file://base/word. We need something more than some
// simple string concatination here to handle that.
uno::Reference<uri::XUriReference> xPart = xFac->parse(sMyTarget);
- uno::Reference<uri::XUriReference> xAbs = xFac->makeAbsolute(xBase, xPart, sal_True, uri::RelativeUriExcessParentSegments_RETAIN);
+ uno::Reference<uri::XUriReference> xAbs = xFac->makeAbsolute(xBase, xPart, true, uri::RelativeUriExcessParentSegments_RETAIN);
rDocumentTarget = xAbs->getPath();
// path will start with the fragment separator. need to
// remove that
commit d81c4d2af9415fcf02541e7efb1df587f5654784
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Apr 20 17:21:25 2016 +0200
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Iee861bbf1c7a8bf02ec5f04f0ff936e54cfec7b7
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 8f82437..ee9b0df 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -3975,7 +3975,7 @@ bool PDFWriterImpl::emitFonts()
// copy font file
beginCompression();
checkAndEnableStreamEncryption( nFontStream );
- sal_Bool bEOF = sal_False;
+ sal_Bool bEOF = false;
do
{
char buf[8192];
diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx
index 76e358f..f20da68 100644
--- a/vcl/source/gdi/print3.cxx
+++ b/vcl/source/gdi/print3.cxx
@@ -1413,7 +1413,7 @@ css::uno::Sequence< css::beans::PropertyValue > PrinterController::getJobPropert
{
css::beans::PropertyValue aVal;
aVal.Name = "IsPrinter";
- aVal.Value <<= sal_True;
+ aVal.Value <<= true;
aResult[nCur++] = aVal;
}
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list