[Libreoffice-commits] core.git: 79 commits - accessibility/inc accessibility/source basic/source bridges/source chart2/qa chart2/source comphelper/source compilerplugins/clang connectivity/source cppcanvas/source cppuhelper/source cui/source dbaccess/source desktop/source editeng/source embeddedobj/source extensions/source filter/source forms/source formula/source fpicker/source framework/inc framework/source helpcompiler/inc hwpfilter/source i18npool/source idlc/source idl/source include/comphelper include/connectivity include/editeng include/filter include/sfx2 include/svl include/svtools include/svx include/toolkit include/tools include/unotools include/xmloff jvmfwk/plugins jvmfwk/source l10ntools/source linguistic/source lotuswordpro/source oox/source package/inc package/source padmin/source pyuno/source registry/source registry/tools reportdesign/source rsc/source sal/osl sal/qa sal/rtl sc/inc sc/qa scripting/source sc/source sdext/source sd/source sfx2/source sot/source starmath/source sto c/source store/source svl/source svtools/source svx/source sw/inc sw/qa sw/source testtools/source toolkit/source tools/source ucbhelper/source ucb/source unotest/source unotools/source unoxml/source uui/source vbahelper/source vcl/generic vcl/headless vcl/source vcl/unx writerfilter/source writerperfect/source xmloff/source xmlscript/source xmlsecurity/source
Stephan Bergmann
sbergman at redhat.com
Tue Jan 28 11:28:04 PST 2014
accessibility/inc/accessibility/helper/IComboListBoxHelper.hxx | 2
accessibility/inc/accessibility/helper/listboxhelper.hxx | 2
accessibility/source/extended/AccessibleGridControlTable.cxx | 2
accessibility/source/extended/accessiblelistbox.cxx | 2
accessibility/source/standard/vclxaccessiblelist.cxx | 6
basic/source/comp/dim.cxx | 10
basic/source/comp/exprgen.cxx | 2
basic/source/comp/exprtree.cxx | 8
basic/source/comp/loops.cxx | 6
basic/source/comp/parser.cxx | 6
basic/source/runtime/methods.cxx | 4
basic/source/runtime/sbdiagnose.cxx | 2
basic/source/uno/dlgcont.cxx | 4
basic/source/uno/namecont.cxx | 72 +-
basic/source/uno/scriptcont.cxx | 16
bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx | 4
bridges/source/cpp_uno/shared/component.cxx | 4
chart2/qa/extras/chart2export.cxx | 4
chart2/source/controller/dialogs/dlg_DataSource.cxx | 4
chart2/source/controller/dialogs/res_DataLabel.cxx | 2
chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx | 2
chart2/source/controller/dialogs/tp_AxisLabel.cxx | 2
chart2/source/controller/dialogs/tp_AxisPositions.cxx | 2
chart2/source/controller/dialogs/tp_PolarOptions.cxx | 6
chart2/source/controller/dialogs/tp_SeriesToAxis.cxx | 22
chart2/source/controller/dialogs/tp_TitleRotation.cxx | 2
chart2/source/controller/drawinglayer/ViewElementListProvider.cxx | 2
chart2/source/controller/main/ChartController.cxx | 2
chart2/source/controller/main/ChartController_TextEdit.cxx | 4
chart2/source/tools/ChartTypeHelper.cxx | 4
chart2/source/tools/DiagramHelper.cxx | 2
chart2/source/tools/LifeTime.cxx | 10
chart2/source/tools/MediaDescriptorHelper.cxx | 4
chart2/source/tools/SceneProperties.cxx | 4
chart2/source/view/axes/ScaleAutomatism.cxx | 14
chart2/source/view/charttypes/Splines.cxx | 6
chart2/source/view/main/ChartItemPool.cxx | 42 -
chart2/source/view/main/ChartView.cxx | 4
chart2/source/view/main/DrawModelWrapper.cxx | 2
chart2/source/view/main/VLegend.cxx | 2
comphelper/source/property/propagg.cxx | 4
compilerplugins/clang/literaltoboolconversion.cxx | 140 ++++
connectivity/source/commontools/FValue.cxx | 92 +-
connectivity/source/commontools/predicateinput.cxx | 8
connectivity/source/drivers/dbase/DIndex.cxx | 2
connectivity/source/drivers/dbase/DTable.cxx | 10
connectivity/source/drivers/dbase/dindexnode.cxx | 2
connectivity/source/drivers/evoab2/NResultSet.cxx | 2
connectivity/source/drivers/file/FResultSet.cxx | 24
connectivity/source/drivers/file/FStatement.cxx | 16
connectivity/source/drivers/file/fcode.cxx | 8
connectivity/source/drivers/firebird/Connection.cxx | 2
connectivity/source/drivers/flat/ETable.cxx | 2
connectivity/source/drivers/mork/MResultSet.cxx | 6
connectivity/source/drivers/mork/MStatement.cxx | 6
connectivity/source/drivers/mysql/YCatalog.cxx | 2
connectivity/source/drivers/postgresql/pq_databasemetadata.cxx | 4
connectivity/source/drivers/postgresql/pq_tools.cxx | 2
connectivity/source/drivers/postgresql/pq_xcontainer.cxx | 4
connectivity/source/inc/file/fcode.hxx | 4
connectivity/source/parse/sqliterator.cxx | 32 -
connectivity/source/parse/sqlnode.cxx | 4
connectivity/source/sdbcx/VCollection.cxx | 2
cppcanvas/source/mtfrenderer/emfplus.cxx | 2
cppuhelper/source/exc_thrower.cxx | 2
cppuhelper/source/weak.cxx | 12
cui/source/customize/acccfg.cxx | 16
cui/source/customize/cfg.cxx | 248 ++++----
cui/source/customize/cfgutil.cxx | 14
cui/source/customize/eventdlg.cxx | 2
cui/source/customize/macropg.cxx | 2
cui/source/customize/selector.cxx | 12
cui/source/dialogs/SpellDialog.cxx | 20
cui/source/dialogs/cuicharmap.cxx | 12
cui/source/dialogs/cuifmsearch.cxx | 2
cui/source/dialogs/hangulhanjadlg.cxx | 4
cui/source/dialogs/hldocntp.cxx | 2
cui/source/dialogs/hlinettp.cxx | 20
cui/source/dialogs/hltpbase.cxx | 4
cui/source/dialogs/hyphen.cxx | 4
cui/source/dialogs/insdlg.cxx | 12
cui/source/dialogs/splitcelldlg.cxx | 2
cui/source/dialogs/thesdlg.cxx | 6
cui/source/inc/cfg.hxx | 42 -
cui/source/options/cfgchart.cxx | 2
cui/source/options/connpoolsettings.cxx | 8
cui/source/options/dbregistersettings.cxx | 4
cui/source/options/fontsubs.cxx | 2
cui/source/options/optaboutconfig.cxx | 6
cui/source/options/optasian.cxx | 16
cui/source/options/optchart.cxx | 4
cui/source/options/optdict.cxx | 12
cui/source/options/optfltr.cxx | 2
cui/source/options/optgdlg.cxx | 28
cui/source/options/opthtml.cxx | 4
cui/source/options/optinet2.cxx | 60 -
cui/source/options/optlingu.cxx | 8
cui/source/options/optupdt.cxx | 6
cui/source/options/webconninfo.cxx | 10
cui/source/tabpages/autocdlg.cxx | 42 -
cui/source/tabpages/backgrnd.cxx | 16
cui/source/tabpages/border.cxx | 6
cui/source/tabpages/chardlg.cxx | 16
cui/source/tabpages/connect.cxx | 14
cui/source/tabpages/macroass.cxx | 12
cui/source/tabpages/measure.cxx | 4
cui/source/tabpages/numfmt.cxx | 40 -
cui/source/tabpages/numpages.cxx | 20
cui/source/tabpages/page.cxx | 20
cui/source/tabpages/paragrph.cxx | 120 +--
cui/source/tabpages/swpossizetabpage.cxx | 26
cui/source/tabpages/tabstpge.cxx | 2
cui/source/tabpages/textanim.cxx | 2
cui/source/tabpages/textattr.cxx | 4
cui/source/tabpages/tparea.cxx | 24
cui/source/tabpages/tpline.cxx | 26
cui/source/tabpages/tplneend.cxx | 4
cui/source/tabpages/tpshadow.cxx | 8
cui/source/tabpages/transfrm.cxx | 6
dbaccess/source/core/api/RowSetCache.cxx | 22
dbaccess/source/core/api/columnsettings.cxx | 2
dbaccess/source/core/api/viewcontainer.cxx | 2
dbaccess/source/core/dataaccess/documentdefinition.cxx | 2
dbaccess/source/filter/xml/dbloader2.cxx | 2
dbaccess/source/filter/xml/xmlfilter.cxx | 4
dbaccess/source/sdbtools/connection/connectiontools.cxx | 2
dbaccess/source/ui/app/AppDetailPageHelper.cxx | 4
dbaccess/source/ui/browser/brwctrlr.cxx | 2
dbaccess/source/ui/browser/dataview.cxx | 2
dbaccess/source/ui/browser/dbtreeview.cxx | 2
dbaccess/source/ui/browser/genericcontroller.cxx | 4
dbaccess/source/ui/browser/unodatbr.cxx | 2
dbaccess/source/ui/control/FieldDescControl.cxx | 2
dbaccess/source/ui/control/TableGrantCtrl.cxx | 2
dbaccess/source/ui/control/dbtreelistbox.cxx | 2
dbaccess/source/ui/dlg/DbAdminImpl.cxx | 2
dbaccess/source/ui/dlg/admincontrols.cxx | 2
dbaccess/source/ui/dlg/adtabdlg.cxx | 12
dbaccess/source/ui/dlg/dbadmin.cxx | 50 -
dbaccess/source/ui/dlg/dbwizsetup.cxx | 10
dbaccess/source/ui/dlg/detailpages.cxx | 6
dbaccess/source/ui/dlg/indexdialog.cxx | 4
dbaccess/source/ui/dlg/optionalboolitem.cxx | 6
dbaccess/source/ui/dlg/paramdialog.cxx | 2
dbaccess/source/ui/dlg/sqlmessage.cxx | 2
dbaccess/source/ui/dlg/tablespage.cxx | 2
dbaccess/source/ui/misc/DExport.cxx | 2
dbaccess/source/ui/misc/TableCopyHelper.cxx | 2
dbaccess/source/ui/misc/TokenWriter.cxx | 4
dbaccess/source/ui/misc/UITools.cxx | 4
dbaccess/source/ui/misc/WCPage.cxx | 12
dbaccess/source/ui/misc/WCopyTable.cxx | 12
dbaccess/source/ui/misc/WNameMatch.cxx | 2
dbaccess/source/ui/misc/propertysetitem.cxx | 4
dbaccess/source/ui/misc/stringlistitem.cxx | 6
dbaccess/source/ui/querydesign/JoinController.cxx | 4
dbaccess/source/ui/querydesign/QueryDesignView.cxx | 26
dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx | 30
dbaccess/source/ui/querydesign/querycontroller.cxx | 2
dbaccess/source/ui/querydesign/querydlg.cxx | 2
dbaccess/source/ui/tabledesign/TEditControl.cxx | 2
desktop/source/app/app.cxx | 2
desktop/source/app/check_ext_deps.cxx | 2
desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx | 2
desktop/source/deployment/gui/dp_gui_updatedialog.cxx | 6
desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx | 2
desktop/source/deployment/manager/dp_extensionmanager.cxx | 2
desktop/source/deployment/manager/dp_informationprovider.cxx | 4
desktop/source/deployment/misc/dp_misc.cxx | 6
desktop/source/deployment/misc/dp_update.cxx | 2
desktop/source/deployment/registry/configuration/dp_configuration.cxx | 2
desktop/source/deployment/registry/dp_backenddb.cxx | 2
desktop/source/deployment/registry/executable/dp_executable.cxx | 6
desktop/source/deployment/registry/help/dp_help.cxx | 4
desktop/source/deployment/registry/sfwk/dp_sfwk.cxx | 2
desktop/source/migration/services/jvmfwk.cxx | 2
desktop/source/pkgchk/unopkg/unopkg_app.cxx | 2
editeng/source/accessibility/AccessibleEditableTextPara.cxx | 2
editeng/source/editeng/editdoc.cxx | 34 -
editeng/source/editeng/editeng.cxx | 8
editeng/source/editeng/editundo.cxx | 8
editeng/source/editeng/editview.cxx | 2
editeng/source/editeng/eerdll.cxx | 8
editeng/source/editeng/impedit.cxx | 6
editeng/source/editeng/impedit2.cxx | 36 -
editeng/source/editeng/impedit3.cxx | 2
editeng/source/editeng/impedit4.cxx | 20
editeng/source/editeng/impedit5.cxx | 2
editeng/source/items/bulitem.cxx | 10
editeng/source/items/flditem.cxx | 16
editeng/source/items/frmitems.cxx | 62 +-
editeng/source/items/paraitem.cxx | 40 -
editeng/source/items/textitem.cxx | 66 +-
editeng/source/items/xmlcnitm.cxx | 4
editeng/source/misc/swafopt.cxx | 8
editeng/source/misc/txtrange.cxx | 4
editeng/source/outliner/outlin2.cxx | 2
editeng/source/outliner/outliner.cxx | 2
editeng/source/uno/unotext.cxx | 2
editeng/source/xml/xmltxtexp.cxx | 2
editeng/source/xml/xmltxtimp.cxx | 2
embeddedobj/source/commonembedding/persistence.cxx | 2
extensions/source/abpilot/admininvokationimpl.cxx | 2
extensions/source/abpilot/datasourcehandling.cxx | 2
extensions/source/dbpilots/commonpagesdbp.cxx | 2
extensions/source/dbpilots/controlwizard.cxx | 2
extensions/source/nsplugin/source/so_main.cxx | 2
extensions/source/propctrlr/browserlistbox.cxx | 2
extensions/source/propctrlr/propcontroller.cxx | 4
extensions/source/propctrlr/propertyeditor.cxx | 4
extensions/source/propctrlr/selectlabeldialog.cxx | 4
extensions/source/propctrlr/standardcontrol.cxx | 4
extensions/source/scanner/sanedlg.cxx | 56 -
extensions/source/update/ui/updatecheckui.cxx | 2
filter/source/config/cache/filtercache.cxx | 6
filter/source/config/cache/typedetection.cxx | 2
filter/source/flash/swffilter.cxx | 2
filter/source/flash/swfwriter1.cxx | 8
filter/source/graphic/GraphicExportDialog.cxx | 2
filter/source/msfilter/escherex.cxx | 4
filter/source/msfilter/eschesdo.cxx | 10
filter/source/msfilter/msdffimp.cxx | 28
filter/source/msfilter/msoleexp.cxx | 2
filter/source/msfilter/svdfppt.cxx | 38 -
filter/source/pdf/impdialog.cxx | 32 -
filter/source/pdf/pdfexport.cxx | 18
filter/source/placeware/filter.cxx | 2
filter/source/t602/t602filter.cxx | 2
filter/source/xsltdialog/xmlfiltertestdialog.cxx | 2
forms/source/component/DatabaseForm.cxx | 8
forms/source/component/DatabaseForm.hxx | 2
forms/source/component/FormComponent.cxx | 4
forms/source/component/ImageControl.cxx | 2
forms/source/richtext/richtextimplcontrol.cxx | 2
forms/source/richtext/rtattributehandler.cxx | 2
forms/source/runtime/formoperations.cxx | 6
forms/source/xforms/binding.cxx | 4
forms/source/xforms/convert.cxx | 2
forms/source/xforms/xmlhelper.cxx | 2
formula/source/ui/dlg/FormulaHelper.cxx | 2
formula/source/ui/dlg/formula.cxx | 16
fpicker/source/office/iodlg.cxx | 10
framework/inc/uielement/headermenucontroller.hxx | 2
framework/source/fwe/helper/titlehelper.cxx | 4
framework/source/fwe/helper/undomanagerhelper.cxx | 2
framework/source/fwi/helper/mischelper.cxx | 2
framework/source/helper/statusindicatorfactory.cxx | 2
framework/source/helper/uiconfigelementwrapperbase.cxx | 18
framework/source/helper/vclstatusindicator.cxx | 2
framework/source/layoutmanager/layoutmanager.cxx | 60 -
framework/source/layoutmanager/toolbarlayoutmanager.cxx | 22
framework/source/layoutmanager/uielement.cxx | 8
framework/source/loadenv/loadenv.cxx | 2
framework/source/services/substitutepathvars.cxx | 10
framework/source/tabwin/tabwindow.cxx | 6
framework/source/uiconfiguration/imagemanagerimpl.cxx | 8
framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx | 14
framework/source/uiconfiguration/uiconfigurationmanager.cxx | 16
framework/source/uiconfiguration/windowstateconfiguration.cxx | 14
framework/source/uielement/addonstoolbarwrapper.cxx | 2
framework/source/uielement/menubarwrapper.cxx | 2
framework/source/uielement/progressbarwrapper.cxx | 2
framework/source/uielement/statusbarwrapper.cxx | 2
framework/source/uielement/toolbarmanager.cxx | 2
framework/source/uielement/toolbarwrapper.cxx | 8
framework/source/uielement/uicommanddescription.cxx | 2
helpcompiler/inc/HelpCompiler.hxx | 4
hwpfilter/source/formula.cxx | 10
hwpfilter/source/hwpeq.cxx | 2
hwpfilter/source/hwpfile.cxx | 2
hwpfilter/source/hwpreader.cxx | 8
hwpfilter/source/lexer.cxx | 4
i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx | 4
i18npool/source/localedata/localedata.cxx | 4
i18npool/source/search/textsearch.cxx | 4
idl/source/objects/types.cxx | 4
idlc/source/astexpression.cxx | 4
include/comphelper/string.hxx | 2
include/connectivity/sqlnode.hxx | 4
include/editeng/paperinf.hxx | 2
include/filter/msfilter/msdffimp.hxx | 2
include/sfx2/viewsh.hxx | 2
include/svl/filerec.hxx | 4
include/svl/zformat.hxx | 2
include/svtools/ctrlbox.hxx | 4
include/svtools/localresaccess.hxx | 4
include/svx/svddrag.hxx | 8
include/svx/svdmodel.hxx | 2
include/svx/svdoedge.hxx | 2
include/svx/svdomeas.hxx | 2
include/svx/svdpage.hxx | 2
include/svx/svdtrans.hxx | 16
include/svx/svdundo.hxx | 2
include/toolkit/controls/unocontrolmodel.hxx | 2
include/tools/bigint.hxx | 4
include/tools/debug.hxx | 8
include/tools/ref.hxx | 4
include/unotools/idhelper.hxx | 10
include/unotools/ucblockbytes.hxx | 4
include/xmloff/PropertySetInfoHash.hxx | 2
jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx | 23
jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx | 4
jvmfwk/plugins/sunmajor/pluginlib/util.cxx | 2
jvmfwk/source/elements.cxx | 2
jvmfwk/source/framework.cxx | 4
l10ntools/source/helpmerge.cxx | 2
l10ntools/source/merge.cxx | 6
l10ntools/source/uimerge.cxx | 2
linguistic/source/convdic.cxx | 4
linguistic/source/dicimp.cxx | 4
linguistic/source/dlistimp.cxx | 2
linguistic/source/gciterator.cxx | 18
linguistic/source/hyphdsp.cxx | 6
linguistic/source/lngprophelp.cxx | 6
linguistic/source/misc.cxx | 6
linguistic/source/spelldsp.cxx | 6
linguistic/source/thesdsp.cxx | 2
lotuswordpro/source/filter/explode.cxx | 2
lotuswordpro/source/filter/lwpcelllayout.cxx | 18
lotuswordpro/source/filter/lwplayout.cxx | 4
lotuswordpro/source/filter/lwptablelayout.cxx | 20
lotuswordpro/source/filter/xfilter/xfbgimage.cxx | 2
lotuswordpro/source/filter/xfilter/xfborders.cxx | 2
lotuswordpro/source/filter/xfilter/xfindex.cxx | 4
oox/source/core/binarycodec.cxx | 8
oox/source/drawingml/customshapegeometry.cxx | 4
oox/source/drawingml/table/tablecellcontext.cxx | 6
oox/source/drawingml/table/tablecontext.cxx | 14
oox/source/drawingml/transform2dcontext.cxx | 2
oox/source/ole/axcontrol.cxx | 2
oox/source/ppt/headerfootercontext.cxx | 8
oox/source/ppt/slidefragmenthandler.cxx | 2
package/inc/ZipPackageEntry.hxx | 2
package/source/manifest/ManifestImport.cxx | 2
package/source/zipapi/ZipFile.cxx | 2
package/source/zippackage/ZipPackage.cxx | 2
package/source/zippackage/ZipPackageEntry.cxx | 2
package/source/zippackage/ZipPackageFolder.cxx | 2
package/source/zippackage/ZipPackageStream.cxx | 2
padmin/source/adddlg.cxx | 76 +-
padmin/source/cmddlg.cxx | 18
padmin/source/helper.cxx | 4
padmin/source/padialog.cxx | 22
padmin/source/progress.cxx | 2
padmin/source/prtsetup.cxx | 12
pyuno/source/loader/pyuno_loader.cxx | 2
pyuno/source/module/pyuno_runtime.cxx | 2
registry/source/reflread.cxx | 8
registry/source/regimpl.cxx | 12
registry/tools/regcompare.cxx | 6
reportdesign/source/core/api/ReportDefinition.cxx | 2
reportdesign/source/core/sdr/ReportDrawPage.cxx | 2
reportdesign/source/filter/xml/xmlExport.cxx | 2
reportdesign/source/filter/xml/xmlStyleImport.cxx | 2
reportdesign/source/ui/dlg/GroupsSorting.cxx | 4
reportdesign/source/ui/dlg/Navigator.cxx | 2
reportdesign/source/ui/report/ReportSection.cxx | 6
reportdesign/source/ui/report/ViewsWindow.cxx | 2
reportdesign/source/ui/report/propbrw.cxx | 2
rsc/source/parser/rscibas.cxx | 4
sal/osl/all/debugbase.cxx | 2
sal/qa/osl/file/osl_File.cxx | 6
sal/qa/osl/module/osl_Module.cxx | 8
sal/qa/osl/mutex/osl_Mutex.cxx | 2
sal/qa/osl/process/osl_Thread.cxx | 2
sal/qa/osl/security/osl_Security.cxx | 2
sal/rtl/alloc_global.cxx | 6
sal/rtl/hash.cxx | 4
sal/rtl/uri.cxx | 2
sc/inc/global.hxx | 3
sc/qa/unit/ucalc.cxx | 7
sc/qa/unit/ucalc.hxx | 1
sc/source/core/data/compressedarray.cxx | 2
sc/source/core/data/docpool.cxx | 12
sc/source/core/data/dpcache.cxx | 6
sc/source/core/data/dptabres.cxx | 2
sc/source/core/data/dptabsrc.cxx | 4
sc/source/core/data/drwlayer.cxx | 8
sc/source/core/data/global.cxx | 2
sc/source/core/data/stlsheet.cxx | 2
sc/source/core/opencl/opencl_device_selection.h | 2
sc/source/core/opencl/openclwrapper.cxx | 2
sc/source/core/tool/address.cxx | 2
sc/source/core/tool/adiasync.cxx | 2
sc/source/core/tool/appoptio.cxx | 2
sc/source/core/tool/callform.cxx | 2
sc/source/core/tool/charthelper.cxx | 2
sc/source/core/tool/compiler.cxx | 4
sc/source/core/tool/consoli.cxx | 6
sc/source/core/tool/detfunc.cxx | 6
sc/source/core/tool/queryparam.cxx | 6
sc/source/core/tool/rangenam.cxx | 2
sc/source/filter/dif/difimp.cxx | 6
sc/source/filter/excel/excform.cxx | 30
sc/source/filter/excel/excform8.cxx | 30
sc/source/filter/excel/excimp8.cxx | 4
sc/source/filter/excel/exctools.cxx | 2
sc/source/filter/excel/impop.cxx | 8
sc/source/filter/excel/xeescher.cxx | 2
sc/source/filter/excel/xelink.cxx | 2
sc/source/filter/excel/xeroot.cxx | 2
sc/source/filter/excel/xiescher.cxx | 4
sc/source/filter/excel/xipivot.cxx | 14
sc/source/filter/excel/xiview.cxx | 2
sc/source/filter/excel/xlpage.cxx | 2
sc/source/filter/html/htmlexp.cxx | 2
sc/source/filter/lotus/memory.cxx | 2
sc/source/filter/lotus/tool.cxx | 8
sc/source/filter/qpro/qpro.cxx | 2
sc/source/filter/qpro/qproform.cxx | 2
sc/source/filter/qpro/qprostyle.cxx | 2
sc/source/filter/rtf/eeimpars.cxx | 2
sc/source/filter/rtf/expbase.cxx | 2
sc/source/filter/starcalc/scflt.cxx | 6
sc/source/filter/xcl97/XclImpChangeTrack.cxx | 2
sc/source/filter/xcl97/xcl97rec.cxx | 2
sc/source/filter/xml/XMLConverter.hxx | 2
sc/source/filter/xml/XMLTableShapeResizer.cxx | 2
sc/source/filter/xml/XMLTableSourceContext.cxx | 2
sc/source/filter/xml/XMLTrackedChangesContext.cxx | 2
sc/source/filter/xml/xmlexprt.cxx | 6
sc/source/filter/xml/xmlnexpi.cxx | 2
sc/source/filter/xml/xmlstyli.cxx | 2
sc/source/ui/Accessibility/AccessibleCell.cxx | 4
sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx | 38 -
sc/source/ui/app/inputhdl.cxx | 2
sc/source/ui/app/inputwin.cxx | 6
sc/source/ui/app/scmod.cxx | 34 -
sc/source/ui/dbgui/dbnamdlg.cxx | 4
sc/source/ui/dbgui/dpgroupdlg.cxx | 4
sc/source/ui/docshell/arealink.cxx | 2
sc/source/ui/docshell/dbdocfun.cxx | 30
sc/source/ui/docshell/dbdocimp.cxx | 4
sc/source/ui/docshell/docfunc.cxx | 62 +-
sc/source/ui/docshell/docsh.cxx | 18
sc/source/ui/docshell/docsh3.cxx | 10
sc/source/ui/docshell/docsh4.cxx | 6
sc/source/ui/docshell/docsh5.cxx | 26
sc/source/ui/docshell/docsh6.cxx | 2
sc/source/ui/docshell/docsh8.cxx | 26
sc/source/ui/docshell/olinefun.cxx | 48 -
sc/source/ui/docshell/servobj.cxx | 2
sc/source/ui/drawfunc/drawsh2.cxx | 6
sc/source/ui/drawfunc/drawsh5.cxx | 4
sc/source/ui/drawfunc/drtxtob.cxx | 30
sc/source/ui/drawfunc/fuconrec.cxx | 2
sc/source/ui/drawfunc/fudraw.cxx | 2
sc/source/ui/drawfunc/fuins2.cxx | 6
sc/source/ui/drawfunc/fumark.cxx | 2
sc/source/ui/drawfunc/fusel2.cxx | 2
sc/source/ui/formdlg/formula.cxx | 2
sc/source/ui/miscdlgs/anyrefdg.cxx | 4
sc/source/ui/miscdlgs/highred.cxx | 6
sc/source/ui/miscdlgs/mvtabdlg.cxx | 6
sc/source/ui/miscdlgs/optsolver.cxx | 2
sc/source/ui/miscdlgs/scuiautofmt.cxx | 4
sc/source/ui/miscdlgs/simpref.cxx | 2
sc/source/ui/miscdlgs/solveroptions.cxx | 4
sc/source/ui/navipi/content.cxx | 4
sc/source/ui/optdlg/calcoptionsdlg.cxx | 4
sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx | 8
sc/source/ui/undo/areasave.cxx | 2
sc/source/ui/undo/undobase.cxx | 8
sc/source/ui/undo/undoblk.cxx | 46 -
sc/source/ui/undo/undoblk2.cxx | 2
sc/source/ui/undo/undoblk3.cxx | 24
sc/source/ui/undo/undocell.cxx | 2
sc/source/ui/undo/undodat.cxx | 20
sc/source/ui/undo/undotab.cxx | 42 -
sc/source/ui/undo/undoutil.cxx | 2
sc/source/ui/unoobj/afmtuno.cxx | 10
sc/source/ui/unoobj/cellsuno.cxx | 42 -
sc/source/ui/unoobj/cursuno.cxx | 4
sc/source/ui/unoobj/dapiuno.cxx | 6
sc/source/ui/unoobj/datauno.cxx | 2
sc/source/ui/unoobj/docuno.cxx | 22
sc/source/ui/unoobj/nameuno.cxx | 2
sc/source/ui/unoobj/styleuno.cxx | 2
sc/source/ui/unoobj/viewuno.cxx | 16
sc/source/ui/vba/excelvbahelper.cxx | 2
sc/source/ui/vba/vbarange.cxx | 8
sc/source/ui/vba/vbaworksheets.cxx | 2
sc/source/ui/view/auditsh.cxx | 2
sc/source/ui/view/cellsh.cxx | 6
sc/source/ui/view/cellsh1.cxx | 10
sc/source/ui/view/cellsh2.cxx | 14
sc/source/ui/view/cellsh3.cxx | 16
sc/source/ui/view/cellsh4.cxx | 6
sc/source/ui/view/cliputil.cxx | 2
sc/source/ui/view/colrowba.cxx | 4
sc/source/ui/view/dbfunc.cxx | 14
sc/source/ui/view/dbfunc3.cxx | 30
sc/source/ui/view/editsh.cxx | 12
sc/source/ui/view/formatsh.cxx | 18
sc/source/ui/view/gridwin.cxx | 34 -
sc/source/ui/view/gridwin2.cxx | 6
sc/source/ui/view/gridwin4.cxx | 6
sc/source/ui/view/output.cxx | 6
sc/source/ui/view/output2.cxx | 30
sc/source/ui/view/pivotsh.cxx | 2
sc/source/ui/view/prevwsh.cxx | 6
sc/source/ui/view/prevwsh2.cxx | 2
sc/source/ui/view/printfun.cxx | 8
sc/source/ui/view/select.cxx | 34 -
sc/source/ui/view/spelldialog.cxx | 2
sc/source/ui/view/spelleng.cxx | 2
sc/source/ui/view/tabcont.cxx | 2
sc/source/ui/view/tabview.cxx | 4
sc/source/ui/view/tabview2.cxx | 4
sc/source/ui/view/tabview4.cxx | 2
sc/source/ui/view/tabview5.cxx | 2
sc/source/ui/view/tabvwsh3.cxx | 10
sc/source/ui/view/tabvwsh4.cxx | 18
sc/source/ui/view/tabvwsh5.cxx | 2
sc/source/ui/view/tabvwsh9.cxx | 2
sc/source/ui/view/tabvwshc.cxx | 2
sc/source/ui/view/viewdata.cxx | 4
sc/source/ui/view/viewfun2.cxx | 34 -
sc/source/ui/view/viewfun3.cxx | 10
sc/source/ui/view/viewfun4.cxx | 4
sc/source/ui/view/viewfun5.cxx | 2
sc/source/ui/view/viewfun7.cxx | 2
scripting/source/protocolhandler/scripthandler.cxx | 4
scripting/source/provider/MasterScriptProvider.cxx | 4
scripting/source/stringresource/stringresource.cxx | 2
sd/source/core/drawdoc.cxx | 4
sd/source/core/drawdoc2.cxx | 32 -
sd/source/core/drawdoc3.cxx | 26
sd/source/core/drawdoc4.cxx | 2
sd/source/core/sdpage.cxx | 28
sd/source/core/sdpage2.cxx | 4
sd/source/filter/eppt/eppt.cxx | 10
sd/source/filter/eppt/epptso.cxx | 4
sd/source/filter/eppt/escherex.cxx | 4
sd/source/filter/html/htmlex.cxx | 6
sd/source/filter/html/pubdlg.cxx | 2
sd/source/filter/ppt/pptin.cxx | 16
sd/source/filter/ppt/pptinanimations.cxx | 2
sd/source/filter/sdpptwrp.cxx | 4
sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx | 2
sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx | 2
sd/source/ui/animations/CustomAnimationDialog.cxx | 16
sd/source/ui/animations/CustomAnimationList.cxx | 4
sd/source/ui/animations/CustomAnimationPane.cxx | 34 -
sd/source/ui/animations/SlideTransitionPane.cxx | 8
sd/source/ui/animations/motionpathtag.cxx | 8
sd/source/ui/annotations/annotationmanager.cxx | 2
sd/source/ui/annotations/annotationmanagerimpl.hxx | 2
sd/source/ui/annotations/annotationtag.cxx | 2
sd/source/ui/app/sdmod.cxx | 2
sd/source/ui/app/sdmod1.cxx | 14
sd/source/ui/app/sdxfer.cxx | 2
sd/source/ui/controller/slidelayoutcontroller.cxx | 4
sd/source/ui/dlg/LayerTabBar.cxx | 10
sd/source/ui/dlg/NavigatorChildWindow.cxx | 2
sd/source/ui/dlg/SpellDialogChildWindow.cxx | 2
sd/source/ui/dlg/animobjs.cxx | 50 -
sd/source/ui/dlg/custsdlg.cxx | 2
sd/source/ui/dlg/dlgass.cxx | 24
sd/source/ui/dlg/dlgassim.cxx | 4
sd/source/ui/dlg/docprev.cxx | 4
sd/source/ui/dlg/navigatr.cxx | 4
sd/source/ui/dlg/paragr.cxx | 2
sd/source/ui/dlg/present.cxx | 2
sd/source/ui/dlg/prltempl.cxx | 2
sd/source/ui/dlg/sdtreelb.cxx | 2
sd/source/ui/dlg/tpoption.cxx | 2
sd/source/ui/docshell/docshel2.cxx | 10
sd/source/ui/docshell/docshel4.cxx | 6
sd/source/ui/docshell/docshell.cxx | 4
sd/source/ui/framework/tools/FrameworkHelper.cxx | 2
sd/source/ui/func/fubullet.cxx | 6
sd/source/ui/func/fuchar.cxx | 2
sd/source/ui/func/fucon3d.cxx | 2
sd/source/ui/func/fuconarc.cxx | 12
sd/source/ui/func/fuconrec.cxx | 24
sd/source/ui/func/fuconstr.cxx | 8
sd/source/ui/func/fuconuno.cxx | 4
sd/source/ui/func/fucopy.cxx | 4
sd/source/ui/func/fudraw.cxx | 4
sd/source/ui/func/fuexpand.cxx | 8
sd/source/ui/func/fuformatpaintbrush.cxx | 2
sd/source/ui/func/fuinsert.cxx | 4
sd/source/ui/func/fuinsfil.cxx | 4
sd/source/ui/func/fulinend.cxx | 2
sd/source/ui/func/fumorph.cxx | 4
sd/source/ui/func/fuoaprms.cxx | 14
sd/source/ui/func/fuolbull.cxx | 6
sd/source/ui/func/fuoltext.cxx | 2
sd/source/ui/func/fupage.cxx | 4
sd/source/ui/func/fupoor.cxx | 6
sd/source/ui/func/fuscale.cxx | 2
sd/source/ui/func/fusel.cxx | 12
sd/source/ui/func/fusldlg.cxx | 2
sd/source/ui/func/fusnapln.cxx | 2
sd/source/ui/func/fusumry.cxx | 6
sd/source/ui/func/futempl.cxx | 4
sd/source/ui/func/futext.cxx | 10
sd/source/ui/inc/fuconstr.hxx | 2
sd/source/ui/remotecontrol/ImagePreparer.cxx | 2
sd/source/ui/sidebar/DocumentHelper.cxx | 4
sd/source/ui/sidebar/LayoutMenu.cxx | 4
sd/source/ui/sidebar/MasterPageContainerProviders.cxx | 4
sd/source/ui/slideshow/showwin.cxx | 4
sd/source/ui/slideshow/slideshowimpl.cxx | 22
sd/source/ui/slidesorter/controller/SlideSorterController.cxx | 2
sd/source/ui/slidesorter/controller/SlsClipboard.cxx | 4
sd/source/ui/slidesorter/controller/SlsSlotManager.cxx | 20
sd/source/ui/slidesorter/view/SlideSorterView.cxx | 2
sd/source/ui/table/tablefunction.cxx | 6
sd/source/ui/unoidl/SdUnoDrawView.cxx | 2
sd/source/ui/unoidl/sddetect.cxx | 4
sd/source/ui/unoidl/unolayer.cxx | 6
sd/source/ui/unoidl/unomodel.cxx | 28
sd/source/ui/unoidl/unoobj.cxx | 6
sd/source/ui/unoidl/unopage.cxx | 8
sd/source/ui/view/Outliner.cxx | 38 -
sd/source/ui/view/ToolBarManager.cxx | 2
sd/source/ui/view/ViewShellBase.cxx | 2
sd/source/ui/view/ViewShellImplementation.cxx | 24
sd/source/ui/view/drbezob.cxx | 20
sd/source/ui/view/drtxtob.cxx | 34 -
sd/source/ui/view/drtxtob1.cxx | 4
sd/source/ui/view/drviews1.cxx | 2
sd/source/ui/view/drviews2.cxx | 78 +-
sd/source/ui/view/drviews3.cxx | 18
sd/source/ui/view/drviews4.cxx | 4
sd/source/ui/view/drviews5.cxx | 2
sd/source/ui/view/drviews6.cxx | 2
sd/source/ui/view/drviews7.cxx | 84 +-
sd/source/ui/view/drviews8.cxx | 2
sd/source/ui/view/drviews9.cxx | 80 +-
sd/source/ui/view/drviewsa.cxx | 2
sd/source/ui/view/drviewsb.cxx | 6
sd/source/ui/view/drviewsd.cxx | 2
sd/source/ui/view/drviewse.cxx | 8
sd/source/ui/view/drviewsf.cxx | 26
sd/source/ui/view/drviewsi.cxx | 4
sd/source/ui/view/frmview.cxx | 4
sd/source/ui/view/outlnvs2.cxx | 2
sd/source/ui/view/outlnvsh.cxx | 32 -
sd/source/ui/view/outlview.cxx | 10
sd/source/ui/view/presvish.cxx | 2
sd/source/ui/view/sdview.cxx | 10
sd/source/ui/view/sdview3.cxx | 18
sd/source/ui/view/sdview4.cxx | 8
sd/source/ui/view/unmodpg.cxx | 12
sd/source/ui/view/viewshe2.cxx | 2
sd/source/ui/view/viewshe3.cxx | 14
sd/source/ui/view/viewshel.cxx | 2
sdext/source/presenter/PresenterTimer.cxx | 2
sfx2/source/appl/app.cxx | 2
sfx2/source/appl/appbas.cxx | 6
sfx2/source/appl/appinit.cxx | 4
sfx2/source/appl/appmisc.cxx | 2
sfx2/source/appl/appopen.cxx | 74 +-
sfx2/source/appl/appserv.cxx | 14
sfx2/source/appl/appuno.cxx | 4
sfx2/source/appl/childwin.cxx | 6
sfx2/source/appl/linkmgr2.cxx | 6
sfx2/source/appl/macroloader.cxx | 4
sfx2/source/appl/sfxpicklist.cxx | 4
sfx2/source/appl/shutdownicon.cxx | 8
sfx2/source/appl/workwin.cxx | 10
sfx2/source/appl/xpackcreator.cxx | 6
sfx2/source/bastyp/bitset.cxx | 2
sfx2/source/bastyp/fltfnc.cxx | 6
sfx2/source/bastyp/progress.cxx | 4
sfx2/source/config/evntconf.cxx | 6
sfx2/source/control/bindings.cxx | 4
sfx2/source/control/dispatch.cxx | 8
sfx2/source/dialog/basedlgs.cxx | 4
sfx2/source/dialog/dinfdlg.cxx | 10
sfx2/source/dialog/dockwin.cxx | 6
sfx2/source/dialog/filedlghelper.cxx | 82 +-
sfx2/source/dialog/mailmodel.cxx | 4
sfx2/source/dialog/recfloat.cxx | 4
sfx2/source/dialog/srchdlg.cxx | 2
sfx2/source/dialog/tabdlg.cxx | 2
sfx2/source/dialog/taskpane.cxx | 2
sfx2/source/dialog/titledockwin.cxx | 2
sfx2/source/dialog/versdlg.cxx | 4
sfx2/source/doc/docinsert.cxx | 2
sfx2/source/doc/doctempl.cxx | 4
sfx2/source/doc/guisaveas.cxx | 8
sfx2/source/doc/new.cxx | 4
sfx2/source/doc/objcont.cxx | 4
sfx2/source/doc/objmisc.cxx | 40 -
sfx2/source/doc/objserv.cxx | 40 -
sfx2/source/doc/objstor.cxx | 58 -
sfx2/source/doc/objxtor.cxx | 16
sfx2/source/doc/sfxbasemodel.cxx | 40 -
sfx2/source/menu/mnuitem.cxx | 2
sfx2/source/menu/thessubmenu.cxx | 2
sfx2/source/sidebar/ControllerItem.cxx | 2
sfx2/source/sidebar/ResourceManager.cxx | 10
sfx2/source/sidebar/Tools.cxx | 4
sfx2/source/statbar/stbitem.cxx | 2
sfx2/source/toolbox/tbxitem.cxx | 2
sfx2/source/view/frame.cxx | 26
sfx2/source/view/frame2.cxx | 2
sfx2/source/view/frmload.cxx | 2
sfx2/source/view/viewfrm.cxx | 90 +-
sfx2/source/view/viewfrm2.cxx | 6
sfx2/source/view/viewprn.cxx | 14
sfx2/source/view/viewsh.cxx | 18
sot/source/sdstor/stgelem.cxx | 2
sot/source/sdstor/ucbstorage.cxx | 2
sot/source/unoolestorage/xolesimplestorage.cxx | 2
starmath/source/cursor.cxx | 20
starmath/source/dialog.cxx | 4
starmath/source/mathtype.cxx | 2
starmath/source/node.cxx | 4
starmath/source/smdetect.cxx | 4
starmath/source/unomodel.cxx | 2
starmath/source/view.cxx | 2
starmath/source/visitors.cxx | 2
stoc/source/inspect/introspection.cxx | 6
stoc/source/javavm/javavm.cxx | 2
stoc/source/proxy_factory/proxyfac.cxx | 2
store/source/lockbyte.cxx | 2
svl/source/config/ctloptions.cxx | 16
svl/source/filerec/filerec.cxx | 12
svl/source/fsstor/fsfactory.cxx | 2
svl/source/fsstor/fsstorage.cxx | 2
svl/source/inc/passwordcontainer.hxx | 2
svl/source/inc/poolio.hxx | 6
svl/source/items/cntwall.cxx | 4
svl/source/items/ilstitem.cxx | 2
svl/source/items/itempool.cxx | 24
svl/source/items/itemset.cxx | 2
svl/source/items/lckbitem.cxx | 4
svl/source/items/poolio.cxx | 46 -
svl/source/items/rngitem.cxx | 10
svl/source/items/srchitem.cxx | 16
svl/source/items/style.cxx | 14
svl/source/passwordcontainer/passwordcontainer.cxx | 8
svl/source/undo/undo.cxx | 14
svtools/source/brwbox/brwbox1.cxx | 36 -
svtools/source/brwbox/brwbox2.cxx | 36 -
svtools/source/brwbox/brwbox3.cxx | 4
svtools/source/brwbox/datwin.cxx | 48 -
svtools/source/config/colorcfg.cxx | 8
svtools/source/contnr/imivctl2.cxx | 14
svtools/source/contnr/templwin.cxx | 2
svtools/source/contnr/treelist.cxx | 2
svtools/source/contnr/treelistbox.cxx | 20
svtools/source/control/inettbc.cxx | 2
svtools/source/control/tabbar.cxx | 4
svtools/source/control/toolbarmenu.cxx | 4
svtools/source/dialogs/PlaceEditDialog.cxx | 2
svtools/source/dialogs/addresstemplate.cxx | 6
svtools/source/graphic/grfmgr2.cxx | 4
svtools/source/misc/ehdl.cxx | 4
svtools/source/misc/embedtransfer.cxx | 2
svtools/source/svrtf/parrtf.cxx | 2
svtools/source/table/tablecontrol.cxx | 2
svtools/source/uno/svtxgridcontrol.cxx | 2
svtools/source/uno/treecontrolpeer.cxx | 4
svx/source/accessibility/AccessibleShape.cxx | 2
svx/source/accessibility/svxrectctaccessiblecontext.cxx | 4
svx/source/customshapes/EnhancedCustomShape2d.cxx | 2
svx/source/customshapes/EnhancedCustomShape3d.cxx | 4
svx/source/customshapes/EnhancedCustomShapeEngine.cxx | 6
svx/source/dialog/_bmpmask.cxx | 4
svx/source/dialog/_contdlg.cxx | 4
svx/source/dialog/connctrl.cxx | 16
svx/source/dialog/ctredlin.cxx | 2
svx/source/dialog/dlgctl3d.cxx | 4
svx/source/dialog/docrecovery.cxx | 22
svx/source/dialog/fntctrl.cxx | 2
svx/source/dialog/graphctl.cxx | 2
svx/source/dialog/hdft.cxx | 2
svx/source/dialog/imapdlg.cxx | 4
svx/source/dialog/imapwnd.cxx | 4
svx/source/dialog/rulritem.cxx | 18
svx/source/dialog/srchdlg.cxx | 40 -
svx/source/engine3d/camera3d.cxx | 2
svx/source/engine3d/dragmt3d.cxx | 6
svx/source/engine3d/float3d.cxx | 70 +-
svx/source/engine3d/obj3d.cxx | 32 -
svx/source/engine3d/scene3d.cxx | 4
svx/source/engine3d/view3d.cxx | 20
svx/source/fmcomp/fmgridif.cxx | 2
svx/source/fmcomp/gridcell.cxx | 2
svx/source/form/filtnav.cxx | 4
svx/source/form/fmPropBrw.cxx | 2
svx/source/form/fmshell.cxx | 22
svx/source/form/fmshimp.cxx | 2
svx/source/form/fmvwimp.cxx | 8
svx/source/form/navigatortree.cxx | 2
svx/source/gallery2/GalleryControl.cxx | 6
svx/source/gallery2/galbrws.cxx | 6
svx/source/gallery2/galbrws1.cxx | 4
svx/source/gallery2/galctrl.cxx | 4
svx/source/gallery2/galtheme.cxx | 6
svx/source/items/algitem.cxx | 4
svx/source/items/clipfmtitem.cxx | 2
svx/source/items/hlnkitem.cxx | 12
svx/source/items/pageitem.cxx | 4
svx/source/sdr/contact/viewobjectcontactofgraphic.cxx | 2
svx/source/sdr/properties/attributeproperties.cxx | 2
svx/source/sdr/properties/emptyproperties.cxx | 26
svx/source/sdr/properties/groupproperties.cxx | 20
svx/source/sdr/properties/measureproperties.cxx | 2
svx/source/sdr/properties/textproperties.cxx | 4
svx/source/sidebar/nbdtmg.cxx | 2
svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx | 30
svx/source/sidebar/paragraph/ParaLineSpacingControl.hxx | 2
svx/source/sidebar/paragraph/ParaPropertyPanel.cxx | 28
svx/source/sidebar/possize/PosSizePropertyPanel.cxx | 4
svx/source/svdraw/clonelist.cxx | 12
svx/source/svdraw/sdrpagewindow.cxx | 4
svx/source/svdraw/svdattr.cxx | 12
svx/source/svdraw/svdcrtv.cxx | 12
svx/source/svdraw/svddrag.cxx | 24
svx/source/svdraw/svddrgv.cxx | 64 +-
svx/source/svdraw/svdedtv.cxx | 194 +++---
svx/source/svdraw/svdedtv1.cxx | 14
svx/source/svdraw/svdedtv2.cxx | 8
svx/source/svdraw/svdedxv.cxx | 28
svx/source/svdraw/svdglue.cxx | 2
svx/source/svdraw/svdhdl.cxx | 2
svx/source/svdraw/svdhlpln.cxx | 2
svx/source/svdraw/svdibrow.cxx | 96 +--
svx/source/svdraw/svdlayer.cxx | 4
svx/source/svdraw/svdmark.cxx | 4
svx/source/svdraw/svdmodel.cxx | 80 +-
svx/source/svdraw/svdmrkv.cxx | 38 -
svx/source/svdraw/svdmrkv1.cxx | 6
svx/source/svdraw/svdoashp.cxx | 42 -
svx/source/svdraw/svdocapt.cxx | 44 -
svx/source/svdraw/svdocirc.cxx | 10
svx/source/svdraw/svdoedge.cxx | 100 +--
svx/source/svdraw/svdogrp.cxx | 92 +-
svx/source/svdraw/svdomeas.cxx | 62 +-
svx/source/svdraw/svdoole2.cxx | 10
svx/source/svdraw/svdopage.cxx | 28
svx/source/svdraw/svdopath.cxx | 92 +-
svx/source/svdraw/svdorect.cxx | 22
svx/source/svdraw/svdotext.cxx | 32 -
svx/source/svdraw/svdotxat.cxx | 8
svx/source/svdraw/svdotxdr.cxx | 2
svx/source/svdraw/svdotxed.cxx | 2
svx/source/svdraw/svdotxtr.cxx | 12
svx/source/svdraw/svdouno.cxx | 34 -
svx/source/svdraw/svdoutl.cxx | 2
svx/source/svdraw/svdovirt.cxx | 2
svx/source/svdraw/svdpage.cxx | 62 +-
svx/source/svdraw/svdpagv.cxx | 2
svx/source/svdraw/svdpntv.cxx | 54 -
svx/source/svdraw/svdpoev.cxx | 6
svx/source/svdraw/svdsnpv.cxx | 48 -
svx/source/svdraw/svdtext.cxx | 4
svx/source/svdraw/svdtrans.cxx | 2
svx/source/svdraw/svdundo.cxx | 92 +-
svx/source/svdraw/svdview.cxx | 56 -
svx/source/svdraw/svdxcgv.cxx | 12
svx/source/table/svdotable.cxx | 40 -
svx/source/table/tablecontroller.cxx | 12
svx/source/table/tablertfexporter.cxx | 2
svx/source/table/tablertfimporter.cxx | 4
svx/source/tbxctrls/colrctrl.cxx | 2
svx/source/tbxctrls/extrusioncontrols.cxx | 4
svx/source/tbxctrls/fillctrl.cxx | 6
svx/source/tbxctrls/fontworkgallery.cxx | 2
svx/source/tbxctrls/layctrl.cxx | 2
svx/source/tbxctrls/tbcontrl.cxx | 4
svx/source/unodraw/UnoGraphicExporter.cxx | 16
svx/source/unodraw/unomtabl.cxx | 2
svx/source/unodraw/unopage.cxx | 2
svx/source/unodraw/unopool.cxx | 2
svx/source/unodraw/unoshap2.cxx | 12
svx/source/unodraw/unoshap3.cxx | 4
svx/source/unodraw/unoshape.cxx | 12
svx/source/unodraw/unoshtxt.cxx | 4
svx/source/xml/xmleohlp.cxx | 2
svx/source/xml/xmlgrhlp.cxx | 2
svx/source/xml/xmlxtexp.cxx | 2
svx/source/xoutdev/xattr2.cxx | 4
svx/source/xoutdev/xtabbtmp.cxx | 2
sw/inc/IDocumentState.hxx | 2
sw/inc/crstate.hxx | 4
sw/inc/doc.hxx | 2
sw/inc/fmtcol.hxx | 4
sw/inc/ndarr.hxx | 8
sw/qa/extras/odfimport/odfimport.cxx | 2
sw/qa/extras/ooxmlexport/ooxmlexport.cxx | 8
sw/source/core/access/accmap.cxx | 2
sw/source/core/access/accnotexthyperlink.cxx | 6
sw/source/core/access/accpara.cxx | 10
sw/source/core/attr/cellatr.cxx | 4
sw/source/core/attr/hints.cxx | 2
sw/source/core/bastyp/init.cxx | 6
sw/source/core/bastyp/tabcol.cxx | 2
sw/source/core/crsr/crsrsh.cxx | 16
sw/source/core/crsr/crstrvl.cxx | 6
sw/source/core/crsr/findattr.cxx | 4
sw/source/core/crsr/findtxt.cxx | 4
sw/source/core/crsr/pam.cxx | 4
sw/source/core/crsr/swcrsr.cxx | 26
sw/source/core/crsr/trvlfnfl.cxx | 2
sw/source/core/crsr/trvlreg.cxx | 16
sw/source/core/crsr/trvltbl.cxx | 2
sw/source/core/crsr/unocrsr.cxx | 2
sw/source/core/crsr/viscrs.cxx | 6
sw/source/core/doc/acmplwrd.cxx | 4
sw/source/core/doc/doc.cxx | 28
sw/source/core/doc/docbm.cxx | 12
sw/source/core/doc/doccomp.cxx | 12
sw/source/core/doc/docdde.cxx | 4
sw/source/core/doc/docdesc.cxx | 10
sw/source/core/doc/docdraw.cxx | 8
sw/source/core/doc/docedt.cxx | 48 -
sw/source/core/doc/docfld.cxx | 28
sw/source/core/doc/docglbl.cxx | 2
sw/source/core/doc/doclay.cxx | 6
sw/source/core/doc/docnum.cxx | 10
sw/source/core/doc/docredln.cxx | 58 -
sw/source/core/doc/docsort.cxx | 6
sw/source/core/doc/doctxm.cxx | 2
sw/source/core/doc/gctable.cxx | 4
sw/source/core/doc/tblrwcl.cxx | 10
sw/source/core/docnode/ndcopy.cxx | 4
sw/source/core/docnode/ndsect.cxx | 30
sw/source/core/docnode/ndtbl.cxx | 8
sw/source/core/docnode/ndtbl1.cxx | 8
sw/source/core/docnode/node.cxx | 2
sw/source/core/docnode/nodes.cxx | 8
sw/source/core/docnode/section.cxx | 16
sw/source/core/draw/dflyobj.cxx | 4
sw/source/core/draw/drawdoc.cxx | 4
sw/source/core/draw/dview.cxx | 10
sw/source/core/edit/acorrect.cxx | 2
sw/source/core/edit/autofmt.cxx | 12
sw/source/core/edit/eddel.cxx | 4
sw/source/core/edit/edfld.cxx | 10
sw/source/core/edit/editsh.cxx | 2
sw/source/core/edit/ednumber.cxx | 4
sw/source/core/fields/docufld.cxx | 2
sw/source/core/fields/expfld.cxx | 4
sw/source/core/fields/usrfld.cxx | 2
sw/source/core/frmedt/fecopy.cxx | 2
sw/source/core/frmedt/fedesc.cxx | 2
sw/source/core/frmedt/feshview.cxx | 4
sw/source/core/frmedt/fetab.cxx | 4
sw/source/core/frmedt/tblsel.cxx | 24
sw/source/core/inc/drawfont.hxx | 2
sw/source/core/layout/atrfrm.cxx | 14
sw/source/core/layout/flowfrm.cxx | 4
sw/source/core/layout/fly.cxx | 2
sw/source/core/layout/ftnfrm.cxx | 4
sw/source/core/layout/newfrm.cxx | 2
sw/source/core/layout/sectfrm.cxx | 4
sw/source/core/layout/trvlfrm.cxx | 8
sw/source/core/layout/wsfrm.cxx | 6
sw/source/core/ole/ndole.cxx | 6
sw/source/core/table/swtable.cxx | 4
sw/source/core/text/frmcrsr.cxx | 8
sw/source/core/text/frmform.cxx | 6
sw/source/core/text/inftxt.cxx | 2
sw/source/core/text/inftxt.hxx | 26
sw/source/core/text/itratr.cxx | 4
sw/source/core/text/itrcrsr.cxx | 8
sw/source/core/text/itrform2.cxx | 2
sw/source/core/text/porfld.cxx | 2
sw/source/core/text/pormulti.cxx | 12
sw/source/core/text/portxt.cxx | 4
sw/source/core/text/redlnitr.cxx | 2
sw/source/core/text/txtfly.cxx | 4
sw/source/core/text/txtfrm.cxx | 2
sw/source/core/text/txthyph.cxx | 6
sw/source/core/text/txtpaint.cxx | 4
sw/source/core/tox/txmsrt.cxx | 2
sw/source/core/txtnode/fmtatr2.cxx | 2
sw/source/core/txtnode/ndtxt.cxx | 24
sw/source/core/txtnode/thints.cxx | 6
sw/source/core/txtnode/txtatr2.cxx | 2
sw/source/core/txtnode/txtedt.cxx | 16
sw/source/core/undo/SwUndoFmt.cxx | 4
sw/source/core/undo/rolbck.cxx | 2
sw/source/core/undo/undobj.cxx | 4
sw/source/core/undo/unnum.cxx | 2
sw/source/core/undo/unredln.cxx | 12
sw/source/core/undo/untbl.cxx | 2
sw/source/core/unocore/unochart.cxx | 6
sw/source/core/unocore/unocoll.cxx | 6
sw/source/core/unocore/unocrsrhelper.cxx | 4
sw/source/core/unocore/unofield.cxx | 10
sw/source/core/unocore/unoframe.cxx | 4
sw/source/core/unocore/unoftn.cxx | 2
sw/source/core/unocore/unoidx.cxx | 4
sw/source/core/unocore/unoobj.cxx | 6
sw/source/core/unocore/unoparagraph.cxx | 6
sw/source/core/unocore/unoredline.cxx | 2
sw/source/core/unocore/unorefmk.cxx | 2
sw/source/core/unocore/unosect.cxx | 8
sw/source/core/unocore/unostyle.cxx | 10
sw/source/core/unocore/unotbl.cxx | 8
sw/source/core/unocore/unotext.cxx | 8
sw/source/filter/ascii/wrtasc.cxx | 2
sw/source/filter/basflt/iodetect.cxx | 8
sw/source/filter/basflt/shellio.cxx | 2
sw/source/filter/html/htmlbas.cxx | 4
sw/source/filter/html/htmlcss1.cxx | 8
sw/source/filter/html/htmldraw.cxx | 4
sw/source/filter/html/htmlfld.cxx | 4
sw/source/filter/html/htmlform.cxx | 22
sw/source/filter/html/htmlgrin.cxx | 10
sw/source/filter/html/htmlnum.cxx | 2
sw/source/filter/html/htmlplug.cxx | 2
sw/source/filter/html/htmlsect.cxx | 4
sw/source/filter/html/htmltab.cxx | 10
sw/source/filter/html/parcss1.cxx | 4
sw/source/filter/html/swhtml.cxx | 132 ++--
sw/source/filter/html/swhtml.hxx | 42 -
sw/source/filter/inc/fltshell.hxx | 2
sw/source/filter/ww1/fltshell.cxx | 6
sw/source/filter/ww1/w1class.cxx | 10
sw/source/filter/ww1/w1filter.cxx | 14
sw/source/filter/ww8/docxattributeoutput.cxx | 2
sw/source/filter/ww8/docxattributeoutput.hxx | 2
sw/source/filter/ww8/rtfattributeoutput.cxx | 2
sw/source/filter/ww8/rtfexport.cxx | 4
sw/source/filter/ww8/wrtw8nds.cxx | 2
sw/source/filter/ww8/wrtw8sty.cxx | 8
sw/source/filter/ww8/wrtww8.cxx | 14
sw/source/filter/ww8/wrtww8gr.cxx | 2
sw/source/filter/ww8/ww8atr.cxx | 2
sw/source/filter/ww8/ww8graf.cxx | 2
sw/source/filter/ww8/ww8par.cxx | 4
sw/source/filter/ww8/ww8par6.cxx | 4
sw/source/filter/ww8/ww8scan.cxx | 46 -
sw/source/filter/xml/swxml.cxx | 6
sw/source/filter/xml/xmlimp.cxx | 20
sw/source/filter/xml/xmlimpit.cxx | 12
sw/source/filter/xml/xmltbli.cxx | 4
sw/source/ui/app/appenv.cxx | 6
sw/source/ui/app/apphdl.cxx | 6
sw/source/ui/app/appopt.cxx | 4
sw/source/ui/app/docsh.cxx | 18
sw/source/ui/app/docsh2.cxx | 12
sw/source/ui/app/docshini.cxx | 4
sw/source/ui/app/docst.cxx | 4
sw/source/ui/chrdlg/break.cxx | 6
sw/source/ui/chrdlg/chardlg.cxx | 4
sw/source/ui/chrdlg/pardlg.cxx | 4
sw/source/ui/config/optpage.cxx | 24
sw/source/ui/dbui/addresslistdialog.cxx | 8
sw/source/ui/dbui/createaddresslistdialog.cxx | 10
sw/source/ui/dbui/dbinsdlg.cxx | 28
sw/source/ui/dbui/dbmgr.cxx | 4
sw/source/ui/dbui/mailmergechildwindow.cxx | 6
sw/source/ui/dbui/mailmergehelper.cxx | 2
sw/source/ui/dbui/mailmergewizard.cxx | 2
sw/source/ui/dbui/mmaddressblockpage.cxx | 10
sw/source/ui/dbui/mmdocselectpage.cxx | 2
sw/source/ui/dbui/mmmergepage.cxx | 2
sw/source/ui/dbui/mmoutputpage.cxx | 14
sw/source/ui/dialog/SwSpellDialogChildWindow.cxx | 10
sw/source/ui/dialog/docstdlg.cxx | 6
sw/source/ui/dialog/uiregionsw.cxx | 28
sw/source/ui/dochdl/swdtflvr.cxx | 10
sw/source/ui/docvw/edtdd.cxx | 2
sw/source/ui/docvw/edtwin.cxx | 24
sw/source/ui/envelp/envfmt.cxx | 4
sw/source/ui/envelp/mailmrge.cxx | 26
sw/source/ui/fldui/flddinf.cxx | 4
sw/source/ui/fldui/javaedit.cxx | 2
sw/source/ui/fmtui/tmpdlg.cxx | 2
sw/source/ui/frmdlg/column.cxx | 6
sw/source/ui/frmdlg/cption.cxx | 4
sw/source/ui/frmdlg/frmpage.cxx | 46 -
sw/source/ui/frmdlg/wrap.cxx | 12
sw/source/ui/inc/scroll.hxx | 2
sw/source/ui/inc/swuicnttab.hxx | 2
sw/source/ui/inc/view.hxx | 2
sw/source/ui/index/cnttab.cxx | 28
sw/source/ui/index/swuiidxmrk.cxx | 10
sw/source/ui/lingu/olmenu.cxx | 4
sw/source/ui/misc/bookmark.cxx | 2
sw/source/ui/misc/docfnote.cxx | 8
sw/source/ui/misc/glosbib.cxx | 8
sw/source/ui/misc/glosdoc.cxx | 2
sw/source/ui/misc/glossary.cxx | 4
sw/source/ui/misc/insfnote.cxx | 8
sw/source/ui/misc/num.cxx | 4
sw/source/ui/misc/outline.cxx | 12
sw/source/ui/misc/pgfnote.cxx | 4
sw/source/ui/misc/pggrid.cxx | 10
sw/source/ui/misc/redlndlg.cxx | 2
sw/source/ui/misc/srtdlg.cxx | 10
sw/source/ui/ribbar/conrect.cxx | 4
sw/source/ui/ribbar/drawbase.cxx | 2
sw/source/ui/shells/annotsh.cxx | 24
sw/source/ui/shells/basesh.cxx | 20
sw/source/ui/shells/beziersh.cxx | 8
sw/source/ui/shells/drawsh.cxx | 4
sw/source/ui/shells/drwbassh.cxx | 2
sw/source/ui/shells/drwtxtex.cxx | 8
sw/source/ui/shells/drwtxtsh.cxx | 10
sw/source/ui/shells/frmsh.cxx | 12
sw/source/ui/shells/langhelper.cxx | 2
sw/source/ui/shells/listsh.cxx | 2
sw/source/ui/shells/tabsh.cxx | 12
sw/source/ui/shells/textdrw.cxx | 2
sw/source/ui/shells/textfld.cxx | 8
sw/source/ui/shells/textidx.cxx | 4
sw/source/ui/shells/textsh.cxx | 26
sw/source/ui/shells/textsh1.cxx | 26
sw/source/ui/shells/txtattr.cxx | 10
sw/source/ui/shells/txtnum.cxx | 10
sw/source/ui/sidebar/PagePropertyPanel.cxx | 2
sw/source/ui/sidebar/WrapPropertyPanel.cxx | 14
sw/source/ui/smartmenu/stmenu.cxx | 2
sw/source/ui/table/tabledlg.cxx | 80 +-
sw/source/ui/table/tautofmt.cxx | 6
sw/source/ui/uiview/pview.cxx | 2
sw/source/ui/uiview/scroll.cxx | 4
sw/source/ui/uiview/view.cxx | 8
sw/source/ui/uiview/view2.cxx | 14
sw/source/ui/uiview/viewdraw.cxx | 10
sw/source/ui/uiview/viewport.cxx | 4
sw/source/ui/uiview/viewprt.cxx | 10
sw/source/ui/uiview/viewsrch.cxx | 10
sw/source/ui/uiview/viewstat.cxx | 6
sw/source/ui/uno/SwXDocumentSettings.cxx | 4
sw/source/ui/uno/swdetect.cxx | 2
sw/source/ui/uno/unoatxt.cxx | 4
sw/source/ui/uno/unotxdoc.cxx | 8
sw/source/ui/utlui/content.cxx | 8
sw/source/ui/utlui/glbltree.cxx | 2
sw/source/ui/utlui/navipi.cxx | 4
sw/source/ui/utlui/prcntfld.cxx | 2
sw/source/ui/utlui/swrenamexnameddlg.cxx | 2
sw/source/ui/utlui/uitool.cxx | 4
sw/source/ui/vba/vbainformationhelper.cxx | 2
sw/source/ui/vba/vbarevision.cxx | 4
sw/source/ui/vba/vbatablehelper.cxx | 2
sw/source/ui/web/wview.cxx | 2
sw/source/ui/wrtsh/wrtsh2.cxx | 6
testtools/source/bridgetest/bridgetest.cxx | 8
toolkit/source/awt/vclxwindow.cxx | 4
toolkit/source/controls/dialogcontrol.cxx | 2
toolkit/source/controls/unocontrols.cxx | 2
tools/source/generic/poly.cxx | 4
ucb/source/ucp/cmis/cmis_content.cxx | 2
ucb/source/ucp/cmis/cmis_datasupplier.cxx | 2
ucb/source/ucp/cmis/cmis_repo_content.cxx | 2
ucb/source/ucp/ftp/ftpdirp.hxx | 4
ucb/source/ucp/gio/gio_content.cxx | 4
ucb/source/ucp/gio/gio_datasupplier.cxx | 4
ucb/source/ucp/tdoc/tdoc_content.cxx | 6
ucb/source/ucp/tdoc/tdoc_datasupplier.cxx | 6
ucb/source/ucp/webdav-neon/ContentProperties.cxx | 8
ucb/source/ucp/webdav-neon/NeonSession.cxx | 2
ucb/source/ucp/webdav-neon/webdavcontent.cxx | 2
ucbhelper/source/client/proxydecider.cxx | 6
unotest/source/cpp/filters-test.cxx | 2
unotools/source/config/bootstrap.cxx | 4
unotools/source/config/cmdoptions.cxx | 2
unotools/source/config/compatibility.cxx | 2
unotools/source/config/dynamicmenuoptions.cxx | 2
unotools/source/config/lingucfg.cxx | 10
unotools/source/i18n/localedatawrapper.cxx | 18
unotools/source/i18n/transliterationwrapper.cxx | 2
unotools/source/misc/componentresmodule.cxx | 2
unotools/source/ucbhelper/ucbstreamhelper.cxx | 4
unotools/source/ucbhelper/xtempfile.cxx | 2
unoxml/source/events/eventdispatcher.cxx | 8
uui/source/fltdlg.cxx | 2
uui/source/logindlg.cxx | 6
uui/source/masterpasscrtdlg.cxx | 2
uui/source/passworddlg.cxx | 8
vbahelper/source/vbahelper/vbahelper.cxx | 2
vcl/generic/fontmanager/fontconfig.cxx | 2
vcl/generic/fontmanager/fontmanager.cxx | 2
vcl/generic/fontmanager/parseAFM.cxx | 4
vcl/generic/print/genpspgraphics.cxx | 10
vcl/headless/svptext.cxx | 4
vcl/source/app/dbggui.cxx | 2
vcl/source/app/help.cxx | 2
vcl/source/app/svapp.cxx | 2
vcl/source/control/button.cxx | 4
vcl/source/control/combobox.cxx | 2
vcl/source/control/ctrl.cxx | 6
vcl/source/control/ilstbox.cxx | 2
vcl/source/control/lstbox.cxx | 4
vcl/source/control/tabctrl.cxx | 12
vcl/source/edit/textdata.cxx | 4
vcl/source/edit/vclmedit.cxx | 4
vcl/source/filter/graphicfilter.cxx | 2
vcl/source/filter/igif/gifread.cxx | 4
vcl/source/filter/sgvmain.cxx | 4
vcl/source/filter/wmf/enhwmf.cxx | 8
vcl/source/filter/wmf/winmtf.cxx | 2
vcl/source/fontsubset/sft.cxx | 4
vcl/source/gdi/bitmap3.cxx | 2
vcl/source/gdi/gfxlink.cxx | 2
vcl/source/gdi/metaact.cxx | 32 -
vcl/source/gdi/outdev.cxx | 132 ++--
vcl/source/gdi/outdev3.cxx | 48 -
vcl/source/gdi/outdev4.cxx | 8
vcl/source/gdi/outmap.cxx | 10
vcl/source/gdi/pdfwriter_impl.cxx | 70 +-
vcl/source/gdi/print.cxx | 18
vcl/source/gdi/print2.cxx | 4
vcl/source/gdi/print3.cxx | 14
vcl/source/gdi/svgdata.cxx | 2
vcl/source/gdi/virdev.cxx | 8
vcl/source/gdi/wall.cxx | 4
vcl/source/window/brdwin.cxx | 18
vcl/source/window/btndlg.cxx | 4
vcl/source/window/builder.cxx | 26
vcl/source/window/dialog.cxx | 12
vcl/source/window/dlgctrl.cxx | 2
vcl/source/window/dockmgr.cxx | 24
vcl/source/window/dockwin.cxx | 14
vcl/source/window/floatwin.cxx | 14
vcl/source/window/menu.cxx | 6
vcl/source/window/printdlg.cxx | 18
vcl/source/window/scrwnd.cxx | 4
vcl/source/window/split.cxx | 2
vcl/source/window/syswin.cxx | 2
vcl/source/window/toolbox.cxx | 152 ++--
vcl/source/window/toolbox2.cxx | 36 -
vcl/source/window/window.cxx | 308 +++++-----
vcl/source/window/window2.cxx | 38 -
vcl/source/window/winproc.cxx | 36 -
vcl/source/window/wrkwin.cxx | 4
vcl/unx/generic/app/i18n_ic.cxx | 2
vcl/unx/generic/app/i18n_status.cxx | 6
vcl/unx/generic/app/saldisp.cxx | 4
vcl/unx/generic/gdi/salgdi.cxx | 10
vcl/unx/generic/gdi/salgdi2.cxx | 10
vcl/unx/generic/printer/printerinfomanager.cxx | 4
vcl/unx/generic/window/salframe.cxx | 6
vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx | 2
vcl/unx/gtk/window/gtksalframe.cxx | 8
writerfilter/source/filter/WriterFilterDetection.cxx | 2
writerperfect/source/common/WPXSvStream.cxx | 6
writerperfect/source/draw/CDRImportFilter.cxx | 2
writerperfect/source/draw/CMXImportFilter.cxx | 2
writerperfect/source/draw/FreehandImportFilter.cxx | 2
writerperfect/source/draw/MSPUBImportFilter.cxx | 2
writerperfect/source/draw/VisioImportFilter.cxx | 2
writerperfect/source/draw/WPGImportFilter.cxx | 2
writerperfect/source/impress/KeynoteImportFilter.cxx | 2
writerperfect/source/writer/AbiWordImportFilter.cxx | 2
writerperfect/source/writer/EBookImportFilter.cxx | 4
writerperfect/source/writer/MSWorksImportFilter.cxx | 2
writerperfect/source/writer/MWAWImportFilter.cxx | 2
writerperfect/source/writer/WordPerfectImportFilter.cxx | 2
xmloff/source/chart/PropertyMaps.cxx | 4
xmloff/source/chart/XMLSymbolTypePropertyHdl.cxx | 4
xmloff/source/core/nmspmap.cxx | 4
xmloff/source/core/xmluconv.cxx | 2
xmloff/source/draw/XMLNumberStyles.cxx | 6
xmloff/source/draw/eventimp.cxx | 2
xmloff/source/draw/sdpropls.cxx | 6
xmloff/source/draw/shapeexport.cxx | 2
xmloff/source/draw/ximpshap.cxx | 6
xmloff/source/forms/elementexport.cxx | 2
xmloff/source/meta/xmlmetae.cxx | 2
xmloff/source/style/numehelp.cxx | 12
xmloff/source/style/prhdlfac.cxx | 4
xmloff/source/style/xmlimppr.cxx | 2
xmloff/source/style/xmlnumfe.cxx | 18
xmloff/source/style/xmlnumfi.cxx | 2
xmloff/source/text/XMLChangeElementImportContext.cxx | 4
xmloff/source/text/txtfldi.cxx | 2
xmloff/source/text/txtimp.cxx | 2
xmloff/source/text/txtprhdl.cxx | 4
xmloff/source/transform/EventOASISTContext.cxx | 10
xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx | 4
xmlscript/source/xmldlg_imexp/xmldlg_import.cxx | 2
xmlsecurity/source/component/documentdigitalsignatures.cxx | 4
xmlsecurity/source/dialogs/certificatechooser.cxx | 6
xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx | 2
xmlsecurity/source/helper/xmlsignaturehelper2.cxx | 2
xmlsecurity/source/helper/xsecparser.cxx | 4
1281 files changed, 6618 insertions(+), 6478 deletions(-)
New commits:
commit 3de97578e4720f837c348ba48d8e50599ad937d1
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Jan 28 20:18:11 2014 +0100
Clang plugin to warn about implicit conversion of literals to bool
...which warns about apparent errors like
n == KIND_FOO || KIND_BAR
that should have read
n == KIND_FOO || n == KIND_BAR
It also warns about trivial (mis-)uses of 0/1 and sal_False/True like
while (1) { ... }
instead of
while (true) { ... }
which it can automatically rewrite.
It does not warn if the relevant code is inside a macro in a .h (i.e., C)
include file, nor when a string literal is used in the assert macro like
assert(!"this cannot happen");
Change-Id: If8c305a25e5da15e78f6139b5b0c0e868f06d4f3
diff --git a/compilerplugins/clang/literaltoboolconversion.cxx b/compilerplugins/clang/literaltoboolconversion.cxx
new file mode 100644
index 0000000..a3779e2
--- /dev/null
+++ b/compilerplugins/clang/literaltoboolconversion.cxx
@@ -0,0 +1,140 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "clang/Lex/Lexer.h"
+
+#include "plugin.hxx"
+
+namespace {
+
+class LiteralToBoolConversion:
+ public RecursiveASTVisitor<LiteralToBoolConversion>,
+ public loplugin::RewritePlugin
+{
+public:
+ explicit LiteralToBoolConversion(InstantiationData const & data):
+ RewritePlugin(data) {}
+
+ virtual void run() override
+ { TraverseDecl(compiler.getASTContext().getTranslationUnitDecl()); }
+
+ bool VisitImplicitCastExpr(ImplicitCastExpr const * expr);
+};
+
+bool LiteralToBoolConversion::VisitImplicitCastExpr(
+ ImplicitCastExpr const * expr)
+{
+ if (ignoreLocation(expr)) {
+ return true;
+ }
+ if (!expr->getType()->isBooleanType()) {
+ return true;
+ }
+ Expr const * sub = expr->getSubExpr()->IgnoreParenCasts();
+ if (sub->getType()->isBooleanType()) {
+ return true;
+ }
+ IntegerLiteral const * lit = dyn_cast<IntegerLiteral>(sub);
+ if (lit != nullptr && lit->getValue().getLimitedValue() <= 1) {
+ SourceLocation loc { sub->getLocStart() };
+ while (compiler.getSourceManager().isMacroArgExpansion(loc)) {
+ loc = compiler.getSourceManager().getImmediateMacroCallerLoc(loc);
+ }
+ if (compiler.getSourceManager().isMacroBodyExpansion(loc)) {
+ StringRef name { Lexer::getImmediateMacroName(
+ loc, compiler.getSourceManager(), compiler.getLangOpts()) };
+ if (name == "sal_False" || name == "sal_True") {
+ loc = compiler.getSourceManager().getImmediateExpansionRange(
+ loc).first;
+ }
+ SourceLocation spl { compiler.getSourceManager().getSpellingLoc(
+ loc) };
+ if (!compiler.getSourceManager().isInMainFile(spl)
+ && compiler.getSourceManager().getFilename(spl).endswith(".h"))
+ {
+ return true;
+ }
+ }
+
+ }
+ if (isa<StringLiteral>(sub)) {
+ SourceLocation loc { sub->getLocStart() };
+ if (compiler.getSourceManager().isMacroArgExpansion(loc)
+ && (Lexer::getImmediateMacroName(
+ loc, compiler.getSourceManager(), compiler.getLangOpts())
+ == "assert"))
+ {
+ return true;
+ }
+ }
+ if (isa<IntegerLiteral>(sub) || isa<CharacterLiteral>(sub)
+ || isa<FloatingLiteral>(sub) || isa<ImaginaryLiteral>(sub)
+ || isa<StringLiteral>(sub))
+ {
+ bool rewritten = false;
+ if (rewriter != nullptr) {
+ SourceLocation loc { compiler.getSourceManager().getExpansionLoc(
+ expr->getLocStart()) };
+ if (compiler.getSourceManager().getExpansionLoc(expr->getLocEnd())
+ == loc)
+ {
+ char const * s = compiler.getSourceManager().getCharacterData(
+ loc);
+ unsigned n = Lexer::MeasureTokenLength(
+ expr->getLocEnd(), compiler.getSourceManager(),
+ compiler.getLangOpts());
+ std::string tok { s, n };
+ if (tok == "sal_False" || tok == "0") {
+ rewritten = replaceText(
+ compiler.getSourceManager().getExpansionLoc(
+ expr->getLocStart()),
+ n, "false");
+ } else if (tok == "sal_True" || tok == "1") {
+ rewritten = replaceText(
+ compiler.getSourceManager().getExpansionLoc(
+ expr->getLocStart()),
+ n, "true");
+ }
+ }
+ }
+ if (!rewritten) {
+ report(
+ DiagnosticsEngine::Warning,
+ "implicit conversion (%0) of literal of type %1 to %2",
+ expr->getLocStart())
+ << expr->getCastKindName() << expr->getSubExpr()->getType()
+ << expr->getType() << expr->getSourceRange();
+ }
+ } else if (sub->isNullPointerConstant(
+ compiler.getASTContext(), Expr::NPC_ValueDependentIsNull)
+ != Expr::NPCK_NotNull)
+ {
+ report(
+ DiagnosticsEngine::Warning,
+ ("implicit conversion (%0) of null pointer constant of type %1 to"
+ " %2"),
+ expr->getLocStart())
+ << expr->getCastKindName() << expr->getSubExpr()->getType()
+ << expr->getType() << expr->getSourceRange();
+ } else if (sub->isIntegerConstantExpr(compiler.getASTContext())) {
+ report(
+ DiagnosticsEngine::Warning,
+ ("implicit conversion (%0) of integer constant expression of type"
+ " %1 to %2"),
+ expr->getLocStart())
+ << expr->getCastKindName() << expr->getSubExpr()->getType()
+ << expr->getType() << expr->getSourceRange();
+ }
+ return true;
+}
+
+loplugin::Plugin::Registration<LiteralToBoolConversion> X(
+ "literaltoboolconversion", true);
+
+}
commit bfe54489398881bfbe569aa4d2162655ffca6ff4
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Jan 28 20:03:11 2014 +0100
bool improvements
Change-Id: I09ac60e907b7c0a78934dce05343e2ba2b6df49f
diff --git a/accessibility/inc/accessibility/helper/IComboListBoxHelper.hxx b/accessibility/inc/accessibility/helper/IComboListBoxHelper.hxx
index a4a88e6..5944369 100644
--- a/accessibility/inc/accessibility/helper/IComboListBoxHelper.hxx
+++ b/accessibility/inc/accessibility/helper/IComboListBoxHelper.hxx
@@ -53,7 +53,7 @@ namespace accessibility
virtual bool IsEntryPosSelected( sal_uInt16 nPos ) const = 0;
virtual sal_uInt16 GetEntryCount() const = 0;
virtual void Select() = 0;
- virtual void SelectEntryPos( sal_uInt16 nPos, bool bSelect = sal_True ) = 0;
+ virtual void SelectEntryPos( sal_uInt16 nPos, bool bSelect = true ) = 0;
virtual sal_uInt16 GetSelectEntryCount() const = 0;
virtual void SetNoSelection() = 0;
virtual sal_uInt16 GetSelectEntryPos( sal_uInt16 nSelIndex = 0 ) const = 0;
diff --git a/accessibility/inc/accessibility/helper/listboxhelper.hxx b/accessibility/inc/accessibility/helper/listboxhelper.hxx
index f42bc26..59a7bd6 100644
--- a/accessibility/inc/accessibility/helper/listboxhelper.hxx
+++ b/accessibility/inc/accessibility/helper/listboxhelper.hxx
@@ -138,7 +138,7 @@ public:
m_aComboListBox.Select();
}
// -----------------------------------------------------------------------------
- virtual void SelectEntryPos( sal_uInt16 nPos, bool bSelect = sal_True )
+ virtual void SelectEntryPos( sal_uInt16 nPos, bool bSelect = true )
{
m_aComboListBox.SelectEntryPos(nPos,bSelect);
}
diff --git a/accessibility/source/extended/AccessibleGridControlTable.cxx b/accessibility/source/extended/AccessibleGridControlTable.cxx
index 5b31740..6cef228 100644
--- a/accessibility/source/extended/AccessibleGridControlTable.cxx
+++ b/accessibility/source/extended/AccessibleGridControlTable.cxx
@@ -257,7 +257,7 @@ void SAL_CALL AccessibleGridControlTable::selectAccessibleChild( sal_Int32 nChil
ensureIsValidIndex( nChildIndex );
sal_Int32 nColumns = m_aTable.GetColumnCount();
sal_Int32 nRow = (nChildIndex / nColumns);
- m_aTable.SelectRow( nRow, sal_True );
+ m_aTable.SelectRow( nRow, true );
}
sal_Bool SAL_CALL AccessibleGridControlTable::isAccessibleChildSelected( sal_Int32 nChildIndex )
throw ( lang::IndexOutOfBoundsException, uno::RuntimeException )
diff --git a/accessibility/source/extended/accessiblelistbox.cxx b/accessibility/source/extended/accessiblelistbox.cxx
index 87414ec..eced1e5 100644
--- a/accessibility/source/extended/accessiblelistbox.cxx
+++ b/accessibility/source/extended/accessiblelistbox.cxx
@@ -105,7 +105,7 @@ namespace accessibility
case VCLEVENT_LISTBOX_SELECT :
{
- OSL_ASSERT(0 && "Debug: Treelist shouldn't use VCLEVENT_LISTBOX_SELECT");
+ OSL_FAIL("Debug: Treelist shouldn't use VCLEVENT_LISTBOX_SELECT");
break;
}
diff --git a/accessibility/source/standard/vclxaccessiblelist.cxx b/accessibility/source/standard/vclxaccessiblelist.cxx
index cc0e5f7..debef70 100644
--- a/accessibility/source/standard/vclxaccessiblelist.cxx
+++ b/accessibility/source/standard/vclxaccessiblelist.cxx
@@ -873,7 +873,7 @@ void SAL_CALL VCLXAccessibleList::selectAccessibleChild( sal_Int32 nChildIndex )
{
checkSelection_Impl(nChildIndex,*m_pListBoxHelper,sal_False);
- m_pListBoxHelper->SelectEntryPos( (sal_uInt16)nChildIndex, sal_True );
+ m_pListBoxHelper->SelectEntryPos( (sal_uInt16)nChildIndex, true );
// call the select handler, don't handle events in this time
m_bDisableProcessEvent = true;
m_pListBoxHelper->Select();
@@ -932,7 +932,7 @@ void SAL_CALL VCLXAccessibleList::selectAllAccessibleChildren( ) throw (Runtime
{
sal_uInt16 nCount = m_pListBoxHelper->GetEntryCount();
for ( sal_uInt16 i = 0; i < nCount; ++i )
- m_pListBoxHelper->SelectEntryPos( i, sal_True );
+ m_pListBoxHelper->SelectEntryPos( i, true );
// call the select handler, don't handle events in this time
m_bDisableProcessEvent = true;
m_pListBoxHelper->Select();
@@ -982,7 +982,7 @@ void SAL_CALL VCLXAccessibleList::deselectAccessibleChild( sal_Int32 nSelectedCh
{
checkSelection_Impl(nSelectedChildIndex,*m_pListBoxHelper,sal_False);
- m_pListBoxHelper->SelectEntryPos( (sal_uInt16)nSelectedChildIndex, sal_False );
+ m_pListBoxHelper->SelectEntryPos( (sal_uInt16)nSelectedChildIndex, false );
// call the select handler, don't handle events in this time
m_bDisableProcessEvent = true;
m_pListBoxHelper->Select();
commit f96f38f8f8d711ca3606a6ab2bbebcf8d830ffa6
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Jan 28 20:03:03 2014 +0100
bool improvements
Change-Id: I571354540f1ab108c55d32c20786d34a799c3bed
diff --git a/basic/source/comp/dim.cxx b/basic/source/comp/dim.cxx
index 4a35b1c..faa521a 100644
--- a/basic/source/comp/dim.cxx
+++ b/basic/source/comp/dim.cxx
@@ -510,10 +510,10 @@ void SbiParser::DefVar( SbiOpcode eOp, bool bStatic )
}
pDef->SetDims( pDim->GetDims() );
if( bPersistantGlobal )
- pDef->SetGlobal( sal_True );
+ pDef->SetGlobal( true );
SbiExpression aExpr( this, *pDef, pDim );
aExpr.Gen();
- pDef->SetGlobal( sal_False );
+ pDef->SetGlobal( false );
aGen.Gen( (eOp == _STATIC) ? _DIM : eOp );
}
}
@@ -1100,7 +1100,7 @@ void SbiParser::DefDeclare( bool bPrivate )
if( pParDef->IsByVal() )
{
// Reset to avoid additional byval in call to wrapper function
- pParDef->SetByVal( sal_False );
+ pParDef->SetByVal( false );
nTyp |= 0x8000;
}
aGen.Gen( _ARGTYP, nTyp );
@@ -1260,7 +1260,7 @@ void SbiParser::DefProc( bool bStatic, bool bPrivate )
{
if ( bVBASupportOn )
{
- pProc->SetStatic( sal_True );
+ pProc->SetStatic( true );
}
else
{
@@ -1269,7 +1269,7 @@ void SbiParser::DefProc( bool bStatic, bool bPrivate )
}
else
{
- pProc->SetStatic( sal_False );
+ pProc->SetStatic( false );
}
// Normal case: Local variable->parameter->global variable
pProc->GetLocals().SetParent( &pProc->GetParams() );
diff --git a/basic/source/comp/exprgen.cxx b/basic/source/comp/exprgen.cxx
index 762e0e3..b24bbc2 100644
--- a/basic/source/comp/exprgen.cxx
+++ b/basic/source/comp/exprgen.cxx
@@ -70,7 +70,7 @@ void SbiExprNode::Gen( RecursiveMode eRecMode )
pGen->Gen( _CONST, (short) nVal );
break;
case SbxSTRING:
- nStringId = pGen->GetParser()->aGblStrings.Add( aStrVal, sal_True );
+ nStringId = pGen->GetParser()->aGblStrings.Add( aStrVal, true );
pGen->Gen( _SCONST, nStringId );
break;
default:
diff --git a/basic/source/comp/exprtree.cxx b/basic/source/comp/exprtree.cxx
index 8346e56..8b7f8fd 100644
--- a/basic/source/comp/exprtree.cxx
+++ b/basic/source/comp/exprtree.cxx
@@ -369,7 +369,7 @@ SbiExprNode* SbiExpression::Term( const KeywordSymbolInfo* pKeywordSymbolInfo )
SbiExprNode* pNd = new SbiExprNode( pParser, *pDef, eType );
if( !pPar )
{
- pPar = new SbiParameters( pParser,sal_False,sal_False );
+ pPar = new SbiParameters( pParser,false,false );
}
pNd->aVar.pPar = pPar;
pNd->aVar.pvMorePar = pvMoreParLcl;
@@ -622,7 +622,7 @@ SbiExprNode* SbiExpression::Unary()
pParser->TestToken( IS );
OUString aDummy;
SbiSymDef* pTypeDef = new SbiSymDef( aDummy );
- pParser->TypeDecl( *pTypeDef, sal_True );
+ pParser->TypeDecl( *pTypeDef, true );
pNd = new SbiExprNode( pParser, pObjNode, pTypeDef->GetTypeId() );
break;
}
@@ -631,7 +631,7 @@ SbiExprNode* SbiExpression::Unary()
pParser->Next();
OUString aStr;
SbiSymDef* pTypeDef = new SbiSymDef( aStr );
- pParser->TypeDecl( *pTypeDef, sal_True );
+ pParser->TypeDecl( *pTypeDef, true );
pNd = new SbiExprNode( pParser, pTypeDef->GetTypeId() );
break;
}
@@ -1051,7 +1051,7 @@ SbiParameters::SbiParameters( SbiParser* p, bool bStandaloneExpression, bool bPa
if( bAssumeExprLParenMode )
{
pExpr = new SbiExpression( pParser, SbSTDEXPR, EXPRMODE_LPAREN_PENDING );
- bAssumeExprLParenMode = sal_False;
+ bAssumeExprLParenMode = false;
SbiExprMode eModeAfter = pExpr->m_eMode;
if( eModeAfter == EXPRMODE_LPAREN_NOT_NEEDED )
diff --git a/basic/source/comp/loops.cxx b/basic/source/comp/loops.cxx
index e486039..396f283 100644
--- a/basic/source/comp/loops.cxx
+++ b/basic/source/comp/loops.cxx
@@ -48,7 +48,7 @@ void SbiParser::If()
eTok = Peek();
if( IsEof() )
{
- Error( SbERR_BAD_BLOCK, IF ); bAbort = sal_True; return;
+ Error( SbERR_BAD_BLOCK, IF ); bAbort = true; return;
}
}
while( eTok == ELSEIF )
@@ -56,7 +56,7 @@ void SbiParser::If()
// jump to ENDIF in case of a successful IF/ELSEIF
if( iJmp >= JMP_TABLE_SIZE )
{
- Error( SbERR_PROG_TOO_LARGE ); bAbort = sal_True; return;
+ Error( SbERR_PROG_TOO_LARGE ); bAbort = true; return;
}
pnJmpToEndLbl[iJmp++] = aGen.Gen( _JUMP, 0 );
@@ -76,7 +76,7 @@ void SbiParser::If()
eTok = Peek();
if( IsEof() )
{
- Error( SbERR_BAD_BLOCK, ELSEIF ); bAbort = sal_True; return;
+ Error( SbERR_BAD_BLOCK, ELSEIF ); bAbort = true; return;
}
}
}
diff --git a/basic/source/comp/parser.cxx b/basic/source/comp/parser.cxx
index ea51a48..2ffbc66 100644
--- a/basic/source/comp/parser.cxx
+++ b/basic/source/comp/parser.cxx
@@ -305,7 +305,7 @@ void SbiParser::StmntBlock( SbiToken eEnd )
if( IsEof() )
{
Error( SbERR_BAD_BLOCK, eEnd );
- bAbort = sal_True;
+ bAbort = true;
}
}
@@ -594,7 +594,7 @@ void SbiParser::Set()
Next();
OUString aStr;
SbiSymDef* pTypeDef = new SbiSymDef( aStr );
- TypeDecl( *pTypeDef, sal_True );
+ TypeDecl( *pTypeDef, true );
aLvalue.Gen();
aGen.Gen( _CREATE, pDef->GetId(), pTypeDef->GetTypeId() );
@@ -749,7 +749,7 @@ void SbiParser::EnableCompatibility()
{
if( !bCompatible )
AddConstants();
- bCompatible = sal_True;
+ bCompatible = true;
}
// OPTION
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index efa3ea9..aeb5000 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -2818,7 +2818,7 @@ bool isRootDir( OUString aDirURLStr )
// or Windows "file:///c:/" -> root
else if( nCount == 1 )
{
- OUString aSeg1 = aDirURLObj.getName( 0, sal_True,
+ OUString aSeg1 = aDirURLObj.getName( 0, true,
INetURLObject::DECODE_WITH_CHARSET );
if( aSeg1[1] == (sal_Unicode)':' )
{
@@ -2985,7 +2985,7 @@ RTLFUNC(Dir)
}
INetURLObject aURL( aFile );
- aPath = aURL.getName( INetURLObject::LAST_SEGMENT, sal_True,
+ aPath = aURL.getName( INetURLObject::LAST_SEGMENT, true,
INetURLObject::DECODE_WITH_CHARSET );
}
diff --git a/basic/source/runtime/sbdiagnose.cxx b/basic/source/runtime/sbdiagnose.cxx
index c06bc8f..e29d3db 100644
--- a/basic/source/runtime/sbdiagnose.cxx
+++ b/basic/source/runtime/sbdiagnose.cxx
@@ -115,7 +115,7 @@ RTLFUNC(CaptureAssertions)
// ensure OSL assertions are captured, too
DbgData aData( *DbgGetData() );
- aData.bHookOSLAssert = sal_True;
+ aData.bHookOSLAssert = true;
DbgUpdateOslHook( &aData );
}
diff --git a/basic/source/uno/dlgcont.cxx b/basic/source/uno/dlgcont.cxx
index 5af135f..a7ced38 100644
--- a/basic/source/uno/dlgcont.cxx
+++ b/basic/source/uno/dlgcont.cxx
@@ -144,7 +144,7 @@ bool writeOasis2OOoLibraryElement(
xParser->parseStream( source );
- return sal_True;
+ return true;
}
void SAL_CALL SfxDialogLibraryContainer::writeLibraryElement
@@ -208,7 +208,7 @@ void SfxDialogLibraryContainer::storeLibrariesToStorage( const uno::Reference< e
{
// if we cannot get the version then the
// Oasis2OOoTransformer will not be used
- OSL_ASSERT(sal_False);
+ OSL_ASSERT(false);
}
}
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx
index f6cb5b2..fdb2105 100644
--- a/basic/source/uno/namecont.cxx
+++ b/basic/source/uno/namecont.cxx
@@ -575,15 +575,15 @@ static void checkAndCopyFileImpl( const INetURLObject& rSourceFolderInetObj,
Reference< XSimpleFileAccess3 > xSFI )
{
INetURLObject aTargetFolderInetObj( rTargetFolderInetObj );
- aTargetFolderInetObj.insertName( rCheckFileName, sal_True, INetURLObject::LAST_SEGMENT,
- sal_True, INetURLObject::ENCODE_ALL );
+ aTargetFolderInetObj.insertName( rCheckFileName, true, INetURLObject::LAST_SEGMENT,
+ true, INetURLObject::ENCODE_ALL );
aTargetFolderInetObj.setExtension( rCheckExtension );
OUString aTargetFile = aTargetFolderInetObj.GetMainURL( INetURLObject::NO_DECODE );
if( !xSFI->exists( aTargetFile ) )
{
INetURLObject aSourceFolderInetObj( rSourceFolderInetObj );
- aSourceFolderInetObj.insertName( rCheckFileName, sal_True, INetURLObject::LAST_SEGMENT,
- sal_True, INetURLObject::ENCODE_ALL );
+ aSourceFolderInetObj.insertName( rCheckFileName, true, INetURLObject::LAST_SEGMENT,
+ true, INetURLObject::ENCODE_ALL );
aSourceFolderInetObj.setExtension( rCheckExtension );
OUString aSourceFile = aSourceFolderInetObj.GetMainURL( INetURLObject::NO_DECODE );
xSFI->copy( aSourceFile, aTargetFile );
@@ -780,7 +780,7 @@ void SfxLibraryContainer::init_Impl( const OUString& rInitialDocumentURL,
{
pLibInfoInetObj = new INetURLObject( maLibraryPath.getToken(1, (sal_Unicode)';') );
}
- pLibInfoInetObj->insertName( maInfoFileName, sal_False, INetURLObject::LAST_SEGMENT, sal_True, INetURLObject::ENCODE_ALL );
+ pLibInfoInetObj->insertName( maInfoFileName, false, INetURLObject::LAST_SEGMENT, true, INetURLObject::ENCODE_ALL );
pLibInfoInetObj->setExtension( OUString("xlc") );
aFileName = pLibInfoInetObj->GetMainURL( INetURLObject::NO_DECODE );
}
@@ -799,7 +799,7 @@ void SfxLibraryContainer::init_Impl( const OUString& rInitialDocumentURL,
if( !xInput.is() && nPass == 0 )
{
INetURLObject aLibInfoInetObj( maLibraryPath.getToken(1, (sal_Unicode)';') );
- aLibInfoInetObj.insertName( maOldInfoFileName, sal_False, INetURLObject::LAST_SEGMENT, sal_True, INetURLObject::ENCODE_ALL );
+ aLibInfoInetObj.insertName( maOldInfoFileName, false, INetURLObject::LAST_SEGMENT, true, INetURLObject::ENCODE_ALL );
aLibInfoInetObj.setExtension( OUString( "xli") );
aFileName = aLibInfoInetObj.GetMainURL( INetURLObject::NO_DECODE );
@@ -862,8 +862,8 @@ void SfxLibraryContainer::init_Impl( const OUString& rInitialDocumentURL,
}
INetURLObject aInetObj( aLibraryPath );
- aInetObj.insertName( rLib.aName, sal_True, INetURLObject::LAST_SEGMENT,
- sal_True, INetURLObject::ENCODE_ALL );
+ aInetObj.insertName( rLib.aName, true, INetURLObject::LAST_SEGMENT,
+ true, INetURLObject::ENCODE_ALL );
OUString aLibDirPath = aInetObj.GetMainURL( INetURLObject::NO_DECODE );
if( mxSFI->isFolder( aLibDirPath ) )
{
@@ -874,8 +874,8 @@ void SfxLibraryContainer::init_Impl( const OUString& rInitialDocumentURL,
{
// Check "share" path
INetURLObject aShareInetObj( maLibraryPath.getToken(0, (sal_Unicode)';') );
- aShareInetObj.insertName( rLib.aName, sal_True, INetURLObject::LAST_SEGMENT,
- sal_True, INetURLObject::ENCODE_ALL );
+ aShareInetObj.insertName( rLib.aName, true, INetURLObject::LAST_SEGMENT,
+ true, INetURLObject::ENCODE_ALL );
OUString aShareLibDirPath = aShareInetObj.GetMainURL( INetURLObject::NO_DECODE );
if( mxSFI->isFolder( aShareLibDirPath ) )
{
@@ -1038,11 +1038,11 @@ void SfxLibraryContainer::init_Impl( const OUString& rInitialDocumentURL,
{
// Check if Standard folder exists and is complete
INetURLObject aUserBasicStandardInetObj( aUserBasicInetObj );
- aUserBasicStandardInetObj.insertName( aStandardStr, sal_True, INetURLObject::LAST_SEGMENT,
- sal_True, INetURLObject::ENCODE_ALL );
+ aUserBasicStandardInetObj.insertName( aStandardStr, true, INetURLObject::LAST_SEGMENT,
+ true, INetURLObject::ENCODE_ALL );
INetURLObject aPrevUserBasicStandardInetObj( aPrevUserBasicInetObj );
- aPrevUserBasicStandardInetObj.insertName( aStandardStr, sal_True, INetURLObject::LAST_SEGMENT,
- sal_True, INetURLObject::ENCODE_ALL );
+ aPrevUserBasicStandardInetObj.insertName( aStandardStr, true, INetURLObject::LAST_SEGMENT,
+ true, INetURLObject::ENCODE_ALL );
OUString aPrevStandardFolder = aPrevUserBasicStandardInetObj.GetMainURL( INetURLObject::NO_DECODE );
if( mxSFI->isFolder( aPrevStandardFolder ) )
{
@@ -1113,8 +1113,8 @@ void SfxLibraryContainer::init_Impl( const OUString& rInitialDocumentURL,
}
INetURLObject aPrevUserBasicLibInfoInetObj( aUserBasicInetObj );
- aPrevUserBasicLibInfoInetObj.insertName( maInfoFileName, sal_False, INetURLObject::LAST_SEGMENT,
- sal_True, INetURLObject::ENCODE_ALL );
+ aPrevUserBasicLibInfoInetObj.insertName( maInfoFileName, false, INetURLObject::LAST_SEGMENT,
+ true, INetURLObject::ENCODE_ALL );
aPrevUserBasicLibInfoInetObj.setExtension( OUString("xlc"));
OUString aLibInfoFileName = aPrevUserBasicLibInfoInetObj.GetMainURL( INetURLObject::NO_DECODE );
Sequence<Any> aInitSeq( 1 );
@@ -1320,7 +1320,7 @@ void SfxLibraryContainer::checkStorageURL( const OUString& aSourceURL,
{
// URL to library folder
aStorageURL = aExpandedSourceURL;
- aInetObj.insertName( maInfoFileName, sal_False, INetURLObject::LAST_SEGMENT, sal_True, INetURLObject::ENCODE_ALL );
+ aInetObj.insertName( maInfoFileName, false, INetURLObject::LAST_SEGMENT, true, INetURLObject::ENCODE_ALL );
aInetObj.setExtension( OUString("xlb") );
aLibInfoFileURL = aInetObj.GetMainURL( INetURLObject::NO_DECODE );
}
@@ -1377,7 +1377,7 @@ OUString SfxLibraryContainer::createAppLibraryFolder( SfxLibrary* pLib, const OU
if( aLibDirPath.isEmpty() )
{
INetURLObject aInetObj( maLibraryPath.getToken(1, (sal_Unicode)';') );
- aInetObj.insertName( aName, sal_True, INetURLObject::LAST_SEGMENT, sal_True, INetURLObject::ENCODE_ALL );
+ aInetObj.insertName( aName, true, INetURLObject::LAST_SEGMENT, true, INetURLObject::ENCODE_ALL );
checkStorageURL( aInetObj.GetMainURL( INetURLObject::NO_DECODE ), pLib->maLibInfoFileURL,
pLib->maStorageURL, pLib->maUnexpandedStorageURL );
aLibDirPath = pLib->maStorageURL;
@@ -1487,7 +1487,7 @@ void SfxLibraryContainer::implStoreLibrary( SfxLibrary* pLib,
if( bExport )
{
INetURLObject aInetObj( aTargetURL );
- aInetObj.insertName( aName, sal_True, INetURLObject::LAST_SEGMENT, sal_True, INetURLObject::ENCODE_ALL );
+ aInetObj.insertName( aName, true, INetURLObject::LAST_SEGMENT, true, INetURLObject::ENCODE_ALL );
aLibDirPath = aInetObj.GetMainURL( INetURLObject::NO_DECODE );
if( !xSFI->isFolder( aLibDirPath ) )
@@ -1507,8 +1507,8 @@ void SfxLibraryContainer::implStoreLibrary( SfxLibrary* pLib,
OUString aElementName = pNames[ i ];
INetURLObject aElementInetObj( aLibDirPath );
- aElementInetObj.insertName( aElementName, sal_False,
- INetURLObject::LAST_SEGMENT, sal_True,
+ aElementInetObj.insertName( aElementName, false,
+ INetURLObject::LAST_SEGMENT, true,
INetURLObject::ENCODE_ALL );
aElementInetObj.setExtension( maLibElementFileExtension );
OUString aElementPath( aElementInetObj.GetMainURL( INetURLObject::NO_DECODE ) );
@@ -1622,13 +1622,13 @@ void SfxLibraryContainer::implStoreLibraryIndexFile( SfxLibrary* pLib,
if( bExport )
{
INetURLObject aInetObj( aTargetURL );
- aInetObj.insertName( rLib.aName, sal_True, INetURLObject::LAST_SEGMENT, sal_True, INetURLObject::ENCODE_ALL );
+ aInetObj.insertName( rLib.aName, true, INetURLObject::LAST_SEGMENT, true, INetURLObject::ENCODE_ALL );
OUString aLibDirPath = aInetObj.GetMainURL( INetURLObject::NO_DECODE );
if( !xSFI->isFolder( aLibDirPath ) )
{
xSFI->createFolder( aLibDirPath );
}
- aInetObj.insertName( maInfoFileName, sal_False, INetURLObject::LAST_SEGMENT, sal_True, INetURLObject::ENCODE_ALL );
+ aInetObj.insertName( maInfoFileName, false, INetURLObject::LAST_SEGMENT, true, INetURLObject::ENCODE_ALL );
aInetObj.setExtension( OUString( "xlb" ) );
aLibInfoPath = aInetObj.GetMainURL( INetURLObject::NO_DECODE );
}
@@ -2088,7 +2088,7 @@ void SfxLibraryContainer::storeLibraries_Impl( const uno::Reference< embed::XSto
{
// Create Output stream
INetURLObject aLibInfoInetObj( maLibraryPath.getToken(1, (sal_Unicode)';') );
- aLibInfoInetObj.insertName( maInfoFileName, sal_False, INetURLObject::LAST_SEGMENT, sal_True, INetURLObject::ENCODE_ALL );
+ aLibInfoInetObj.insertName( maInfoFileName, false, INetURLObject::LAST_SEGMENT, true, INetURLObject::ENCODE_ALL );
aLibInfoInetObj.setExtension( OUString("xlc") );
OUString aLibInfoPath( aLibInfoInetObj.GetMainURL( INetURLObject::NO_DECODE ) );
@@ -2298,8 +2298,8 @@ void SAL_CALL SfxLibraryContainer::removeLibrary( const OUString& Name )
// Delete folder if empty
INetURLObject aInetObj( maLibraryPath.getToken(1, (sal_Unicode)';') );
- aInetObj.insertName( Name, sal_True, INetURLObject::LAST_SEGMENT,
- sal_True, INetURLObject::ENCODE_ALL );
+ aInetObj.insertName( Name, true, INetURLObject::LAST_SEGMENT,
+ true, INetURLObject::ENCODE_ALL );
OUString aLibDirPath = aInetObj.GetMainURL( INetURLObject::NO_DECODE );
try
@@ -2442,8 +2442,8 @@ void SAL_CALL SfxLibraryContainer::loadLibrary( const OUString& Name )
{
OUString aLibDirPath = pImplLib->maStorageURL;
INetURLObject aElementInetObj( aLibDirPath );
- aElementInetObj.insertName( aElementName, sal_False,
- INetURLObject::LAST_SEGMENT, sal_True,
+ aElementInetObj.insertName( aElementName, false,
+ INetURLObject::LAST_SEGMENT, true,
INetURLObject::ENCODE_ALL );
aElementInetObj.setExtension( maLibElementFileExtension );
aFile = aElementInetObj.GetMainURL( INetURLObject::NO_DECODE );
@@ -2562,8 +2562,8 @@ void SAL_CALL SfxLibraryContainer::renameLibrary( const OUString& Name, const OU
OUString aLibDirPath = pImplLib->maStorageURL;
INetURLObject aDestInetObj( maLibraryPath.getToken(1, (sal_Unicode)';'));
- aDestInetObj.insertName( NewName, sal_True, INetURLObject::LAST_SEGMENT,
- sal_True, INetURLObject::ENCODE_ALL );
+ aDestInetObj.insertName( NewName, true, INetURLObject::LAST_SEGMENT,
+ true, INetURLObject::ENCODE_ALL );
OUString aDestDirPath = aDestInetObj.GetMainURL( INetURLObject::NO_DECODE );
// Store new URL
@@ -2600,14 +2600,14 @@ void SAL_CALL SfxLibraryContainer::renameLibrary( const OUString& Name, const OU
OUString aElementName = pNames[ i ];
INetURLObject aElementInetObj( aLibDirPath );
- aElementInetObj.insertName( aElementName, sal_False,
- INetURLObject::LAST_SEGMENT, sal_True, INetURLObject::ENCODE_ALL );
+ aElementInetObj.insertName( aElementName, false,
+ INetURLObject::LAST_SEGMENT, true, INetURLObject::ENCODE_ALL );
aElementInetObj.setExtension( maLibElementFileExtension );
OUString aElementPath( aElementInetObj.GetMainURL( INetURLObject::NO_DECODE ) );
INetURLObject aElementDestInetObj( aDestDirPath );
- aElementDestInetObj.insertName( aElementName, sal_False,
- INetURLObject::LAST_SEGMENT, sal_True,
+ aElementDestInetObj.insertName( aElementName, false,
+ INetURLObject::LAST_SEGMENT, true,
INetURLObject::ENCODE_ALL );
aElementDestInetObj.setExtension( maLibElementFileExtension );
OUString aDestElementPath( aElementDestInetObj.GetMainURL( INetURLObject::NO_DECODE ) );
@@ -3162,8 +3162,8 @@ void SfxLibrary::impl_removeWithoutChecks( const OUString& _rElementName )
if( !maStorageURL.isEmpty() )
{
INetURLObject aElementInetObj( maStorageURL );
- aElementInetObj.insertName( _rElementName, sal_False,
- INetURLObject::LAST_SEGMENT, sal_True,
+ aElementInetObj.insertName( _rElementName, false,
+ INetURLObject::LAST_SEGMENT, true,
INetURLObject::ENCODE_ALL );
aElementInetObj.setExtension( maLibElementFileExtension );
OUString aFile = aElementInetObj.GetMainURL( INetURLObject::NO_DECODE );
diff --git a/basic/source/uno/scriptcont.cxx b/basic/source/uno/scriptcont.cxx
index e8c92cf..6e93855 100644
--- a/basic/source/uno/scriptcont.cxx
+++ b/basic/source/uno/scriptcont.cxx
@@ -362,7 +362,7 @@ SfxLibraryContainer* SfxScriptLibraryContainer::createInstanceImpl( void )
void SAL_CALL SfxScriptLibraryContainer::importFromOldStorage( const OUString& aFile )
{
// TODO: move loading from old storage to binary filters?
- SotStorageRef xStorage = new SotStorage( sal_False, aFile );
+ SotStorageRef xStorage = new SotStorage( false, aFile );
if( xStorage.Is() && xStorage->GetError() == ERRCODE_NONE )
{
BasicManager* pBasicManager = new BasicManager( *(SotStorage*)xStorage, aFile );
@@ -540,8 +540,8 @@ void SAL_CALL SfxScriptLibraryContainer::changeLibraryPassword( const OUString&
OUString aElementName = pNames[ i ];
INetURLObject aElementInetObj( aLibDirPath );
- aElementInetObj.insertName( aElementName, sal_False,
- INetURLObject::LAST_SEGMENT, sal_True,
+ aElementInetObj.insertName( aElementName, false,
+ INetURLObject::LAST_SEGMENT, true,
INetURLObject::ENCODE_ALL );
if( bKillUncryptedFiles )
{
@@ -738,7 +738,7 @@ sal_Bool SfxScriptLibraryContainer::implStorePasswordLibrary( SfxLibrary* pLib,
if( bExport )
{
INetURLObject aInetObj( aTargetURL );
- aInetObj.insertName( aName, sal_True, INetURLObject::LAST_SEGMENT, sal_True,
+ aInetObj.insertName( aName, true, INetURLObject::LAST_SEGMENT, true,
INetURLObject::ENCODE_ALL );
aLibDirPath = aInetObj.GetMainURL( INetURLObject::NO_DECODE );
@@ -757,8 +757,8 @@ sal_Bool SfxScriptLibraryContainer::implStorePasswordLibrary( SfxLibrary* pLib,
OUString aElementName = pNames[ i ];
INetURLObject aElementInetObj( aLibDirPath );
- aElementInetObj.insertName( aElementName, sal_False,
- INetURLObject::LAST_SEGMENT, sal_True,
+ aElementInetObj.insertName( aElementName, false,
+ INetURLObject::LAST_SEGMENT, true,
INetURLObject::ENCODE_ALL );
aElementInetObj.setExtension( OUString( "pba" ) );
OUString aElementPath = aElementInetObj.GetMainURL( INetURLObject::NO_DECODE );
@@ -1058,8 +1058,8 @@ sal_Bool SfxScriptLibraryContainer::implLoadPasswordLibrary
OUString aElementName = pNames[ i ];
INetURLObject aElementInetObj( aLibDirPath );
- aElementInetObj.insertName( aElementName, sal_False,
- INetURLObject::LAST_SEGMENT, sal_True, INetURLObject::ENCODE_ALL );
+ aElementInetObj.insertName( aElementName, false,
+ INetURLObject::LAST_SEGMENT, true, INetURLObject::ENCODE_ALL );
aElementInetObj.setExtension( OUString( "pba" ) );
OUString aElementPath = aElementInetObj.GetMainURL( INetURLObject::NO_DECODE );
commit fc320c41b599e54238bfdee6f96ab8de159f1d7b
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Jan 28 20:02:59 2014 +0100
bool improvements
Change-Id: I215bb8c484785175c297953a2ef385b2caf87bee
diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx
index 17f72e4..31d38be 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx
@@ -247,7 +247,7 @@ classify_argument( typelib_TypeDescriptionReference *pTypeRef, enum x86_64_reg_c
#if OSL_DEBUG_LEVEL > 1
OSL_TRACE( "Unhandled case: pType->eTypeClass == %d", pTypeRef->eTypeClass );
#endif
- OSL_ASSERT(0);
+ OSL_ASSERT(false);
}
return 0; /* Never reached. */
}
@@ -290,7 +290,7 @@ bool x86_64::examine_argument( typelib_TypeDescriptionReference *pTypeRef, bool
#if OSL_DEBUG_LEVEL > 1
OSL_TRACE( "Unhandled case: classes[n] == %d", classes[n] );
#endif
- OSL_ASSERT(0);
+ OSL_ASSERT(false);
}
return true;
}
diff --git a/bridges/source/cpp_uno/shared/component.cxx b/bridges/source/cpp_uno/shared/component.cxx
index c6ec241..c95f351 100644
--- a/bridges/source/cpp_uno/shared/component.cxx
+++ b/bridges/source/cpp_uno/shared/component.cxx
@@ -220,7 +220,7 @@ SAL_DLLPUBLIC_EXPORT void SAL_CALL uno_ext_getMapping(
{
// ref count initially 1
pMapping = bridges::cpp_uno::shared::Bridge::createMapping(
- pFrom->pExtEnv, pTo->pExtEnv, sal_True );
+ pFrom->pExtEnv, pTo->pExtEnv, true );
::uno_registerMapping(
&pMapping, bridges::cpp_uno::shared::freeMapping,
(uno_Environment *)pFrom->pExtEnv,
@@ -234,7 +234,7 @@ SAL_DLLPUBLIC_EXPORT void SAL_CALL uno_ext_getMapping(
{
// ref count initially 1
pMapping = bridges::cpp_uno::shared::Bridge::createMapping(
- pTo->pExtEnv, pFrom->pExtEnv, sal_False );
+ pTo->pExtEnv, pFrom->pExtEnv, false );
::uno_registerMapping(
&pMapping, bridges::cpp_uno::shared::freeMapping,
(uno_Environment *)pFrom->pExtEnv,
commit d5d2e280bda78fe03a96daae9677e0cf54201057
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Jan 28 20:02:54 2014 +0100
bool improvements
Change-Id: I4fb554a0b703b29cb2dc70fc11111a4f2fa9af8e
diff --git a/chart2/qa/extras/chart2export.cxx b/chart2/qa/extras/chart2export.cxx
index d29e353..b62c254 100644
--- a/chart2/qa/extras/chart2export.cxx
+++ b/chart2/qa/extras/chart2export.cxx
@@ -478,7 +478,7 @@ void Chart2ExportTest::testEmbeddingsGrabBag()
uno::Sequence<beans::PropertyValue> aGrabBag(0);
xTextDocumentPropertySet->getPropertyValue(OUString("InteropGrabBag")) >>= aGrabBag;
CPPUNIT_ASSERT(aGrabBag.hasElements()); // Grab Bag not empty
- bool bEmbeddings = sal_False;
+ bool bEmbeddings = false;
const char* testEmbeddedFileNames[3] = {"word/embeddings/Microsoft_Excel_Worksheet3.xlsx",
"word/embeddings/Microsoft_Excel_Worksheet2.xlsx",
"word/embeddings/Microsoft_Excel_Worksheet1.xlsx"};
@@ -486,7 +486,7 @@ void Chart2ExportTest::testEmbeddingsGrabBag()
{
if (aGrabBag[i].Name == "OOXEmbeddings")
{
- bEmbeddings = sal_True;
+ bEmbeddings = true;
uno::Sequence<beans::PropertyValue> aEmbeddingsList(0);
uno::Reference<io::XInputStream> aEmbeddingXlsxStream;
OUString aEmbeddedfileName;
diff --git a/chart2/source/controller/dialogs/dlg_DataSource.cxx b/chart2/source/controller/dialogs/dlg_DataSource.cxx
index 5dd1e12..a93cbde 100644
--- a/chart2/source/controller/dialogs/dlg_DataSource.cxx
+++ b/chart2/source/controller/dialogs/dlg_DataSource.cxx
@@ -193,7 +193,7 @@ void DataSourceDialog::setInvalidPage( TabPage * pTabPage )
if( ! (m_bRangeChooserTabIsValid && m_bDataSourceTabIsValid ))
{
- m_pBtnOK->Enable( sal_False );
+ m_pBtnOK->Enable( false );
OSL_ASSERT( m_pTabControl );
// note: there seems to be no suitable mechanism to address pages by
// identifier, at least it is unclear what the page identifiers are.
@@ -215,7 +215,7 @@ void DataSourceDialog::setValidPage( TabPage * pTabPage )
if( m_bRangeChooserTabIsValid && m_bDataSourceTabIsValid )
{
- m_pBtnOK->Enable( sal_True );
+ m_pBtnOK->Enable( true );
OSL_ASSERT( m_pTabControl );
m_pTabControl->EnableTabToggling();
}
diff --git a/chart2/source/controller/dialogs/res_DataLabel.cxx b/chart2/source/controller/dialogs/res_DataLabel.cxx
index 33d7a80..4fe9a07 100644
--- a/chart2/source/controller/dialogs/res_DataLabel.cxx
+++ b/chart2/source/controller/dialogs/res_DataLabel.cxx
@@ -324,7 +324,7 @@ sal_Bool DataLabelResources::FillItemSet( SfxItemSet& rOutAttrs ) const
void DataLabelResources::Reset(const SfxItemSet& rInAttrs)
{
// default state
- m_pCBSymbol->Enable( sal_False );
+ m_pCBSymbol->Enable( false );
lcl_setBoolItemToCheckBox( rInAttrs, SCHATTR_DATADESCR_SHOW_NUMBER, *m_pCBNumber );
lcl_setBoolItemToCheckBox( rInAttrs, SCHATTR_DATADESCR_SHOW_PERCENTAGE, *m_pCBPercent );
diff --git a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx
index 8fac022..9ab6183 100644
--- a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx
+++ b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx
@@ -106,7 +106,7 @@ LightSourceInfo::LightSourceInfo()
{
aLightSource.nDiffuseColor = 0xffffff; // white
aLightSource.aDirection = drawing::Direction3D(1,1,1);
- aLightSource.bIsEnabled = sal_False;
+ aLightSource.bIsEnabled = false;
}
void LightSourceInfo::initButtonFromSource()
diff --git a/chart2/source/controller/dialogs/tp_AxisLabel.cxx b/chart2/source/controller/dialogs/tp_AxisLabel.cxx
index f16490f..582660e 100644
--- a/chart2/source/controller/dialogs/tp_AxisLabel.cxx
+++ b/chart2/source/controller/dialogs/tp_AxisLabel.cxx
@@ -64,7 +64,7 @@ SchAxisLabelTabPage::SchAxisLabelTabPage( Window* pParent, const SfxItemSet& rIn
get(m_pFtABCD,"labelABCD");
m_pCtrlDial->SetText(m_pFtABCD->GetText());
m_pOrientHlp = new svx::OrientationHelper(*m_pCtrlDial, *m_pNfRotate, *m_pCbStacked);
- m_pOrientHlp->Enable( sal_True );
+ m_pOrientHlp->Enable( true );
m_pCbStacked->EnableTriState( sal_False );
diff --git a/chart2/source/controller/dialogs/tp_AxisPositions.cxx b/chart2/source/controller/dialogs/tp_AxisPositions.cxx
index 5aa1ebe..1aa2d38 100644
--- a/chart2/source/controller/dialogs/tp_AxisPositions.cxx
+++ b/chart2/source/controller/dialogs/tp_AxisPositions.cxx
@@ -204,7 +204,7 @@ void AxisPositionsTabPage::Reset(const SfxItemSet& rInAttrs)
else
{
m_pLB_CrossesAt->SetNoSelection();
- m_pED_CrossesAt->Enable( sal_False );
+ m_pED_CrossesAt->Enable( false );
}
// Labels
diff --git a/chart2/source/controller/dialogs/tp_PolarOptions.cxx b/chart2/source/controller/dialogs/tp_PolarOptions.cxx
index 524401c..0bf9fb8 100644
--- a/chart2/source/controller/dialogs/tp_PolarOptions.cxx
+++ b/chart2/source/controller/dialogs/tp_PolarOptions.cxx
@@ -81,7 +81,7 @@ void PolarOptionsTabPage::Reset(const SfxItemSet& rInAttrs)
}
else
{
- m_pFL_StartingAngle->Show(sal_False);
+ m_pFL_StartingAngle->Show(false);
}
if (rInAttrs.GetItemState(SCHATTR_CLOCKWISE, sal_True, &pPoolItem) == SFX_ITEM_SET)
{
@@ -90,7 +90,7 @@ void PolarOptionsTabPage::Reset(const SfxItemSet& rInAttrs)
}
else
{
- m_pCB_Clockwise->Show(sal_False);
+ m_pCB_Clockwise->Show(false);
}
if (rInAttrs.GetItemState(SCHATTR_INCLUDE_HIDDEN_CELLS, sal_True, &pPoolItem) == SFX_ITEM_SET)
{
@@ -99,7 +99,7 @@ void PolarOptionsTabPage::Reset(const SfxItemSet& rInAttrs)
}
else
{
- m_pFL_PlotOptions->Show(sal_False);
+ m_pFL_PlotOptions->Show(false);
}
}
diff --git a/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx b/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx
index 1dfa50d..cb9d7e7 100644
--- a/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx
+++ b/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx
@@ -165,7 +165,7 @@ void SchOptionTabPage::Reset(const SfxItemSet& rInAttrs)
}
else
{
- m_pCBAxisSideBySide->Show(sal_False);
+ m_pCBAxisSideBySide->Show(false);
}
//missing value treatment
@@ -176,19 +176,19 @@ void SchOptionTabPage::Reset(const SfxItemSet& rInAttrs)
if ( aMissingValueTreatments.getLength()>1 && rInAttrs.GetItemState(SCHATTR_MISSING_VALUE_TREATMENT,sal_True, &pPoolItem) == SFX_ITEM_SET)
{
- m_pRB_DontPaint->Enable(sal_False);
- m_pRB_AssumeZero->Enable(sal_False);
- m_pRB_ContinueLine->Enable(sal_False);
+ m_pRB_DontPaint->Enable(false);
+ m_pRB_AssumeZero->Enable(false);
+ m_pRB_ContinueLine->Enable(false);
for( sal_Int32 nN =0; nN<aMissingValueTreatments.getLength(); nN++ )
{
sal_Int32 nVal = aMissingValueTreatments[nN];
if(nVal==::com::sun::star::chart::MissingValueTreatment::LEAVE_GAP)
- m_pRB_DontPaint->Enable(sal_True);
+ m_pRB_DontPaint->Enable(true);
else if(nVal==::com::sun::star::chart::MissingValueTreatment::USE_ZERO)
- m_pRB_AssumeZero->Enable(sal_True);
+ m_pRB_AssumeZero->Enable(true);
else if(nVal==::com::sun::star::chart::MissingValueTreatment::CONTINUE)
- m_pRB_ContinueLine->Enable(sal_True);
+ m_pRB_ContinueLine->Enable(true);
}
long nVal=((const SfxInt32Item*)pPoolItem)->GetValue();
@@ -201,7 +201,7 @@ void SchOptionTabPage::Reset(const SfxItemSet& rInAttrs)
}
else
{
- m_pGridPlotOptions->Show(sal_False);
+ m_pGridPlotOptions->Show(false);
}
}
@@ -213,8 +213,8 @@ void SchOptionTabPage::Reset(const SfxItemSet& rInAttrs)
}
else
{
- m_pCBIncludeHiddenCells->Show(sal_False);
- m_pGridPlotOptions->Show(sal_False);
+ m_pCBIncludeHiddenCells->Show(false);
+ m_pGridPlotOptions->Show(false);
}
AdaptControlPositionsAndVisibility();
@@ -239,7 +239,7 @@ void SchOptionTabPage::AdaptControlPositionsAndVisibility()
if( !m_pMTGap->IsVisible() && !m_pMTOverlap->IsVisible() )
{
- m_pGrpBar->Show(sal_False);
+ m_pGrpBar->Show(false);
}
}
} //namespace chart
diff --git a/chart2/source/controller/dialogs/tp_TitleRotation.cxx b/chart2/source/controller/dialogs/tp_TitleRotation.cxx
index e79b3b3..3571297 100644
--- a/chart2/source/controller/dialogs/tp_TitleRotation.cxx
+++ b/chart2/source/controller/dialogs/tp_TitleRotation.cxx
@@ -47,7 +47,7 @@ SchAlignmentTabPage::SchAlignmentTabPage(Window* pWindow,
m_pOrientHlp = new svx::OrientationHelper(*m_pCtrlDial, *m_pNfRotate, *m_pCbStacked);
m_pCbStacked->EnableTriState( sal_False );
- m_pOrientHlp->Enable( sal_True );
+ m_pOrientHlp->Enable( true );
m_pOrientHlp->AddDependentWindow( *m_pFtRotate, STATE_CHECK );
if( !bWithRotation )
diff --git a/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx b/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx
index 2b6564c..41bd02c 100644
--- a/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx
+++ b/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx
@@ -162,7 +162,7 @@ Graphic ViewElementListProvider::GetSymbolGraphic( sal_Int32 nStandardSymbol, co
aVDev.SetMapMode(MapMode(MAP_100TH_MM));
SdrModel* pModel = new SdrModel();
pModel->GetItemPool().FreezeIdRanges();
- SdrPage* pPage = new SdrPage( *pModel, sal_False );
+ SdrPage* pPage = new SdrPage( *pModel, false );
pPage->SetSize(Size(1000,1000));
pModel->InsertPage( pPage, 0 );
SdrView* pView = new SdrView( pModel, &aVDev );
diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx
index 25981e3..dab10a2 100644
--- a/chart2/source/controller/main/ChartController.cxx
+++ b/chart2/source/controller/main/ChartController.cxx
@@ -891,7 +891,7 @@ void SAL_CALL ChartController::notifyClosing(
bool ChartController::impl_releaseThisModel(
const uno::Reference< uno::XInterface > & xModel )
{
- bool bReleaseModel = sal_False;
+ bool bReleaseModel = false;
{
::osl::Guard< ::osl::Mutex > aGuard( m_aModelMutex );
if( m_aModel.is() && m_aModel->getModel() == xModel )
diff --git a/chart2/source/controller/main/ChartController_TextEdit.cxx b/chart2/source/controller/main/ChartController_TextEdit.cxx
index bc578be..a1028dd 100644
--- a/chart2/source/controller/main/ChartController_TextEdit.cxx
+++ b/chart2/source/controller/main/ChartController_TextEdit.cxx
@@ -163,10 +163,10 @@ void SAL_CALL ChartController::executeDispatch_InsertSpecialCharacter()
OSL_ENSURE( pFact, "No dialog factory" );
SfxAllItemSet aSet( m_pDrawModelWrapper->GetItemPool() );
- aSet.Put( SfxBoolItem( FN_PARAM_1, sal_False ) );
+ aSet.Put( SfxBoolItem( FN_PARAM_1, false ) );
//set fixed current font
- aSet.Put( SfxBoolItem( FN_PARAM_2, sal_True ) ); //maybe not necessary in future
+ aSet.Put( SfxBoolItem( FN_PARAM_2, true ) ); //maybe not necessary in future
Font aCurFont = m_pDrawViewWrapper->getOutliner()->GetRefDevice()->GetFont();
aSet.Put( SvxFontItem( aCurFont.GetFamily(), aCurFont.GetName(), aCurFont.GetStyleName(), aCurFont.GetPitch(), aCurFont.GetCharSet(), SID_ATTR_CHAR_FONT ) );
diff --git a/chart2/source/tools/ChartTypeHelper.cxx b/chart2/source/tools/ChartTypeHelper.cxx
index f8affac..325a366 100644
--- a/chart2/source/tools/ChartTypeHelper.cxx
+++ b/chart2/source/tools/ChartTypeHelper.cxx
@@ -441,9 +441,9 @@ bool ChartTypeHelper::noBordersForSimpleScheme( const uno::Reference< chart2::XC
{
OUString aChartTypeName = xChartType->getChartType();
if( aChartTypeName.match(CHART2_SERVICE_NAME_CHARTTYPE_PIE) )
- return sal_True;
+ return true;
}
- return sal_False;
+ return false;
}
sal_Int32 ChartTypeHelper::getDefaultDirectLightColor( bool bSimple, const uno::Reference< chart2::XChartType >& xChartType )
diff --git a/chart2/source/tools/DiagramHelper.cxx b/chart2/source/tools/DiagramHelper.cxx
index 3a63b84..7aa0f97 100644
--- a/chart2/source/tools/DiagramHelper.cxx
+++ b/chart2/source/tools/DiagramHelper.cxx
@@ -148,7 +148,7 @@ void DiagramHelper::setVertical(
bool bChanged = false;
if( xProp.is() )
{
- bool bOldSwap = sal_False;
+ bool bOldSwap = false;
if( !(xProp->getPropertyValue( "SwapXAndYAxis" ) >>= bOldSwap)
|| bVertical != bOldSwap )
bChanged = true;
diff --git a/chart2/source/tools/LifeTime.cxx b/chart2/source/tools/LifeTime.cxx
index 2562f56..877718f 100644
--- a/chart2/source/tools/LifeTime.cxx
+++ b/chart2/source/tools/LifeTime.cxx
@@ -60,9 +60,9 @@ bool LifeTimeManager::impl_isDisposed( bool bAssert )
OSL_FAIL( "This component is already disposed " );
(void)(bAssert);
}
- return sal_True;
+ return true;
}
- return sal_False;
+ return false;
}
sal_Bool LifeTimeManager
::impl_canStartApiCall()
@@ -178,7 +178,7 @@ CloseableLifeTimeManager::~CloseableLifeTimeManager()
bool CloseableLifeTimeManager::impl_isDisposedOrClosed( bool bAssert )
{
if( impl_isDisposed( bAssert ) )
- return sal_True;
+ return true;
if( m_bClosed )
{
@@ -187,9 +187,9 @@ bool CloseableLifeTimeManager::impl_isDisposedOrClosed( bool bAssert )
OSL_FAIL( "This object is already closed" );
(void)(bAssert);//avoid warnings
}
- return sal_True;
+ return true;
}
- return sal_False;
+ return false;
}
sal_Bool CloseableLifeTimeManager
diff --git a/chart2/source/tools/MediaDescriptorHelper.cxx b/chart2/source/tools/MediaDescriptorHelper.cxx
index 2a53343..7061185 100644
--- a/chart2/source/tools/MediaDescriptorHelper.cxx
+++ b/chart2/source/tools/MediaDescriptorHelper.cxx
@@ -32,7 +32,7 @@ if(rProp.Name.equals(#MediaName)) \
{ \
if( rProp.Value >>= MediaName ) \
ISSET_##MediaName = sal_True; \
- if(nFlags & FLAG_DEPRECATED) \
+ if((nFlags & FLAG_DEPRECATED) != 0) \
{ \
m_aDeprecatedProperties[nDeprecatedCount]=rProp;\
nDeprecatedCount++; \
@@ -41,7 +41,7 @@ if(rProp.Name.equals(#MediaName)) \
{ \
m_aRegularProperties[nRegularCount]=rProp; \
nRegularCount++; \
- if( nFlags & FLAG_MODEL) \
+ if((nFlags & FLAG_MODEL) != 0) \
{ \
m_aModelProperties[nModelCount]=rProp; \
nModelCount++; \
diff --git a/chart2/source/view/axes/ScaleAutomatism.cxx b/chart2/source/view/axes/ScaleAutomatism.cxx
index 6802a0b..1dbab1c 100644
--- a/chart2/source/view/axes/ScaleAutomatism.cxx
+++ b/chart2/source/view/axes/ScaleAutomatism.cxx
@@ -254,7 +254,7 @@ void ScaleAutomatism::calculateExplicitIncrementAndScaleForCategory(
rExplicitScale.Maximum = rExplicitScale.Minimum + 1.0;
// default increment settings
- rExplicitIncrement.PostEquidistant = sal_True; // does not matter anyhow
+ rExplicitIncrement.PostEquidistant = true; // does not matter anyhow
rExplicitIncrement.Distance = 1.0; // category axis always have a main increment of 1
rExplicitIncrement.BaseValue = 0.0; // category axis always have a base of 0
@@ -289,7 +289,7 @@ void ScaleAutomatism::calculateExplicitIncrementAndScaleForCategory(
if(!(rSubIncrement.PostEquidistant>>=aExplicitSubIncrement.PostEquidistant))
{
//scaling dependent
- aExplicitSubIncrement.PostEquidistant = sal_False;
+ aExplicitSubIncrement.PostEquidistant = false;
}
rExplicitIncrement.SubIncrements.push_back(aExplicitSubIncrement);
}
@@ -311,7 +311,7 @@ void ScaleAutomatism::calculateExplicitIncrementAndScaleForLogarithmic(
// set automatic PostEquidistant to true (maybe scaling dependent?)
// Note: scaling with PostEquidistant==false is untested and needs review
if( !(m_aSourceScale.IncrementData.PostEquidistant >>= rExplicitIncrement.PostEquidistant) )
- rExplicitIncrement.PostEquidistant = sal_True;
+ rExplicitIncrement.PostEquidistant = true;
/* All following scaling code will operate on the logarithms of the source
values. In the last step, the original values will be restored. */
@@ -550,7 +550,7 @@ void ScaleAutomatism::calculateExplicitIncrementAndScaleForLogarithmic(
if(!(rSubIncrement.PostEquidistant>>=aExplicitSubIncrement.PostEquidistant))
{
//scaling dependent
- aExplicitSubIncrement.PostEquidistant = sal_False;
+ aExplicitSubIncrement.PostEquidistant = false;
}
rExplicitIncrement.SubIncrements.push_back(aExplicitSubIncrement);
}
@@ -563,7 +563,7 @@ void ScaleAutomatism::calculateExplicitIncrementAndScaleForDateTimeAxis(
{
Date aMinDate(m_aNullDate); aMinDate += static_cast<long>(::rtl::math::approxFloor(rExplicitScale.Minimum));
Date aMaxDate(m_aNullDate); aMaxDate += static_cast<long>(::rtl::math::approxFloor(rExplicitScale.Maximum));
- rExplicitIncrement.PostEquidistant = sal_False;
+ rExplicitIncrement.PostEquidistant = false;
if( aMinDate > aMaxDate )
{
@@ -760,7 +760,7 @@ void ScaleAutomatism::calculateExplicitIncrementAndScaleForLinear(
// set automatic PostEquidistant to true (maybe scaling dependent?)
if( !(m_aSourceScale.IncrementData.PostEquidistant >>= rExplicitIncrement.PostEquidistant) )
- rExplicitIncrement.PostEquidistant = sal_True;
+ rExplicitIncrement.PostEquidistant = true;
/* If range is invalid (minimum greater than maximum), change one of the
variable limits to validate the range. In this step, a zero-sized range
@@ -992,7 +992,7 @@ void ScaleAutomatism::calculateExplicitIncrementAndScaleForLinear(
if(!(rSubIncrement.PostEquidistant>>=aExplicitSubIncrement.PostEquidistant))
{
//scaling dependent
- aExplicitSubIncrement.PostEquidistant = sal_False;
+ aExplicitSubIncrement.PostEquidistant = false;
}
rExplicitIncrement.SubIncrements.push_back(aExplicitSubIncrement);
}
diff --git a/chart2/source/view/charttypes/Splines.cxx b/chart2/source/view/charttypes/Splines.cxx
index 54f2354..848a6b8 100644
--- a/chart2/source/view/charttypes/Splines.cxx
+++ b/chart2/source/view/charttypes/Splines.cxx
@@ -122,7 +122,7 @@ lcl_SplineCalculation::lcl_SplineCalculation(
m_nKHigh( rSortedPoints.size() - 1 ),
m_fLastInterpolatedValue(0.0)
{
- ::rtl::math::setInf( &m_fLastInterpolatedValue, sal_False );
+ ::rtl::math::setInf( &m_fLastInterpolatedValue, false );
Calculate();
}
@@ -135,7 +135,7 @@ lcl_SplineCalculation::lcl_SplineCalculation(
m_nKHigh( rSortedPoints.size() - 1 ),
m_fLastInterpolatedValue(0.0)
{
- ::rtl::math::setInf( &m_fLastInterpolatedValue, sal_False );
+ ::rtl::math::setInf( &m_fLastInterpolatedValue, false );
CalculatePeriodic();
}
@@ -608,7 +608,7 @@ void SplineCalculater::CalculateCubicSplines(
else // generate the kind "natural spline"
{
double fInfty;
- ::rtl::math::setInf( &fInfty, sal_False );
+ ::rtl::math::setInf( &fInfty, false );
fXDerivation = fInfty;
fYDerivation = fInfty;
aSplineX = new lcl_SplineCalculation( aInputX, fXDerivation, fXDerivation );
diff --git a/chart2/source/view/main/ChartItemPool.cxx b/chart2/source/view/main/ChartItemPool.cxx
index 3718dad..da8fe49 100644
--- a/chart2/source/view/main/ChartItemPool.cxx
+++ b/chart2/source/view/main/ChartItemPool.cxx
@@ -57,11 +57,11 @@ ChartItemPool::ChartItemPool():
//legend
ppPoolDefaults[SCHATTR_LEGEND_POS - SCHATTR_START] = new SfxInt32Item(SCHATTR_LEGEND_POS, ::com::sun::star::chart2::LegendPosition_LINE_END );
- ppPoolDefaults[SCHATTR_LEGEND_SHOW - SCHATTR_START] = new SfxBoolItem(SCHATTR_LEGEND_SHOW, sal_True);
+ ppPoolDefaults[SCHATTR_LEGEND_SHOW - SCHATTR_START] = new SfxBoolItem(SCHATTR_LEGEND_SHOW, true);
//text
ppPoolDefaults[SCHATTR_TEXT_DEGREES - SCHATTR_START] = new SfxInt32Item(SCHATTR_TEXT_DEGREES, 0);
- ppPoolDefaults[SCHATTR_TEXT_STACKED - SCHATTR_START] = new SfxBoolItem(SCHATTR_TEXT_STACKED,sal_False);
+ ppPoolDefaults[SCHATTR_TEXT_STACKED - SCHATTR_START] = new SfxBoolItem(SCHATTR_TEXT_STACKED,false);
//statistic
ppPoolDefaults[SCHATTR_STAT_AVERAGE - SCHATTR_START] = new SfxBoolItem (SCHATTR_STAT_AVERAGE);
@@ -75,13 +75,13 @@ ChartItemPool::ChartItemPool():
ppPoolDefaults[SCHATTR_STAT_RANGE_NEG - SCHATTR_START] = new SfxStringItem (SCHATTR_STAT_RANGE_NEG, OUString());
ppPoolDefaults[SCHATTR_STAT_ERRORBAR_TYPE - SCHATTR_START] = new SfxBoolItem(SCHATTR_STAT_ERRORBAR_TYPE, true);
- ppPoolDefaults[SCHATTR_STYLE_DEEP - SCHATTR_START] = new SfxBoolItem (SCHATTR_STYLE_DEEP, 0);
- ppPoolDefaults[SCHATTR_STYLE_3D - SCHATTR_START] = new SfxBoolItem (SCHATTR_STYLE_3D, 0);
- ppPoolDefaults[SCHATTR_STYLE_VERTICAL - SCHATTR_START] = new SfxBoolItem (SCHATTR_STYLE_VERTICAL, 0);
+ ppPoolDefaults[SCHATTR_STYLE_DEEP - SCHATTR_START] = new SfxBoolItem (SCHATTR_STYLE_DEEP, false);
+ ppPoolDefaults[SCHATTR_STYLE_3D - SCHATTR_START] = new SfxBoolItem (SCHATTR_STYLE_3D, false);
+ ppPoolDefaults[SCHATTR_STYLE_VERTICAL - SCHATTR_START] = new SfxBoolItem (SCHATTR_STYLE_VERTICAL, false);
ppPoolDefaults[SCHATTR_STYLE_BASETYPE - SCHATTR_START] = new SfxInt32Item(SCHATTR_STYLE_BASETYPE, 0);
- ppPoolDefaults[SCHATTR_STYLE_LINES - SCHATTR_START] = new SfxBoolItem (SCHATTR_STYLE_LINES, 0);
- ppPoolDefaults[SCHATTR_STYLE_PERCENT - SCHATTR_START] = new SfxBoolItem (SCHATTR_STYLE_PERCENT, 0);
- ppPoolDefaults[SCHATTR_STYLE_STACKED - SCHATTR_START] = new SfxBoolItem (SCHATTR_STYLE_STACKED, 0);
+ ppPoolDefaults[SCHATTR_STYLE_LINES - SCHATTR_START] = new SfxBoolItem (SCHATTR_STYLE_LINES, false);
+ ppPoolDefaults[SCHATTR_STYLE_PERCENT - SCHATTR_START] = new SfxBoolItem (SCHATTR_STYLE_PERCENT, false);
+ ppPoolDefaults[SCHATTR_STYLE_STACKED - SCHATTR_START] = new SfxBoolItem (SCHATTR_STYLE_STACKED, false);
ppPoolDefaults[SCHATTR_STYLE_SPLINES - SCHATTR_START] = new SfxInt32Item (SCHATTR_STYLE_SPLINES, 0); //Bug: was Bool! test ->Fileformat (touches only 5's)
ppPoolDefaults[SCHATTR_STYLE_SYMBOL - SCHATTR_START] = new SfxInt32Item (SCHATTR_STYLE_SYMBOL, 0);
ppPoolDefaults[SCHATTR_STYLE_SHAPE - SCHATTR_START] = new SfxInt32Item (SCHATTR_STYLE_SHAPE, 0);
@@ -90,7 +90,7 @@ ChartItemPool::ChartItemPool():
//axis scale
ppPoolDefaults[SCHATTR_AXISTYPE - SCHATTR_START] = new SfxInt32Item(SCHATTR_AXISTYPE, CHART_AXIS_REALNUMBER);
- ppPoolDefaults[SCHATTR_AXIS_REVERSE - SCHATTR_START] = new SfxBoolItem(SCHATTR_AXIS_REVERSE,0);
+ ppPoolDefaults[SCHATTR_AXIS_REVERSE - SCHATTR_START] = new SfxBoolItem(SCHATTR_AXIS_REVERSE,false);
ppPoolDefaults[SCHATTR_AXIS_AUTO_MIN - SCHATTR_START] = new SfxBoolItem(SCHATTR_AXIS_AUTO_MIN);
ppPoolDefaults[SCHATTR_AXIS_MIN - SCHATTR_START] = new SvxDoubleItem(0.0, SCHATTR_AXIS_MIN);
ppPoolDefaults[SCHATTR_AXIS_AUTO_MAX - SCHATTR_START] = new SfxBoolItem(SCHATTR_AXIS_AUTO_MAX);
@@ -119,43 +119,43 @@ ChartItemPool::ChartItemPool():
ppPoolDefaults[SCHATTR_AXIS_MARK_POSITION - SCHATTR_START] = new SfxInt32Item(SCHATTR_AXIS_MARK_POSITION,0);
//axis label
- ppPoolDefaults[SCHATTR_AXIS_SHOWDESCR - SCHATTR_START] = new SfxBoolItem(SCHATTR_AXIS_SHOWDESCR,0);
+ ppPoolDefaults[SCHATTR_AXIS_SHOWDESCR - SCHATTR_START] = new SfxBoolItem(SCHATTR_AXIS_SHOWDESCR,false);
ppPoolDefaults[SCHATTR_AXIS_LABEL_ORDER - SCHATTR_START] = new SvxChartTextOrderItem(CHTXTORDER_SIDEBYSIDE, SCHATTR_AXIS_LABEL_ORDER);
- ppPoolDefaults[SCHATTR_AXIS_LABEL_OVERLAP - SCHATTR_START] = new SfxBoolItem(SCHATTR_AXIS_LABEL_OVERLAP,sal_False);
- ppPoolDefaults[SCHATTR_AXIS_LABEL_BREAK - SCHATTR_START] = new SfxBoolItem(SCHATTR_AXIS_LABEL_BREAK, sal_False );
+ ppPoolDefaults[SCHATTR_AXIS_LABEL_OVERLAP - SCHATTR_START] = new SfxBoolItem(SCHATTR_AXIS_LABEL_OVERLAP,false);
+ ppPoolDefaults[SCHATTR_AXIS_LABEL_BREAK - SCHATTR_START] = new SfxBoolItem(SCHATTR_AXIS_LABEL_BREAK, false );
//--
ppPoolDefaults[SCHATTR_SYMBOL_BRUSH - SCHATTR_START] = new SvxBrushItem(SCHATTR_SYMBOL_BRUSH);
- ppPoolDefaults[SCHATTR_STOCK_VOLUME - SCHATTR_START] = new SfxBoolItem(SCHATTR_STOCK_VOLUME,0);
- ppPoolDefaults[SCHATTR_STOCK_UPDOWN - SCHATTR_START] = new SfxBoolItem(SCHATTR_STOCK_UPDOWN,0);
+ ppPoolDefaults[SCHATTR_STOCK_VOLUME - SCHATTR_START] = new SfxBoolItem(SCHATTR_STOCK_VOLUME,false);
+ ppPoolDefaults[SCHATTR_STOCK_UPDOWN - SCHATTR_START] = new SfxBoolItem(SCHATTR_STOCK_UPDOWN,false);
ppPoolDefaults[SCHATTR_SYMBOL_SIZE - SCHATTR_START] = new SvxSizeItem(SCHATTR_SYMBOL_SIZE,Size(0,0));
// new for New Chart
ppPoolDefaults[SCHATTR_BAR_OVERLAP - SCHATTR_START] = new SfxInt32Item(SCHATTR_BAR_OVERLAP,0);
ppPoolDefaults[SCHATTR_BAR_GAPWIDTH - SCHATTR_START] = new SfxInt32Item(SCHATTR_BAR_GAPWIDTH,0);
- ppPoolDefaults[SCHATTR_BAR_CONNECT - SCHATTR_START] = new SfxBoolItem(SCHATTR_BAR_CONNECT, sal_False);
+ ppPoolDefaults[SCHATTR_BAR_CONNECT - SCHATTR_START] = new SfxBoolItem(SCHATTR_BAR_CONNECT, false);
ppPoolDefaults[SCHATTR_NUM_OF_LINES_FOR_BAR - SCHATTR_START] = new SfxInt32Item( SCHATTR_NUM_OF_LINES_FOR_BAR, 0 );
ppPoolDefaults[SCHATTR_SPLINE_ORDER - SCHATTR_START] = new SfxInt32Item( SCHATTR_SPLINE_ORDER, 3 );
ppPoolDefaults[SCHATTR_SPLINE_RESOLUTION - SCHATTR_START] = new SfxInt32Item( SCHATTR_SPLINE_RESOLUTION, 20 );
ppPoolDefaults[SCHATTR_DIAGRAM_STYLE - SCHATTR_START] = new SvxChartStyleItem( CHSTYLE_2D_COLUMN, SCHATTR_DIAGRAM_STYLE );
- ppPoolDefaults[SCHATTR_GROUP_BARS_PER_AXIS - SCHATTR_START] = new SfxBoolItem(SCHATTR_GROUP_BARS_PER_AXIS, sal_False);
+ ppPoolDefaults[SCHATTR_GROUP_BARS_PER_AXIS - SCHATTR_START] = new SfxBoolItem(SCHATTR_GROUP_BARS_PER_AXIS, false);
ppPoolDefaults[SCHATTR_STARTING_ANGLE - SCHATTR_START] = new SfxInt32Item( SCHATTR_STARTING_ANGLE, 90 );
- ppPoolDefaults[SCHATTR_CLOCKWISE - SCHATTR_START] = new SfxBoolItem( SCHATTR_CLOCKWISE, sal_False );
+ ppPoolDefaults[SCHATTR_CLOCKWISE - SCHATTR_START] = new SfxBoolItem( SCHATTR_CLOCKWISE, false );
ppPoolDefaults[SCHATTR_MISSING_VALUE_TREATMENT - SCHATTR_START] = new SfxInt32Item(SCHATTR_MISSING_VALUE_TREATMENT, 0);
ppPoolDefaults[SCHATTR_AVAILABLE_MISSING_VALUE_TREATMENTS - SCHATTR_START] = new SfxIntegerListItem(SCHATTR_AVAILABLE_MISSING_VALUE_TREATMENTS, ::std::vector < sal_Int32 >() );
- ppPoolDefaults[SCHATTR_INCLUDE_HIDDEN_CELLS - SCHATTR_START] = new SfxBoolItem(SCHATTR_INCLUDE_HIDDEN_CELLS, sal_True);
+ ppPoolDefaults[SCHATTR_INCLUDE_HIDDEN_CELLS - SCHATTR_START] = new SfxBoolItem(SCHATTR_INCLUDE_HIDDEN_CELLS, true);
ppPoolDefaults[SCHATTR_AXIS_FOR_ALL_SERIES - SCHATTR_START] = new SfxInt32Item(SCHATTR_AXIS_FOR_ALL_SERIES, 0);
ppPoolDefaults[SCHATTR_REGRESSION_TYPE - SCHATTR_START] = new SvxChartRegressItem (CHREGRESS_NONE, SCHATTR_REGRESSION_TYPE);
- ppPoolDefaults[SCHATTR_REGRESSION_SHOW_EQUATION - SCHATTR_START] = new SfxBoolItem(SCHATTR_REGRESSION_SHOW_EQUATION, 0);
- ppPoolDefaults[SCHATTR_REGRESSION_SHOW_COEFF - SCHATTR_START] = new SfxBoolItem(SCHATTR_REGRESSION_SHOW_COEFF, 0);
+ ppPoolDefaults[SCHATTR_REGRESSION_SHOW_EQUATION - SCHATTR_START] = new SfxBoolItem(SCHATTR_REGRESSION_SHOW_EQUATION, false);
+ ppPoolDefaults[SCHATTR_REGRESSION_SHOW_COEFF - SCHATTR_START] = new SfxBoolItem(SCHATTR_REGRESSION_SHOW_COEFF, false);
ppPoolDefaults[SCHATTR_REGRESSION_DEGREE - SCHATTR_START] = new SfxInt32Item(SCHATTR_REGRESSION_DEGREE, 2);
ppPoolDefaults[SCHATTR_REGRESSION_PERIOD - SCHATTR_START] = new SfxInt32Item(SCHATTR_REGRESSION_PERIOD, 2);
ppPoolDefaults[SCHATTR_REGRESSION_EXTRAPOLATE_FORWARD - SCHATTR_START] = new SvxDoubleItem(0.0, SCHATTR_REGRESSION_EXTRAPOLATE_FORWARD);
ppPoolDefaults[SCHATTR_REGRESSION_EXTRAPOLATE_BACKWARD - SCHATTR_START] = new SvxDoubleItem(0.0, SCHATTR_REGRESSION_EXTRAPOLATE_BACKWARD);
- ppPoolDefaults[SCHATTR_REGRESSION_SET_INTERCEPT - SCHATTR_START] = new SfxBoolItem(SCHATTR_REGRESSION_SET_INTERCEPT, sal_False);
+ ppPoolDefaults[SCHATTR_REGRESSION_SET_INTERCEPT - SCHATTR_START] = new SfxBoolItem(SCHATTR_REGRESSION_SET_INTERCEPT, false);
ppPoolDefaults[SCHATTR_REGRESSION_INTERCEPT_VALUE - SCHATTR_START] = new SvxDoubleItem(0.0, SCHATTR_REGRESSION_INTERCEPT_VALUE);
ppPoolDefaults[SCHATTR_REGRESSION_CURVE_NAME - SCHATTR_START] = new SfxStringItem(SCHATTR_REGRESSION_CURVE_NAME, OUString());
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx
index 3dac9dd..5766ef6 100644
--- a/chart2/source/view/main/ChartView.cxx
+++ b/chart2/source/view/main/ChartView.cxx
@@ -2381,7 +2381,7 @@ void ChartView::createShapes()
{
SolarMutexGuard aSolarGuard;
// #i12587# support for shapes in chart
- m_pDrawModelWrapper->getSdrModel().EnableUndo( sal_False );
+ m_pDrawModelWrapper->getSdrModel().EnableUndo( false );
m_pDrawModelWrapper->clearMainDrawPage();
}
@@ -2621,7 +2621,7 @@ void ChartView::impl_updateView()
void SAL_CALL ChartView::modified( const lang::EventObject& /* aEvent */ )
throw (uno::RuntimeException)
{
- m_bViewDirty = sal_True;
+ m_bViewDirty = true;
if( m_bInViewUpdate )
m_bViewUpdatePending = true;
diff --git a/chart2/source/view/main/DrawModelWrapper.cxx b/chart2/source/view/main/DrawModelWrapper.cxx
index dedf65e..cc4c01e 100644
--- a/chart2/source/view/main/DrawModelWrapper.cxx
+++ b/chart2/source/view/main/DrawModelWrapper.cxx
@@ -116,7 +116,7 @@ DrawModelWrapper::DrawModelWrapper( const uno::Reference<uno::XComponentContext>
SfxItemPool* pMasterPool = &GetItemPool();
pMasterPool->SetDefaultMetric(SFX_MAPUNIT_100TH_MM);
- pMasterPool->SetPoolDefaultItem(SfxBoolItem(EE_PARA_HYPHENATE, sal_True) );
+ pMasterPool->SetPoolDefaultItem(SfxBoolItem(EE_PARA_HYPHENATE, true) );
pMasterPool->SetPoolDefaultItem(Svx3DPercentDiagonalItem (5));
SfxItemPool* pPool = pMasterPool;
diff --git a/chart2/source/view/main/VLegend.cxx b/chart2/source/view/main/VLegend.cxx
index 1eca2b2..6370a08 100644
--- a/chart2/source/view/main/VLegend.cxx
+++ b/chart2/source/view/main/VLegend.cxx
@@ -801,7 +801,7 @@ void VLegend::setDefaultWritingMode( sal_Int16 nDefaultWritingMode )
bool VLegend::isVisible( const Reference< XLegend > & xLegend )
{
if( ! xLegend.is())
- return sal_False;
+ return false;
sal_Bool bShow = sal_False;
try
commit c68a8f45581394a349f76aaece3b1f0ad65acd8f
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Jan 28 20:02:50 2014 +0100
bool improvements
Change-Id: Iaf63fd2282ce8de4f4c3dc7120afe1bc0613228a
diff --git a/cppuhelper/source/exc_thrower.cxx b/cppuhelper/source/exc_thrower.cxx
index 7a32220..70a2274 100644
--- a/cppuhelper/source/exc_thrower.cxx
+++ b/cppuhelper/source/exc_thrower.cxx
@@ -119,7 +119,7 @@ static void SAL_CALL ExceptionThrower_dispatch(
}
default:
{
- OSL_ASSERT( 0 );
+ OSL_ASSERT( false );
RuntimeException exc(
"not implemented!", Reference< XInterface >() );
uno_type_any_construct(
diff --git a/cppuhelper/source/weak.cxx b/cppuhelper/source/weak.cxx
index 8bba4da..1429f64 100644
--- a/cppuhelper/source/weak.cxx
+++ b/cppuhelper/source/weak.cxx
@@ -353,7 +353,7 @@ OWeakRefListener::OWeakRefListener(const OWeakRefListener& rRef) SAL_THROW(())
m_XWeakConnectionPoint->addReference((XReference*)this);
}
}
- catch (RuntimeException &) { OSL_ASSERT( 0 ); } // assert here, but no unexpected()
+ catch (RuntimeException &) { OSL_ASSERT( false ); } // assert here, but no unexpected()
osl_atomic_decrement( &m_aRefCount );
}
@@ -374,7 +374,7 @@ OWeakRefListener::OWeakRefListener(const Reference< XInterface >& xInt) SAL_THRO
}
}
}
- catch (RuntimeException &) { OSL_ASSERT( 0 ); } // assert here, but no unexpected()
+ catch (RuntimeException &) { OSL_ASSERT( false ); } // assert here, but no unexpected()
osl_atomic_decrement( &m_aRefCount );
}
@@ -388,7 +388,7 @@ OWeakRefListener::~OWeakRefListener() SAL_THROW(())
m_XWeakConnectionPoint->removeReference((XReference*)this);
}
}
- catch (RuntimeException &) { OSL_ASSERT( 0 ); } // assert here, but no unexpected()
+ catch (RuntimeException &) { OSL_ASSERT( false ); } // assert here, but no unexpected()
}
// XInterface
@@ -468,7 +468,7 @@ void WeakReferenceHelper::clear() SAL_THROW(())
m_pImpl = 0;
}
}
- catch (RuntimeException &) { OSL_ASSERT( 0 ); } // assert here, but no unexpected()
+ catch (RuntimeException &) { OSL_ASSERT( false ); } // assert here, but no unexpected()
}
WeakReferenceHelper& WeakReferenceHelper::operator=(const WeakReferenceHelper& rWeakRef) SAL_THROW(())
@@ -494,7 +494,7 @@ SAL_THROW(())
m_pImpl->acquire();
}
}
- catch (RuntimeException &) { OSL_ASSERT( 0 ); } // assert here, but no unexpected()
+ catch (RuntimeException &) { OSL_ASSERT( false ); } // assert here, but no unexpected()
return *this;
}
@@ -517,7 +517,7 @@ Reference< XInterface > WeakReferenceHelper::get() const SAL_THROW(())
if (xAdp.is())
return xAdp->queryAdapted();
}
- catch (RuntimeException &) { OSL_ASSERT( 0 ); } // assert here, but no unexpected()
+ catch (RuntimeException &) { OSL_ASSERT( false ); } // assert here, but no unexpected()
return Reference< XInterface >();
}
commit ee883319f2fd2aa5494597d2b53e60d6343c787e
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Jan 28 20:02:43 2014 +0100
bool improvements
Change-Id: Ibb509cb162e53e03d42cb50eb30dd1d175991dd6
diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx
index 489aace..d15fd53 100644
--- a/cui/source/customize/acccfg.cxx
+++ b/cui/source/customize/acccfg.cxx
@@ -1086,13 +1086,13 @@ IMPL_LINK( SfxAcceleratorConfigPage, SelectHdl, Control*, pListBox )
TAccInfo* pEntry = (TAccInfo*)aEntriesBox.GetEntry(0, nPos)->GetUserData();
OUString sPossibleNewCommand = pFunctionBox->GetCurCommand();
- aRemoveButton.Enable( sal_False );
- aChangeButton.Enable( sal_False );
+ aRemoveButton.Enable( false );
+ aChangeButton.Enable( false );
if (pEntry->m_bIsConfigurable)
{
if (pEntry->isConfigured())
- aRemoveButton.Enable( sal_True );
+ aRemoveButton.Enable( true );
aChangeButton.Enable( pEntry->m_sCommand != sPossibleNewCommand );
}
}
@@ -1100,12 +1100,12 @@ IMPL_LINK( SfxAcceleratorConfigPage, SelectHdl, Control*, pListBox )
{
pGroupLBox->GroupSelected();
if ( !pFunctionBox->FirstSelected() )
- aChangeButton.Enable( sal_False );
+ aChangeButton.Enable( false );
}
else if ( pListBox == pFunctionBox )
{
- aRemoveButton.Enable( sal_False );
- aChangeButton.Enable( sal_False );
+ aRemoveButton.Enable( false );
+ aChangeButton.Enable( false );
// #i36994 First selected can return zero!
SvTreeListEntry* pLBEntry = aEntriesBox.FirstSelected();
@@ -1118,7 +1118,7 @@ IMPL_LINK( SfxAcceleratorConfigPage, SelectHdl, Control*, pListBox )
if (pEntry->m_bIsConfigurable)
{
if (pEntry->isConfigured())
- aRemoveButton.Enable( sal_True );
+ aRemoveButton.Enable( true );
aChangeButton.Enable( pEntry->m_sCommand != sPossibleNewCommand );
}
@@ -1133,7 +1133,7 @@ IMPL_LINK( SfxAcceleratorConfigPage, SelectHdl, Control*, pListBox )
TAccInfo* pU1 = new TAccInfo(-1, -1, pUserData->m_aKey);
SvTreeListEntry* pE1 = aKeyBox.InsertEntry( pUserData->m_aKey.GetName(), 0L, sal_True, LIST_APPEND );
pE1->SetUserData(pU1);
- pE1->EnableChildrenOnDemand( sal_False );
+ pE1->EnableChildrenOnDemand( false );
}
pIt = aEntriesBox.Next(pIt);
}
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index 3f89c70..f55addc 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -404,9 +404,9 @@ SvxConfigPage::CanConfig( const OUString& aModuleId )
if ( aModuleId == "com.sun.star.script.BasicIDE" || aModuleId == "com.sun.star.frame.Bibliography" )
{
- return sal_False;
+ return false;
}
- return sal_True;
+ return true;
}
OUString GetModuleName( const OUString& aModuleId )
@@ -510,14 +510,14 @@ bool GetMenuItemData(
}
}
- return sal_True;
+ return true;
}
}
catch ( ::com::sun::star::lang::IndexOutOfBoundsException& )
{
}
- return sal_False;
+ return false;
}
bool GetToolbarItemData(
@@ -563,14 +563,14 @@ bool GetToolbarItemData(
}
}
- return sal_True;
+ return true;
}
}
catch ( ::com::sun::star::lang::IndexOutOfBoundsException& )
{
}
- return sal_False;
+ return false;
}
uno::Sequence< beans::PropertyValue >
@@ -848,9 +848,9 @@ SaveInData::SaveInData(
const OUString& aModuleId,
bool isDocConfig )
:
- bModified( sal_False ),
+ bModified( false ),
bDocConfig( isDocConfig ),
- bReadOnly( sal_False ),
+ bReadOnly( false ),
m_xCfgMgr( xCfgMgr ),
m_xParentCfgMgr( xParentCfgMgr )
{
@@ -959,7 +959,7 @@ Image SaveInData::GetImage( const OUString& rCommandURL )
bool SaveInData::PersistChanges(
const uno::Reference< uno::XInterface >& xManager )
{
- bool result = sal_True;
+ bool result = true;
try
{
@@ -976,7 +976,7 @@ bool SaveInData::PersistChanges(
}
catch ( com::sun::star::io::IOException& )
{
- result = sal_False;
+ result = false;
}
return result;
@@ -1040,7 +1040,7 @@ MenuSaveInData::GetEntries()
{
pRootEntry = new SvxConfigEntry(
OUString("MainMenus"),
- OUString(), sal_True);
+ OUString(), true);
if ( m_xMenuSettings.is() )
{
@@ -1085,7 +1085,7 @@ bool MenuSaveInData::LoadSubMenus(
uno::Reference< container::XIndexAccess > xSubMenu;
OUString aCommandURL;
OUString aLabel;
- bool bIsUserDefined = sal_True;
+ bool bIsUserDefined = true;
sal_uInt16 nType( css::ui::ItemType::DEFAULT );
@@ -1100,11 +1100,11 @@ bool MenuSaveInData::LoadSubMenus(
try
{
a = m_xCommandToLabelMap->getByName( aCommandURL );
- bIsUserDefined = sal_False;
+ bIsUserDefined = false;
}
catch ( container::NoSuchElementException& )
{
- bIsUserDefined = sal_True;
+ bIsUserDefined = true;
}
// If custom label not set retrieve it from the command
@@ -1129,7 +1129,7 @@ bool MenuSaveInData::LoadSubMenus(
{
// popup menu
SvxConfigEntry* pEntry = new SvxConfigEntry(
- aLabel, aCommandURL, sal_True );
+ aLabel, aCommandURL, true );
pEntry->SetUserDefined( bIsUserDefined );
@@ -1143,7 +1143,7 @@ bool MenuSaveInData::LoadSubMenus(
}
else
{
- pEntry->SetMain( sal_True );
+ pEntry->SetMain( true );
}
subMenuTitle += stripHotKey( aLabel );
@@ -1153,7 +1153,7 @@ bool MenuSaveInData::LoadSubMenus(
else
{
SvxConfigEntry* pEntry = new SvxConfigEntry(
- aLabel, aCommandURL, sal_False );
+ aLabel, aCommandURL, false );
pEntry->SetUserDefined( bIsUserDefined );
pEntries->push_back( pEntry );
}
@@ -1171,7 +1171,7 @@ bool MenuSaveInData::LoadSubMenus(
bool MenuSaveInData::Apply()
{
- bool result = sal_False;
+ bool result = false;
if ( IsModified() )
{
@@ -1213,7 +1213,7 @@ bool MenuSaveInData::Apply()
OSL_TRACE("caught some other exception saving settings");
}
- SetModified( sal_False );
+ SetModified( false );
result = PersistChanges( GetConfigManager() );
}
@@ -1387,7 +1387,7 @@ SvxMenuEntriesListBox::SvxMenuEntriesListBox(
Window* pParent, const ResId& rResId)
: SvTreeListBox( pParent, rResId )
, pPage( (SvxMenuConfigPage*) pParent )
- , m_bIsInternalDrag( sal_False )
+ , m_bIsInternalDrag( false )
{
SetStyle(
GetStyle() | WB_CLIPCHILDREN | WB_HSCROLL | WB_HIDESELECTION );
@@ -1416,14 +1416,14 @@ DragDropMode SvxMenuEntriesListBox::NotifyStartDrag(
(void)aTransferDataContainer;
(void)pEntry;
- m_bIsInternalDrag = sal_True;
+ m_bIsInternalDrag = true;
return GetDragDropMode();
}
void SvxMenuEntriesListBox::DragFinished( sal_Int8 nDropAction )
{
(void)nDropAction;
- m_bIsInternalDrag = sal_False;
+ m_bIsInternalDrag = false;
}
sal_Int8 SvxMenuEntriesListBox::AcceptDrop( const AcceptDropEvent& rEvt )
@@ -1506,11 +1506,11 @@ void SvxMenuEntriesListBox::KeyInput( const KeyEvent& rKeyEvent )
// support CTRL+UP and CTRL+DOWN for moving selected entries
else if ( keycode.GetCode() == KEY_UP && keycode.IsMod1() )
{
- pPage->MoveEntry( sal_True );
+ pPage->MoveEntry( true );
}
else if ( keycode.GetCode() == KEY_DOWN && keycode.IsMod1() )
{
- pPage->MoveEntry( sal_False );
+ pPage->MoveEntry( false );
}
else
{
@@ -1568,7 +1568,7 @@ SvxConfigPage::SvxConfigPage(
Window *pParent, const SfxItemSet& rSet )
:
SfxTabPage( pParent, CUI_RES( RID_SVXPAGE_MENUS ), rSet ),
- bInitialised( sal_False ),
+ bInitialised( false ),
pCurrentSaveInData( 0 ),
aTopLevelSeparator( this, CUI_RES( GRP_MENUS ) ),
aTopLevelLabel( this, CUI_RES( FT_MENUS ) ),
@@ -1654,7 +1654,7 @@ void SvxConfigPage::Reset( const SfxItemSet& )
pModuleData = CreateSaveInData( xCfgMgr,
uno::Reference< css::ui::XUIConfigurationManager >(),
aModuleId,
- sal_False );
+ false );
}
catch ( container::NoSuchElementException& )
{
@@ -1691,7 +1691,7 @@ void SvxConfigPage::Reset( const SfxItemSet& )
SaveInData* pDocData = NULL;
if ( xDocCfgMgr.is() )
{
- pDocData = CreateSaveInData( xDocCfgMgr, xCfgMgr, aModuleId, sal_True );
+ pDocData = CreateSaveInData( xDocCfgMgr, xCfgMgr, aModuleId, true );
if ( !pDocData->IsReadOnly() )
{
@@ -1702,20 +1702,20 @@ void SvxConfigPage::Reset( const SfxItemSet& )
// if an item to select has been passed in (eg. the ResourceURL for a
// toolbar) then try to select the SaveInData entry that has that item
- bool bURLToSelectFound = sal_False;
+ bool bURLToSelectFound = false;
if ( !m_aURLToSelect.isEmpty() )
{
if ( pDocData != NULL && pDocData->HasURL( m_aURLToSelect ) )
{
aSaveInListBox.SelectEntryPos( nPos, sal_True );
pCurrentSaveInData = pDocData;
- bURLToSelectFound = sal_True;
+ bURLToSelectFound = true;
}
else if ( pModuleData->HasURL( m_aURLToSelect ) )
{
aSaveInListBox.SelectEntryPos( 0, sal_True );
pCurrentSaveInData = pModuleData;
- bURLToSelectFound = sal_True;
+ bURLToSelectFound = true;
}
}
@@ -1802,7 +1802,7 @@ void SvxConfigPage::Reset( const SfxItemSet& )
if ( xDocCfgMgr.is() )
{
- SaveInData* pData = CreateSaveInData( xDocCfgMgr, xCfgMgr, aModuleId, sal_True );
+ SaveInData* pData = CreateSaveInData( xDocCfgMgr, xCfgMgr, aModuleId, true );
if ( pData && !pData->IsReadOnly() )
{
@@ -1818,7 +1818,7 @@ void SvxConfigPage::Reset( const SfxItemSet& )
aSaveInListBox.SetSelectHdl(
LINK( this, SvxConfigPage, SelectSaveInLocation ) );
- bInitialised = sal_True;
+ bInitialised = true;
Init();
}
@@ -1884,7 +1884,7 @@ OUString SvxConfigPage::GetFrameWithDefaultAndIdentify( uno::Reference< frame::X
sal_Bool SvxConfigPage::FillItemSet( SfxItemSet& )
{
- bool result = sal_False;
+ bool result = false;
for ( sal_uInt16 i = 0 ; i < aSaveInListBox.GetEntryCount(); ++i )
{
@@ -2038,8 +2038,8 @@ SvTreeListEntry* SvxConfigPage::AddFunction(
}
SvxConfigEntry* pNewEntryData =
- new SvxConfigEntry( aDisplayName, aURL, sal_False );
- pNewEntryData->SetUserDefined( sal_True );
+ new SvxConfigEntry( aDisplayName, aURL, false );
+ pNewEntryData->SetUserDefined( true );
// check that this function is not already in the menu
SvxConfigEntry* pParent = GetTopLevelSelection();
@@ -2119,7 +2119,7 @@ SvTreeListEntry* SvxConfigPage::InsertEntry(
aContentsListBox->Select( pNewEntry );
aContentsListBox->MakeVisible( pNewEntry );
- GetSaveInData()->SetModified( sal_True );
+ GetSaveInData()->SetModified( true );
}
return pNewEntry;
@@ -2224,7 +2224,7 @@ bool SvxConfigPage::MoveEntryData(
//modified by shizhoubo for issue53677
if ( NULL == pSourceEntry || NULL == pTargetEntry )
{
- return sal_False;
+ return false;
}
// Grab the entries list for the currently selected menu
@@ -2239,9 +2239,9 @@ bool SvxConfigPage::MoveEntryData(
pEntries->insert(
pEntries->begin(), pSourceData );
- GetSaveInData()->SetModified( sal_True );
+ GetSaveInData()->SetModified( true );
- return sal_True;
+ return true;
}
else
{
@@ -2262,13 +2262,13 @@ bool SvxConfigPage::MoveEntryData(
// insert the source entry at the position after the target
pEntries->insert( ++iter, pSourceData );
- GetSaveInData()->SetModified( sal_True );
+ GetSaveInData()->SetModified( true );
- return sal_True;
+ return true;
}
}
- return sal_False;
+ return false;
}
SvxMenuConfigPage::SvxMenuConfigPage(
@@ -2363,8 +2363,8 @@ void SvxMenuConfigPage::UpdateButtonStates()
if ( aContentsListBox->GetEntryCount() == 0 || selection == NULL )
{
- aMoveUpButton.Enable( sal_False );
- aMoveDownButton.Enable( sal_False );
+ aMoveUpButton.Enable( false );
+ aMoveDownButton.Enable( false );
pPopup->EnableItem( ID_BEGIN_GROUP, sal_True );
pPopup->EnableItem( ID_RENAME, sal_False );
@@ -2414,7 +2414,7 @@ void SvxMenuConfigPage::DeleteSelectedTopLevel()
ReloadTopLevelListBox();
- GetSaveInData()->SetModified( sal_True );
+ GetSaveInData()->SetModified( true );
}
bool SvxMenuConfigPage::DeleteSelectedContent()
@@ -2445,11 +2445,11 @@ bool SvxMenuConfigPage::DeleteSelectedContent()
// delete data for menu entry
delete pMenuEntry;
- GetSaveInData()->SetModified( sal_True );
+ GetSaveInData()->SetModified( true );
- return sal_True;
+ return true;
}
- return sal_False;
+ return false;
}
short SvxMenuConfigPage::QueryReset()
@@ -2522,7 +2522,7 @@ IMPL_LINK( SvxMenuConfigPage, MenuSelectHdl, MenuButton *, pButton )
ReloadTopLevelListBox();
- GetSaveInData()->SetModified( sal_True );
+ GetSaveInData()->SetModified( true );
}
// #i68101# Memory leak (!)
@@ -2544,7 +2544,7 @@ IMPL_LINK( SvxMenuConfigPage, MenuSelectHdl, MenuButton *, pButton )
ReloadTopLevelListBox( pDialog->GetSelectedEntry() );
- GetSaveInData()->SetModified( sal_True );
+ GetSaveInData()->SetModified( true );
}
delete pDialog;
@@ -2574,14 +2574,14 @@ IMPL_LINK( SvxMenuConfigPage, EntrySelectHdl, MenuButton *, pButton )
pNameDialog->GetName(aNewName);
SvxConfigEntry* pNewEntryData =
- new SvxConfigEntry( aNewName, aNewName, sal_True );
- pNewEntryData->SetUserDefined( sal_True );
+ new SvxConfigEntry( aNewName, aNewName, true );
+ pNewEntryData->SetUserDefined( true );
InsertEntry( pNewEntryData );
ReloadTopLevelListBox();
- GetSaveInData()->SetModified( sal_True );
+ GetSaveInData()->SetModified( true );
}
delete pNameDialog;
@@ -2591,7 +2591,7 @@ IMPL_LINK( SvxMenuConfigPage, EntrySelectHdl, MenuButton *, pButton )
case ID_BEGIN_GROUP:
{
SvxConfigEntry* pNewEntryData = new SvxConfigEntry;
- pNewEntryData->SetUserDefined( sal_True );
+ pNewEntryData->SetUserDefined( true );
InsertEntry( pNewEntryData );
break;
@@ -2620,7 +2620,7 @@ IMPL_LINK( SvxMenuConfigPage, EntrySelectHdl, MenuButton *, pButton )
pEntry->SetName( aNewName );
aContentsListBox->SetEntryText( pActEntry, aNewName );
- GetSaveInData()->SetModified( sal_True );
+ GetSaveInData()->SetModified( true );
}
delete pNameDialog;
@@ -2657,13 +2657,13 @@ IMPL_LINK( SvxMenuConfigPage, NewMenuHdl, Button *, pButton )
SvxMainMenuOrganizerDialog* pDialog =
new SvxMainMenuOrganizerDialog( 0,
- GetSaveInData()->GetEntries(), NULL, sal_True );
+ GetSaveInData()->GetEntries(), NULL, true );
if ( pDialog->Execute() == RET_OK )
{
GetSaveInData()->SetEntries( pDialog->GetEntries() );
ReloadTopLevelListBox( pDialog->GetSelectedEntry() );
- GetSaveInData()->SetModified( sal_True );
+ GetSaveInData()->SetModified( true );
}
delete pDialog;
@@ -2754,9 +2754,9 @@ SvxMainMenuOrganizerDialog::SvxMainMenuOrganizerDialog(
OUString newurl = generateCustomMenuURL( pEntries );
SvxConfigEntry* pNewEntryData =
- new SvxConfigEntry( newname, newurl, sal_True );
- pNewEntryData->SetUserDefined( sal_True );
- pNewEntryData->SetMain( sal_True );
+ new SvxConfigEntry( newname, newurl, true );
+ pNewEntryData->SetUserDefined( true );
+ pNewEntryData->SetMain( true );
pNewMenuEntry =
m_pMenuListBox->InsertEntry( stripHotKey( pNewEntryData->GetName() ) );
@@ -2872,7 +2872,7 @@ IMPL_LINK( SvxMainMenuOrganizerDialog, MoveHdl, Button *, pButton )
m_pMenuListBox->GetModel()->Move( pSourceEntry, pTargetEntry );
m_pMenuListBox->MakeVisible( pSourceEntry );
- bModified = sal_True;
+ bModified = true;
}
}
@@ -2914,11 +2914,11 @@ SvxConfigEntry::SvxConfigEntry( const OUString& rDisplayName,
, aLabel(rDisplayName)
, aCommand(rCommandURL)
, bPopUp(bPopup)
- , bStrEdited( sal_False )
- , bIsUserDefined( sal_False )
- , bIsMain( sal_False )
+ , bStrEdited( false )
+ , bIsUserDefined( false )
+ , bIsMain( false )
, bIsParentData( bParentData )
- , bIsVisible( sal_True )
+ , bIsVisible( true )
, nStyle( 0 )
, pEntries( 0 )
{
@@ -2946,27 +2946,27 @@ bool SvxConfigEntry::IsMovable()
{
if ( IsPopup() && !IsMain() )
{
- return sal_False;
+ return false;
}
- return sal_True;
+ return true;
}
bool SvxConfigEntry::IsDeletable()
{
if ( IsMain() && !IsUserDefined() )
{
- return sal_False;
+ return false;
}
- return sal_True;
+ return true;
}
bool SvxConfigEntry::IsRenamable()
{
if ( IsMain() && !IsUserDefined() )
{
- return sal_False;
+ return false;
}
- return sal_True;
+ return true;
}
SvxToolbarConfigPage::SvxToolbarConfigPage(
@@ -3011,8 +3011,8 @@ SvxToolbarConfigPage::SvxToolbarConfigPage(
aMoveDownButton.SetClickHdl ( LINK( this, SvxToolbarConfigPage, MoveHdl) );
// Always enable Up and Down buttons
// added for issue i53677 by shizhoubo
- aMoveDownButton.Enable( sal_True );
- aMoveUpButton.Enable( sal_True );
+ aMoveDownButton.Enable( true );
+ aMoveUpButton.Enable( true );
PopupMenu* pMenu = new PopupMenu( CUI_RES( MODIFY_TOOLBAR ) );
pMenu->SetMenuFlags(
@@ -3152,10 +3152,10 @@ bool SvxToolbarConfigPage::DeleteSelectedContent()
}
}
- return sal_True;
+ return true;
}
- return sal_False;
+ return false;
}
IMPL_LINK( SvxToolbarConfigPage, MoveHdl, Button *, pButton )
@@ -3274,7 +3274,7 @@ IMPL_LINK( SvxToolbarConfigPage, ToolbarSelectHdl, MenuButton *, pButton )
IMPL_LINK( SvxToolbarConfigPage, EntrySelectHdl, MenuButton *, pButton )
{
- bool bNeedsApply = sal_False;
+ bool bNeedsApply = false;
// get currently selected toolbar
SvxConfigEntry* pToolbar = GetTopLevelSelection();
@@ -3300,7 +3300,7 @@ IMPL_LINK( SvxToolbarConfigPage, EntrySelectHdl, MenuButton *, pButton )
pEntry->SetName( aNewName );
aContentsListBox->SetEntryText( pActEntry, aNewName );
- bNeedsApply = sal_True;
+ bNeedsApply = true;
}
delete pNameDialog;
@@ -3335,7 +3335,7 @@ IMPL_LINK( SvxToolbarConfigPage, EntrySelectHdl, MenuButton *, pButton )
pEntry->SetName( aSystemName );
aContentsListBox->SetEntryText(
pActEntry, stripHotKey( aSystemName ) );
- bNeedsApply = sal_True;
+ bNeedsApply = true;
}
uno::Sequence< OUString > aURLSeq( 1 );
@@ -3365,7 +3365,7 @@ IMPL_LINK( SvxToolbarConfigPage, EntrySelectHdl, MenuButton *, pButton )
aContentsListBox->Select( pNewLBEntry );
aContentsListBox->MakeVisible( pNewLBEntry );
- bNeedsApply = sal_True;
+ bNeedsApply = true;
}
catch ( uno::Exception& )
{
@@ -3376,7 +3376,7 @@ IMPL_LINK( SvxToolbarConfigPage, EntrySelectHdl, MenuButton *, pButton )
case ID_BEGIN_GROUP:
{
SvxConfigEntry* pNewEntryData = new SvxConfigEntry;
- pNewEntryData->SetUserDefined( sal_True );
+ pNewEntryData->SetUserDefined( true );
SvTreeListEntry* pNewLBEntry = InsertEntry( pNewEntryData );
@@ -3384,7 +3384,7 @@ IMPL_LINK( SvxToolbarConfigPage, EntrySelectHdl, MenuButton *, pButton )
aContentsListBox->SetCheckButtonState(
pNewLBEntry, SV_BUTTON_TRISTATE );
- bNeedsApply = sal_True;
+ bNeedsApply = true;
break;
}
case ID_DELETE:
@@ -3829,7 +3829,7 @@ SvxEntries* ToolbarSaveInData::GetEntries()
pRootEntry = new SvxConfigEntry(
OUString("MainToolbars"),
- OUString(), sal_True);
+ OUString(), true);
uno::Sequence< uno::Sequence < beans::PropertyValue > > info =
GetConfigManager()->getUIElementsInfo(
@@ -3873,9 +3873,9 @@ SvxEntries* ToolbarSaveInData::GetEntries()
}
SvxConfigEntry* pEntry = new SvxConfigEntry(
- uiname, url, sal_True );
+ uiname, url, true );
- pEntry->SetMain( sal_True );
+ pEntry->SetMain( true );
pEntry->SetStyle( GetSystemStyle( url ) );
@@ -3885,11 +3885,11 @@ SvxEntries* ToolbarSaveInData::GetEntries()
OUString custom(CUSTOM_TOOLBAR_STR);
if ( systemname.startsWith( custom ) )
{
- pEntry->SetUserDefined( sal_True );
+ pEntry->SetUserDefined( true );
}
else
{
- pEntry->SetUserDefined( sal_False );
+ pEntry->SetUserDefined( false );
}
pRootEntry->GetEntries()->push_back( pEntry );
@@ -3961,18 +3961,18 @@ SvxEntries* ToolbarSaveInData::GetEntries()
}
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list