summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--avmedia/source/framework/mediacontrol.cxx8
-rw-r--r--basctl/source/basicide/baside2.cxx2
-rw-r--r--basctl/source/basicide/baside2b.cxx6
-rw-r--r--basctl/source/basicide/bastypes.cxx4
-rw-r--r--basctl/source/dlged/propbrw.cxx2
-rw-r--r--basctl/source/inc/bastypes.hxx4
-rw-r--r--basctl/source/inc/propbrw.hxx2
-rw-r--r--canvas/source/cairo/cairo_canvasfont.cxx2
-rw-r--r--canvas/source/cairo/cairo_devicehelper.cxx2
-rw-r--r--canvas/source/vcl/bitmapbackbuffer.cxx6
-rw-r--r--canvas/source/vcl/canvasfont.cxx2
-rw-r--r--canvas/source/vcl/canvashelper.cxx18
-rw-r--r--canvas/source/vcl/devicehelper.cxx2
-rw-r--r--canvas/source/vcl/impltools.hxx2
-rw-r--r--canvas/source/vcl/spritecanvashelper.cxx10
-rw-r--r--canvas/source/vcl/spritedevicehelper.cxx2
-rw-r--r--canvas/source/vcl/textlayout.cxx2
-rw-r--r--chart2/source/controller/dialogs/dlg_DataEditor.cxx4
-rw-r--r--chart2/source/controller/dialogs/res_DataLabel.cxx6
-rw-r--r--chart2/source/controller/dialogs/res_ErrorBar.cxx16
-rw-r--r--chart2/source/controller/dialogs/res_LegendPosition.cxx8
-rw-r--r--chart2/source/controller/dialogs/res_Trendline.cxx12
-rw-r--r--chart2/source/controller/dialogs/tp_3D_SceneAppearance.cxx44
-rw-r--r--chart2/source/controller/dialogs/tp_AxisLabel.cxx14
-rw-r--r--chart2/source/controller/dialogs/tp_RangeChooser.cxx2
-rw-r--r--chart2/source/controller/dialogs/tp_SeriesToAxis.cxx14
-rw-r--r--chart2/source/controller/dialogs/tp_TitleRotation.cxx2
-rw-r--r--chart2/source/controller/inc/dlg_DataEditor.hxx2
-rw-r--r--chart2/source/controller/main/ChartWindow.cxx4
-rw-r--r--chart2/source/view/main/DummyXShape.cxx6
-rw-r--r--cppcanvas/source/mtfrenderer/implrenderer.cxx8
-rw-r--r--cppcanvas/source/mtfrenderer/mtftools.cxx2
-rw-r--r--cppcanvas/source/mtfrenderer/textaction.cxx2
-rw-r--r--cui/source/customize/cfg.cxx88
-rw-r--r--cui/source/customize/eventdlg.cxx8
-rw-r--r--cui/source/customize/macropg.cxx4
-rw-r--r--cui/source/dialogs/SpellDialog.cxx18
-rw-r--r--cui/source/dialogs/about.cxx4
-rw-r--r--cui/source/dialogs/cuicharmap.cxx4
-rw-r--r--cui/source/dialogs/cuifmsearch.cxx36
-rw-r--r--cui/source/dialogs/cuigaldlg.cxx6
-rw-r--r--cui/source/dialogs/cuihyperdlg.cxx4
-rw-r--r--cui/source/dialogs/cuitbxform.cxx2
-rw-r--r--cui/source/dialogs/hangulhanjadlg.cxx10
-rw-r--r--cui/source/dialogs/hldocntp.cxx2
-rw-r--r--cui/source/dialogs/hldoctp.cxx4
-rw-r--r--cui/source/dialogs/hlinettp.cxx4
-rw-r--r--cui/source/dialogs/hlmailtp.cxx2
-rw-r--r--cui/source/dialogs/hltpbase.cxx2
-rw-r--r--cui/source/dialogs/iconcdlg.cxx8
-rw-r--r--cui/source/dialogs/insdlg.cxx12
-rw-r--r--cui/source/dialogs/pastedlg.cxx4
-rw-r--r--cui/source/dialogs/thesdlg.cxx2
-rw-r--r--cui/source/dialogs/zoom.cxx2
-rw-r--r--cui/source/inc/SpellDialog.hxx4
-rw-r--r--cui/source/inc/about.hxx2
-rw-r--r--cui/source/inc/cuifmsearch.hxx2
-rw-r--r--cui/source/inc/cuihyperdlg.hxx2
-rw-r--r--cui/source/options/optasian.cxx4
-rw-r--r--cui/source/options/optctl.cxx8
-rw-r--r--cui/source/options/optgdlg.cxx4
-rw-r--r--cui/source/options/optinet2.cxx20
-rw-r--r--cui/source/options/optupdt.cxx12
-rw-r--r--cui/source/tabpages/autocdlg.cxx4
-rw-r--r--cui/source/tabpages/backgrnd.cxx14
-rw-r--r--cui/source/tabpages/border.cxx4
-rw-r--r--cui/source/tabpages/chardlg.cxx56
-rw-r--r--cui/source/tabpages/dstribut.cxx40
-rw-r--r--cui/source/tabpages/macroass.cxx2
-rw-r--r--cui/source/tabpages/measure.cxx10
-rw-r--r--cui/source/tabpages/numfmt.cxx14
-rw-r--r--cui/source/tabpages/numpages.cxx48
-rw-r--r--cui/source/tabpages/page.cxx8
-rw-r--r--cui/source/tabpages/paragrph.cxx34
-rw-r--r--cui/source/tabpages/swpossizetabpage.cxx4
-rw-r--r--cui/source/tabpages/tabstpge.cxx4
-rw-r--r--cui/source/tabpages/textanim.cxx26
-rw-r--r--cui/source/tabpages/textattr.cxx14
-rw-r--r--cui/source/tabpages/tparea.cxx12
-rw-r--r--cui/source/tabpages/tpgradnt.cxx2
-rw-r--r--cui/source/tabpages/tpline.cxx10
-rw-r--r--cui/source/tabpages/tplnedef.cxx2
-rw-r--r--cui/source/tabpages/tpshadow.cxx2
-rw-r--r--cui/source/tabpages/transfrm.cxx8
-rw-r--r--dbaccess/source/ext/macromigration/macromigrationdialog.cxx4
-rw-r--r--dbaccess/source/ext/macromigration/macromigrationdialog.hxx2
-rw-r--r--dbaccess/source/ui/app/AppDetailPageHelper.cxx4
-rw-r--r--dbaccess/source/ui/app/AppDetailView.cxx2
-rw-r--r--dbaccess/source/ui/browser/brwview.cxx4
-rw-r--r--dbaccess/source/ui/browser/sbagrid.cxx8
-rw-r--r--dbaccess/source/ui/browser/unodatbr.cxx4
-rw-r--r--dbaccess/source/ui/control/FieldDescControl.cxx2
-rw-r--r--dbaccess/source/ui/control/TableGrantCtrl.cxx2
-rw-r--r--dbaccess/source/ui/control/opendoccontrols.cxx4
-rw-r--r--dbaccess/source/ui/control/sqledit.cxx2
-rw-r--r--dbaccess/source/ui/control/toolboxcontroller.cxx2
-rw-r--r--dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx2
-rw-r--r--dbaccess/source/ui/dlg/RelationDlg.cxx16
-rw-r--r--dbaccess/source/ui/dlg/TextConnectionHelper.cxx8
-rw-r--r--dbaccess/source/ui/dlg/adtabdlg.cxx12
-rw-r--r--dbaccess/source/ui/dlg/advancedsettings.cxx4
-rw-r--r--dbaccess/source/ui/dlg/dbadmin.cxx4
-rw-r--r--dbaccess/source/ui/dlg/detailpages.cxx2
-rw-r--r--dbaccess/source/ui/dlg/dlgsize.cxx2
-rw-r--r--dbaccess/source/ui/dlg/dsselect.cxx2
-rw-r--r--dbaccess/source/ui/dlg/dsselect.hxx2
-rw-r--r--dbaccess/source/ui/dlg/indexdialog.cxx2
-rw-r--r--dbaccess/source/ui/dlg/queryorder.cxx2
-rw-r--r--dbaccess/source/ui/inc/adtabdlg.hxx2
-rw-r--r--dbaccess/source/ui/misc/WCPage.cxx12
-rw-r--r--dbaccess/source/ui/misc/WColumnSelect.cxx4
-rw-r--r--dbaccess/source/ui/misc/WTypeSelect.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/JoinTableView.cxx6
-rw-r--r--dbaccess/source/ui/querydesign/LimitBox.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/QueryTableView.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/QueryTextView.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx4
-rw-r--r--dbaccess/source/ui/querydesign/TableWindowTitle.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/querydlg.cxx2
-rw-r--r--dbaccess/source/ui/tabledesign/TEditControl.cxx6
-rw-r--r--desktop/inc/app.hxx2
-rw-r--r--desktop/source/app/app.cxx2
-rw-r--r--desktop/source/deployment/gui/descedit.cxx2
-rw-r--r--desktop/source/deployment/gui/dp_gui_dialog2.cxx6
-rw-r--r--desktop/source/deployment/gui/dp_gui_dialog2.hxx4
-rw-r--r--desktop/source/deployment/gui/dp_gui_updatedialog.cxx2
-rw-r--r--desktop/source/deployment/gui/dp_gui_updatedialog.hxx2
-rw-r--r--desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx4
-rw-r--r--desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx2
-rw-r--r--desktop/source/splash/splash.cxx8
-rw-r--r--drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx4
-rw-r--r--editeng/source/editeng/editattr.cxx6
-rw-r--r--editeng/source/editeng/editdoc.cxx2
-rw-r--r--editeng/source/editeng/editsel.cxx10
-rw-r--r--editeng/source/editeng/editsel.hxx4
-rw-r--r--editeng/source/editeng/editview.cxx6
-rw-r--r--editeng/source/editeng/impedit2.cxx4
-rw-r--r--editeng/source/editeng/impedit3.cxx6
-rw-r--r--editeng/source/items/bulitem.cxx2
-rw-r--r--editeng/source/items/svxfont.cxx4
-rw-r--r--editeng/source/misc/swafopt.cxx2
-rw-r--r--extensions/source/abpilot/abpfinalpage.cxx2
-rw-r--r--extensions/source/abpilot/abspilot.cxx2
-rw-r--r--extensions/source/abpilot/abspilot.hxx2
-rw-r--r--extensions/source/bibliography/toolbar.cxx10
-rw-r--r--extensions/source/dbpilots/groupboxwiz.cxx2
-rw-r--r--extensions/source/propctrlr/browserlistbox.cxx14
-rw-r--r--extensions/source/propctrlr/browserpage.cxx2
-rw-r--r--extensions/source/propctrlr/inspectorhelpwindow.cxx4
-rw-r--r--extensions/source/propctrlr/propertyeditor.cxx2
-rw-r--r--extensions/source/propctrlr/selectlabeldialog.cxx4
-rw-r--r--extensions/source/propctrlr/standardcontrol.cxx18
-rw-r--r--filter/source/flash/swfwriter.cxx2
-rw-r--r--filter/source/flash/swfwriter1.cxx2
-rw-r--r--filter/source/graphic/GraphicExportFilter.cxx2
-rw-r--r--filter/source/graphicfilter/epict/epict.cxx4
-rw-r--r--filter/source/graphicfilter/eps/eps.cxx2
-rw-r--r--filter/source/graphicfilter/idxf/dxf2mtf.cxx4
-rw-r--r--filter/source/graphicfilter/ieps/ieps.cxx8
-rw-r--r--filter/source/graphicfilter/ios2met/ios2met.cxx4
-rw-r--r--filter/source/graphicfilter/ipict/ipict.cxx12
-rw-r--r--filter/source/msfilter/msdffimp.cxx4
-rw-r--r--filter/source/pdf/impdialog.cxx62
-rw-r--r--filter/source/pdf/pdfexport.cxx2
-rw-r--r--filter/source/pdf/pdffilter.cxx44
-rw-r--r--filter/source/svg/impsvgdialog.cxx8
-rw-r--r--filter/source/svg/svgfontexport.cxx2
-rw-r--r--filter/source/svg/svgwriter.cxx2
-rw-r--r--forms/source/richtext/richtextvclcontrol.cxx4
-rw-r--r--forms/source/solar/control/navtoolbar.cxx4
-rw-r--r--formula/source/ui/dlg/formula.cxx2
-rw-r--r--formula/source/ui/dlg/funcpage.cxx4
-rw-r--r--formula/source/ui/dlg/funcutl.cxx2
-rw-r--r--fpicker/source/office/iodlg.cxx2
-rw-r--r--fpicker/source/office/iodlgimp.hxx2
-rw-r--r--framework/source/classes/menumanager.cxx2
-rw-r--r--framework/source/layoutmanager/layoutmanager.cxx4
-rw-r--r--framework/source/layoutmanager/toolbarlayoutmanager.cxx2
-rw-r--r--framework/source/uielement/fontsizemenucontroller.cxx2
-rw-r--r--framework/source/uielement/headermenucontroller.cxx2
-rw-r--r--framework/source/uielement/langselectionmenucontroller.cxx2
-rw-r--r--framework/source/uielement/menubarmanager.cxx10
-rw-r--r--framework/source/uielement/popuptoolbarcontroller.cxx4
-rw-r--r--framework/source/uielement/progressbarwrapper.cxx8
-rw-r--r--framework/source/uielement/statusbaritem.cxx2
-rw-r--r--framework/source/uielement/togglebuttontoolbarcontroller.cxx8
-rw-r--r--framework/source/uielement/toolbarmanager.cxx16
-rw-r--r--include/sfx2/basedlgs.hxx4
-rw-r--r--include/sfx2/dinfdlg.hxx2
-rw-r--r--include/sfx2/dockwin.hxx6
-rw-r--r--include/sfx2/navigat.hxx2
-rw-r--r--include/sfx2/sfxhelp.hxx4
-rw-r--r--include/sfx2/tbxctrl.hxx2
-rw-r--r--include/svtools/calendar.hxx2
-rw-r--r--include/svtools/helpopt.hxx4
-rw-r--r--include/svx/bmpmask.hxx2
-rw-r--r--include/svx/colrctrl.hxx2
-rw-r--r--include/svx/galbrws.hxx2
-rw-r--r--include/svx/imapdlg.hxx2
-rw-r--r--include/svx/linectrl.hxx2
-rw-r--r--include/svx/rubydialog.hxx2
-rw-r--r--include/svx/srchdlg.hxx2
-rw-r--r--include/svx/tbxcolorupdate.hxx2
-rw-r--r--include/toolkit/awt/vclxwindows.hxx2
-rw-r--r--include/vcl/FilterConfigItem.hxx12
-rw-r--r--include/vcl/accel.hxx6
-rw-r--r--include/vcl/alpha.hxx14
-rw-r--r--include/vcl/animate.hxx48
-rw-r--r--include/vcl/bitmap.hxx120
-rw-r--r--include/vcl/bitmapex.hxx52
-rw-r--r--include/vcl/bmpacc.hxx26
-rw-r--r--include/vcl/btndlg.hxx2
-rw-r--r--include/vcl/button.hxx78
-rw-r--r--include/vcl/combobox.hxx32
-rw-r--r--include/vcl/ctrl.hxx4
-rw-r--r--include/vcl/dialog.hxx24
-rw-r--r--include/vcl/dockingarea.hxx2
-rw-r--r--include/vcl/dockwin.hxx104
-rw-r--r--include/vcl/edit.hxx22
-rw-r--r--include/vcl/event.hxx38
-rw-r--r--include/vcl/field.hxx104
-rw-r--r--include/vcl/fixed.hxx8
-rw-r--r--include/vcl/floatwin.hxx34
-rw-r--r--include/vcl/font.hxx22
-rw-r--r--include/vcl/gdimtf.hxx26
-rw-r--r--include/vcl/gfxlink.hxx18
-rw-r--r--include/vcl/gradient.hxx6
-rw-r--r--include/vcl/graph.h4
-rw-r--r--include/vcl/graph.hxx30
-rw-r--r--include/vcl/graphicfilter.hxx72
-rw-r--r--include/vcl/group.hxx2
-rw-r--r--include/vcl/hatch.hxx6
-rw-r--r--include/vcl/help.hxx24
-rw-r--r--include/vcl/i18nhelp.hxx8
-rw-r--r--include/vcl/image.hxx10
-rw-r--r--include/vcl/inputctx.hxx6
-rw-r--r--include/vcl/jobset.hxx4
-rw-r--r--include/vcl/keycod.hxx26
-rw-r--r--include/vcl/lineinfo.hxx8
-rw-r--r--include/vcl/longcurr.hxx8
-rw-r--r--include/vcl/lstbox.hxx28
-rw-r--r--include/vcl/mapmod.hxx10
-rw-r--r--include/vcl/menu.hxx82
-rw-r--r--include/vcl/metaact.hxx148
-rw-r--r--include/vcl/metric.hxx18
-rw-r--r--include/vcl/morebtn.hxx8
-rw-r--r--include/vcl/msgbox.hxx8
-rw-r--r--include/vcl/outdev.hxx102
-rw-r--r--include/vcl/pdfextoutdevdata.hxx62
-rw-r--r--include/vcl/pdfwriter.hxx2
-rw-r--r--include/vcl/pngwrite.hxx2
-rw-r--r--include/vcl/pointr.hxx4
-rw-r--r--include/vcl/prgsbar.hxx4
-rw-r--r--include/vcl/print.hxx128
-rw-r--r--include/vcl/salbtype.hxx34
-rw-r--r--include/vcl/salnativewidgets.hxx16
-rw-r--r--include/vcl/scrbar.hxx20
-rw-r--r--include/vcl/seleng.hxx64
-rw-r--r--include/vcl/settings.hxx124
-rw-r--r--include/vcl/slider.hxx22
-rw-r--r--include/vcl/spin.h8
-rw-r--r--include/vcl/spin.hxx22
-rw-r--r--include/vcl/spinfld.hxx4
-rw-r--r--include/vcl/split.hxx10
-rw-r--r--include/vcl/splitwin.hxx60
-rw-r--r--include/vcl/status.hxx24
-rw-r--r--include/vcl/svapp.hxx32
-rw-r--r--include/vcl/syschild.hxx10
-rw-r--r--include/vcl/syswin.hxx30
-rw-r--r--include/vcl/tabctrl.hxx16
-rw-r--r--include/vcl/tabdlg.hxx2
-rw-r--r--include/vcl/taskpanelist.hxx8
-rw-r--r--include/vcl/textdata.hxx26
-rw-r--r--include/vcl/texteng.hxx88
-rw-r--r--include/vcl/textview.hxx50
-rw-r--r--include/vcl/throbber.hxx6
-rw-r--r--include/vcl/timer.hxx2
-rw-r--r--include/vcl/toolbox.hxx100
-rw-r--r--include/vcl/txtattr.hxx12
-rw-r--r--include/vcl/unohelp.hxx2
-rw-r--r--include/vcl/vclevent.hxx2
-rw-r--r--include/vcl/vclmedit.hxx12
-rw-r--r--include/vcl/virdev.hxx12
-rw-r--r--include/vcl/wall.hxx18
-rw-r--r--include/vcl/window.hxx222
-rw-r--r--include/vcl/wmf.hxx6
-rw-r--r--include/vcl/wrkwin.hxx28
-rw-r--r--include/vcl/xtextedt.hxx14
-rw-r--r--oox/source/drawingml/shape.cxx2
-rw-r--r--padmin/source/adddlg.cxx26
-rw-r--r--padmin/source/padialog.cxx2
-rw-r--r--padmin/source/prtsetup.cxx8
-rw-r--r--reportdesign/source/ui/dlg/AddField.cxx2
-rw-r--r--reportdesign/source/ui/dlg/CondFormat.cxx4
-rw-r--r--reportdesign/source/ui/dlg/Condition.cxx2
-rw-r--r--reportdesign/source/ui/inc/DesignView.hxx2
-rw-r--r--reportdesign/source/ui/inc/propbrw.hxx2
-rw-r--r--reportdesign/source/ui/report/DesignView.cxx2
-rw-r--r--reportdesign/source/ui/report/EndMarker.cxx4
-rw-r--r--reportdesign/source/ui/report/ReportSection.cxx4
-rw-r--r--reportdesign/source/ui/report/SectionWindow.cxx8
-rw-r--r--reportdesign/source/ui/report/StartMarker.cxx10
-rw-r--r--reportdesign/source/ui/report/ViewsWindow.cxx4
-rw-r--r--reportdesign/source/ui/report/propbrw.cxx6
-rw-r--r--sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx2
-rw-r--r--sc/source/ui/StatisticsDialogs/CorrelationDialog.cxx2
-rw-r--r--sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx2
-rw-r--r--sc/source/ui/StatisticsDialogs/DescriptiveStatisticsDialog.cxx2
-rw-r--r--sc/source/ui/StatisticsDialogs/ExponentialSmoothingDialog.cxx2
-rw-r--r--sc/source/ui/StatisticsDialogs/MovingAverageDialog.cxx2
-rw-r--r--sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx2
-rw-r--r--sc/source/ui/StatisticsDialogs/SamplingDialog.cxx2
-rw-r--r--sc/source/ui/StatisticsDialogs/TTestDialog.cxx2
-rw-r--r--sc/source/ui/app/inputwin.cxx2
-rw-r--r--sc/source/ui/condformat/colorformat.cxx6
-rw-r--r--sc/source/ui/condformat/condformatdlgentry.cxx10
-rw-r--r--sc/source/ui/dbgui/consdlg.cxx4
-rw-r--r--sc/source/ui/dbgui/csvgrid.cxx4
-rw-r--r--sc/source/ui/dbgui/dbnamdlg.cxx14
-rw-r--r--sc/source/ui/dbgui/dpgroupdlg.cxx4
-rw-r--r--sc/source/ui/dbgui/filtdlg.cxx2
-rw-r--r--sc/source/ui/dbgui/foptmgr.cxx4
-rw-r--r--sc/source/ui/dbgui/pvlaydlg.cxx2
-rw-r--r--sc/source/ui/dbgui/scendlg.cxx8
-rw-r--r--sc/source/ui/dbgui/scuiimoptdlg.cxx2
-rw-r--r--sc/source/ui/dbgui/sfiltdlg.cxx2
-rw-r--r--sc/source/ui/dbgui/sortkeydlg.cxx2
-rw-r--r--sc/source/ui/dbgui/tpsort.cxx6
-rw-r--r--sc/source/ui/dbgui/validate.cxx2
-rw-r--r--sc/source/ui/formdlg/dwfunctr.cxx8
-rw-r--r--sc/source/ui/formdlg/formula.cxx4
-rw-r--r--sc/source/ui/inc/AnalysisOfVarianceDialog.hxx2
-rw-r--r--sc/source/ui/inc/CorrelationDialog.hxx2
-rw-r--r--sc/source/ui/inc/CovarianceDialog.hxx2
-rw-r--r--sc/source/ui/inc/DescriptiveStatisticsDialog.hxx2
-rw-r--r--sc/source/ui/inc/ExponentialSmoothingDialog.hxx2
-rw-r--r--sc/source/ui/inc/MovingAverageDialog.hxx2
-rw-r--r--sc/source/ui/inc/RandomNumberGeneratorDialog.hxx2
-rw-r--r--sc/source/ui/inc/SamplingDialog.hxx2
-rw-r--r--sc/source/ui/inc/TTestDialog.hxx2
-rw-r--r--sc/source/ui/inc/areasdlg.hxx2
-rw-r--r--sc/source/ui/inc/consdlg.hxx2
-rw-r--r--sc/source/ui/inc/crnrdlg.hxx2
-rw-r--r--sc/source/ui/inc/dbnamdlg.hxx2
-rw-r--r--sc/source/ui/inc/dwfunctr.hxx2
-rw-r--r--sc/source/ui/inc/filtdlg.hxx4
-rw-r--r--sc/source/ui/inc/formula.hxx2
-rw-r--r--sc/source/ui/inc/highred.hxx2
-rw-r--r--sc/source/ui/inc/namedefdlg.hxx2
-rw-r--r--sc/source/ui/inc/namedlg.hxx2
-rw-r--r--sc/source/ui/inc/optsolver.hxx2
-rw-r--r--sc/source/ui/inc/pvlaydlg.hxx2
-rw-r--r--sc/source/ui/inc/select.hxx8
-rw-r--r--sc/source/ui/inc/simpref.hxx2
-rw-r--r--sc/source/ui/inc/solvrdlg.hxx2
-rw-r--r--sc/source/ui/inc/tabopdlg.hxx2
-rw-r--r--sc/source/ui/inc/validate.hxx2
-rw-r--r--sc/source/ui/inc/xmlsourcedlg.hxx2
-rw-r--r--sc/source/ui/miscdlgs/autofmt.cxx4
-rw-r--r--sc/source/ui/miscdlgs/crnrdlg.cxx18
-rw-r--r--sc/source/ui/miscdlgs/highred.cxx2
-rw-r--r--sc/source/ui/miscdlgs/inscodlg.cxx26
-rw-r--r--sc/source/ui/miscdlgs/instbdlg.cxx2
-rw-r--r--sc/source/ui/miscdlgs/mvtabdlg.cxx4
-rw-r--r--sc/source/ui/miscdlgs/optsolver.cxx2
-rw-r--r--sc/source/ui/miscdlgs/simpref.cxx4
-rw-r--r--sc/source/ui/miscdlgs/solvrdlg.cxx2
-rw-r--r--sc/source/ui/miscdlgs/tabopdlg.cxx2
-rw-r--r--sc/source/ui/namedlg/namedefdlg.cxx2
-rw-r--r--sc/source/ui/namedlg/namedlg.cxx2
-rw-r--r--sc/source/ui/navipi/content.cxx2
-rw-r--r--sc/source/ui/navipi/navipi.cxx2
-rw-r--r--sc/source/ui/navipi/scenwnd.cxx6
-rw-r--r--sc/source/ui/optdlg/opredlin.cxx8
-rw-r--r--sc/source/ui/optdlg/tpview.cxx2
-rw-r--r--sc/source/ui/pagedlg/areasdlg.cxx2
-rw-r--r--sc/source/ui/pagedlg/tphfedit.cxx2
-rw-r--r--sc/source/ui/unoobj/docuno.cxx4
-rw-r--r--sc/source/ui/view/gridwin.cxx2
-rw-r--r--sc/source/ui/view/gridwin5.cxx4
-rw-r--r--sc/source/ui/view/hdrcont.cxx4
-rw-r--r--sc/source/ui/view/hintwin.cxx2
-rw-r--r--sc/source/ui/view/preview.cxx4
-rw-r--r--sc/source/ui/view/select.cxx8
-rw-r--r--sc/source/ui/xmlsource/xmlsourcedlg.cxx2
-rw-r--r--sd/source/core/stlpool.cxx6
-rw-r--r--sd/source/filter/html/pubdlg.cxx14
-rw-r--r--sd/source/ui/animations/CustomAnimationCreateDialog.cxx4
-rw-r--r--sd/source/ui/animations/CustomAnimationDialog.cxx12
-rw-r--r--sd/source/ui/animations/SlideTransitionPane.cxx6
-rw-r--r--sd/source/ui/annotations/annotationmanager.cxx10
-rw-r--r--sd/source/ui/annotations/annotationtag.cxx2
-rw-r--r--sd/source/ui/annotations/annotationwindow.cxx2
-rw-r--r--sd/source/ui/app/tbxww.cxx18
-rw-r--r--sd/source/ui/dlg/LayerDialogContent.cxx2
-rw-r--r--sd/source/ui/dlg/animobjs.cxx8
-rw-r--r--sd/source/ui/dlg/custsdlg.cxx2
-rw-r--r--sd/source/ui/dlg/dlgass.cxx4
-rw-r--r--sd/source/ui/dlg/docprev.cxx2
-rw-r--r--sd/source/ui/dlg/ins_paste.cxx2
-rw-r--r--sd/source/ui/dlg/inspagob.cxx2
-rw-r--r--sd/source/ui/dlg/navigatr.cxx6
-rw-r--r--sd/source/ui/dlg/paragr.cxx4
-rw-r--r--sd/source/ui/dlg/present.cxx8
-rw-r--r--sd/source/ui/dlg/sdabstdlg.cxx2
-rw-r--r--sd/source/ui/dlg/sdpreslt.cxx2
-rw-r--r--sd/source/ui/dlg/vectdlg.cxx4
-rw-r--r--sd/source/ui/framework/factories/FullScreenPane.cxx4
-rw-r--r--sd/source/ui/framework/factories/Pane.cxx2
-rw-r--r--sd/source/ui/inc/LayerDialogContent.hxx2
-rw-r--r--sd/source/ui/inc/animobjs.hxx2
-rw-r--r--sd/source/ui/presenter/PresenterHelper.cxx6
-rw-r--r--sd/source/ui/presenter/PresenterTextView.cxx2
-rw-r--r--sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx4
-rw-r--r--sd/source/ui/sidebar/LayoutMenu.cxx2
-rw-r--r--sd/source/ui/sidebar/MasterPagesSelector.cxx4
-rw-r--r--sd/source/ui/sidebar/RecentMasterPagesSelector.cxx2
-rw-r--r--sd/source/ui/slideshow/showwin.cxx8
-rw-r--r--sd/source/ui/slideshow/slideshow.cxx4
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.cxx4
-rw-r--r--sd/source/ui/slidesorter/controller/SlideSorterController.cxx2
-rw-r--r--sd/source/ui/slidesorter/shell/SlideSorter.cxx4
-rw-r--r--sd/source/ui/slidesorter/view/SlsTheme.cxx4
-rw-r--r--sd/source/ui/tools/PreviewRenderer.cxx8
-rw-r--r--sd/source/ui/unoidl/unopage.cxx2
-rw-r--r--sd/source/ui/view/DocumentRenderer.cxx20
-rw-r--r--sd/source/ui/view/Outliner.cxx4
-rw-r--r--sd/source/ui/view/ViewShellBase.cxx2
-rw-r--r--sd/source/ui/view/drviews4.cxx2
-rw-r--r--sd/source/ui/view/outlview.cxx4
-rw-r--r--sd/source/ui/view/sdwindow.cxx6
-rw-r--r--sd/source/ui/view/viewoverlaymanager.cxx2
-rw-r--r--sd/source/ui/view/viewshel.cxx6
-rw-r--r--sfx2/inc/srchdlg.hxx2
-rw-r--r--sfx2/source/appl/newhelp.cxx10
-rw-r--r--sfx2/source/appl/sfxhelp.cxx4
-rw-r--r--sfx2/source/control/thumbnailview.cxx10
-rw-r--r--sfx2/source/dialog/backingcomp.cxx2
-rw-r--r--sfx2/source/dialog/basedlgs.cxx8
-rw-r--r--sfx2/source/dialog/dinfdlg.cxx4
-rw-r--r--sfx2/source/dialog/dockwin.cxx34
-rw-r--r--sfx2/source/dialog/navigat.cxx4
-rw-r--r--sfx2/source/dialog/printopt.cxx18
-rw-r--r--sfx2/source/dialog/recfloat.cxx2
-rw-r--r--sfx2/source/dialog/securitypage.cxx6
-rw-r--r--sfx2/source/dialog/splitwin.cxx16
-rw-r--r--sfx2/source/dialog/srchdlg.cxx4
-rw-r--r--sfx2/source/dialog/taskpane.cxx6
-rw-r--r--sfx2/source/dialog/templdlg.cxx4
-rw-r--r--sfx2/source/doc/guisaveas.cxx2
-rw-r--r--sfx2/source/doc/new.cxx4
-rw-r--r--sfx2/source/doc/objcont.cxx2
-rw-r--r--sfx2/source/inc/recfloat.hxx2
-rw-r--r--sfx2/source/menu/virtmenu.cxx2
-rw-r--r--sfx2/source/sidebar/SidebarController.cxx8
-rw-r--r--sfx2/source/sidebar/SidebarDockingWindow.cxx6
-rw-r--r--sfx2/source/sidebar/SidebarDockingWindow.hxx2
-rw-r--r--sfx2/source/sidebar/TabBar.cxx6
-rw-r--r--sfx2/source/toolbox/tbxitem.cxx8
-rw-r--r--sfx2/source/view/ipclient.cxx2
-rw-r--r--sfx2/source/view/viewfrm.cxx6
-rw-r--r--sfx2/source/view/viewsh.cxx4
-rw-r--r--slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx8
-rw-r--r--slideshow/source/engine/shapes/gdimtftools.cxx4
-rw-r--r--slideshow/source/engine/shapes/viewmediashape.cxx8
-rw-r--r--starmath/inc/toolbox.hxx2
-rw-r--r--starmath/source/toolbox.cxx2
-rw-r--r--starmath/source/unomodel.cxx4
-rw-r--r--starmath/source/view.cxx8
-rw-r--r--svtools/source/brwbox/datwin.cxx6
-rw-r--r--svtools/source/brwbox/ebbcontrols.cxx10
-rw-r--r--svtools/source/brwbox/editbrowsebox.cxx18
-rw-r--r--svtools/source/config/accessibilityoptions.cxx4
-rw-r--r--svtools/source/config/helpopt.cxx8
-rw-r--r--svtools/source/contnr/fileview.cxx2
-rw-r--r--svtools/source/contnr/imivctl1.cxx4
-rw-r--r--svtools/source/contnr/svimpbox.cxx4
-rw-r--r--svtools/source/contnr/templwin.cxx4
-rw-r--r--svtools/source/contnr/treelistbox.cxx6
-rw-r--r--svtools/source/control/calendar.cxx4
-rw-r--r--svtools/source/control/ctrlbox.cxx22
-rw-r--r--svtools/source/control/filectrl.cxx2
-rw-r--r--svtools/source/control/headbar.cxx4
-rw-r--r--svtools/source/control/inettbc.cxx2
-rw-r--r--svtools/source/control/roadmap.cxx4
-rw-r--r--svtools/source/control/ruler.cxx4
-rw-r--r--svtools/source/control/stdmenu.cxx10
-rw-r--r--svtools/source/control/tabbar.cxx4
-rw-r--r--svtools/source/control/toolbarmenu.cxx6
-rw-r--r--svtools/source/control/valueset.cxx12
-rw-r--r--svtools/source/dialogs/addresstemplate.cxx4
-rw-r--r--svtools/source/dialogs/wizdlg.cxx8
-rw-r--r--svtools/source/edit/editsyntaxhighlighter.cxx12
-rw-r--r--svtools/source/edit/svmedit2.cxx2
-rw-r--r--svtools/source/filter/SvFilterOptionsDialog.cxx2
-rw-r--r--svtools/source/filter/exportdialog.cxx10
-rw-r--r--svtools/source/graphic/grfmgr2.cxx4
-rw-r--r--svtools/source/graphic/provider.cxx2
-rw-r--r--svtools/source/hatchwindow/ipwin.cxx2
-rw-r--r--svtools/source/inc/svimpbox.hxx4
-rw-r--r--svtools/source/table/tablecontrol_impl.cxx22
-rw-r--r--svtools/source/table/tablecontrol_impl.hxx4
-rw-r--r--svtools/source/toolpanel/drawerlayouter.cxx4
-rw-r--r--svtools/source/toolpanel/paneltabbar.cxx10
-rw-r--r--svtools/source/toolpanel/tablayouter.cxx2
-rw-r--r--svtools/source/toolpanel/toolpaneldrawer.cxx8
-rw-r--r--svtools/source/uno/unoiface.cxx2
-rw-r--r--svx/source/accessibility/AccessibleFrameSelector.cxx2
-rw-r--r--svx/source/accessibility/svxpixelctlaccessiblecontext.cxx2
-rw-r--r--svx/source/customshapes/EnhancedCustomShapeFontWork.cxx6
-rw-r--r--svx/source/dialog/_bmpmask.cxx16
-rw-r--r--svx/source/dialog/_contdlg.cxx28
-rw-r--r--svx/source/dialog/charmap.cxx4
-rw-r--r--svx/source/dialog/contimp.hxx2
-rw-r--r--svx/source/dialog/ctredlin.cxx4
-rw-r--r--svx/source/dialog/dialcontrol.cxx8
-rw-r--r--svx/source/dialog/dlgctl3d.cxx2
-rw-r--r--svx/source/dialog/dlgctrl.cxx38
-rw-r--r--svx/source/dialog/fntctrl.cxx4
-rw-r--r--svx/source/dialog/fontlb.cxx2
-rw-r--r--svx/source/dialog/fontwork.cxx12
-rw-r--r--svx/source/dialog/graphctl.cxx4
-rw-r--r--svx/source/dialog/hdft.cxx10
-rw-r--r--svx/source/dialog/imapdlg.cxx26
-rw-r--r--svx/source/dialog/imapwnd.cxx36
-rw-r--r--svx/source/dialog/rubydialog.cxx4
-rw-r--r--svx/source/dialog/srchdlg.cxx38
-rw-r--r--svx/source/dialog/svxbmpnumvalueset.cxx2
-rw-r--r--svx/source/engine3d/float3d.cxx68
-rw-r--r--svx/source/fmcomp/fmgridcl.cxx2
-rw-r--r--svx/source/fmcomp/fmgridif.cxx2
-rw-r--r--svx/source/fmcomp/gridcell.cxx26
-rw-r--r--svx/source/fmcomp/gridctrl.cxx18
-rw-r--r--svx/source/form/datanavi.cxx12
-rw-r--r--svx/source/form/filtnav.cxx6
-rw-r--r--svx/source/form/fmPropBrw.cxx4
-rw-r--r--svx/source/form/fmexpl.cxx2
-rw-r--r--svx/source/form/navigatortree.cxx4
-rw-r--r--svx/source/form/tabwin.cxx2
-rw-r--r--svx/source/form/tbxform.cxx4
-rw-r--r--svx/source/gallery2/GalleryControl.cxx4
-rw-r--r--svx/source/gallery2/galbrws.cxx6
-rw-r--r--svx/source/gallery2/galbrws2.cxx34
-rw-r--r--svx/source/inc/datanavi.hxx2
-rw-r--r--svx/source/inc/filtnav.hxx2
-rw-r--r--svx/source/inc/fmPropBrw.hxx2
-rw-r--r--svx/source/inc/fmexpl.hxx2
-rw-r--r--svx/source/inc/tabwin.hxx2
-rw-r--r--svx/source/mnuctrls/clipboardctl.cxx4
-rw-r--r--svx/source/sidebar/nbdtmg.cxx4
-rw-r--r--svx/source/sidebar/paragraph/ParaPropertyPanel.cxx4
-rw-r--r--svx/source/sidebar/tools/ValueSetWithTextControl.cxx2
-rw-r--r--svx/source/stbctrls/zoomctrl.cxx2
-rw-r--r--svx/source/svdraw/sdrpaintwindow.cxx4
-rw-r--r--svx/source/svdraw/svdedxv.cxx2
-rw-r--r--svx/source/svdraw/svdglue.cxx2
-rw-r--r--svx/source/svdraw/svdotext.cxx6
-rw-r--r--svx/source/svdraw/svdxcgv.cxx2
-rw-r--r--svx/source/table/tablecontroller.cxx2
-rw-r--r--svx/source/tbxctrls/colorwindow.hxx2
-rw-r--r--svx/source/tbxctrls/colrctrl.cxx4
-rw-r--r--svx/source/tbxctrls/itemwin.cxx2
-rw-r--r--svx/source/tbxctrls/layctrl.cxx4
-rw-r--r--svx/source/tbxctrls/lboxctrl.cxx2
-rw-r--r--svx/source/tbxctrls/linectrl.cxx4
-rw-r--r--svx/source/tbxctrls/tbcontrl.cxx16
-rw-r--r--svx/source/tbxctrls/tbunosearchcontrollers.cxx2
-rw-r--r--svx/source/unodraw/UnoGraphicExporter.cxx4
-rw-r--r--sw/source/core/doc/notxtfrm.cxx2
-rw-r--r--sw/source/core/frmedt/fecopy.cxx2
-rw-r--r--sw/source/core/layout/paintfrm.cxx4
-rw-r--r--sw/source/core/view/printdata.cxx16
-rw-r--r--sw/source/core/view/viewsh.cxx8
-rw-r--r--sw/source/ui/chrdlg/break.cxx2
-rw-r--r--sw/source/ui/chrdlg/drpcps.cxx6
-rw-r--r--sw/source/ui/chrdlg/numpara.cxx8
-rw-r--r--sw/source/ui/config/optpage.cxx18
-rw-r--r--sw/source/ui/dbui/dbinsdlg.cxx18
-rw-r--r--sw/source/ui/dbui/mmaddressblockpage.cxx10
-rw-r--r--sw/source/ui/dbui/mmoutputpage.cxx4
-rw-r--r--sw/source/ui/dialog/swabstdlg.cxx2
-rw-r--r--sw/source/ui/dialog/uiregionsw.cxx14
-rw-r--r--sw/source/ui/dialog/wordcountdialog.cxx2
-rw-r--r--sw/source/ui/docvw/SidebarWin.cxx2
-rw-r--r--sw/source/ui/docvw/romenu.cxx24
-rw-r--r--sw/source/ui/docvw/srcedtw.cxx30
-rw-r--r--sw/source/ui/envelp/labfmt.cxx4
-rw-r--r--sw/source/ui/envelp/mailmrge.cxx2
-rw-r--r--sw/source/ui/fldui/flddb.cxx4
-rw-r--r--sw/source/ui/fldui/flddok.cxx4
-rw-r--r--sw/source/ui/fldui/fldfunc.cxx12
-rw-r--r--sw/source/ui/fldui/fldref.cxx8
-rw-r--r--sw/source/ui/fldui/fldtdlg.cxx2
-rw-r--r--sw/source/ui/fldui/fldvar.cxx16
-rw-r--r--sw/source/ui/frmdlg/column.cxx8
-rw-r--r--sw/source/ui/frmdlg/frmpage.cxx22
-rw-r--r--sw/source/ui/frmdlg/wrap.cxx2
-rw-r--r--sw/source/ui/inc/fldtdlg.hxx2
-rw-r--r--sw/source/ui/inc/srcedtw.hxx6
-rw-r--r--sw/source/ui/inc/view.hxx4
-rw-r--r--sw/source/ui/index/cnttab.cxx6
-rw-r--r--sw/source/ui/index/swuiidxmrk.cxx2
-rw-r--r--sw/source/ui/lingu/olmenu.cxx8
-rw-r--r--sw/source/ui/misc/bookmark.cxx4
-rw-r--r--sw/source/ui/misc/insfnote.cxx4
-rw-r--r--sw/source/ui/misc/num.cxx24
-rw-r--r--sw/source/ui/misc/outline.cxx2
-rw-r--r--sw/source/ui/misc/pgfnote.cxx8
-rw-r--r--sw/source/ui/misc/pggrid.cxx2
-rw-r--r--sw/source/ui/misc/redlndlg.cxx2
-rw-r--r--sw/source/ui/misc/srtdlg.cxx6
-rw-r--r--sw/source/ui/ribbar/workctrl.cxx14
-rw-r--r--sw/source/ui/sidebar/WrapPropertyPanel.cxx12
-rw-r--r--sw/source/ui/table/convert.cxx2
-rw-r--r--sw/source/ui/table/tabledlg.cxx62
-rw-r--r--sw/source/ui/table/tautofmt.cxx4
-rw-r--r--sw/source/ui/uiview/pview.cxx6
-rw-r--r--sw/source/ui/uiview/scroll.cxx2
-rw-r--r--sw/source/ui/uiview/srcview.cxx6
-rw-r--r--sw/source/ui/uiview/view0.cxx2
-rw-r--r--sw/source/ui/uiview/viewmdi.cxx2
-rw-r--r--sw/source/ui/uno/unotxdoc.cxx4
-rw-r--r--sw/source/ui/utlui/navipi.cxx24
-rw-r--r--toolkit/source/awt/vclxaccessiblecomponent.cxx4
-rw-r--r--toolkit/source/awt/vclxcontainer.cxx4
-rw-r--r--toolkit/source/awt/vclxtoolkit.cxx16
-rw-r--r--toolkit/source/awt/vclxwindow.cxx16
-rw-r--r--toolkit/source/awt/vclxwindows.cxx22
-rw-r--r--vcl/generic/fontmanager/fontmanager.cxx4
-rw-r--r--vcl/generic/print/common_gfx.cxx32
-rw-r--r--vcl/generic/print/genprnpsp.cxx50
-rw-r--r--vcl/generic/print/genpspgraphics.cxx16
-rw-r--r--vcl/generic/print/glyphset.cxx48
-rw-r--r--vcl/generic/print/glyphset.hxx22
-rw-r--r--vcl/generic/print/printerjob.cxx56
-rw-r--r--vcl/generic/print/psputil.cxx10
-rw-r--r--vcl/generic/print/psputil.hxx8
-rw-r--r--vcl/generic/print/text_gfx.cxx2
-rw-r--r--vcl/headless/svpframe.cxx12
-rw-r--r--vcl/headless/svpgdi.cxx16
-rw-r--r--vcl/headless/svpprn.cxx4
-rw-r--r--vcl/headless/svptext.cxx2
-rw-r--r--vcl/headless/svpvd.cxx4
-rw-r--r--vcl/inc/accel.h2
-rw-r--r--vcl/inc/accmgr.hxx8
-rw-r--r--vcl/inc/brdwin.hxx62
-rw-r--r--vcl/inc/cvtsvm.hxx2
-rw-r--r--vcl/inc/dndlcon.hxx2
-rw-r--r--vcl/inc/generic/gendisp.hxx2
-rw-r--r--vcl/inc/generic/genprn.h16
-rw-r--r--vcl/inc/generic/genpspgraphics.h10
-rw-r--r--vcl/inc/generic/printergfx.hxx24
-rw-r--r--vcl/inc/generic/printerjob.hxx12
-rw-r--r--vcl/inc/headless/svpframe.hxx6
-rw-r--r--vcl/inc/headless/svpgdi.hxx10
-rw-r--r--vcl/inc/headless/svpprn.hxx2
-rw-r--r--vcl/inc/headless/svpvd.hxx4
-rw-r--r--vcl/inc/idlemgr.hxx2
-rw-r--r--vcl/inc/ilstbox.hxx84
-rw-r--r--vcl/inc/image.h4
-rw-r--r--vcl/inc/impbmp.hxx12
-rw-r--r--vcl/inc/impfont.hxx2
-rw-r--r--vcl/inc/impgraph.hxx38
-rw-r--r--vcl/inc/octree.hxx2
-rw-r--r--vcl/inc/printdlg.hxx2
-rw-r--r--vcl/inc/salframe.hxx6
-rw-r--r--vcl/inc/salgdi.hxx34
-rw-r--r--vcl/inc/salmenu.hxx2
-rw-r--r--vcl/inc/salobj.hxx12
-rw-r--r--vcl/inc/salprn.hxx16
-rw-r--r--vcl/inc/salvd.hxx4
-rw-r--r--vcl/inc/salwtype.hxx6
-rw-r--r--vcl/inc/sft.hxx2
-rw-r--r--vcl/inc/svdata.hxx56
-rw-r--r--vcl/inc/toolbox.h14
-rw-r--r--vcl/inc/unx/gtk/gtkframe.hxx8
-rw-r--r--vcl/inc/unx/gtk/gtkgdi.hxx64
-rw-r--r--vcl/inc/unx/gtk/gtkobject.hxx2
-rw-r--r--vcl/inc/unx/gtk/gtkprn.hxx4
-rw-r--r--vcl/inc/unx/gtk/gtksalmenu.hxx12
-rw-r--r--vcl/inc/unx/i18n_xkb.hxx10
-rw-r--r--vcl/inc/unx/saldisp.hxx14
-rw-r--r--vcl/inc/unx/salframe.h18
-rw-r--r--vcl/inc/unx/salgdi.h42
-rw-r--r--vcl/inc/unx/salmenu.h2
-rw-r--r--vcl/inc/unx/salobj.h4
-rw-r--r--vcl/inc/unx/salvd.h10
-rw-r--r--vcl/inc/window.h32
-rw-r--r--vcl/qa/cppunit/canvasbitmaptest.cxx2
-rw-r--r--vcl/source/app/dbggui.cxx32
-rw-r--r--vcl/source/app/help.cxx72
-rw-r--r--vcl/source/app/i18nhelp.cxx14
-rw-r--r--vcl/source/app/idlemgr.cxx6
-rw-r--r--vcl/source/app/salvtables.cxx4
-rw-r--r--vcl/source/app/settings.cxx127
-rw-r--r--vcl/source/app/svapp.cxx66
-rw-r--r--vcl/source/app/svdata.cxx2
-rw-r--r--vcl/source/app/svmain.cxx8
-rw-r--r--vcl/source/app/svmainhook.cxx4
-rw-r--r--vcl/source/app/timer.cxx4
-rw-r--r--vcl/source/app/unohelp.cxx2
-rw-r--r--vcl/source/app/vclevent.cxx8
-rw-r--r--vcl/source/control/button.cxx154
-rw-r--r--vcl/source/control/combobox.cxx102
-rw-r--r--vcl/source/control/ctrl.cxx8
-rw-r--r--vcl/source/control/edit.cxx162
-rw-r--r--vcl/source/control/field.cxx112
-rw-r--r--vcl/source/control/field2.cxx200
-rw-r--r--vcl/source/control/fixed.cxx76
-rw-r--r--vcl/source/control/group.cxx24
-rw-r--r--vcl/source/control/ilstbox.cxx208
-rw-r--r--vcl/source/control/longcurr.cxx46
-rw-r--r--vcl/source/control/lstbox.cxx70
-rw-r--r--vcl/source/control/menubtn.cxx4
-rw-r--r--vcl/source/control/morebtn.cxx4
-rw-r--r--vcl/source/control/prgsbar.cxx24
-rw-r--r--vcl/source/control/quickselectionengine.cxx2
-rw-r--r--vcl/source/control/scrbar.cxx64
-rw-r--r--vcl/source/control/slider.cxx58
-rw-r--r--vcl/source/control/spinbtn.cxx62
-rw-r--r--vcl/source/control/spinfld.cxx84
-rw-r--r--vcl/source/control/tabctrl.cxx90
-rw-r--r--vcl/source/control/throbber.cxx4
-rw-r--r--vcl/source/edit/textdat2.hxx22
-rw-r--r--vcl/source/edit/textdata.cxx4
-rw-r--r--vcl/source/edit/textdoc.cxx36
-rw-r--r--vcl/source/edit/textdoc.hxx18
-rw-r--r--vcl/source/edit/texteng.cxx150
-rw-r--r--vcl/source/edit/textundo.cxx8
-rw-r--r--vcl/source/edit/textview.cxx230
-rw-r--r--vcl/source/edit/vclmedit.cxx134
-rw-r--r--vcl/source/edit/xtextedt.cxx38
-rw-r--r--vcl/source/filter/FilterConfigCache.cxx30
-rw-r--r--vcl/source/filter/FilterConfigCache.hxx20
-rw-r--r--vcl/source/filter/FilterConfigItem.cxx44
-rw-r--r--vcl/source/filter/graphicfilter.cxx24
-rw-r--r--vcl/source/filter/graphicfilter2.cxx212
-rw-r--r--vcl/source/filter/igif/gifread.cxx2
-rw-r--r--vcl/source/filter/jpeg/JpegReader.cxx2
-rw-r--r--vcl/source/filter/jpeg/JpegReader.hxx2
-rw-r--r--vcl/source/filter/jpeg/JpegWriter.cxx8
-rw-r--r--vcl/source/filter/jpeg/JpegWriter.hxx4
-rw-r--r--vcl/source/filter/jpeg/jpeg.h2
-rw-r--r--vcl/source/filter/jpeg/jpegc.cxx8
-rw-r--r--vcl/source/filter/sgvmain.hxx24
-rw-r--r--vcl/source/filter/sgvtext.cxx32
-rw-r--r--vcl/source/filter/wmf/emfwr.cxx34
-rw-r--r--vcl/source/filter/wmf/emfwr.hxx18
-rw-r--r--vcl/source/filter/wmf/enhwmf.cxx84
-rw-r--r--vcl/source/filter/wmf/winmtf.cxx96
-rw-r--r--vcl/source/filter/wmf/winmtf.hxx88
-rw-r--r--vcl/source/filter/wmf/winwmf.cxx26
-rw-r--r--vcl/source/filter/wmf/wmf.cxx10
-rw-r--r--vcl/source/fontsubset/gsub.cxx2
-rw-r--r--vcl/source/fontsubset/gsub.h2
-rw-r--r--vcl/source/fontsubset/sft.cxx4
-rw-r--r--vcl/source/gdi/alpha.cxx18
-rw-r--r--vcl/source/gdi/animate.cxx98
-rw-r--r--vcl/source/gdi/bitmap.cxx100
-rw-r--r--vcl/source/gdi/bitmap3.cxx142
-rw-r--r--vcl/source/gdi/bitmap4.cxx62
-rw-r--r--vcl/source/gdi/bitmapex.cxx92
-rw-r--r--vcl/source/gdi/bmpacc.cxx12
-rw-r--r--vcl/source/gdi/cvtsvm.cxx46
-rw-r--r--vcl/source/gdi/font.cxx40
-rw-r--r--vcl/source/gdi/gdimtf.cxx80
-rw-r--r--vcl/source/gdi/gfxlink.cxx20
-rw-r--r--vcl/source/gdi/gradient.cxx8
-rw-r--r--vcl/source/gdi/graph.cxx30
-rw-r--r--vcl/source/gdi/hatch.cxx2
-rw-r--r--vcl/source/gdi/image.cxx4
-rw-r--r--vcl/source/gdi/impanmvw.cxx26
-rw-r--r--vcl/source/gdi/impanmvw.hxx18
-rw-r--r--vcl/source/gdi/impbmp.cxx12
-rw-r--r--vcl/source/gdi/impgraph.cxx136
-rw-r--r--vcl/source/gdi/impimage.cxx2
-rw-r--r--vcl/source/gdi/impvect.cxx30
-rw-r--r--vcl/source/gdi/impvect.hxx8
-rw-r--r--vcl/source/gdi/jobset.cxx10
-rw-r--r--vcl/source/gdi/lineinfo.cxx4
-rw-r--r--vcl/source/gdi/mapmod.cxx24
-rw-r--r--vcl/source/gdi/metaact.cxx140
-rw-r--r--vcl/source/gdi/metric.cxx12
-rw-r--r--vcl/source/gdi/octree.cxx2
-rw-r--r--vcl/source/gdi/outdev.cxx34
-rw-r--r--vcl/source/gdi/outdev2.cxx2
-rw-r--r--vcl/source/gdi/outdev3.cxx162
-rw-r--r--vcl/source/gdi/outdev4.cxx54
-rw-r--r--vcl/source/gdi/outdev6.cxx40
-rw-r--r--vcl/source/gdi/outdevnative.cxx30
-rw-r--r--vcl/source/gdi/outmap.cxx4
-rw-r--r--vcl/source/gdi/pdfextoutdevdata.cxx68
-rw-r--r--vcl/source/gdi/pdfwriter.cxx2
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx22
-rw-r--r--vcl/source/gdi/pdfwriter_impl.hxx4
-rw-r--r--vcl/source/gdi/pdfwriter_impl2.cxx12
-rw-r--r--vcl/source/gdi/pngwrite.cxx32
-rw-r--r--vcl/source/gdi/print.cxx184
-rw-r--r--vcl/source/gdi/print2.cxx14
-rw-r--r--vcl/source/gdi/print3.cxx104
-rw-r--r--vcl/source/gdi/region.cxx6
-rw-r--r--vcl/source/gdi/salgdilayout.cxx42
-rw-r--r--vcl/source/gdi/salnativewidgets-none.cxx16
-rw-r--r--vcl/source/gdi/virdev.cxx36
-rw-r--r--vcl/source/gdi/wall.cxx50
-rw-r--r--vcl/source/helper/lazydelete.cxx2
-rw-r--r--vcl/source/window/accel.cxx8
-rw-r--r--vcl/source/window/accmgr.cxx34
-rw-r--r--vcl/source/window/brdwin.cxx112
-rw-r--r--vcl/source/window/btndlg.cxx12
-rw-r--r--vcl/source/window/decoview.cxx6
-rw-r--r--vcl/source/window/dialog.cxx78
-rw-r--r--vcl/source/window/dlgctrl.cxx114
-rw-r--r--vcl/source/window/dndlcon.cxx2
-rw-r--r--vcl/source/window/dockingarea.cxx6
-rw-r--r--vcl/source/window/dockmgr.cxx118
-rw-r--r--vcl/source/window/dockwin.cxx82
-rw-r--r--vcl/source/window/floatwin.cxx54
-rw-r--r--vcl/source/window/menu.cxx528
-rw-r--r--vcl/source/window/mnemonic.cxx8
-rw-r--r--vcl/source/window/mnemonicengine.cxx2
-rw-r--r--vcl/source/window/msgbox.cxx16
-rw-r--r--vcl/source/window/printdlg.cxx42
-rw-r--r--vcl/source/window/seleng.cxx46
-rw-r--r--vcl/source/window/split.cxx18
-rw-r--r--vcl/source/window/splitwin.cxx226
-rw-r--r--vcl/source/window/status.cxx98
-rw-r--r--vcl/source/window/syschild.cxx28
-rw-r--r--vcl/source/window/syswin.cxx62
-rw-r--r--vcl/source/window/tabdlg.cxx8
-rw-r--r--vcl/source/window/tabpage.cxx10
-rw-r--r--vcl/source/window/taskpanelist.cxx44
-rw-r--r--vcl/source/window/toolbox.cxx444
-rw-r--r--vcl/source/window/toolbox2.cxx208
-rw-r--r--vcl/source/window/window.cxx504
-rw-r--r--vcl/source/window/window2.cxx134
-rw-r--r--vcl/source/window/winproc.cxx160
-rw-r--r--vcl/source/window/wrkwin.cxx52
-rw-r--r--vcl/unx/generic/app/i18n_status.cxx2
-rw-r--r--vcl/unx/generic/app/i18n_xkb.cxx6
-rw-r--r--vcl/unx/generic/app/saldisp.cxx34
-rw-r--r--vcl/unx/generic/app/salinst.cxx10
-rw-r--r--vcl/unx/generic/dtrans/X11_selection.cxx8
-rw-r--r--vcl/unx/generic/dtrans/X11_selection.hxx2
-rw-r--r--vcl/unx/generic/gdi/salgdi.cxx130
-rw-r--r--vcl/unx/generic/gdi/salgdi2.cxx12
-rw-r--r--vcl/unx/generic/gdi/salgdi3.cxx6
-rw-r--r--vcl/unx/generic/gdi/salvd.cxx22
-rw-r--r--vcl/unx/generic/window/salframe.cxx56
-rw-r--r--vcl/unx/generic/window/salobj.cxx6
-rw-r--r--vcl/unx/gtk/a11y/atktextattributes.cxx6
-rw-r--r--vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx26
-rw-r--r--vcl/unx/gtk/fpicker/SalGtkFilePicker.hxx6
-rw-r--r--vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx184
-rw-r--r--vcl/unx/gtk/gdi/salprn-gtk.cxx16
-rw-r--r--vcl/unx/gtk/window/gtkobject.cxx2
-rw-r--r--vcl/unx/gtk/window/gtksalframe.cxx30
-rw-r--r--vcl/unx/gtk/window/gtksalmenu.cxx24
-rw-r--r--vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx28
-rw-r--r--vcl/unx/kde/UnxCommandThread.cxx18
-rw-r--r--vcl/unx/kde/UnxCommandThread.hxx4
-rw-r--r--vcl/unx/kde/UnxFilePicker.cxx17
-rw-r--r--vcl/unx/kde/UnxFilePicker.hxx4
-rw-r--r--vcl/unx/kde/UnxNotifyThread.cxx4
-rw-r--r--vcl/unx/kde/UnxNotifyThread.hxx2
-rw-r--r--vcl/unx/kde/salnativewidgets-kde.cxx94
-rw-r--r--vcl/unx/kde4/KDE4FilePicker.hxx8
-rw-r--r--vcl/unx/kde4/KDESalGraphics.cxx12
-rw-r--r--vcl/unx/kde4/KDESalGraphics.hxx8
869 files changed, 8364 insertions, 8350 deletions
diff --git a/avmedia/source/framework/mediacontrol.cxx b/avmedia/source/framework/mediacontrol.cxx
index b0b84faa4034..d0525d2a6eba 100644
--- a/avmedia/source/framework/mediacontrol.cxx
+++ b/avmedia/source/framework/mediacontrol.cxx
@@ -80,7 +80,7 @@ MediaControl::MediaControl( Window* pParent, MediaControlStyle eControlStyle ) :
const OUString aTimeText( " 00:00:00/00:00:00 " );
SetBackground();
- SetPaintTransparent( sal_True );
+ SetPaintTransparent( true );
SetParentClipMode( PARENTCLIPMODE_NOCLIP );
if( MEDIACONTROLSTYLE_SINGLELINE != meControlStyle )
@@ -98,11 +98,11 @@ MediaControl::MediaControl( Window* pParent, MediaControlStyle eControlStyle ) :
mpZoomListBox->SetBackground();
maZoomToolBox.SetBackground();
- maZoomToolBox.SetPaintTransparent( sal_True );
+ maZoomToolBox.SetPaintTransparent( true );
maPlayToolBox.SetBackground();
- maPlayToolBox.SetPaintTransparent( sal_True );
+ maPlayToolBox.SetPaintTransparent( true );
maMuteToolBox.SetBackground();
- maMuteToolBox.SetPaintTransparent( sal_True );
+ maMuteToolBox.SetPaintTransparent( true );
}
diff --git a/basctl/source/basicide/baside2.cxx b/basctl/source/basicide/baside2.cxx
index 1aa12a407315..06bc28ade190 100644
--- a/basctl/source/basicide/baside2.cxx
+++ b/basctl/source/basicide/baside2.cxx
@@ -1295,7 +1295,7 @@ sal_uInt16 ModulWindow::StartSearchAndReplace( const SvxSearchItem& rSearchItem,
if ( ( rSearchItem.GetCommand() == SVX_SEARCHCMD_FIND ) ||
( rSearchItem.GetCommand() == SVX_SEARCHCMD_FIND_ALL ) )
{
- nFound = pView->Search( rSearchItem.GetSearchOptions() , bForward );
+ nFound = pView->Search( rSearchItem.GetSearchOptions() , bForward ) ? 1 : 0;
}
else if ( ( rSearchItem.GetCommand() == SVX_SEARCHCMD_REPLACE ) ||
( rSearchItem.GetCommand() == SVX_SEARCHCMD_REPLACE_ALL ) )
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index 07b0a9944ef5..51094d002fba 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -2653,14 +2653,14 @@ void CodeCompleteListBox::InsertSelectedEntry()
if( !((OUString) GetEntry( GetSelectEntryPos() )).isEmpty() )
{//if the user selected something
- GetParentEditView()->InsertText( (OUString) GetEntry(GetSelectEntryPos()), sal_False );
+ GetParentEditView()->InsertText( (OUString) GetEntry(GetSelectEntryPos()), false );
}
}
else
{
if( !((OUString) GetEntry( GetSelectEntryPos() )).isEmpty() )
{//if the user selected something
- GetParentEditView()->InsertText( (OUString) GetEntry(GetSelectEntryPos()), sal_False );
+ GetParentEditView()->InsertText( (OUString) GetEntry(GetSelectEntryPos()), false );
}
}
HideAndRestoreFocus();
@@ -2741,7 +2741,7 @@ void CodeCompleteListBox::KeyInput( const KeyEvent& rKeyEvt )
GetParentEditView()->SetSelection( aTextSelection );
GetParentEditView()->DeleteSelected();
- GetParentEditView()->InsertText( GetSelectEntry(), sal_False );
+ GetParentEditView()->InsertText( GetSelectEntry(), false );
}
}
break;
diff --git a/basctl/source/basicide/bastypes.cxx b/basctl/source/basicide/bastypes.cxx
index eb1299947a31..bf478e970bfb 100644
--- a/basctl/source/basicide/bastypes.cxx
+++ b/basctl/source/basicide/bastypes.cxx
@@ -344,7 +344,7 @@ void DockingWindow::Hide ()
Show(false);
}
-sal_Bool DockingWindow::Docking( const Point& rPos, Rectangle& rRect )
+bool DockingWindow::Docking( const Point& rPos, Rectangle& rRect )
{
if (!IsDockingPrevented() && aDockingRect.IsInside(rPos))
{
@@ -383,7 +383,7 @@ void DockingWindow::ToggleFloatingMode()
DockThis();
}
-sal_Bool DockingWindow::PrepareToggleFloatingMode()
+bool DockingWindow::PrepareToggleFloatingMode()
{
if (IsFloatingMode())
{
diff --git a/basctl/source/dlged/propbrw.cxx b/basctl/source/dlged/propbrw.cxx
index 384fb736cb13..d03bbb72dfa9 100644
--- a/basctl/source/dlged/propbrw.cxx
+++ b/basctl/source/dlged/propbrw.cxx
@@ -227,7 +227,7 @@ void PropBrw::ImplDestroyController()
}
-sal_Bool PropBrw::Close()
+bool PropBrw::Close()
{
ImplDestroyController();
diff --git a/basctl/source/inc/bastypes.hxx b/basctl/source/inc/bastypes.hxx
index eb6d0ac42b3d..e4afb64b99eb 100644
--- a/basctl/source/inc/bastypes.hxx
+++ b/basctl/source/inc/bastypes.hxx
@@ -90,10 +90,10 @@ public:
void Hide ();
protected:
- virtual sal_Bool Docking( const Point& rPos, Rectangle& rRect );
+ virtual bool Docking( const Point& rPos, Rectangle& rRect );
virtual void EndDocking( const Rectangle& rRect, sal_Bool bFloatMode );
virtual void ToggleFloatingMode();
- virtual sal_Bool PrepareToggleFloatingMode();
+ virtual bool PrepareToggleFloatingMode();
virtual void StartDocking();
private:
diff --git a/basctl/source/inc/propbrw.hxx b/basctl/source/inc/propbrw.hxx
index ef4358bd6d63..f8a169539567 100644
--- a/basctl/source/inc/propbrw.hxx
+++ b/basctl/source/inc/propbrw.hxx
@@ -57,7 +57,7 @@ private:
protected:
SdrView* pView;
virtual void Resize();
- virtual sal_Bool Close();
+ virtual bool Close();
typedef std::vector< ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface> > InterfaceArray;
diff --git a/canvas/source/cairo/cairo_canvasfont.cxx b/canvas/source/cairo/cairo_canvasfont.cxx
index 7a1a78e7a240..96370023af3b 100644
--- a/canvas/source/cairo/cairo_canvasfont.cxx
+++ b/canvas/source/cairo/cairo_canvasfont.cxx
@@ -68,7 +68,7 @@ namespace cairocanvas
if( pOutDev )
{
const bool bOldMapState( pOutDev->IsMapModeEnabled() );
- pOutDev->EnableMapMode(sal_False);
+ pOutDev->EnableMapMode(false);
const Size aSize = pOutDev->GetFontMetric( *maFont ).GetSize();
diff --git a/canvas/source/cairo/cairo_devicehelper.cxx b/canvas/source/cairo/cairo_devicehelper.cxx
index 42d4d8924fd4..216994b3bd2e 100644
--- a/canvas/source/cairo/cairo_devicehelper.cxx
+++ b/canvas/source/cairo/cairo_devicehelper.cxx
@@ -262,7 +262,7 @@ namespace cairocanvas
const ::Point aEmptyPoint;
bool bOldMap( mpRefDevice->IsMapModeEnabled() );
- mpRefDevice->EnableMapMode( sal_False );
+ mpRefDevice->EnableMapMode( false );
const ::Bitmap aTempBitmap(mpRefDevice->GetBitmap(aEmptyPoint, mpRefDevice->GetOutputSizePixel()));
WriteDIB(aTempBitmap, aStream, false, true);
mpRefDevice->EnableMapMode( bOldMap );
diff --git a/canvas/source/vcl/bitmapbackbuffer.cxx b/canvas/source/vcl/bitmapbackbuffer.cxx
index 0fb9380c6914..d140ea002a10 100644
--- a/canvas/source/vcl/bitmapbackbuffer.cxx
+++ b/canvas/source/vcl/bitmapbackbuffer.cxx
@@ -77,7 +77,7 @@ namespace vclcanvas
if( mbVDevContentIsCurrent && mpVDev )
{
// VDev content is more current than bitmap - copy contents before!
- mpVDev->EnableMapMode( sal_False );
+ mpVDev->EnableMapMode( false );
mpVDev->SetAntialiasing( ANTIALIASING_ENABLE_B2DDRAW );
const Point aEmptyPoint;
*maBitmap = mpVDev->GetBitmapEx( aEmptyPoint,
@@ -98,7 +98,7 @@ namespace vclcanvas
if( mbVDevContentIsCurrent && mpVDev )
{
- mpVDev->EnableMapMode( sal_False );
+ mpVDev->EnableMapMode( false );
mpVDev->SetAntialiasing( ANTIALIASING_ENABLE_B2DDRAW );
aSize = mpVDev->GetOutputSizePixel();
}
@@ -142,7 +142,7 @@ namespace vclcanvas
if( mpVDev && mbBitmapContentIsCurrent )
{
// fill with bitmap content
- mpVDev->EnableMapMode( sal_False );
+ mpVDev->EnableMapMode( false );
mpVDev->SetAntialiasing( ANTIALIASING_ENABLE_B2DDRAW );
const Point aEmptyPoint;
mpVDev->DrawBitmapEx( aEmptyPoint, *maBitmap );
diff --git a/canvas/source/vcl/canvasfont.cxx b/canvas/source/vcl/canvasfont.cxx
index 6229072c2925..0393751c8093 100644
--- a/canvas/source/vcl/canvasfont.cxx
+++ b/canvas/source/vcl/canvasfont.cxx
@@ -68,7 +68,7 @@ namespace vclcanvas
OutputDevice& rOutDev( rOutDevProvider->getOutDev() );
const bool bOldMapState( rOutDev.IsMapModeEnabled() );
- rOutDev.EnableMapMode(sal_False);
+ rOutDev.EnableMapMode(false);
const Size aSize = rOutDev.GetFontMetric( *maFont ).GetSize();
diff --git a/canvas/source/vcl/canvashelper.cxx b/canvas/source/vcl/canvashelper.cxx
index 54fff82b4d74..521056068892 100644
--- a/canvas/source/vcl/canvashelper.cxx
+++ b/canvas/source/vcl/canvashelper.cxx
@@ -154,7 +154,7 @@ namespace vclcanvas
void CanvasHelper::setBackgroundOutDev( const OutDevProviderSharedPtr& rOutDev )
{
mp2ndOutDev = rOutDev;
- mp2ndOutDev->getOutDev().EnableMapMode( sal_False );
+ mp2ndOutDev->getOutDev().EnableMapMode( false );
mp2ndOutDev->getOutDev().SetAntialiasing( ANTIALIASING_ENABLE_B2DDRAW );
}
@@ -166,7 +166,7 @@ namespace vclcanvas
OutputDevice& rOutDev( mpOutDev->getOutDev() );
tools::OutDevStateKeeper aStateKeeper( mpProtectedOutDev );
- rOutDev.EnableMapMode( sal_False );
+ rOutDev.EnableMapMode( false );
rOutDev.SetAntialiasing( ANTIALIASING_ENABLE_B2DDRAW );
rOutDev.SetLineColor( COL_WHITE );
rOutDev.SetFillColor( COL_WHITE );
@@ -179,7 +179,7 @@ namespace vclcanvas
OutputDevice& rOutDev2( mp2ndOutDev->getOutDev() );
rOutDev2.SetDrawMode( DRAWMODE_DEFAULT );
- rOutDev2.EnableMapMode( sal_False );
+ rOutDev2.EnableMapMode( false );
rOutDev2.SetAntialiasing( ANTIALIASING_ENABLE_B2DDRAW );
rOutDev2.SetLineColor( COL_WHITE );
rOutDev2.SetFillColor( COL_WHITE );
@@ -936,7 +936,7 @@ namespace vclcanvas
OutputDevice& rOutDev( mpOutDev->getOutDev() );
tools::OutDevStateKeeper aStateKeeper( mpProtectedOutDev );
- rOutDev.EnableMapMode( sal_False );
+ rOutDev.EnableMapMode( false );
rOutDev.SetAntialiasing( ANTIALIASING_ENABLE_B2DDRAW );
// TODO(F2): Support alpha vdev canvas here
@@ -966,7 +966,7 @@ namespace vclcanvas
OutputDevice& rOutDev( mpOutDev->getOutDev() );
tools::OutDevStateKeeper aStateKeeper( mpProtectedOutDev );
- rOutDev.EnableMapMode( sal_False );
+ rOutDev.EnableMapMode( false );
rOutDev.SetAntialiasing( ANTIALIASING_ENABLE_B2DDRAW );
Bitmap aBitmap( rOutDev.GetBitmap(aRect.TopLeft(),
@@ -1019,7 +1019,7 @@ namespace vclcanvas
OutputDevice& rOutDev( mpOutDev->getOutDev() );
tools::OutDevStateKeeper aStateKeeper( mpProtectedOutDev );
- rOutDev.EnableMapMode( sal_False );
+ rOutDev.EnableMapMode( false );
rOutDev.SetAntialiasing( ANTIALIASING_ENABLE_B2DDRAW );
const Rectangle aRect( ::vcl::unotools::rectangleFromIntegerRectangle2D(rect) );
@@ -1144,7 +1144,7 @@ namespace vclcanvas
OutputDevice& rOutDev( mpOutDev->getOutDev() );
tools::OutDevStateKeeper aStateKeeper( mpProtectedOutDev );
- rOutDev.EnableMapMode( sal_False );
+ rOutDev.EnableMapMode( false );
rOutDev.SetAntialiasing( ANTIALIASING_ENABLE_B2DDRAW );
const Size aBmpSize( rOutDev.GetOutputSizePixel() );
@@ -1182,7 +1182,7 @@ namespace vclcanvas
OutputDevice& rOutDev( mpOutDev->getOutDev() );
tools::OutDevStateKeeper aStateKeeper( mpProtectedOutDev );
- rOutDev.EnableMapMode( sal_False );
+ rOutDev.EnableMapMode( false );
rOutDev.SetAntialiasing( ANTIALIASING_ENABLE_B2DDRAW );
const Size aBmpSize( rOutDev.GetOutputSizePixel() );
@@ -1226,7 +1226,7 @@ namespace vclcanvas
OutputDevice& rOutDev( mpOutDev->getOutDev() );
OutputDevice* p2ndOutDev = NULL;
- rOutDev.EnableMapMode( sal_False );
+ rOutDev.EnableMapMode( false );
rOutDev.SetAntialiasing( ANTIALIASING_ENABLE_B2DDRAW );
if( mp2ndOutDev )
diff --git a/canvas/source/vcl/devicehelper.cxx b/canvas/source/vcl/devicehelper.cxx
index 2618a04b219b..e0c5fe001cac 100644
--- a/canvas/source/vcl/devicehelper.cxx
+++ b/canvas/source/vcl/devicehelper.cxx
@@ -218,7 +218,7 @@ namespace vclcanvas
const ::Point aEmptyPoint;
OutputDevice& rOutDev = mpOutDev->getOutDev();
bool bOldMap( rOutDev.IsMapModeEnabled() );
- rOutDev.EnableMapMode( sal_False );
+ rOutDev.EnableMapMode( false );
WriteDIB(rOutDev.GetBitmap(aEmptyPoint, rOutDev.GetOutputSizePixel()), aStream, false, true);
rOutDev.EnableMapMode( bOldMap );
diff --git a/canvas/source/vcl/impltools.hxx b/canvas/source/vcl/impltools.hxx
index d017ebf87e64..e422f213ca72 100644
--- a/canvas/source/vcl/impltools.hxx
+++ b/canvas/source/vcl/impltools.hxx
@@ -154,7 +154,7 @@ namespace vclcanvas
if( mpOutDev )
{
mpOutDev->Push();
- mpOutDev->EnableMapMode(sal_False);
+ mpOutDev->EnableMapMode(false);
mpOutDev->SetAntialiasing( ANTIALIASING_ENABLE_B2DDRAW );
}
}
diff --git a/canvas/source/vcl/spritecanvashelper.cxx b/canvas/source/vcl/spritecanvashelper.cxx
index 88a297025158..1003fc23f199 100644
--- a/canvas/source/vcl/spritecanvashelper.cxx
+++ b/canvas/source/vcl/spritecanvashelper.cxx
@@ -87,7 +87,7 @@ namespace vclcanvas
// clip output to actual update region (otherwise a)
// wouldn't save much render time, and b) will clutter
// scrolled sprite content outside this area)
- rOutDev.EnableMapMode( sal_False );
+ rOutDev.EnableMapMode( false );
rOutDev.SetAntialiasing( ANTIALIASING_ENABLE_B2DDRAW );
rOutDev.SetClipRegion(Region(rRequestedArea));
@@ -308,7 +308,7 @@ namespace vclcanvas
// but repaint everything (or caller requested that)
maVDev->SetOutputSizePixel( aOutDevSize );
- maVDev->EnableMapMode( sal_False );
+ maVDev->EnableMapMode( false );
maVDev->DrawOutDev( aEmptyPoint, aOutDevSize,
aEmptyPoint, aOutDevSize,
rBackOutDev );
@@ -322,7 +322,7 @@ namespace vclcanvas
_1 ) );
// flush to screen
- rOutDev.EnableMapMode( sal_False );
+ rOutDev.EnableMapMode( false );
rOutDev.SetAntialiasing( ANTIALIASING_ENABLE_B2DDRAW );
rOutDev.SetClipRegion();
rOutDev.DrawOutDev( aEmptyPoint, aOutDevSize,
@@ -564,7 +564,7 @@ namespace vclcanvas
}
// paint background
- maVDev->EnableMapMode( sal_False );
+ maVDev->EnableMapMode( false );
maVDev->SetAntialiasing( ANTIALIASING_ENABLE_B2DDRAW );
maVDev->SetClipRegion();
maVDev->DrawOutDev( aEmptyPoint, aOutputSize,
@@ -582,7 +582,7 @@ namespace vclcanvas
_1 ) );
// flush to screen
- rOutDev.EnableMapMode( sal_False );
+ rOutDev.EnableMapMode( false );
rOutDev.SetAntialiasing( ANTIALIASING_ENABLE_B2DDRAW );
rOutDev.DrawOutDev( aOutputPosition, aOutputSize,
aEmptyPoint, aOutputSize,
diff --git a/canvas/source/vcl/spritedevicehelper.cxx b/canvas/source/vcl/spritedevicehelper.cxx
index 982042b84165..9b6ace50f926 100644
--- a/canvas/source/vcl/spritedevicehelper.cxx
+++ b/canvas/source/vcl/spritedevicehelper.cxx
@@ -133,7 +133,7 @@ namespace vclcanvas
SvFileStream aStream( aFilename, STREAM_STD_READWRITE );
const ::Point aEmptyPoint;
- mpBackBuffer->getOutDev().EnableMapMode( sal_False );
+ mpBackBuffer->getOutDev().EnableMapMode( false );
mpBackBuffer->getOutDev().SetAntialiasing( ANTIALIASING_ENABLE_B2DDRAW );
WriteDIB(mpBackBuffer->getOutDev().GetBitmap(aEmptyPoint, mpBackBuffer->getOutDev().GetOutputSizePixel()), aStream, false, true);
}
diff --git a/canvas/source/vcl/textlayout.cxx b/canvas/source/vcl/textlayout.cxx
index 1ef4fa6176d6..36ba673db317 100644
--- a/canvas/source/vcl/textlayout.cxx
+++ b/canvas/source/vcl/textlayout.cxx
@@ -132,7 +132,7 @@ namespace vclcanvas
maText.StartPosition,
maText.StartPosition,
maText.Length,
- sal_False,
+ false,
0,
aOffsets.get()))
{
diff --git a/chart2/source/controller/dialogs/dlg_DataEditor.cxx b/chart2/source/controller/dialogs/dlg_DataEditor.cxx
index b60a52a38558..ddba251a56d3 100644
--- a/chart2/source/controller/dialogs/dlg_DataEditor.cxx
+++ b/chart2/source/controller/dialogs/dlg_DataEditor.cxx
@@ -187,12 +187,12 @@ void DataEditor::UpdateData()
m_xBrwData->SetDataFromModel( m_xChartDoc, m_xContext );
}
-sal_Bool DataEditor::Close()
+bool DataEditor::Close()
{
if( ApplyChangesToModel() )
return ModalDialog::Close();
else
- return sal_True;
+ return true;
}
bool DataEditor::ApplyChangesToModel()
diff --git a/chart2/source/controller/dialogs/res_DataLabel.cxx b/chart2/source/controller/dialogs/res_DataLabel.cxx
index caf17e60a67e..ca29b4d13700 100644
--- a/chart2/source/controller/dialogs/res_DataLabel.cxx
+++ b/chart2/source/controller/dialogs/res_DataLabel.cxx
@@ -77,14 +77,14 @@ bool lcl_ReadNumberFormatFromItemSet( const SfxItemSet& rSet, sal_uInt16 nValueW
void lcl_setBoolItemToCheckBox( const SfxItemSet& rInAttrs, sal_uInt16 nWhichId, CheckBox& rCheckbox )
{
- rCheckbox.EnableTriState( sal_False );
+ rCheckbox.EnableTriState( false );
const SfxPoolItem *pPoolItem = NULL;
if( rInAttrs.GetItemState(nWhichId, true, &pPoolItem) == SFX_ITEM_SET )
rCheckbox.Check( ((const SfxBoolItem*)pPoolItem)->GetValue() );
else
{
- rCheckbox.EnableTriState( sal_True );
+ rCheckbox.EnableTriState( true );
rCheckbox.SetState( STATE_DONTKNOW );
}
}
@@ -237,7 +237,7 @@ IMPL_LINK( DataLabelResources, NumberFormatDialogHdl, PushButton *, pButton )
IMPL_LINK( DataLabelResources, CheckHdl, CheckBox*, pBox )
{
if( pBox )
- pBox->EnableTriState( sal_False );
+ pBox->EnableTriState( false );
EnableControls();
return 0;
}
diff --git a/chart2/source/controller/dialogs/res_ErrorBar.cxx b/chart2/source/controller/dialogs/res_ErrorBar.cxx
index ec3c63a282f0..7c25681bf7df 100644
--- a/chart2/source/controller/dialogs/res_ErrorBar.cxx
+++ b/chart2/source/controller/dialogs/res_ErrorBar.cxx
@@ -139,7 +139,7 @@ ErrorBarResources::ErrorBarResources( VclBuilderContainer* pParent, Dialog * pPa
m_pRbRange->SetClickHdl( LINK( this, ErrorBarResources, CategoryChosen ));
m_pLbFunction->SetSelectHdl( LINK( this, ErrorBarResources, CategoryChosen ));
- m_pCbSyncPosNeg->Check( sal_False );
+ m_pCbSyncPosNeg->Check( false );
m_pCbSyncPosNeg->SetToggleHdl( LINK( this, ErrorBarResources, SynchronizePosAndNeg ));
m_pMfPositive->SetModifyHdl( LINK( this, ErrorBarResources, PosValueChanged ));
@@ -522,10 +522,10 @@ void ErrorBarResources::Reset(const SfxItemSet& rInAttrs)
}
else
{
- m_pRbNone->Check( sal_False );
- m_pRbConst->Check( sal_False );
- m_pRbPercent->Check( sal_False );
- m_pRbFunction->Check( sal_False );
+ m_pRbNone->Check( false );
+ m_pRbConst->Check( false );
+ m_pRbPercent->Check( false );
+ m_pRbFunction->Check( false );
}
// parameters
@@ -576,9 +576,9 @@ void ErrorBarResources::Reset(const SfxItemSet& rInAttrs)
}
else
{
- m_pRbBoth->Check( sal_False );
- m_pRbPositive->Check( sal_False );
- m_pRbNegative->Check( sal_False );
+ m_pRbBoth->Check( false );
+ m_pRbPositive->Check( false );
+ m_pRbNegative->Check( false );
}
// ranges
diff --git a/chart2/source/controller/dialogs/res_LegendPosition.cxx b/chart2/source/controller/dialogs/res_LegendPosition.cxx
index 12d4b620aa85..3302233c094e 100644
--- a/chart2/source/controller/dialogs/res_LegendPosition.cxx
+++ b/chart2/source/controller/dialogs/res_LegendPosition.cxx
@@ -188,16 +188,16 @@ void LegendPositionResources::initFromItemSet( const SfxItemSet& rInAttrs )
switch( nLegendPosition )
{
case chart2::LegendPosition_LINE_START:
- m_pRbtLeft->Check(sal_True);
+ m_pRbtLeft->Check(true);
break;
case chart2::LegendPosition_PAGE_START:
- m_pRbtTop->Check(sal_True);
+ m_pRbtTop->Check(true);
break;
case chart2::LegendPosition_LINE_END:
- m_pRbtRight->Check(sal_True);
+ m_pRbtRight->Check(true);
break;
case chart2::LegendPosition_PAGE_END:
- m_pRbtBottom->Check(sal_True);
+ m_pRbtBottom->Check(true);
break;
default:
break;
diff --git a/chart2/source/controller/dialogs/res_Trendline.cxx b/chart2/source/controller/dialogs/res_Trendline.cxx
index 108ae3bab42a..ae02ba08e4bd 100644
--- a/chart2/source/controller/dialogs/res_Trendline.cxx
+++ b/chart2/source/controller/dialogs/res_Trendline.cxx
@@ -178,12 +178,12 @@ void TrendlineResources::Reset( const SfxItemSet& rInAttrs )
aState = rInAttrs.GetItemState( SCHATTR_REGRESSION_SET_INTERCEPT, true, &pPoolItem );
if( aState == SFX_ITEM_DONTCARE )
{
- m_pCB_SetIntercept->EnableTriState( sal_True );
+ m_pCB_SetIntercept->EnableTriState( true );
m_pCB_SetIntercept->SetState( STATE_DONTKNOW );
}
else
{
- m_pCB_SetIntercept->EnableTriState( sal_False );
+ m_pCB_SetIntercept->EnableTriState( false );
if( aState == SFX_ITEM_SET )
m_pCB_SetIntercept->Check( static_cast< const SfxBoolItem * >( pPoolItem )->GetValue());
}
@@ -191,12 +191,12 @@ void TrendlineResources::Reset( const SfxItemSet& rInAttrs )
aState = rInAttrs.GetItemState( SCHATTR_REGRESSION_SHOW_EQUATION, true, &pPoolItem );
if( aState == SFX_ITEM_DONTCARE )
{
- m_pCB_ShowEquation->EnableTriState( sal_True );
+ m_pCB_ShowEquation->EnableTriState( true );
m_pCB_ShowEquation->SetState( STATE_DONTKNOW );
}
else
{
- m_pCB_ShowEquation->EnableTriState( sal_False );
+ m_pCB_ShowEquation->EnableTriState( false );
if( aState == SFX_ITEM_SET )
m_pCB_ShowEquation->Check( static_cast< const SfxBoolItem * >( pPoolItem )->GetValue());
}
@@ -204,12 +204,12 @@ void TrendlineResources::Reset( const SfxItemSet& rInAttrs )
aState = rInAttrs.GetItemState( SCHATTR_REGRESSION_SHOW_COEFF, true, &pPoolItem );
if( aState == SFX_ITEM_DONTCARE )
{
- m_pCB_ShowCorrelationCoeff->EnableTriState( sal_True );
+ m_pCB_ShowCorrelationCoeff->EnableTriState( true );
m_pCB_ShowCorrelationCoeff->SetState( STATE_DONTKNOW );
}
else
{
- m_pCB_ShowCorrelationCoeff->EnableTriState( sal_False );
+ m_pCB_ShowCorrelationCoeff->EnableTriState( false );
if( aState == SFX_ITEM_SET )
m_pCB_ShowCorrelationCoeff->Check( static_cast< const SfxBoolItem * >( pPoolItem )->GetValue());
}
diff --git a/chart2/source/controller/dialogs/tp_3D_SceneAppearance.cxx b/chart2/source/controller/dialogs/tp_3D_SceneAppearance.cxx
index 7bc3a6463483..abb672f58a4f 100644
--- a/chart2/source/controller/dialogs/tp_3D_SceneAppearance.cxx
+++ b/chart2/source/controller/dialogs/tp_3D_SceneAppearance.cxx
@@ -113,9 +113,9 @@ ThreeD_SceneAppearance_TabPage::ThreeD_SceneAppearance_TabPage(
m_pCB_Shading->SetToggleHdl( LINK( this, ThreeD_SceneAppearance_TabPage, SelectShading ) );
m_pCB_ObjectLines->SetToggleHdl( LINK( this, ThreeD_SceneAppearance_TabPage, SelectRoundedEdgeOrObjectLines ) );
- m_pCB_RoundedEdge->EnableTriState( sal_True );
- m_pCB_Shading->EnableTriState( sal_True );
- m_pCB_ObjectLines->EnableTriState( sal_True );
+ m_pCB_RoundedEdge->EnableTriState( true );
+ m_pCB_Shading->EnableTriState( true );
+ m_pCB_ObjectLines->EnableTriState( true );
initControlsFromModel();
}
@@ -204,50 +204,50 @@ void ThreeD_SceneAppearance_TabPage::initControlsFromModel()
if(aProps.m_aShadeMode == drawing::ShadeMode_FLAT)
{
- m_pCB_Shading->EnableTriState( sal_False );
- m_pCB_Shading->Check(sal_False);
+ m_pCB_Shading->EnableTriState( false );
+ m_pCB_Shading->Check(false);
}
else if(aProps.m_aShadeMode == drawing::ShadeMode_SMOOTH)
{
- m_pCB_Shading->EnableTriState( sal_False );
- m_pCB_Shading->Check(sal_True);
+ m_pCB_Shading->EnableTriState( false );
+ m_pCB_Shading->Check(true);
}
else
{
- m_pCB_Shading->EnableTriState( sal_True );
+ m_pCB_Shading->EnableTriState( true );
m_pCB_Shading->SetState( STATE_DONTKNOW );
}
if(aProps.m_nObjectLines == 0)
{
- m_pCB_ObjectLines->EnableTriState( sal_False );
- m_pCB_ObjectLines->Check(sal_False);
+ m_pCB_ObjectLines->EnableTriState( false );
+ m_pCB_ObjectLines->Check(false);
}
else if(aProps.m_nObjectLines==1)
{
- m_pCB_ObjectLines->EnableTriState( sal_False );
- m_pCB_ObjectLines->Check(sal_True);
+ m_pCB_ObjectLines->EnableTriState( false );
+ m_pCB_ObjectLines->Check(true);
}
else
{
- m_pCB_ObjectLines->EnableTriState( sal_True );
+ m_pCB_ObjectLines->EnableTriState( true );
m_pCB_ObjectLines->SetState( STATE_DONTKNOW );
}
if(aProps.m_nRoundedEdges >= 5)
{
- m_pCB_RoundedEdge->EnableTriState( sal_False );
- m_pCB_RoundedEdge->Check(sal_True);
+ m_pCB_RoundedEdge->EnableTriState( false );
+ m_pCB_RoundedEdge->Check(true);
}
else if(aProps.m_nRoundedEdges<0)
{
- m_pCB_RoundedEdge->EnableTriState( sal_False );
+ m_pCB_RoundedEdge->EnableTriState( false );
m_pCB_RoundedEdge->SetState( STATE_DONTKNOW );
}
else
{
- m_pCB_RoundedEdge->EnableTriState( sal_True );
- m_pCB_RoundedEdge->Check(sal_False);
+ m_pCB_RoundedEdge->EnableTriState( true );
+ m_pCB_RoundedEdge->Check(false);
}
m_pCB_RoundedEdge->Enable( !m_pCB_ObjectLines->IsChecked() );
@@ -315,7 +315,7 @@ IMPL_LINK_NOARG(ThreeD_SceneAppearance_TabPage, SelectShading)
if( !m_bUpdateOtherControls )
return 0;
- m_pCB_Shading->EnableTriState( sal_False );
+ m_pCB_Shading->EnableTriState( false );
applyShadeModeToModel();
updateScheme();
return 0;
@@ -327,15 +327,15 @@ IMPL_LINK( ThreeD_SceneAppearance_TabPage, SelectRoundedEdgeOrObjectLines, Check
if( pCheckBox == m_pCB_ObjectLines )
{
- m_pCB_ObjectLines->EnableTriState( sal_False );
+ m_pCB_ObjectLines->EnableTriState( false );
m_bUpdateOtherControls = false;
m_pCB_RoundedEdge->Enable( !m_pCB_ObjectLines->IsChecked() );
if(!m_pCB_RoundedEdge->IsEnabled())
- m_pCB_RoundedEdge->Check(sal_False);
+ m_pCB_RoundedEdge->Check(false);
m_bUpdateOtherControls = true;
}
else
- m_pCB_RoundedEdge->EnableTriState( sal_False );
+ m_pCB_RoundedEdge->EnableTriState( false );
applyRoundedEdgeAndObjectLinesToModel();
updateScheme();
return 0;
diff --git a/chart2/source/controller/dialogs/tp_AxisLabel.cxx b/chart2/source/controller/dialogs/tp_AxisLabel.cxx
index f6619c07c063..3389bf869af4 100644
--- a/chart2/source/controller/dialogs/tp_AxisLabel.cxx
+++ b/chart2/source/controller/dialogs/tp_AxisLabel.cxx
@@ -67,7 +67,7 @@ SchAxisLabelTabPage::SchAxisLabelTabPage( Window* pParent, const SfxItemSet& rIn
m_pOrientHlp->Enable( true );
- m_pCbStacked->EnableTriState( sal_False );
+ m_pCbStacked->EnableTriState( false );
m_pOrientHlp->AddDependentWindow( *m_pFlOrient );
m_pOrientHlp->AddDependentWindow( *m_pFtRotate, STATE_CHECK );
@@ -146,12 +146,12 @@ void SchAxisLabelTabPage::Reset( const SfxItemSet& rInAttrs )
SfxItemState aState = rInAttrs.GetItemState( SCHATTR_AXIS_SHOWDESCR, false, &pPoolItem );
if( aState == SFX_ITEM_DONTCARE )
{
- m_pCbShowDescription->EnableTriState( sal_True );
+ m_pCbShowDescription->EnableTriState( true );
m_pCbShowDescription->SetState( STATE_DONTKNOW );
}
else
{
- m_pCbShowDescription->EnableTriState( sal_False );
+ m_pCbShowDescription->EnableTriState( false );
sal_Bool bCheck = sal_False;
if( aState == SFX_ITEM_SET )
bCheck = static_cast< const SfxBoolItem * >( pPoolItem )->GetValue();
@@ -194,12 +194,12 @@ void SchAxisLabelTabPage::Reset( const SfxItemSet& rInAttrs )
aState = rInAttrs.GetItemState( SCHATTR_AXIS_LABEL_OVERLAP, false, &pPoolItem );
if( aState == SFX_ITEM_DONTCARE )
{
- m_pCbTextOverlap->EnableTriState( sal_True );
+ m_pCbTextOverlap->EnableTriState( true );
m_pCbTextOverlap->SetState( STATE_DONTKNOW );
}
else
{
- m_pCbTextOverlap->EnableTriState( sal_False );
+ m_pCbTextOverlap->EnableTriState( false );
sal_Bool bCheck = sal_False;
if( aState == SFX_ITEM_SET )
bCheck = static_cast< const SfxBoolItem * >( pPoolItem )->GetValue();
@@ -213,12 +213,12 @@ void SchAxisLabelTabPage::Reset( const SfxItemSet& rInAttrs )
aState = rInAttrs.GetItemState( SCHATTR_AXIS_LABEL_BREAK, false, &pPoolItem );
if( aState == SFX_ITEM_DONTCARE )
{
- m_pCbTextBreak->EnableTriState( sal_True );
+ m_pCbTextBreak->EnableTriState( true );
m_pCbTextBreak->SetState( STATE_DONTKNOW );
}
else
{
- m_pCbTextBreak->EnableTriState( sal_False );
+ m_pCbTextBreak->EnableTriState( false );
sal_Bool bCheck = sal_False;
if( aState == SFX_ITEM_SET )
bCheck = static_cast< const SfxBoolItem * >( pPoolItem )->GetValue();
diff --git a/chart2/source/controller/dialogs/tp_RangeChooser.cxx b/chart2/source/controller/dialogs/tp_RangeChooser.cxx
index 571b26070510..720e70d9037e 100644
--- a/chart2/source/controller/dialogs/tp_RangeChooser.cxx
+++ b/chart2/source/controller/dialogs/tp_RangeChooser.cxx
@@ -36,7 +36,7 @@ namespace
PushButton& rChooserButton,
bool bShow)
{
- if( rChooserButton.IsVisible() != (sal_Bool) bShow )
+ if( rChooserButton.IsVisible() != bShow )
{
rChooserButton.Show( bShow );
}
diff --git a/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx b/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx
index 010b6e7dea14..43bdad7a2796 100644
--- a/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx
+++ b/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx
@@ -120,15 +120,15 @@ void SchOptionTabPage::Reset(const SfxItemSet& rInAttrs)
{
const SfxPoolItem *pPoolItem = NULL;
- m_pRbtAxis1->Check(sal_True);
- m_pRbtAxis2->Check(sal_False);
+ m_pRbtAxis1->Check(true);
+ m_pRbtAxis2->Check(false);
if (rInAttrs.GetItemState(SCHATTR_AXIS,true, &pPoolItem) == SFX_ITEM_SET)
{
long nVal=((const SfxInt32Item*)pPoolItem)->GetValue();
if(nVal==CHART_AXIS_SECONDARY_Y)
{
- m_pRbtAxis2->Check(sal_True);
- m_pRbtAxis1->Check(sal_False);
+ m_pRbtAxis2->Check(true);
+ m_pRbtAxis1->Check(false);
}
}
@@ -193,11 +193,11 @@ void SchOptionTabPage::Reset(const SfxItemSet& rInAttrs)
long nVal=((const SfxInt32Item*)pPoolItem)->GetValue();
if(nVal==::com::sun::star::chart::MissingValueTreatment::LEAVE_GAP)
- m_pRB_DontPaint->Check(sal_True);
+ m_pRB_DontPaint->Check(true);
else if(nVal==::com::sun::star::chart::MissingValueTreatment::USE_ZERO)
- m_pRB_AssumeZero->Check(sal_True);
+ m_pRB_AssumeZero->Check(true);
else if(nVal==::com::sun::star::chart::MissingValueTreatment::CONTINUE)
- m_pRB_ContinueLine->Check(sal_True);
+ m_pRB_ContinueLine->Check(true);
}
else
{
diff --git a/chart2/source/controller/dialogs/tp_TitleRotation.cxx b/chart2/source/controller/dialogs/tp_TitleRotation.cxx
index 08823d6efa83..8e94ae18276f 100644
--- a/chart2/source/controller/dialogs/tp_TitleRotation.cxx
+++ b/chart2/source/controller/dialogs/tp_TitleRotation.cxx
@@ -46,7 +46,7 @@ SchAlignmentTabPage::SchAlignmentTabPage(Window* pWindow,
m_pCtrlDial->SetText(m_pFtABCD->GetText());
m_pOrientHlp = new svx::OrientationHelper(*m_pCtrlDial, *m_pNfRotate, *m_pCbStacked);
- m_pCbStacked->EnableTriState( sal_False );
+ m_pCbStacked->EnableTriState( false );
m_pOrientHlp->Enable( true );
m_pOrientHlp->AddDependentWindow( *m_pFtRotate, STATE_CHECK );
diff --git a/chart2/source/controller/inc/dlg_DataEditor.hxx b/chart2/source/controller/inc/dlg_DataEditor.hxx
index cff710741412..347977a8871a 100644
--- a/chart2/source/controller/inc/dlg_DataEditor.hxx
+++ b/chart2/source/controller/inc/dlg_DataEditor.hxx
@@ -50,7 +50,7 @@ public:
virtual ~DataEditor();
// Dialog
- virtual sal_Bool Close();
+ virtual bool Close();
void SetReadOnly( bool bReadOnly );
bool ApplyChangesToModel();
diff --git a/chart2/source/controller/main/ChartWindow.cxx b/chart2/source/controller/main/ChartWindow.cxx
index c56489f000fb..917d69e8ae74 100644
--- a/chart2/source/controller/main/ChartWindow.cxx
+++ b/chart2/source/controller/main/ChartWindow.cxx
@@ -52,9 +52,9 @@ ChartWindow::ChartWindow( WindowController* pWindowController, Window* pParent,
adjustHighContrastMode();
// chart does not depend on exact pixel painting => enable antialiased drawing
SetAntialiasing( ANTIALIASING_ENABLE_B2DDRAW | GetAntialiasing() );
- EnableRTL( sal_False );
+ EnableRTL( false );
if( pParent )
- pParent->EnableRTL( sal_False );// #i96215# necessary for a correct position of the context menu in rtl mode
+ pParent->EnableRTL( false );// #i96215# necessary for a correct position of the context menu in rtl mode
}
ChartWindow::~ChartWindow()
diff --git a/chart2/source/view/main/DummyXShape.cxx b/chart2/source/view/main/DummyXShape.cxx
index b8ecbb2b83f4..53f233d7709a 100644
--- a/chart2/source/view/main/DummyXShape.cxx
+++ b/chart2/source/view/main/DummyXShape.cxx
@@ -1212,16 +1212,16 @@ bool DummyChart::initWindow()
winData.nSize = sizeof(winData);
OSL_TRACE("using VisualID %08X", vi->visualid);
winData.pVisual = (void*)(vi->visual);
- pWindow.reset(new SystemChildWindow(mpWindow.get(), 0, &winData, sal_False));
+ pWindow.reset(new SystemChildWindow(mpWindow.get(), 0, &winData, false));
pChildSysData = pWindow->GetSystemData();
}
if (!pWindow || !pChildSysData)
return false;
- pWindow->SetMouseTransparent( sal_True );
+ pWindow->SetMouseTransparent( true );
pWindow->SetParentClipMode( PARENTCLIPMODE_NOCLIP );
- pWindow->EnableEraseBackground( sal_False );
+ pWindow->EnableEraseBackground( false );
pWindow->SetControlForeground();
pWindow->SetControlBackground();
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx
index 1804074410ae..9f3635e02bae 100644
--- a/cppcanvas/source/mtfrenderer/implrenderer.cxx
+++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx
@@ -1491,9 +1491,9 @@ namespace cppcanvas
(sal_Int8)rFont.GetUnderline();
rState.textStrikeoutStyle = (sal_Int8)rFont.GetStrikeout();
rState.textEmphasisMarkStyle = (sal_Int8)rFont.GetEmphasisMark();
- rState.isTextEffectShadowSet = (rFont.IsShadow() != sal_False);
- rState.isTextWordUnderlineSet = (rFont.IsWordLineMode() != sal_False);
- rState.isTextOutlineModeSet = (rFont.IsOutline() != sal_False);
+ rState.isTextEffectShadowSet = rFont.IsShadow();
+ rState.isTextWordUnderlineSet = rFont.IsWordLineMode();
+ rState.isTextOutlineModeSet = rFont.IsOutline();
}
break;
@@ -2889,7 +2889,7 @@ namespace cppcanvas
VectorOfOutDevStates aStateStack;
VirtualDevice aVDev;
- aVDev.EnableOutput( sal_False );
+ aVDev.EnableOutput( false );
// Setup VDev for state tracking and mapping
// =========================================
diff --git a/cppcanvas/source/mtfrenderer/mtftools.cxx b/cppcanvas/source/mtfrenderer/mtftools.cxx
index f34487b56b6f..9f852937f774 100644
--- a/cppcanvas/source/mtfrenderer/mtftools.cxx
+++ b/cppcanvas/source/mtfrenderer/mtftools.cxx
@@ -239,7 +239,7 @@ namespace cppcanvas
rVDev.GetFontMetric();
// will restore map mode below
- const_cast< ::VirtualDevice& >(rVDev).EnableMapMode( sal_False );
+ const_cast< ::VirtualDevice& >(rVDev).EnableMapMode( false );
const ::FontMetric aMetric = rVDev.GetFontMetric();
diff --git a/cppcanvas/source/mtfrenderer/textaction.cxx b/cppcanvas/source/mtfrenderer/textaction.cxx
index b231c2129cf8..4cd4ab6dd30e 100644
--- a/cppcanvas/source/mtfrenderer/textaction.cxx
+++ b/cppcanvas/source/mtfrenderer/textaction.cxx
@@ -1967,7 +1967,7 @@ namespace cppcanvas
static_cast<sal_uInt16>(nStartPos),
static_cast<sal_uInt16>(nStartPos),
static_cast<sal_uInt16>(nLen),
- sal_True, 0, pDXArray ) );
+ true, 0, pDXArray ) );
rVDev.SetFont(aOrigFont);
if( !bHaveOutlines )
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index ddef6003f4ed..dd768be7da09 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -1580,7 +1580,7 @@ SvxConfigPage::SvxConfigPage(
{
aDescriptionField.SetControlBackground( GetSettings().GetStyleSettings().GetDialogColor() );
aDescriptionField.SetAutoScroll( sal_True );
- aDescriptionField.EnableCursor( sal_False );
+ aDescriptionField.EnableCursor( false );
aMoveUpButton.SetAccessibleRelationMemberOf(&aContentsSeparator);
aMoveDownButton.SetAccessibleRelationMemberOf(&aContentsSeparator);
@@ -1697,13 +1697,13 @@ void SvxConfigPage::Reset( const SfxItemSet& )
{
if ( pDocData != NULL && pDocData->HasURL( m_aURLToSelect ) )
{
- aSaveInListBox.SelectEntryPos( nPos, sal_True );
+ aSaveInListBox.SelectEntryPos( nPos, true );
pCurrentSaveInData = pDocData;
bURLToSelectFound = true;
}
else if ( pModuleData->HasURL( m_aURLToSelect ) )
{
- aSaveInListBox.SelectEntryPos( 0, sal_True );
+ aSaveInListBox.SelectEntryPos( 0, true );
pCurrentSaveInData = pModuleData;
bURLToSelectFound = true;
}
@@ -1715,12 +1715,12 @@ void SvxConfigPage::Reset( const SfxItemSet& )
// it the SaveIn listbox, otherwise select the module data
if ( pDocData != NULL && pDocData->HasSettings() )
{
- aSaveInListBox.SelectEntryPos( nPos, sal_True );
+ aSaveInListBox.SelectEntryPos( nPos, true );
pCurrentSaveInData = pDocData;
}
else
{
- aSaveInListBox.SelectEntryPos( 0, sal_True );
+ aSaveInListBox.SelectEntryPos( 0, true );
pCurrentSaveInData = pModuleData;
}
}
@@ -1960,7 +1960,7 @@ void SvxConfigPage::ReloadTopLevelListBox( SvxConfigEntry* pToSelect )
nSelectionPos = nSelectionPos < aTopLevelListBox.GetEntryCount() ?
nSelectionPos : aTopLevelListBox.GetEntryCount() - 1;
- aTopLevelListBox.SelectEntryPos( nSelectionPos, sal_True );
+ aTopLevelListBox.SelectEntryPos( nSelectionPos, true );
aTopLevelListBox.GetSelectHdl().Call( this );
}
@@ -2313,7 +2313,7 @@ void SvxMenuConfigPage::Init()
ReloadTopLevelListBox();
- aTopLevelListBox.SelectEntryPos(0, sal_True);
+ aTopLevelListBox.SelectEntryPos(0, true);
aTopLevelListBox.GetSelectHdl().Call(this);
}
@@ -2356,9 +2356,9 @@ void SvxMenuConfigPage::UpdateButtonStates()
aMoveUpButton.Enable( false );
aMoveDownButton.Enable( false );
- pPopup->EnableItem( ID_BEGIN_GROUP, sal_True );
- pPopup->EnableItem( ID_RENAME, sal_False );
- pPopup->EnableItem( ID_DELETE, sal_False );
+ pPopup->EnableItem( ID_BEGIN_GROUP, true );
+ pPopup->EnableItem( ID_RENAME, false );
+ pPopup->EnableItem( ID_DELETE, false );
aDescriptionField.Clear();
@@ -2376,17 +2376,17 @@ void SvxMenuConfigPage::UpdateButtonStates()
if ( pEntryData->IsSeparator() )
{
- pPopup->EnableItem( ID_DELETE, sal_True );
- pPopup->EnableItem( ID_BEGIN_GROUP, sal_False );
- pPopup->EnableItem( ID_RENAME, sal_False );
+ pPopup->EnableItem( ID_DELETE, true );
+ pPopup->EnableItem( ID_BEGIN_GROUP, false );
+ pPopup->EnableItem( ID_RENAME, false );
aDescriptionField.Clear();
}
else
{
- pPopup->EnableItem( ID_BEGIN_GROUP, sal_True );
- pPopup->EnableItem( ID_DELETE, sal_True );
- pPopup->EnableItem( ID_RENAME, sal_True );
+ pPopup->EnableItem( ID_BEGIN_GROUP, true );
+ pPopup->EnableItem( ID_DELETE, true );
+ pPopup->EnableItem( ID_RENAME, true );
aDescriptionField.SetNewText( pEntryData->GetHelpText() );
}
@@ -3086,11 +3086,11 @@ void SvxToolbarConfigPage::DeleteSelectedTopLevel()
// subtract one from the entry count
if ( nSelectionPos != aTopLevelListBox.GetEntryCount() - 1 )
{
- aTopLevelListBox.SelectEntryPos( nSelectionPos + 1, sal_True );
+ aTopLevelListBox.SelectEntryPos( nSelectionPos + 1, true );
}
else
{
- aTopLevelListBox.SelectEntryPos( nSelectionPos - 1, sal_True );
+ aTopLevelListBox.SelectEntryPos( nSelectionPos - 1, true );
}
aTopLevelListBox.GetSelectHdl().Call( this );
@@ -3573,7 +3573,7 @@ void SvxToolbarConfigPage::Init()
m_aURLToSelect += "standardbar";
}
- aTopLevelListBox.SelectEntryPos(nPos, sal_True);
+ aTopLevelListBox.SelectEntryPos(nPos, true);
aTopLevelListBox.GetSelectHdl().Call(this);
}
@@ -4404,15 +4404,15 @@ IMPL_LINK( SvxToolbarConfigPage, SelectToolbarEntry, Control *, pBox )
void SvxToolbarConfigPage::UpdateButtonStates()
{
PopupMenu* pPopup = aModifyCommandButton.GetPopupMenu();
- pPopup->EnableItem( ID_RENAME, sal_False );
- pPopup->EnableItem( ID_DELETE, sal_False );
- pPopup->EnableItem( ID_BEGIN_GROUP, sal_False );
- pPopup->EnableItem( ID_DEFAULT_COMMAND, sal_False );
- pPopup->EnableItem( ID_ICON_ONLY, sal_False );
- pPopup->EnableItem( ID_ICON_AND_TEXT, sal_False );
- pPopup->EnableItem( ID_TEXT_ONLY, sal_False );
- pPopup->EnableItem( ID_CHANGE_SYMBOL, sal_False );
- pPopup->EnableItem( ID_RESET_SYMBOL, sal_False );
+ pPopup->EnableItem( ID_RENAME, false );
+ pPopup->EnableItem( ID_DELETE, false );
+ pPopup->EnableItem( ID_BEGIN_GROUP, false );
+ pPopup->EnableItem( ID_DEFAULT_COMMAND, false );
+ pPopup->EnableItem( ID_ICON_ONLY, false );
+ pPopup->EnableItem( ID_ICON_AND_TEXT, false );
+ pPopup->EnableItem( ID_TEXT_ONLY, false );
+ pPopup->EnableItem( ID_CHANGE_SYMBOL, false );
+ pPopup->EnableItem( ID_RESET_SYMBOL, false );
aDescriptionField.Clear();
@@ -4424,22 +4424,22 @@ void SvxToolbarConfigPage::UpdateButtonStates()
SvxConfigEntry* pEntryData = (SvxConfigEntry*) selection->GetUserData();
if ( pEntryData->IsSeparator() )
- pPopup->EnableItem( ID_DELETE, sal_True );
+ pPopup->EnableItem( ID_DELETE, true );
else
{
- pPopup->EnableItem( ID_BEGIN_GROUP, sal_True );
- pPopup->EnableItem( ID_DELETE, sal_True );
- pPopup->EnableItem( ID_RENAME, sal_True );
- pPopup->EnableItem( ID_ICON_ONLY, sal_True );
- pPopup->EnableItem( ID_ICON_AND_TEXT, sal_True );
- pPopup->EnableItem( ID_TEXT_ONLY, sal_True );
- pPopup->EnableItem( ID_CHANGE_SYMBOL, sal_True );
+ pPopup->EnableItem( ID_BEGIN_GROUP, true );
+ pPopup->EnableItem( ID_DELETE, true );
+ pPopup->EnableItem( ID_RENAME, true );
+ pPopup->EnableItem( ID_ICON_ONLY, true );
+ pPopup->EnableItem( ID_ICON_AND_TEXT, true );
+ pPopup->EnableItem( ID_TEXT_ONLY, true );
+ pPopup->EnableItem( ID_CHANGE_SYMBOL, true );
if ( !pEntryData->IsUserDefined() )
- pPopup->EnableItem( ID_DEFAULT_COMMAND, sal_True );
+ pPopup->EnableItem( ID_DEFAULT_COMMAND, true );
if ( pEntryData->IsIconModified() )
- pPopup->EnableItem( ID_RESET_SYMBOL, sal_True );
+ pPopup->EnableItem( ID_RESET_SYMBOL, true );
aDescriptionField.SetNewText( pEntryData->GetHelpText() );
}
@@ -4560,7 +4560,7 @@ IMPL_LINK( SvxToolbarConfigPage, NewToolbarHdl, Button *, pButton )
}
pNameDialog->m_pSaveInListBox->SelectEntryPos(
- aSaveInListBox.GetSelectEntryPos(), sal_True );
+ aSaveInListBox.GetSelectEntryPos(), true );
if ( pNameDialog->Execute() == RET_OK )
{
@@ -4573,7 +4573,7 @@ IMPL_LINK( SvxToolbarConfigPage, NewToolbarHdl, Button *, pButton )
if ( GetSaveInData() != pData )
{
- aSaveInListBox.SelectEntryPos( nInsertPos, sal_True );
+ aSaveInListBox.SelectEntryPos( nInsertPos, true );
aSaveInListBox.GetSelectHdl().Call(this);
}
@@ -4587,7 +4587,7 @@ IMPL_LINK( SvxToolbarConfigPage, NewToolbarHdl, Button *, pButton )
nInsertPos = aTopLevelListBox.InsertEntry( pToolbar->GetName() );
aTopLevelListBox.SetEntryData( nInsertPos, pToolbar );
- aTopLevelListBox.SelectEntryPos( nInsertPos, sal_True );
+ aTopLevelListBox.SelectEntryPos( nInsertPos, true );
aTopLevelListBox.GetSelectHdl().Call(this);
pData->SetModified( true );
@@ -4905,7 +4905,7 @@ SvxIconSelectorDialog::SvxIconSelectorDialog( Window *pWindow,
OUStringHash,
::std::equal_to< OUString > > ImageInfo;
- aTbSymbol.SetPageScroll( sal_True );
+ aTbSymbol.SetPageScroll( true );
bool bLargeIcons = GetImageType() & css::ui::ImageType::SIZE_LARGE;
m_nExpectedSize = bLargeIcons ? 26 : 16;
@@ -5112,7 +5112,7 @@ IMPL_LINK( SvxIconSelectorDialog, SelectHdl, ToolBox *, pToolBox )
if ( aTbSymbol.IsItemChecked( nId ) )
{
- aTbSymbol.CheckItem( nId, sal_False );
+ aTbSymbol.CheckItem( nId, false );
}
}
@@ -5519,7 +5519,7 @@ SvxIconChangeDialog::SvxIconChangeDialog(
aFImageInfo.SetImage(InfoBox::GetStandardImage());
aLineEditDescription.SetControlBackground( GetSettings().GetStyleSettings().GetDialogColor() );
aLineEditDescription.SetAutoScroll( sal_True );
- aLineEditDescription.EnableCursor( sal_False );
+ aLineEditDescription.EnableCursor( false );
aLineEditDescription.SetText(aMessage);
}
diff --git a/cui/source/customize/eventdlg.cxx b/cui/source/customize/eventdlg.cxx
index dd61fc2e7884..397a493bfe1e 100644
--- a/cui/source/customize/eventdlg.cxx
+++ b/cui/source/customize/eventdlg.cxx
@@ -91,7 +91,7 @@ SvxEventConfigPage::SvxEventConfigPage( Window *pParent, const SfxItemSet& rSet,
nPos = aSaveInListBox.InsertEntry(
utl::ConfigManager::getProductName() );
aSaveInListBox.SetEntryData( nPos, new bool(true) );
- aSaveInListBox.SelectEntryPos( nPos, sal_True );
+ aSaveInListBox.SelectEntryPos( nPos, true );
}
// -----------------------------------------------------------------------
@@ -163,7 +163,7 @@ void SvxEventConfigPage::ImplInitDocument()
sal_uInt16 nPos = aSaveInListBox.InsertEntry( aTitle );
aSaveInListBox.SetEntryData( nPos, new bool(false) );
- aSaveInListBox.SelectEntryPos( nPos, sal_True );
+ aSaveInListBox.SelectEntryPos( nPos, true );
bAppConfig = false;
}
@@ -183,7 +183,7 @@ IMPL_LINK( SvxEventConfigPage, SelectHdl_Impl, ListBox *, pBox )
bool* bApp = (bool*) aSaveInListBox.GetEntryData(
aSaveInListBox.GetSelectEntryPos());
- mpImpl->pEventLB->SetUpdateMode( sal_False );
+ mpImpl->pEventLB->SetUpdateMode( false );
bAppConfig = *bApp;
if ( *bApp )
{
@@ -217,7 +217,7 @@ IMPL_LINK( SvxEventConfigPage, SelectHdl_Impl, ListBox *, pBox )
_SvxMacroTabPage::DisplayAppEvents( false );
}
- mpImpl->pEventLB->SetUpdateMode( sal_True );
+ mpImpl->pEventLB->SetUpdateMode( true );
return sal_True;
}
diff --git a/cui/source/customize/macropg.cxx b/cui/source/customize/macropg.cxx
index e81980986e99..e3fcb2b1ca64 100644
--- a/cui/source/customize/macropg.cxx
+++ b/cui/source/customize/macropg.cxx
@@ -511,7 +511,7 @@ void _SvxMacroTabPage::DisplayAppEvents( bool appEvents)
bAppEvents = appEvents;
SvHeaderTabListBox& rListBox = mpImpl->pEventLB->GetListBox();
- mpImpl->pEventLB->SetUpdateMode( sal_False );
+ mpImpl->pEventLB->SetUpdateMode( false );
rListBox.Clear();
EventsHash* eventsHash;
Reference< container::XNameReplace> nameReplace;
@@ -711,7 +711,7 @@ long _SvxMacroTabPage::GenericHandler_Impl( _SvxMacroTabPage* pThis, PushButton*
}
// update the listbox entry
- pImpl->pEventLB->SetUpdateMode( sal_False );
+ pImpl->pEventLB->SetUpdateMode( false );
pE->ReplaceItem( new IconLBoxString( pE, 0, sEventURL,
&pImpl->aMacroImg, &pImpl->aComponentImg ), LB_MACROS_ITEMPOS );
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index 1b984c5d23f3..c28f120ef5de 100644
--- a/cui/source/dialogs/SpellDialog.cxx
+++ b/cui/source/dialogs/SpellDialog.cxx
@@ -422,7 +422,7 @@ void SpellDialog::SpellContinue_Impl(bool bUseSavedSentence, bool bIgnoreCurrent
*/
IMPL_STATIC_LINK( SpellDialog, InitHdl, SpellDialog *, EMPTYARG )
{
- pThis->SetUpdateMode( sal_False );
+ pThis->SetUpdateMode( false );
//show or hide AutoCorrect depending on the modules abilities
pThis->m_pAutoCorrPB->Show(pThis->rParent.HasAutoCorrection());
pThis->SpellContinue_Impl();
@@ -445,7 +445,7 @@ IMPL_STATIC_LINK( SpellDialog, InitHdl, SpellDialog *, EMPTYARG )
pThis->LockFocusChanges(false);
//show grammar CheckBox depending on the modules abilities
pThis->m_pCheckGrammarCB->Check( pThis->rParent.IsGrammarChecking() );
- pThis->SetUpdateMode( sal_True );
+ pThis->SetUpdateMode( true );
pThis->Show();
return 0;
};
@@ -742,12 +742,12 @@ IMPL_LINK_NOARG(SpellDialog, IgnoreHdl)
// -----------------------------------------------------------------------
-sal_Bool SpellDialog::Close()
+bool SpellDialog::Close()
{
GetBindings().GetDispatcher()->
Execute(rParent.GetType(),
SFX_CALLMODE_ASYNCHRON|SFX_CALLMODE_RECORD);
- return sal_True;
+ return true;
}
// -----------------------------------------------------------------------
@@ -1641,8 +1641,8 @@ bool SentenceEditWindow_Impl::MarkNextError( bool bIgnoreCurrentError, com::sun:
void SentenceEditWindow_Impl::MoveErrorMarkTo(sal_uInt16 nStart, sal_uInt16 nEnd, bool bGrammarError)
{
TextEngine* pTextEngine = GetTextEngine();
- pTextEngine->RemoveAttribs( 0, (sal_uInt16)TEXTATTR_FONTCOLOR, sal_True );
- pTextEngine->RemoveAttribs( 0, (sal_uInt16)TEXTATTR_FONTWEIGHT, sal_True );
+ pTextEngine->RemoveAttribs( 0, (sal_uInt16)TEXTATTR_FONTCOLOR, true );
+ pTextEngine->RemoveAttribs( 0, (sal_uInt16)TEXTATTR_FONTWEIGHT, true );
pTextEngine->SetAttrib( TextAttribFontWeight(WEIGHT_BOLD), 0, nStart, nEnd );
pTextEngine->SetAttrib( TextAttribFontColor(bGrammarError ? COL_LIGHTBLUE : COL_LIGHTRED), 0, nStart, nEnd );
m_nErrorStart = nStart;
@@ -1695,7 +1695,7 @@ void SentenceEditWindow_Impl::ChangeMarkedWord(const OUString& rNewWord, Languag
pTextEngine->SetAttrib(*pNewBackground, 0, nStart, m_nErrorStart);
delete pNewBackground;
}
- pTextEngine->SetModified(sal_True);
+ pTextEngine->SetModified(true);
//adjust end position
long nEndTemp = m_nErrorEnd;
@@ -2012,8 +2012,8 @@ void SentenceEditWindow_Impl::SetUndoEditMode(bool bSet)
//remove error marks
TextEngine* pTextEngine = GetTextEngine();
- pTextEngine->RemoveAttribs( 0, (sal_uInt16)TEXTATTR_FONTCOLOR, sal_True );
- pTextEngine->RemoveAttribs( 0, (sal_uInt16)TEXTATTR_FONTWEIGHT, sal_True );
+ pTextEngine->RemoveAttribs( 0, (sal_uInt16)TEXTATTR_FONTCOLOR, true );
+ pTextEngine->RemoveAttribs( 0, (sal_uInt16)TEXTATTR_FONTWEIGHT, true );
//put the appropriate action on the Undo-stack
SpellUndoAction_Impl* pAction = new SpellUndoAction_Impl(
diff --git a/cui/source/dialogs/about.cxx b/cui/source/dialogs/about.cxx
index e4bdbb540a98..f045590f0629 100644
--- a/cui/source/dialogs/about.cxx
+++ b/cui/source/dialogs/about.cxx
@@ -275,10 +275,10 @@ OUString AboutDialog::GetCopyrightString()
return aCopyrightString;
}
-sal_Bool AboutDialog::Close()
+bool AboutDialog::Close()
{
EndDialog( RET_OK );
- return sal_False;
+ return false;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/dialogs/cuicharmap.cxx b/cui/source/dialogs/cuicharmap.cxx
index 952bf399c5c4..7c647f39d3b8 100644
--- a/cui/source/dialogs/cuicharmap.cxx
+++ b/cui/source/dialogs/cuicharmap.cxx
@@ -274,7 +274,7 @@ void SvxShowText::SetFont( const Font& rFont )
aFont.SetWeight( WEIGHT_NORMAL );
aFont.SetAlign( ALIGN_TOP );
aFont.SetSize( PixelToLogic( Size( 0, nWinHeight/2 ) ) );
- aFont.SetTransparent( sal_True );
+ aFont.SetTransparent( true );
Control::SetFont( aFont );
mnY = ( nWinHeight - GetTextHeight() ) / 2;
@@ -313,7 +313,7 @@ SvxShowText::~SvxShowText()
void SvxCharacterMap::init()
{
aFont = GetFont();
- aFont.SetTransparent( sal_True );
+ aFont.SetTransparent( true );
aFont.SetFamily( FAMILY_DONTKNOW );
aFont.SetPitch( PITCH_DONTKNOW );
aFont.SetCharSet( RTL_TEXTENCODING_DONTKNOW );
diff --git a/cui/source/dialogs/cuifmsearch.cxx b/cui/source/dialogs/cuifmsearch.cxx
index 5893b9f68725..23e362a8507f 100644
--- a/cui/source/dialogs/cuifmsearch.cxx
+++ b/cui/source/dialogs/cuifmsearch.cxx
@@ -238,7 +238,7 @@ void FmSearchDialog::Init(const OUString& strVisibleFields, const OUString& sIni
m_lbField.SetSelectHdl(LINK(this, FmSearchDialog, OnFieldSelected));
m_cmbSearchText.SetModifyHdl(LINK(this, FmSearchDialog, OnSearchTextModified));
- m_cmbSearchText.EnableAutocomplete(sal_False);
+ m_cmbSearchText.EnableAutocomplete(false);
m_cmbSearchText.SetGetFocusHdl(LINK(this, FmSearchDialog, OnFocusGrabbed));
m_cbUseFormat.SetToggleHdl(LINK(this, FmSearchDialog, OnCheckBoxToggled));
@@ -291,14 +291,14 @@ void FmSearchDialog::Init(const OUString& strVisibleFields, const OUString& sIni
FreeResource();
}
-sal_Bool FmSearchDialog::Close()
+bool FmSearchDialog::Close()
{
// If the close button is disabled and ESC is pressed in a dialog,
// then Frame will call Close anyway, which I don't want to happen
// while I'm in the middle of a search (maybe one that's running
// in its own thread)
if (!m_pbClose.IsEnabled())
- return sal_False;
+ return false;
return ModalDialog::Close();
}
@@ -343,7 +343,7 @@ IMPL_LINK_NOARG(FmSearchDialog, OnClickedSearchAgain)
if (m_cbStartOver.IsChecked())
{
- m_cbStartOver.Check(sal_False);
+ m_cbStartOver.Check(false);
EnableSearchUI(sal_False);
if (m_rbSearchForText.IsChecked())
m_pSearchEngine->StartOver(strThisRoundText);
@@ -815,15 +815,15 @@ void FmSearchDialog::LoadParams()
// all fields/single field (AFTER selcting the field because OnClickedFieldRadios expects a valid value there)
if (aParams.bAllFields)
{
- m_rbSingleField.Check(sal_False);
- m_rbAllFields.Check(sal_True);
+ m_rbSingleField.Check(false);
+ m_rbAllFields.Check(true);
LINK(this, FmSearchDialog, OnClickedFieldRadios).Call(&m_rbAllFields);
// OnClickedFieldRadios also calls to RebuildUsedFields
}
else
{
- m_rbAllFields.Check(sal_False);
- m_rbSingleField.Check(sal_True);
+ m_rbAllFields.Check(false);
+ m_rbSingleField.Check(true);
LINK(this, FmSearchDialog, OnClickedFieldRadios).Call(&m_rbSingleField);
}
@@ -843,9 +843,9 @@ void FmSearchDialog::LoadParams()
LINK(this, FmSearchDialog, OnCheckBoxToggled).Call(&m_aHalfFullFormsCJK);
LINK(this, FmSearchDialog, OnCheckBoxToggled).Call(&m_aSoundsLikeCJK);
- m_cbWildCard.Check(sal_False);
- m_cbRegular.Check(sal_False);
- m_cbApprox.Check(sal_False);
+ m_cbWildCard.Check(false);
+ m_cbRegular.Check(false);
+ m_cbApprox.Check(false);
LINK(this, FmSearchDialog, OnCheckBoxToggled).Call(&m_cbWildCard);
LINK(this, FmSearchDialog, OnCheckBoxToggled).Call(&m_cbRegular);
LINK(this, FmSearchDialog, OnCheckBoxToggled).Call(&m_cbApprox);
@@ -861,7 +861,7 @@ void FmSearchDialog::LoadParams()
pToCheck = &m_aSoundsLikeCJK;
if (pToCheck)
{
- pToCheck->Check(sal_True);
+ pToCheck->Check(true);
LINK(this, FmSearchDialog, OnCheckBoxToggled).Call(pToCheck);
}
@@ -873,14 +873,14 @@ void FmSearchDialog::LoadParams()
m_pSearchEngine->SetTransliterationFlags( aParams.getTransliterationFlags( ) );
- m_rbSearchForText.Check(sal_False);
- m_rbSearchForNull.Check(sal_False);
- m_rbSearchForNotNull.Check(sal_False);
+ m_rbSearchForText.Check(false);
+ m_rbSearchForNull.Check(false);
+ m_rbSearchForNotNull.Check(false);
switch (aParams.nSearchForType)
{
- case 1: m_rbSearchForNull.Check(sal_True); break;
- case 2: m_rbSearchForNotNull.Check(sal_True); break;
- default: m_rbSearchForText.Check(sal_True); break;
+ case 1: m_rbSearchForNull.Check(true); break;
+ case 2: m_rbSearchForNotNull.Check(true); break;
+ default: m_rbSearchForText.Check(true); break;
}
LINK(this, FmSearchDialog, OnClickedFieldRadios).Call(&m_rbSearchForText);
}
diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx
index bff5ad288e55..dcd508d4f82d 100644
--- a/cui/source/dialogs/cuigaldlg.cxx
+++ b/cui/source/dialogs/cuigaldlg.cxx
@@ -379,7 +379,7 @@ IMPL_LINK_NOARG(TakeProgress, CleanUpHdl)
sal_uInt32 i, nCount;
GetParent()->EnterWait();
- mpBrowser->aLbxFound.SetUpdateMode( sal_False );
+ mpBrowser->aLbxFound.SetUpdateMode( false );
mpBrowser->aLbxFound.SetNoSelection();
// mark all taken positions in aRemoveEntries
@@ -411,7 +411,7 @@ IMPL_LINK_NOARG(TakeProgress, CleanUpHdl)
aRemainingVector.clear();
- mpBrowser->aLbxFound.SetUpdateMode( sal_True );
+ mpBrowser->aLbxFound.SetUpdateMode( true );
mpBrowser->SelectFoundHdl( NULL );
GetParent()->LeaveWait();
@@ -768,7 +768,7 @@ void TPGalleryThemeProperties::SetXChgData( ExchangeData* _pData )
aBtnTakeAll.SetClickHdl(LINK(this, TPGalleryThemeProperties, ClickTakeAllHdl));
aCbxPreview.SetClickHdl(LINK(this, TPGalleryThemeProperties, ClickPreviewHdl));
aCbbFileType.SetSelectHdl(LINK(this, TPGalleryThemeProperties, SelectFileTypeHdl));
- aCbbFileType.EnableDDAutoWidth( sal_False );
+ aCbbFileType.EnableDDAutoWidth( false );
aLbxFound.SetDoubleClickHdl(LINK(this, TPGalleryThemeProperties, DClickFoundHdl));
aLbxFound.SetSelectHdl(LINK(this, TPGalleryThemeProperties, SelectFoundHdl));
aLbxFound.InsertEntry(OUString(CUI_RES(RID_SVXSTR_GALLERY_NOFILES)));
diff --git a/cui/source/dialogs/cuihyperdlg.cxx b/cui/source/dialogs/cuihyperdlg.cxx
index de58b79976d7..0f1efdaf8b50 100644
--- a/cui/source/dialogs/cuihyperdlg.cxx
+++ b/cui/source/dialogs/cuihyperdlg.cxx
@@ -150,12 +150,12 @@ SvxHpLinkDlg::~SvxHpLinkDlg ()
|*
|************************************************************************/
-sal_Bool SvxHpLinkDlg::Close()
+bool SvxHpLinkDlg::Close()
{
GetDispatcher()->Execute( SID_HYPERLINK_DIALOG,
SFX_CALLMODE_ASYNCHRON |
SFX_CALLMODE_RECORD);
- return sal_True;
+ return true;
}
/*************************************************************************
diff --git a/cui/source/dialogs/cuitbxform.cxx b/cui/source/dialogs/cuitbxform.cxx
index 3c1f7cfd6bf9..3a9f696a1316 100644
--- a/cui/source/dialogs/cuitbxform.cxx
+++ b/cui/source/dialogs/cuitbxform.cxx
@@ -38,7 +38,7 @@ FmInputRecordNoDialog::FmInputRecordNoDialog(Window * pParent)
m_pRecordNo->SetMin(1);
m_pRecordNo->SetMax(0x7FFFFFFF);
- m_pRecordNo->SetStrictFormat(sal_True);
+ m_pRecordNo->SetStrictFormat(true);
m_pRecordNo->SetDecimalDigits(0);
}
diff --git a/cui/source/dialogs/hangulhanjadlg.cxx b/cui/source/dialogs/hangulhanjadlg.cxx
index e8e019b6bf07..ededbf44c363 100644
--- a/cui/source/dialogs/hangulhanjadlg.cxx
+++ b/cui/source/dialogs/hangulhanjadlg.cxx
@@ -731,7 +731,7 @@ namespace svx
{
sal_Bool bBoxChecked = pBox->IsChecked();
if (bBoxChecked)
- pOtherBox->Check( sal_False );
+ pOtherBox->Check( false );
pOtherBox->Enable( !bBoxChecked );
}
@@ -830,7 +830,7 @@ namespace svx
//-------------------------------------------------------------------------
void HangulHanjaConversionDialog::SetByCharacter( bool _bByCharacter )
{
- m_aReplaceByChar.Check( static_cast<sal_Bool>(_bByCharacter) );
+ m_aReplaceByChar.Check( _bByCharacter );
m_aSuggestions.DisplayListBox( !_bByCharacter );
}
@@ -840,16 +840,16 @@ namespace svx
HHC::ConversionDirection _ePrimaryConversionDirection )
{
// default state: try both direction
- m_aHangulOnly.Check( sal_False );
+ m_aHangulOnly.Check( false );
m_aHangulOnly.Enable( true );
- m_aHanjaOnly.Check( sal_False );
+ m_aHanjaOnly.Check( false );
m_aHanjaOnly.Enable( true );
if (!_bTryBothDirections)
{
CheckBox *pBox = _ePrimaryConversionDirection == HHC::eHangulToHanja?
&m_aHangulOnly : &m_aHanjaOnly;
- pBox->Check( sal_True );
+ pBox->Check( true );
OnConversionDirectionClicked( pBox );
}
}
diff --git a/cui/source/dialogs/hldocntp.cxx b/cui/source/dialogs/hldocntp.cxx
index c9a377d144c3..10850f2d52fd 100644
--- a/cui/source/dialogs/hldocntp.cxx
+++ b/cui/source/dialogs/hldocntp.cxx
@@ -111,7 +111,7 @@ SvxHyperlinkNewDocTp::SvxHyperlinkNewDocTp ( Window *pParent, const SfxItemSet&
maLbDocTypes ( this, CUI_RES (LB_DOCUMENT_TYPES) )
{
// Set HC bitmaps and disable display of bitmap names.
- maBtCreate.EnableTextDisplay (sal_False);
+ maBtCreate.EnableTextDisplay (false);
InitStdControls();
FreeResource();
diff --git a/cui/source/dialogs/hldoctp.cxx b/cui/source/dialogs/hldoctp.cxx
index 865b0e54239d..c216d25064c3 100644
--- a/cui/source/dialogs/hldoctp.cxx
+++ b/cui/source/dialogs/hldoctp.cxx
@@ -50,8 +50,8 @@ SvxHyperlinkDocTp::SvxHyperlinkDocTp ( Window *pParent, const SfxItemSet& rItemS
mbMarkWndOpen ( sal_False )
{
// Disable display of bitmap names.
- maBtBrowse.EnableTextDisplay (sal_False);
- maBtFileopen.EnableTextDisplay (sal_False);
+ maBtBrowse.EnableTextDisplay (false);
+ maBtFileopen.EnableTextDisplay (false);
InitStdControls();
FreeResource();
diff --git a/cui/source/dialogs/hlinettp.cxx b/cui/source/dialogs/hlinettp.cxx
index 35cf1ca3b069..379ba03a15db 100644
--- a/cui/source/dialogs/hlinettp.cxx
+++ b/cui/source/dialogs/hlinettp.cxx
@@ -53,7 +53,7 @@ SvxHyperlinkInternetTp::SvxHyperlinkInternetTp ( Window *pParent,
mbMarkWndOpen ( sal_False )
{
// Disable display of bitmap names.
- maBtBrowse.EnableTextDisplay (sal_False);
+ maBtBrowse.EnableTextDisplay (false);
InitStdControls();
FreeResource();
@@ -154,7 +154,7 @@ void SvxHyperlinkInternetTp::setFTPUser(const OUString& rUser, const OUString& r
maFtPassword.Enable ();
maEdLogin.Enable ();
maEdPassword.Enable ();
- maCbAnonymous.Check(sal_False);
+ maCbAnonymous.Check(false);
}
/*************************************************************************
diff --git a/cui/source/dialogs/hlmailtp.cxx b/cui/source/dialogs/hlmailtp.cxx
index 10ecdb06ec3d..08b2df329eda 100644
--- a/cui/source/dialogs/hlmailtp.cxx
+++ b/cui/source/dialogs/hlmailtp.cxx
@@ -52,7 +52,7 @@ SvxHyperlinkMailTp::SvxHyperlinkMailTp ( Window *pParent, const SfxItemSet& rIte
maEdSubject ( this, CUI_RES (ED_SUBJECT) )
{
// Disable display of bitmap names.
- maBtAdrBook.EnableTextDisplay (sal_False);
+ maBtAdrBook.EnableTextDisplay (false);
InitStdControls();
FreeResource();
diff --git a/cui/source/dialogs/hltpbase.cxx b/cui/source/dialogs/hltpbase.cxx
index 198289f8c91c..12a45caf8f86 100644
--- a/cui/source/dialogs/hltpbase.cxx
+++ b/cui/source/dialogs/hltpbase.cxx
@@ -190,7 +190,7 @@ void SvxHyperlinkTabPageBase::InitStdControls ()
mpBtScript = new ImageButton ( this, ResId (BTN_SCRIPT, *m_pResMgr) );
mpBtScript->SetClickHdl ( LINK ( this, SvxHyperlinkTabPageBase, ClickScriptHdl_Impl ) );
- mpBtScript->EnableTextDisplay (sal_False);
+ mpBtScript->EnableTextDisplay (false);
mpBtScript->SetAccessibleRelationMemberOf( mpGrpMore );
mpBtScript->SetAccessibleRelationLabeledBy( mpFtForm );
diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx
index 2e8b4462ef56..9b812960cfbe 100644
--- a/cui/source/dialogs/iconcdlg.cxx
+++ b/cui/source/dialogs/iconcdlg.cxx
@@ -134,16 +134,16 @@ void IconChoicePage::ImplInitSettings()
Window* pParent = GetParent();
if ( pParent->IsChildTransparentModeEnabled() && !IsControlBackground() )
{
- EnableChildTransparentMode( sal_True );
+ EnableChildTransparentMode( true );
SetParentClipMode( PARENTCLIPMODE_NOCLIP );
- SetPaintTransparent( sal_True );
+ SetPaintTransparent( true );
SetBackground();
}
else
{
- EnableChildTransparentMode( sal_False );
+ EnableChildTransparentMode( false );
SetParentClipMode( 0 );
- SetPaintTransparent( sal_False );
+ SetPaintTransparent( false );
if ( IsControlBackground() )
SetBackground( GetControlBackground() );
diff --git a/cui/source/dialogs/insdlg.cxx b/cui/source/dialogs/insdlg.cxx
index 458f310ff926..98df52dadfde 100644
--- a/cui/source/dialogs/insdlg.cxx
+++ b/cui/source/dialogs/insdlg.cxx
@@ -187,7 +187,7 @@ SvInsertOleDlg::SvInsertOleDlg
Link aLink( LINK( this, SvInsertOleDlg, RadioHdl ) );
m_pRbNewObject->SetClickHdl( aLink );
m_pRbObjectFromfile->SetClickHdl( aLink );
- m_pRbNewObject->Check( sal_True );
+ m_pRbNewObject->Check( true );
RadioHdl( NULL );
}
@@ -204,10 +204,10 @@ short SvInsertOleDlg::Execute()
// fill listbox and select default
ListBox& rBox = GetObjectTypes();
- rBox.SetUpdateMode( sal_False );
+ rBox.SetUpdateMode( false );
for ( sal_uLong i = 0; i < m_pServers->Count(); i++ )
rBox.InsertEntry( (*m_pServers)[i].GetHumanName() );
- rBox.SetUpdateMode( sal_True );
+ rBox.SetUpdateMode( true );
SelectDefault();
OUString aName;
@@ -546,7 +546,7 @@ short SfxInsertFloatingFrameDialog::Execute()
if ( nSize == SIZE_NOT_SET )
{
- m_pCBMarginWidthDefault->Check( sal_True );
+ m_pCBMarginWidthDefault->Check( true );
m_pNMMarginWidth->SetText( OUString::number(DEFAULT_MARGIN_WIDTH) );
m_pFTMarginWidth->Enable( false );
m_pNMMarginWidth->Enable( false );
@@ -559,7 +559,7 @@ short SfxInsertFloatingFrameDialog::Execute()
if ( nSize == SIZE_NOT_SET )
{
- m_pCBMarginHeightDefault->Check( sal_True );
+ m_pCBMarginHeightDefault->Check( true );
m_pNMMarginHeight->SetText( OUString::number(DEFAULT_MARGIN_HEIGHT) );
m_pFTMarginHeight->Enable( false );
m_pNMMarginHeight->Enable( false );
@@ -599,7 +599,7 @@ short SfxInsertFloatingFrameDialog::Execute()
m_pRBFrameBorderOff->Check( !bSet );
}
- SetUpdateMode( sal_True );
+ SetUpdateMode( true );
bOK = sal_True;
}
catch ( uno::Exception& )
diff --git a/cui/source/dialogs/pastedlg.cxx b/cui/source/dialogs/pastedlg.cxx
index 0e3886bc0b6e..0530383c38cb 100644
--- a/cui/source/dialogs/pastedlg.cxx
+++ b/cui/source/dialogs/pastedlg.cxx
@@ -107,7 +107,7 @@ sal_uLong SvPasteObjectDialog::GetFormat( const TransferableDataHelper& rHelper,
sal_uLong nSelFormat = 0;
SvGlobalName aEmptyNm;
- ObjectLB().SetUpdateMode( sal_False );
+ ObjectLB().SetUpdateMode( false );
DataFlavorExVector::iterator aIter( ((DataFlavorExVector&)*pFormats).begin() ),
aEnd( ((DataFlavorExVector&)*pFormats).end() );
@@ -183,7 +183,7 @@ sal_uLong SvPasteObjectDialog::GetFormat( const TransferableDataHelper& rHelper,
}
}
- ObjectLB().SetUpdateMode( sal_True );
+ ObjectLB().SetUpdateMode( true );
SelectObject();
if( !aSourceName.isEmpty() )
diff --git a/cui/source/dialogs/thesdlg.cxx b/cui/source/dialogs/thesdlg.cxx
index 354eec47add1..36833f4a1bb4 100644
--- a/cui/source/dialogs/thesdlg.cxx
+++ b/cui/source/dialogs/thesdlg.cxx
@@ -64,7 +64,7 @@ LookUpComboBox::LookUpComboBox(Window *pParent)
m_aModifyTimer.SetTimeoutHdl( LINK( this, LookUpComboBox, ModifyTimer_Hdl ) );
m_aModifyTimer.SetTimeout( 500 );
- EnableAutocomplete( sal_False );
+ EnableAutocomplete( false );
}
extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeLookUpComboBox(Window *pParent, VclBuilder::stringmap &)
diff --git a/cui/source/dialogs/zoom.cxx b/cui/source/dialogs/zoom.cxx
index fc3645202f6d..019e43c0b46b 100644
--- a/cui/source/dialogs/zoom.cxx
+++ b/cui/source/dialogs/zoom.cxx
@@ -362,7 +362,7 @@ IMPL_LINK( SvxZoomDialog, ViewLayoutSpinHdl, NumericField *, pEdt )
m_pBookModeChk->Enable();
else
{
- m_pBookModeChk->Check( sal_False );
+ m_pBookModeChk->Check( false );
m_pBookModeChk->Disable();
}
diff --git a/cui/source/inc/SpellDialog.hxx b/cui/source/inc/SpellDialog.hxx
index 2284176717da..fc65d37d9cc7 100644
--- a/cui/source/inc/SpellDialog.hxx
+++ b/cui/source/inc/SpellDialog.hxx
@@ -95,7 +95,7 @@ public:
const SpellErrorDescription* GetAlternatives();
- void ResetModified() { GetTextEngine()->SetModified(sal_False); m_bIsUndoEditMode = false;}
+ void ResetModified() { GetTextEngine()->SetModified(false); m_bIsUndoEditMode = false;}
virtual bool IsModified() const SAL_OVERRIDE { return GetTextEngine()->IsModified(); }
bool IsUndoEditMode() const { return m_bIsUndoEditMode;}
@@ -222,7 +222,7 @@ public:
~SpellDialog();
void SetLanguage( sal_uInt16 nLang );
- virtual sal_Bool Close();
+ virtual bool Close();
void InvalidateDialog();
};
diff --git a/cui/source/inc/about.hxx b/cui/source/inc/about.hxx
index a48d325a25f7..59f4d3618506 100644
--- a/cui/source/inc/about.hxx
+++ b/cui/source/inc/about.hxx
@@ -59,7 +59,7 @@ private:
OUString GetCopyrightString();
protected:
- virtual sal_Bool Close();
+ virtual bool Close();
virtual void Paint( const Rectangle& rRect );
virtual void Resize();
diff --git a/cui/source/inc/cuifmsearch.hxx b/cui/source/inc/cuifmsearch.hxx
index f2cc52e9db3e..4688403c92db 100644
--- a/cui/source/inc/cuifmsearch.hxx
+++ b/cui/source/inc/cuifmsearch.hxx
@@ -137,7 +137,7 @@ public:
inline void SetActiveField(const OUString& strField);
protected:
- virtual sal_Bool Close();
+ virtual bool Close();
void Init(const OUString& strVisibleFields, const OUString& strInitialText);
// only to be used out of the constructors
diff --git a/cui/source/inc/cuihyperdlg.hxx b/cui/source/inc/cuihyperdlg.hxx
index a116b63ff7d5..ecc351a297b6 100644
--- a/cui/source/inc/cuihyperdlg.hxx
+++ b/cui/source/inc/cuihyperdlg.hxx
@@ -72,7 +72,7 @@ private:
DECL_LINK (ClickCloseHdl_Impl, void * );
protected:
- virtual sal_Bool Close();
+ virtual bool Close();
virtual void Move();
public:
diff --git a/cui/source/options/optasian.cxx b/cui/source/options/optasian.cxx
index 4e3769423ea8..db9ac45911ef 100644
--- a/cui/source/options/optasian.cxx
+++ b/cui/source/options/optasian.cxx
@@ -265,9 +265,9 @@ void SvxAsianLayoutPage::Reset( const SfxItemSet& )
m_pHintFT->Enable(false);
}
if(bKernWesternText)
- m_pCharKerningRB->Check(sal_True);
+ m_pCharKerningRB->Check(true);
else
- m_pCharPunctKerningRB->Check(sal_True);
+ m_pCharPunctKerningRB->Check(true);
switch(nCompress)
{
case 0 : m_pNoCompressionRB->Check(); break;
diff --git a/cui/source/options/optctl.cxx b/cui/source/options/optctl.cxx
index 2ad83c561f13..7223e3972663 100644
--- a/cui/source/options/optctl.cxx
+++ b/cui/source/options/optctl.cxx
@@ -32,8 +32,8 @@ IMPL_LINK_NOARG(SvxCTLOptionsPage, SequenceCheckingCB_Hdl)
// #i48117#: by default restricted and type&replace have to be switched on
if(bIsSequenceChecking)
{
- m_pTypeReplaceCB->Check( sal_True );
- m_pRestrictedCB->Check( sal_True );
+ m_pTypeReplaceCB->Check( true );
+ m_pRestrictedCB->Check( true );
}
return 0;
}
@@ -92,8 +92,8 @@ sal_Bool SvxCTLOptionsPage::FillItemSet( SfxItemSet& )
bModified = sal_True;
}
- sal_Bool bLogicalChecked = m_pMovementLogicalRB->IsChecked();
- sal_Bool bVisualChecked = m_pMovementVisualRB->IsChecked();
+ bool bLogicalChecked = m_pMovementLogicalRB->IsChecked();
+ bool bVisualChecked = m_pMovementVisualRB->IsChecked();
if ( bLogicalChecked != m_pMovementLogicalRB->GetSavedValue() ||
bVisualChecked != m_pMovementVisualRB->GetSavedValue() )
{
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index e2544a61f11a..d8b456dfb128 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -1582,7 +1582,7 @@ void OfaLanguagesTabPage::Reset( const SfxItemSet& rSet )
{
m_pWesternLanguageLB->GrabFocus();
m_pCurrentDocCB->Enable(true);
- m_pCurrentDocCB->Check(sal_True);
+ m_pCurrentDocCB->Check(true);
}
}
@@ -1618,7 +1618,7 @@ namespace
void lcl_checkLanguageCheckBox(CheckBox* _rCB,sal_Bool _bNewValue,sal_Bool _bOldValue)
{
if ( _bNewValue )
- _rCB->Check(sal_True);
+ _rCB->Check(true);
else
_rCB->Check( _bOldValue );
// #i15082# do not call SaveValue() in running dialog...
diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx
index fe2d6b0423bb..31c37eb39783 100644
--- a/cui/source/options/optinet2.cxx
+++ b/cui/source/options/optinet2.cxx
@@ -648,7 +648,7 @@ IMPL_LINK_NOARG(SvxSecurityTabPage, SavePasswordHdl)
if ( xMasterPasswd->changeMasterPassword( Reference< task::XInteractionHandler >() ) )
{
m_pMasterPasswordPB->Enable( true );
- m_pMasterPasswordCB->Check( sal_True );
+ m_pMasterPasswordCB->Check( true );
m_pMasterPasswordCB->Enable( true );
m_pMasterPasswordFT->Enable( true );
m_pShowConnectionsPB->Enable( true );
@@ -656,7 +656,7 @@ IMPL_LINK_NOARG(SvxSecurityTabPage, SavePasswordHdl)
else
{
xMasterPasswd->allowPersistentStoring( bOldValue );
- m_pSavePasswordsCB->Check( sal_False );
+ m_pSavePasswordsCB->Check( false );
}
}
else
@@ -667,7 +667,7 @@ IMPL_LINK_NOARG(SvxSecurityTabPage, SavePasswordHdl)
if( RET_YES == nRet )
{
xMasterPasswd->allowPersistentStoring( sal_False );
- m_pMasterPasswordCB->Check( sal_True );
+ m_pMasterPasswordCB->Check( true );
m_pMasterPasswordPB->Enable( false );
m_pMasterPasswordCB->Enable( false );
m_pMasterPasswordFT->Enable( false );
@@ -675,7 +675,7 @@ IMPL_LINK_NOARG(SvxSecurityTabPage, SavePasswordHdl)
}
else
{
- m_pSavePasswordsCB->Check( sal_True );
+ m_pSavePasswordsCB->Check( true );
m_pMasterPasswordPB->Enable( true );
m_pShowConnectionsPB->Enable( true );
}
@@ -721,7 +721,7 @@ IMPL_LINK_NOARG(SvxSecurityTabPage, MasterPasswordCBHdl)
}
else
{
- m_pMasterPasswordCB->Check( sal_False );
+ m_pMasterPasswordCB->Check( false );
m_pMasterPasswordPB->Enable( true );
m_pMasterPasswordFT->Enable( true );
}
@@ -735,7 +735,7 @@ IMPL_LINK_NOARG(SvxSecurityTabPage, MasterPasswordCBHdl)
}
else
{
- m_pMasterPasswordCB->Check( sal_True );
+ m_pMasterPasswordCB->Check( true );
m_pMasterPasswordPB->Enable( true );
m_pShowConnectionsPB->Enable( true );
}
@@ -823,7 +823,7 @@ void SvxSecurityTabPage::InitControls()
m_pMasterPasswordPB->Enable( false );
m_pMasterPasswordCB->Enable( false );
- m_pMasterPasswordCB->Check( sal_True );
+ m_pMasterPasswordCB->Check( true );
m_pMasterPasswordFT->Enable( false );
m_pShowConnectionsPB->Enable( false );
@@ -837,14 +837,14 @@ void SvxSecurityTabPage::InitControls()
{
m_pMasterPasswordCB->Enable( true );
m_pShowConnectionsPB->Enable( true );
- m_pSavePasswordsCB->Check( sal_True );
+ m_pSavePasswordsCB->Check( true );
if ( xMasterPasswd->isDefaultMasterPasswordUsed() )
- m_pMasterPasswordCB->Check( sal_False );
+ m_pMasterPasswordCB->Check( false );
else
{
m_pMasterPasswordPB->Enable( true );
- m_pMasterPasswordCB->Check( sal_True );
+ m_pMasterPasswordCB->Check( true );
m_pMasterPasswordFT->Enable( true );
}
}
diff --git a/cui/source/options/optupdt.cxx b/cui/source/options/optupdt.cxx
index a697b9f39cb9..01a14d330f5c 100644
--- a/cui/source/options/optupdt.cxx
+++ b/cui/source/options/optupdt.cxx
@@ -172,19 +172,19 @@ sal_Bool SvxOnlineUpdateTabPage::FillItemSet( SfxItemSet& )
}
nValue = 0;
- if( sal_True == m_pEveryDayButton->IsChecked() )
+ if( m_pEveryDayButton->IsChecked() )
{
- if( sal_False == m_pEveryDayButton->GetSavedValue() )
+ if( !m_pEveryDayButton->GetSavedValue() )
nValue = 86400;
}
- else if( sal_True == m_pEveryWeekButton->IsChecked() )
+ else if( m_pEveryWeekButton->IsChecked() )
{
- if( sal_False == m_pEveryWeekButton->GetSavedValue() )
+ if( !m_pEveryWeekButton->GetSavedValue() )
nValue = 604800;
}
- else if( sal_True == m_pEveryMonthButton->IsChecked() )
+ else if( m_pEveryMonthButton->IsChecked() )
{
- if( sal_False == m_pEveryMonthButton->GetSavedValue() )
+ if( !m_pEveryMonthButton->GetSavedValue() )
nValue = 2592000;
}
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx
index 8016ee4b7258..9e6492aa1215 100644
--- a/cui/source/tabpages/autocdlg.cxx
+++ b/cui/source/tabpages/autocdlg.cxx
@@ -151,12 +151,12 @@ static sal_Bool lcl_FindEntry( ListBox& rLB, const OUString& rEntry,
{
if( 0 == rCmpClass.compareString(rEntry, rLB.GetEntry(i) ))
{
- rLB.SelectEntryPos(i, sal_True);
+ rLB.SelectEntryPos(i, true);
return sal_True;
}
}
if(LISTBOX_ENTRY_NOTFOUND != nSelPos)
- rLB.SelectEntryPos(nSelPos, sal_False);
+ rLB.SelectEntryPos(nSelPos, false);
return sal_False;
}
diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx
index b6d2e426ecef..842ddf042f98 100644
--- a/cui/source/tabpages/backgrnd.cxx
+++ b/cui/source/tabpages/backgrnd.cxx
@@ -707,7 +707,7 @@ void SvxBackgroundTabPage::ResetFromWallpaperItem( const SfxItemSet& rSet )
// We now have always a link to the background
bLinkOnly = sal_True;
- m_pBtnLink->Check( sal_True );
+ m_pBtnLink->Check( true );
m_pBtnLink->Show( false );
delete pTemp;
@@ -1536,7 +1536,7 @@ IMPL_LINK_NOARG(SvxBackgroundTabPage, BrowseHdl_Impl)
// activate preview, so that the user sees which
// graphic he has chosen
if ( !m_pBtnLink->IsChecked() && !m_pBtnPreview->IsChecked() )
- m_pBtnPreview->Check( sal_True );
+ m_pBtnPreview->Check( true );
// timer-delayed loading of the graphic
pPageImpl->pLoadTimer->Start();
}
@@ -1844,8 +1844,8 @@ void SvxBackgroundTabPage::FillControls_Impl( const SvxBrushItem& rBgdAttr,
aBgdGraphicPath = "";
if ( rUserData.isEmpty() )
- m_pBtnPreview->Check( sal_False );
- m_pBtnLink->Check( sal_False );
+ m_pBtnPreview->Check( false );
+ m_pBtnLink->Check( false );
m_pBtnLink->Disable();
m_pPreviewWin2->NotifyChange( NULL );
SetGraphicPosition_Impl( GPOS_TILED ); // tiles as default
@@ -1866,13 +1866,13 @@ void SvxBackgroundTabPage::FillControls_Impl( const SvxBrushItem& rBgdAttr,
DBG_ASSERT( aObj.GetProtocol() != INET_PROT_NOT_VALID, "Invalid URL!" );
#endif
aBgdGraphicPath = aStrLink;
- m_pBtnLink->Check( sal_True );
+ m_pBtnLink->Check( true );
m_pBtnLink->Enable();
}
else
{
aBgdGraphicPath = "";
- m_pBtnLink->Check( sal_False );
+ m_pBtnLink->Check( false );
m_pBtnLink->Disable();
}
@@ -1913,7 +1913,7 @@ void SvxBackgroundTabPage::FillControls_Impl( const SvxBrushItem& rBgdAttr,
bIsGraphicValid = sal_False;
if ( rUserData.isEmpty() )
- m_pBtnPreview->Check( sal_False );
+ m_pBtnPreview->Check( false );
}
}
diff --git a/cui/source/tabpages/border.cxx b/cui/source/tabpages/border.cxx
index 1f12000cc884..10462b3f7617 100644
--- a/cui/source/tabpages/border.cxx
+++ b/cui/source/tabpages/border.cxx
@@ -290,14 +290,14 @@ SvxBorderTabPage::SvxBorderTabPage(Window* pParent, const SfxItemSet& rCoreAttrs
if ( pColorTable.is() )
{
// filling the line color box
- m_pLbLineColor->SetUpdateMode( sal_False );
+ m_pLbLineColor->SetUpdateMode( false );
for ( long i = 0; i < pColorTable->Count(); ++i )
{
XColorEntry* pEntry = pColorTable->GetColor(i);
m_pLbLineColor->InsertEntry( pEntry->GetColor(), pEntry->GetName() );
}
- m_pLbLineColor->SetUpdateMode( sal_True );
+ m_pLbLineColor->SetUpdateMode( true );
m_pLbShadowColor->CopyEntries(*m_pLbLineColor);
}
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx
index 105324056ed0..011765ef774a 100644
--- a/cui/source/tabpages/chardlg.cxx
+++ b/cui/source/tabpages/chardlg.cxx
@@ -1353,9 +1353,9 @@ void SvxCharEffectsPage::Initialize()
if ( !pColorTable.is() )
pColorTable = XColorList::CreateStdColorList();
- m_pUnderlineColorLB->SetUpdateMode( sal_False );
- m_pOverlineColorLB->SetUpdateMode( sal_False );
- m_pFontColorLB->SetUpdateMode( sal_False );
+ m_pUnderlineColorLB->SetUpdateMode( false );
+ m_pOverlineColorLB->SetUpdateMode( false );
+ m_pFontColorLB->SetUpdateMode( false );
{
SfxPoolItem* pDummy = NULL;
@@ -1377,9 +1377,9 @@ void SvxCharEffectsPage::Initialize()
m_pFontColorLB->InsertEntry( pEntry->GetColor(), pEntry->GetName() );
}
- m_pUnderlineColorLB->SetUpdateMode( sal_True );
- m_pOverlineColorLB->SetUpdateMode( sal_True );
- m_pFontColorLB->SetUpdateMode( sal_True );
+ m_pUnderlineColorLB->SetUpdateMode( true );
+ m_pOverlineColorLB->SetUpdateMode( true );
+ m_pFontColorLB->SetUpdateMode( true );
m_pFontColorLB->SetSelectHdl( LINK( this, SvxCharEffectsPage, ColorBoxSelectHdl_Impl ) );
// handler
@@ -2044,7 +2044,7 @@ void SvxCharEffectsPage::Reset( const SfxItemSet& rSet )
{
const SvxContourItem& rItem = (SvxContourItem&)rSet.Get( nWhich );
m_pOutlineBtn->SetState( (TriState)rItem.GetValue() );
- m_pOutlineBtn->EnableTriState( sal_False );
+ m_pOutlineBtn->EnableTriState( false );
break;
}
}
@@ -2073,7 +2073,7 @@ void SvxCharEffectsPage::Reset( const SfxItemSet& rSet )
{
const SvxShadowedItem& rItem = (SvxShadowedItem&)rSet.Get( nWhich );
m_pShadowBtn->SetState( (TriState)rItem.GetValue() );
- m_pShadowBtn->EnableTriState( sal_False );
+ m_pShadowBtn->EnableTriState( false );
break;
}
}
@@ -2102,7 +2102,7 @@ void SvxCharEffectsPage::Reset( const SfxItemSet& rSet )
{
const SvxBlinkItem& rItem = (SvxBlinkItem&)rSet.Get( nWhich );
m_pBlinkingBtn->SetState( (TriState)rItem.GetValue() );
- m_pBlinkingBtn->EnableTriState( sal_False );
+ m_pBlinkingBtn->EnableTriState( false );
break;
}
}
@@ -2130,7 +2130,7 @@ void SvxCharEffectsPage::Reset( const SfxItemSet& rSet )
{
const SvxCharHiddenItem& rItem = (SvxCharHiddenItem&)rSet.Get( nWhich );
m_pHiddenBtn->SetState( (TriState)rItem.GetValue() );
- m_pHiddenBtn->EnableTriState( sal_False );
+ m_pHiddenBtn->EnableTriState( false );
break;
}
}
@@ -2932,7 +2932,7 @@ void SvxCharPositionPage::Reset( const SfxItemSet& rSet )
if ( nEsc > 0 )
{
nFac = 1;
- m_pHighPosBtn->Check( sal_True );
+ m_pHighPosBtn->Check( true );
if ( nEsc == DFLT_ESC_AUTO_SUPER )
{
nEsc = DFLT_ESC_SUPER;
@@ -2942,7 +2942,7 @@ void SvxCharPositionPage::Reset( const SfxItemSet& rSet )
else
{
nFac = -1;
- m_pLowPosBtn->Check( sal_True );
+ m_pLowPosBtn->Check( true );
if ( nEsc == DFLT_ESC_AUTO_SUB )
{
nEsc = DFLT_ESC_SUB;
@@ -2964,8 +2964,8 @@ void SvxCharPositionPage::Reset( const SfxItemSet& rSet )
}
else
{
- m_pNormalPosBtn->Check( sal_True );
- m_pHighLowRB->Check( sal_True );
+ m_pNormalPosBtn->Check( true );
+ m_pHighLowRB->Check( true );
PositionHdl_Impl( NULL );
}
//the height has to be set after the handler is called to keep the value also if the escapement is zero
@@ -2973,9 +2973,9 @@ void SvxCharPositionPage::Reset( const SfxItemSet& rSet )
}
else
{
- m_pHighPosBtn->Check( sal_False );
- m_pNormalPosBtn->Check( sal_False );
- m_pLowPosBtn->Check( sal_False );
+ m_pHighPosBtn->Check( false );
+ m_pNormalPosBtn->Check( false );
+ m_pLowPosBtn->Check( false );
}
// set BspFont
@@ -3033,7 +3033,7 @@ void SvxCharPositionPage::Reset( const SfxItemSet& rSet )
m_pPairKerningBtn->Check( rItem.GetValue() );
}
else
- m_pPairKerningBtn->Check( sal_False );
+ m_pPairKerningBtn->Check( false );
// Scale Width
nWhich = GetWhich( SID_ATTR_CHAR_SCALEWIDTH );
@@ -3072,13 +3072,13 @@ void SvxCharPositionPage::Reset( const SfxItemSet& rSet )
const SvxCharRotateItem& rItem =
(SvxCharRotateItem&) rSet.Get( nWhich );
if (rItem.IsBottomToTop())
- m_p90degRB->Check( sal_True );
+ m_p90degRB->Check( true );
else if (rItem.IsTopToBotton())
- m_p270degRB->Check( sal_True );
+ m_p270degRB->Check( true );
else
{
DBG_ASSERT( 0 == rItem.GetValue(), "incorrect value" );
- m_p0degRB->Check( sal_True );
+ m_p0degRB->Check( true );
}
m_pFitToLineCB->Check( rItem.IsFitToLine() );
}
@@ -3086,14 +3086,14 @@ void SvxCharPositionPage::Reset( const SfxItemSet& rSet )
{
if( eState == SFX_ITEM_DONTCARE )
{
- m_p0degRB->Check( sal_False );
- m_p90degRB->Check( sal_False );
- m_p270degRB->Check( sal_False );
+ m_p0degRB->Check( false );
+ m_p90degRB->Check( false );
+ m_p270degRB->Check( false );
}
else
- m_p0degRB->Check( sal_True );
+ m_p0degRB->Check( true );
- m_pFitToLineCB->Check( sal_False );
+ m_pFitToLineCB->Check( false );
}
m_pFitToLineCB->SetClickHdl( aOldLink );
m_pFitToLineCB->Enable( !m_p0degRB->IsChecked() );
@@ -3304,7 +3304,7 @@ SvxCharTwoLinesPage::~SvxCharTwoLinesPage()
void SvxCharTwoLinesPage::Initialize()
{
- m_pTwoLinesBtn->Check( sal_False );
+ m_pTwoLinesBtn->Check( false );
TwoLinesHdl_Impl( NULL );
m_pTwoLinesBtn->SetClickHdl( LINK( this, SvxCharTwoLinesPage, TwoLinesHdl_Impl ) );
@@ -3443,7 +3443,7 @@ sal_uInt16* SvxCharTwoLinesPage::GetRanges()
void SvxCharTwoLinesPage::Reset( const SfxItemSet& rSet )
{
- m_pTwoLinesBtn->Check( sal_False );
+ m_pTwoLinesBtn->Check( false );
sal_uInt16 nWhich = GetWhich( SID_ATTR_CHAR_TWO_LINES );
SfxItemState eState = rSet.GetItemState( nWhich );
diff --git a/cui/source/tabpages/dstribut.cxx b/cui/source/tabpages/dstribut.cxx
index b35dcd40575c..44b39213d688 100644
--- a/cui/source/tabpages/dstribut.cxx
+++ b/cui/source/tabpages/dstribut.cxx
@@ -105,34 +105,34 @@ void SvxDistributePage::PointChanged(Window* /*pWindow*/, RECT_POINT /*eRP*/)
void SvxDistributePage::Reset(const SfxItemSet& )
{
- m_pBtnHorNone->SetState(sal_False);
- m_pBtnHorLeft->SetState(sal_False);
- m_pBtnHorCenter->SetState(sal_False);
- m_pBtnHorDistance->SetState(sal_False);
- m_pBtnHorRight->SetState(sal_False);
+ m_pBtnHorNone->SetState(false);
+ m_pBtnHorLeft->SetState(false);
+ m_pBtnHorCenter->SetState(false);
+ m_pBtnHorDistance->SetState(false);
+ m_pBtnHorRight->SetState(false);
switch(m_eDistributeHor)
{
- case SvxDistributeHorizontalNone : m_pBtnHorNone->SetState(sal_True); break;
- case SvxDistributeHorizontalLeft : m_pBtnHorLeft->SetState(sal_True); break;
- case SvxDistributeHorizontalCenter : m_pBtnHorCenter->SetState(sal_True); break;
- case SvxDistributeHorizontalDistance : m_pBtnHorDistance->SetState(sal_True); break;
- case SvxDistributeHorizontalRight : m_pBtnHorRight->SetState(sal_True); break;
+ case SvxDistributeHorizontalNone : m_pBtnHorNone->SetState(true); break;
+ case SvxDistributeHorizontalLeft : m_pBtnHorLeft->SetState(true); break;
+ case SvxDistributeHorizontalCenter : m_pBtnHorCenter->SetState(true); break;
+ case SvxDistributeHorizontalDistance : m_pBtnHorDistance->SetState(true); break;
+ case SvxDistributeHorizontalRight : m_pBtnHorRight->SetState(true); break;
}
- m_pBtnVerNone->SetState(sal_False);
- m_pBtnVerTop->SetState(sal_False);
- m_pBtnVerCenter->SetState(sal_False);
- m_pBtnVerDistance->SetState(sal_False);
- m_pBtnVerBottom->SetState(sal_False);
+ m_pBtnVerNone->SetState(false);
+ m_pBtnVerTop->SetState(false);
+ m_pBtnVerCenter->SetState(false);
+ m_pBtnVerDistance->SetState(false);
+ m_pBtnVerBottom->SetState(false);
switch(m_eDistributeVer)
{
- case SvxDistributeVerticalNone : m_pBtnVerNone->SetState(sal_True); break;
- case SvxDistributeVerticalTop : m_pBtnVerTop->SetState(sal_True); break;
- case SvxDistributeVerticalCenter : m_pBtnVerCenter->SetState(sal_True); break;
- case SvxDistributeVerticalDistance : m_pBtnVerDistance->SetState(sal_True); break;
- case SvxDistributeVerticalBottom : m_pBtnVerBottom->SetState(sal_True); break;
+ case SvxDistributeVerticalNone : m_pBtnVerNone->SetState(true); break;
+ case SvxDistributeVerticalTop : m_pBtnVerTop->SetState(true); break;
+ case SvxDistributeVerticalCenter : m_pBtnVerCenter->SetState(true); break;
+ case SvxDistributeVerticalDistance : m_pBtnVerDistance->SetState(true); break;
+ case SvxDistributeVerticalBottom : m_pBtnVerBottom->SetState(true); break;
}
}
diff --git a/cui/source/tabpages/macroass.cxx b/cui/source/tabpages/macroass.cxx
index e1c9d324345a..c2755669e835 100644
--- a/cui/source/tabpages/macroass.cxx
+++ b/cui/source/tabpages/macroass.cxx
@@ -331,7 +331,7 @@ IMPL_STATIC_LINK( _SfxMacroTabPage, AssignDeleteHdl_Impl, PushButton*, pBtn )
}
}
- pImpl->pEventLB->SetUpdateMode( sal_False );
+ pImpl->pEventLB->SetUpdateMode( false );
pE->ReplaceItem( new SvLBoxString( pE, 0, sScriptURI ), LB_MACROS_ITEMPOS );
rListBox.GetModel()->InvalidateEntry( pE );
rListBox.Select( pE );
diff --git a/cui/source/tabpages/measure.cxx b/cui/source/tabpages/measure.cxx
index 4c462c363ed5..96b0d0e580be 100644
--- a/cui/source/tabpages/measure.cxx
+++ b/cui/source/tabpages/measure.cxx
@@ -251,7 +251,7 @@ void SvxMeasurePage::Reset( const SfxItemSet& rAttrs )
{
m_pTsbBelowRefEdge->SetState( ( ( const SdrMeasureBelowRefEdgeItem& )rAttrs.Get( SDRATTR_MEASUREBELOWREFEDGE ) ).
GetValue() ? STATE_CHECK : STATE_NOCHECK );
- m_pTsbBelowRefEdge->EnableTriState( sal_False );
+ m_pTsbBelowRefEdge->EnableTriState( false );
}
else
{
@@ -280,7 +280,7 @@ void SvxMeasurePage::Reset( const SfxItemSet& rAttrs )
{
m_pTsbParallel->SetState( ( ( const SdrMeasureTextRota90Item& )rAttrs.Get( SDRATTR_MEASURETEXTROTA90 ) ).
GetValue() ? STATE_NOCHECK : STATE_CHECK );
- m_pTsbParallel->EnableTriState( sal_False );
+ m_pTsbParallel->EnableTriState( false );
}
else
{
@@ -293,7 +293,7 @@ void SvxMeasurePage::Reset( const SfxItemSet& rAttrs )
{
m_pTsbShowUnit->SetState( ( ( const SdrMeasureShowUnitItem& )rAttrs.Get( SDRATTR_MEASURESHOWUNIT ) ).
GetValue() ? STATE_CHECK : STATE_NOCHECK );
- m_pTsbShowUnit->EnableTriState( sal_False );
+ m_pTsbShowUnit->EnableTriState( false );
}
else
{
@@ -330,8 +330,8 @@ void SvxMeasurePage::Reset( const SfxItemSet& rAttrs )
{
if ( rAttrs.GetItemState( SDRATTR_MEASURETEXTHPOS ) != SFX_ITEM_DONTCARE )
{
- m_pTsbAutoPosV->EnableTriState( sal_False );
- m_pTsbAutoPosH->EnableTriState( sal_False );
+ m_pTsbAutoPosV->EnableTriState( false );
+ m_pTsbAutoPosH->EnableTriState( false );
SdrMeasureTextHPos eHPos = (SdrMeasureTextHPos)
( ( const SdrMeasureTextHPosItem& )rAttrs.Get( SDRATTR_MEASURETEXTHPOS ) ).GetValue();
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index 5fc426dc69e4..09fb9cd22953 100644
--- a/cui/source/tabpages/numfmt.cxx
+++ b/cui/source/tabpages/numfmt.cxx
@@ -80,7 +80,7 @@ SvxNumberPreview::SvxNumberPreview(Window* pParent, WinBits nStyle)
, mnChar(0x0)
{
Font aFont( GetFont() );
- aFont.SetTransparent( sal_True );
+ aFont.SetTransparent( true );
aFont.SetColor( Application::GetSettings().GetStyleSettings().GetFieldColor() );
SetFont( aFont );
InitSettings( sal_True, sal_True );
@@ -285,7 +285,7 @@ void SvxNumberFormatTabPage::Init_Impl()
m_pEdComment->Hide();
- m_pCbSourceFormat->Check( sal_False );
+ m_pCbSourceFormat->Check( false );
m_pCbSourceFormat->Disable();
m_pCbSourceFormat->Hide();
@@ -451,7 +451,7 @@ void SvxNumberFormatTabPage::Reset( const SfxItemSet& rSet )
if ( pBoolItem )
m_pCbSourceFormat->Check( pBoolItem->GetValue() );
else
- m_pCbSourceFormat->Check( sal_False );
+ m_pCbSourceFormat->Check( false );
m_pCbSourceFormat->Enable();
m_pCbSourceFormat->Show();
}
@@ -614,8 +614,8 @@ void SvxNumberFormatTabPage::Obstructing()
m_pFtOptions->Disable();
m_pEdDecimals->SetText( OUString() );
m_pEdLeadZeroes->SetText( OUString() );
- m_pBtnNegRed->Check( sal_False );
- m_pBtnThousand->Check( sal_False );
+ m_pBtnNegRed->Check( false );
+ m_pBtnThousand->Check( false );
m_pWndPreview->NotifyChange( OUString() );
m_pLbCategory->SelectEntryPos( 0 );
@@ -972,8 +972,8 @@ void SvxNumberFormatTabPage::UpdateOptions_Impl( sal_Bool bCheckCatChange /*= sa
m_pBtnThousand->Disable();
m_pEdDecimals->SetText( OUString::number( 0 ) );
m_pEdLeadZeroes->SetText( OUString::number( 0 ) );
- m_pBtnNegRed->Check( sal_False );
- m_pBtnThousand->Check( sal_False );
+ m_pBtnNegRed->Check( false );
+ m_pBtnThousand->Check( false );
}
}
diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx
index d93450500c91..fa3917bdf13d 100644
--- a/cui/source/tabpages/numpages.cxx
+++ b/cui/source/tabpages/numpages.cxx
@@ -166,7 +166,7 @@ static Font& lcl_GetDefaultBulletFont()
aDefBulletFont.SetFamily( FAMILY_DONTKNOW );
aDefBulletFont.SetPitch( PITCH_DONTKNOW );
aDefBulletFont.SetWeight( WEIGHT_DONTKNOW );
- aDefBulletFont.SetTransparent( sal_True );
+ aDefBulletFont.SetTransparent( true );
bInit = sal_True;
}
return aDefBulletFont;
@@ -723,7 +723,7 @@ IMPL_LINK_NOARG(SvxNumPickTabPage, NumSelectHdl_Impl)
aCreateFont.SetFamily( FAMILY_DONTKNOW );
aCreateFont.SetPitch( PITCH_DONTKNOW );
aCreateFont.SetWeight( WEIGHT_DONTKNOW );
- aCreateFont.SetTransparent( sal_True );
+ aCreateFont.SetTransparent( true );
aFmt.SetBulletFont( &aCreateFont );
}
}
@@ -1170,17 +1170,17 @@ void SvxNumOptionsTabPage::ActivatePage(const SfxItemSet& rSet)
{
nActNumLvl = nTmpNumLvl;
sal_uInt16 nMask = 1;
- m_pLevelLB->SetUpdateMode(sal_False);
+ m_pLevelLB->SetUpdateMode(false);
m_pLevelLB->SetNoSelection();
m_pLevelLB->SelectEntryPos( pActNum->GetLevelCount(), nActNumLvl == USHRT_MAX);
if(nActNumLvl != USHRT_MAX)
for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++)
{
if(nActNumLvl & nMask)
- m_pLevelLB->SelectEntryPos( i, sal_True);
+ m_pLevelLB->SelectEntryPos( i, true);
nMask <<= 1 ;
}
- m_pLevelLB->SetUpdateMode(sal_True);
+ m_pLevelLB->SetUpdateMode(true);
*pActNum = *pSaveNum;
InitControls();
}
@@ -1246,20 +1246,20 @@ void SvxNumOptionsTabPage::Reset( const SfxItemSet& rSet )
m_pLevelLB->SelectEntryPos(m_pLevelLB->GetEntryCount() - 1);
sal_uInt16 nMask = 1;
- m_pLevelLB->SetUpdateMode(sal_False);
+ m_pLevelLB->SetUpdateMode(false);
m_pLevelLB->SetNoSelection();
if(nActNumLvl == USHRT_MAX)
{
- m_pLevelLB->SelectEntryPos( pSaveNum->GetLevelCount(), sal_True);
+ m_pLevelLB->SelectEntryPos( pSaveNum->GetLevelCount(), true);
}
else
for(sal_uInt16 i = 0; i < pSaveNum->GetLevelCount(); i++)
{
if(nActNumLvl & nMask)
- m_pLevelLB->SelectEntryPos( i, sal_True);
+ m_pLevelLB->SelectEntryPos( i, true);
nMask <<= 1 ;
}
- m_pLevelLB->SetUpdateMode(sal_True);
+ m_pLevelLB->SetUpdateMode(true);
if(!pActNum)
pActNum = new SvxNumRule(*pSaveNum);
@@ -1631,10 +1631,10 @@ IMPL_LINK( SvxNumOptionsTabPage, LevelHdl_Impl, ListBox *, pBox )
(pBox->GetSelectEntryCount() == 1 || nSaveNumLvl != 0xffff))
{
nActNumLvl = 0xFFFF;
- pBox->SetUpdateMode(sal_False);
+ pBox->SetUpdateMode(false);
for( sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++ )
- pBox->SelectEntryPos( i, sal_False );
- pBox->SetUpdateMode(sal_True);
+ pBox->SelectEntryPos( i, false );
+ pBox->SetUpdateMode(true);
}
else if(pBox->GetSelectEntryCount())
{
@@ -1645,7 +1645,7 @@ IMPL_LINK( SvxNumOptionsTabPage, LevelHdl_Impl, ListBox *, pBox )
nActNumLvl |= nMask;
nMask <<= 1;
}
- pBox->SelectEntryPos( pActNum->GetLevelCount(), sal_False );
+ pBox->SelectEntryPos( pActNum->GetLevelCount(), false );
}
else
{
@@ -2247,7 +2247,7 @@ static sal_uInt16 lcl_DrawBullet(VirtualDevice* pVDev,
if(!aTmpSize.Height())
aTmpSize.Height() = 1;
aFont.SetSize(aTmpSize);
- aFont.SetTransparent(sal_True);
+ aFont.SetTransparent(true);
Color aBulletColor = rFmt.GetBulletColor();
if(aBulletColor.GetColor() == COL_AUTO)
aBulletColor = Color(pVDev->GetFillColor().IsDark() ? COL_WHITE : COL_BLACK);
@@ -2934,11 +2934,11 @@ void SvxNumPositionTabPage::ActivatePage(const SfxItemSet& rSet)
for(sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++)
{
if(nActNumLvl & nMask)
- m_pLevelLB->SelectEntryPos( i, sal_True);
+ m_pLevelLB->SelectEntryPos( i, true);
nMask <<= 1 ;
}
m_pRelativeCB->Enable(nActNumLvl != 1);
- m_pLevelLB->SetUpdateMode(sal_True);
+ m_pLevelLB->SetUpdateMode(true);
InitPosAndSpaceMode();
ShowControlsDependingOnPosAndSpaceMode();
@@ -3013,22 +3013,22 @@ void SvxNumPositionTabPage::Reset( const SfxItemSet& rSet )
else
m_pLevelLB->SelectEntryPos(m_pLevelLB->GetEntryCount() - 1);
sal_uInt16 nMask = 1;
- m_pLevelLB->SetUpdateMode(sal_False);
+ m_pLevelLB->SetUpdateMode(false);
m_pLevelLB->SetNoSelection();
if(nActNumLvl == USHRT_MAX)
{
- m_pLevelLB->SelectEntryPos( pSaveNum->GetLevelCount(), sal_True);
+ m_pLevelLB->SelectEntryPos( pSaveNum->GetLevelCount(), true);
}
else
{
for(sal_uInt16 i = 0; i < pSaveNum->GetLevelCount(); i++)
{
if(nActNumLvl & nMask)
- m_pLevelLB->SelectEntryPos( i, sal_True);
+ m_pLevelLB->SelectEntryPos( i, true);
nMask <<= 1;
}
}
- m_pLevelLB->SetUpdateMode(sal_True);
+ m_pLevelLB->SetUpdateMode(true);
if(!pActNum)
pActNum = new SvxNumRule(*pSaveNum);
@@ -3158,10 +3158,10 @@ IMPL_LINK( SvxNumPositionTabPage, LevelHdl_Impl, ListBox *, pBox )
(pBox->GetSelectEntryCount() == 1 || nSaveNumLvl != 0xffff))
{
nActNumLvl = 0xFFFF;
- pBox->SetUpdateMode(sal_False);
+ pBox->SetUpdateMode(false);
for( sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++ )
- pBox->SelectEntryPos( i, sal_False );
- pBox->SetUpdateMode(sal_True);
+ pBox->SelectEntryPos( i, false );
+ pBox->SetUpdateMode(true);
}
else if(pBox->GetSelectEntryCount())
{
@@ -3172,7 +3172,7 @@ IMPL_LINK( SvxNumPositionTabPage, LevelHdl_Impl, ListBox *, pBox )
nActNumLvl |= nMask;
nMask <<= 1;
}
- pBox->SelectEntryPos( pActNum->GetLevelCount(), sal_False );
+ pBox->SelectEntryPos( pActNum->GetLevelCount(), false );
}
else
{
diff --git a/cui/source/tabpages/page.cxx b/cui/source/tabpages/page.cxx
index 4134358200de..df72d04516b8 100644
--- a/cui/source/tabpages/page.cxx
+++ b/cui/source/tabpages/page.cxx
@@ -226,7 +226,7 @@ SvxPageDescPage::SvxPageDescPage( Window* pParent, const SfxItemSet& rAttr ) :
get(m_pPrintRangeQueryText,"labelMsg");
bBorderModified = false;
- m_pBspWin->EnableRTL( sal_False );
+ m_pBspWin->EnableRTL( false );
// this page needs ExchangeSupport
SetExchangeSupport();
@@ -743,7 +743,7 @@ sal_Bool SvxPageDescPage::FillItemSet( SfxItemSet& rSet )
nPos = m_pPaperSizeBox->GetSelectEntryPos();
Paper ePaper = (Paper)(sal_uLong)m_pPaperSizeBox->GetEntryData( nPos );
const sal_uInt16 nOld = m_pPaperSizeBox->GetSavedValue();
- sal_Bool bChecked = m_pLandscapeBtn->IsChecked();
+ bool bChecked = m_pLandscapeBtn->IsChecked();
if ( PAPER_USER == ePaper )
{
@@ -918,7 +918,7 @@ IMPL_LINK_NOARG(SvxPageDescPage, PaperBinHdl_Impl)
return 0;
OUString aOldName = m_pPaperTrayBox->GetSelectEntry();
- m_pPaperTrayBox->SetUpdateMode( sal_False );
+ m_pPaperTrayBox->SetUpdateMode( false );
m_pPaperTrayBox->Clear();
sal_uInt16 nEntryPos = m_pPaperTrayBox->InsertEntry(
EE_RESSTR( RID_SVXSTR_PAPERBIN_SETTINGS ) );
@@ -941,7 +941,7 @@ IMPL_LINK_NOARG(SvxPageDescPage, PaperBinHdl_Impl)
m_pPaperTrayBox->SetEntryData( nEntryPos, (void*)(sal_uLong)i );
}
m_pPaperTrayBox->SelectEntry( aOldName );
- m_pPaperTrayBox->SetUpdateMode( sal_True );
+ m_pPaperTrayBox->SetUpdateMode( true );
return 0;
}
diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx
index 841d64f76ba8..e813985f278b 100644
--- a/cui/source/tabpages/paragrph.cxx
+++ b/cui/source/tabpages/paragrph.cxx
@@ -1182,10 +1182,10 @@ void SvxParaAlignTabPage::Reset( const SfxItemSet& rSet )
}
else
{
- m_pLeft->Check( sal_False );
- m_pRight->Check( sal_False );
- m_pCenter->Check( sal_False );
- m_pJustify->Check( sal_False );
+ m_pLeft->Check( false );
+ m_pRight->Check( false );
+ m_pCenter->Check( false );
+ m_pJustify->Check( false );
}
m_pLastLineLB->SelectEntryPos(nLBSelect);
@@ -1262,8 +1262,8 @@ IMPL_LINK_NOARG(SvxParaAlignTabPage, TextDirectionHdl_Impl)
switch ( eDir )
{
// check the default alignment for this text direction
- case FRMDIR_HORI_LEFT_TOP : m_pLeft->Check( sal_True ); break;
- case FRMDIR_HORI_RIGHT_TOP : m_pRight->Check( sal_True ); break;
+ case FRMDIR_HORI_LEFT_TOP : m_pLeft->Check( true ); break;
+ case FRMDIR_HORI_RIGHT_TOP : m_pRight->Check( true ); break;
case FRMDIR_ENVIRONMENT : /* do nothing */ break;
default:
{
@@ -1537,7 +1537,7 @@ void SvxExtParagraphTabPage::Reset( const SfxItemSet& rSet )
{
const SvxHyphenZoneItem& rHyphen =
(const SvxHyphenZoneItem&)rSet.Get( _nWhich );
- m_pHyphenBox->EnableTriState( sal_False );
+ m_pHyphenBox->EnableTriState( false );
bIsHyphen = rHyphen.IsHyphen();
m_pHyphenBox->SetState( bIsHyphen ? STATE_CHECK : STATE_NOCHECK );
@@ -1576,7 +1576,7 @@ void SvxExtParagraphTabPage::Reset( const SfxItemSet& rSet )
if ( eItemState >= SFX_ITEM_SET )
{
- m_pApplyCollBtn->EnableTriState( sal_False );
+ m_pApplyCollBtn->EnableTriState( false );
const SvxPageModelItem& rModel =
(const SvxPageModelItem&)rSet.Get( _nWhich );
@@ -1590,7 +1590,7 @@ void SvxExtParagraphTabPage::Reset( const SfxItemSet& rSet )
bIsPageModel = sal_True;
m_pPageBreakBox->Enable();
- m_pPageBreakBox->EnableTriState( sal_False );
+ m_pPageBreakBox->EnableTriState( false );
m_pBreakTypeFT->Enable();
m_pBreakTypeLB->Enable();
m_pBreakPositionFT->Enable();
@@ -1611,7 +1611,7 @@ void SvxExtParagraphTabPage::Reset( const SfxItemSet& rSet )
}
else if ( SFX_ITEM_DONTCARE == eItemState )
{
- m_pApplyCollBtn->EnableTriState( sal_True );
+ m_pApplyCollBtn->EnableTriState( true );
m_pApplyCollBtn->SetState( STATE_DONTKNOW );
m_pApplyCollBox->SetNoSelection();
}
@@ -1638,7 +1638,7 @@ void SvxExtParagraphTabPage::Reset( const SfxItemSet& rSet )
// PageBreak not via CTRL-RETURN,
// then CheckBox can be freed
m_pPageBreakBox->Enable();
- m_pPageBreakBox->EnableTriState( sal_False );
+ m_pPageBreakBox->EnableTriState( false );
m_pBreakTypeFT->Enable();
m_pBreakTypeLB->Enable();
m_pBreakPositionFT->Enable();
@@ -1701,7 +1701,7 @@ void SvxExtParagraphTabPage::Reset( const SfxItemSet& rSet )
if ( eItemState >= SFX_ITEM_AVAILABLE )
{
- m_pKeepParaBox->EnableTriState( sal_False );
+ m_pKeepParaBox->EnableTriState( false );
const SvxFmtKeepItem& rKeep =
(const SvxFmtKeepItem&)rSet.Get( _nWhich );
@@ -1722,7 +1722,7 @@ void SvxExtParagraphTabPage::Reset( const SfxItemSet& rSet )
{
const SvxFmtSplitItem& rSplit =
(const SvxFmtSplitItem&)rSet.Get( _nWhich );
- m_pKeepTogetherBox->EnableTriState( sal_False );
+ m_pKeepTogetherBox->EnableTriState( false );
if ( !rSplit.GetValue() )
m_pKeepTogetherBox->SetState( STATE_CHECK );
@@ -1739,7 +1739,7 @@ void SvxExtParagraphTabPage::Reset( const SfxItemSet& rSet )
{
const SvxWidowsItem& rWidow =
(const SvxWidowsItem&)rSet.Get( _nWhich );
- m_pWidowBox->EnableTriState( sal_False );
+ m_pWidowBox->EnableTriState( false );
const sal_uInt16 nLines = rWidow.GetValue();
sal_Bool _bEnable = nLines > 0;
@@ -1763,7 +1763,7 @@ void SvxExtParagraphTabPage::Reset( const SfxItemSet& rSet )
const SvxOrphansItem& rOrphan =
(const SvxOrphansItem&)rSet.Get( _nWhich );
const sal_uInt16 nLines = rOrphan.GetValue();
- m_pOrphanBox->EnableTriState( sal_False );
+ m_pOrphanBox->EnableTriState( false );
sal_Bool _bEnable = nLines > 0;
m_pOrphanBox->SetState( _bEnable ? STATE_CHECK : STATE_NOCHECK);
@@ -2189,7 +2189,7 @@ static void lcl_SetBox(const SfxItemSet& rSet, sal_uInt16 nSlotId, CheckBox& rBo
rBox.Enable(false);
else if(eState >= SFX_ITEM_AVAILABLE)
{
- rBox.EnableTriState( sal_False );
+ rBox.EnableTriState( false );
rBox.Check(((const SfxBoolItem&)rSet.Get(_nWhich)).GetValue());
}
else
@@ -2208,7 +2208,7 @@ void SvxAsianTabPage::Reset( const SfxItemSet& rSet )
IMPL_LINK( SvxAsianTabPage, ClickHdl_Impl, CheckBox*, pBox )
{
- pBox->EnableTriState( sal_False );
+ pBox->EnableTriState( false );
return 0;
}
diff --git a/cui/source/tabpages/swpossizetabpage.cxx b/cui/source/tabpages/swpossizetabpage.cxx
index 464ed484a210..263700c98d9f 100644
--- a/cui/source/tabpages/swpossizetabpage.cxx
+++ b/cui/source/tabpages/swpossizetabpage.cxx
@@ -919,7 +919,7 @@ void SvxSwPosSizeTabPage::Reset( const SfxItemSet& rSet)
{
sal_Bool bProtected = ( ( const SfxBoolItem* )pItem )->GetValue();
m_pPositionCB->SetState( bProtected ? STATE_CHECK : STATE_NOCHECK );
- m_pPositionCB->EnableTriState( sal_False );
+ m_pPositionCB->EnableTriState( false );
m_pSizeCB->Enable( !bProtected );
}
else
@@ -935,7 +935,7 @@ void SvxSwPosSizeTabPage::Reset( const SfxItemSet& rSet)
{
m_pSizeCB->SetState( ( (const SfxBoolItem*)pItem )->GetValue()
? STATE_CHECK : STATE_NOCHECK );
- m_pSizeCB->EnableTriState( sal_False );
+ m_pSizeCB->EnableTriState( false );
}
else
m_pSizeCB->SetState( STATE_DONTKNOW );
diff --git a/cui/source/tabpages/tabstpge.cxx b/cui/source/tabpages/tabstpge.cxx
index 8e10a774e103..0b487060437b 100644
--- a/cui/source/tabpages/tabstpge.cxx
+++ b/cui/source/tabpages/tabstpge.cxx
@@ -403,8 +403,8 @@ void SvxTabulatorTabPage::InitTabPos_Impl( sal_uInt16 nTabPos )
nTabPos = 0;
// Switch off all RadioButtons for a start
- m_pLeftTab->Check( sal_True );
- m_pNoFillChar->Check( sal_True );
+ m_pLeftTab->Check( true );
+ m_pNoFillChar->Check( true );
if( m_pTabBox->GetEntryCount() > 0 )
{
diff --git a/cui/source/tabpages/textanim.cxx b/cui/source/tabpages/textanim.cxx
index b09edd773916..fe5c827c7438 100644
--- a/cui/source/tabpages/textanim.cxx
+++ b/cui/source/tabpages/textanim.cxx
@@ -168,10 +168,10 @@ void SvxTextAnimationPage::Reset( const SfxItemSet& rAttrs )
}
else
{
- m_pBtnUp->Check( sal_False );
- m_pBtnLeft->Check( sal_False );
- m_pBtnRight->Check( sal_False );
- m_pBtnDown->Check( sal_False );
+ m_pBtnUp->Check( false );
+ m_pBtnLeft->Check( false );
+ m_pBtnRight->Check( false );
+ m_pBtnDown->Check( false );
}
m_pBtnUp->SaveValue();
m_pBtnLeft->SaveValue();
@@ -184,7 +184,7 @@ void SvxTextAnimationPage::Reset( const SfxItemSet& rAttrs )
pItem = &pPool->GetDefaultItem( SDRATTR_TEXT_ANISTARTINSIDE );
if( pItem )
{
- m_pTsbStartInside->EnableTriState( sal_False );
+ m_pTsbStartInside->EnableTriState( false );
sal_Bool bValue = ( ( const SdrTextAniStartInsideItem* )pItem )->GetValue();
if( bValue )
m_pTsbStartInside->SetState( STATE_CHECK );
@@ -201,7 +201,7 @@ void SvxTextAnimationPage::Reset( const SfxItemSet& rAttrs )
pItem = &pPool->GetDefaultItem( SDRATTR_TEXT_ANISTOPINSIDE );
if( pItem )
{
- m_pTsbStopInside->EnableTriState( sal_False );
+ m_pTsbStopInside->EnableTriState( false );
sal_Bool bValue = ( ( const SdrTextAniStopInsideItem* )pItem )->GetValue();
if( bValue )
m_pTsbStopInside->SetState( STATE_CHECK );
@@ -218,7 +218,7 @@ void SvxTextAnimationPage::Reset( const SfxItemSet& rAttrs )
pItem = &pPool->GetDefaultItem( SDRATTR_TEXT_ANICOUNT );
if( pItem )
{
- m_pTsbEndless->EnableTriState( sal_False );
+ m_pTsbEndless->EnableTriState( false );
long nValue = (long) ( ( const SdrTextAniCountItem* )pItem )->GetValue();
m_pNumFldCount->SetValue( nValue );
if( nValue == 0 )
@@ -251,7 +251,7 @@ void SvxTextAnimationPage::Reset( const SfxItemSet& rAttrs )
pItem = &pPool->GetDefaultItem( SDRATTR_TEXT_ANIDELAY );
if( pItem )
{
- m_pTsbAuto->EnableTriState( sal_False );
+ m_pTsbAuto->EnableTriState( false );
long nValue = (long) ( ( const SdrTextAniDelayItem* )pItem )->GetValue();
m_pMtrFldDelay->SetValue( nValue );
if( nValue == 0 )
@@ -276,7 +276,7 @@ void SvxTextAnimationPage::Reset( const SfxItemSet& rAttrs )
pItem = &pPool->GetDefaultItem( SDRATTR_TEXT_ANIAMOUNT );
if( pItem )
{
- m_pTsbPixel->EnableTriState( sal_False );
+ m_pTsbPixel->EnableTriState( false );
long nValue = (long) ( ( const SdrTextAniAmountItem* )pItem )->GetValue();
if( nValue <= 0 )
{
@@ -348,10 +348,10 @@ sal_Bool SvxTextAnimationPage::FillItemSet( SfxItemSet& rAttrs)
}
// animation direction
- if( m_pBtnUp->GetSavedValue() != m_pBtnUp->IsChecked() ||
- m_pBtnLeft->GetSavedValue() != m_pBtnLeft->IsChecked() ||
- m_pBtnRight->GetSavedValue() != m_pBtnRight->IsChecked() ||
- m_pBtnDown->GetSavedValue() != m_pBtnDown->IsChecked() )
+ if( m_pBtnUp->GetSavedValue() != TriState(m_pBtnUp->IsChecked()) ||
+ m_pBtnLeft->GetSavedValue() != TriState(m_pBtnLeft->IsChecked()) ||
+ m_pBtnRight->GetSavedValue() != TriState(m_pBtnRight->IsChecked()) ||
+ m_pBtnDown->GetSavedValue() != TriState(m_pBtnDown->IsChecked()) )
{
SdrTextAniDirection eValue = (SdrTextAniDirection) GetSelectedDirection();
rAttrs.Put( SdrTextAniDirectionItem( eValue ) );
diff --git a/cui/source/tabpages/textattr.cxx b/cui/source/tabpages/textattr.cxx
index 9c4da32f62fc..5384fb4ef6f4 100644
--- a/cui/source/tabpages/textattr.cxx
+++ b/cui/source/tabpages/textattr.cxx
@@ -170,7 +170,7 @@ void SvxTextAttrPage::Reset( const SfxItemSet& rAttrs )
{
m_pTsbAutoGrowHeight->SetState( ( ( const SdrTextAutoGrowHeightItem& )rAttrs.Get( SDRATTR_TEXT_AUTOGROWHEIGHT ) ).
GetValue() ? STATE_CHECK : STATE_NOCHECK );
- m_pTsbAutoGrowHeight->EnableTriState( sal_False );
+ m_pTsbAutoGrowHeight->EnableTriState( false );
}
else
m_pTsbAutoGrowHeight->SetState( STATE_DONTKNOW );
@@ -181,7 +181,7 @@ void SvxTextAttrPage::Reset( const SfxItemSet& rAttrs )
{
m_pTsbAutoGrowWidth->SetState( ( ( const SdrTextAutoGrowWidthItem& )rAttrs.Get( SDRATTR_TEXT_AUTOGROWWIDTH ) ).
GetValue() ? STATE_CHECK : STATE_NOCHECK );
- m_pTsbAutoGrowWidth->EnableTriState( sal_False );
+ m_pTsbAutoGrowWidth->EnableTriState( false );
}
else
m_pTsbAutoGrowWidth->SetState( STATE_DONTKNOW );
@@ -192,7 +192,7 @@ void SvxTextAttrPage::Reset( const SfxItemSet& rAttrs )
{
m_pTsbAutoGrowSize->SetState( ( ( const SdrTextAutoGrowHeightItem& )rAttrs.Get( SDRATTR_TEXT_AUTOGROWHEIGHT ) ).
GetValue() ? STATE_CHECK : STATE_NOCHECK );
- m_pTsbAutoGrowSize->EnableTriState( sal_False );
+ m_pTsbAutoGrowSize->EnableTriState( false );
}
else
m_pTsbAutoGrowSize->SetState( STATE_DONTKNOW );
@@ -203,7 +203,7 @@ void SvxTextAttrPage::Reset( const SfxItemSet& rAttrs )
{
m_pTsbWordWrapText->SetState( ( ( const SdrTextWordWrapItem& )rAttrs.Get( SDRATTR_TEXT_WORDWRAP ) ).
GetValue() ? STATE_CHECK : STATE_NOCHECK );
- m_pTsbWordWrapText->EnableTriState( sal_False );
+ m_pTsbWordWrapText->EnableTriState( false );
}
else
m_pTsbWordWrapText->SetState( STATE_DONTKNOW );
@@ -222,7 +222,7 @@ void SvxTextAttrPage::Reset( const SfxItemSet& rAttrs )
SdrTextHorzAdjust eTHA = (SdrTextHorzAdjust)((const SdrTextHorzAdjustItem&)rAttrs.Get(SDRATTR_TEXT_HORZADJUST)).GetValue();
RECT_POINT eRP = RP_LB;
- m_pTsbFullWidth->EnableTriState( sal_False );
+ m_pTsbFullWidth->EnableTriState( false );
// Translate item values into local anchor position.
switch (eTVA)
@@ -295,7 +295,7 @@ void SvxTextAttrPage::Reset( const SfxItemSet& rAttrs )
SdrFitToSizeType eFTS = (SdrFitToSizeType)
( ( const SdrTextFitToSizeTypeItem& )rAttrs.Get( SDRATTR_TEXT_FITTOSIZE ) ).GetValue();
m_pTsbFitToSize->SetState( eFTS == SDRTEXTFIT_NONE ? STATE_NOCHECK : STATE_CHECK );
- m_pTsbFitToSize->EnableTriState( sal_False );
+ m_pTsbFitToSize->EnableTriState( false );
}
else
m_pTsbFitToSize->SetState( STATE_DONTKNOW );
@@ -305,7 +305,7 @@ void SvxTextAttrPage::Reset( const SfxItemSet& rAttrs )
{
sal_Bool bContour = ( ( const SdrTextContourFrameItem& )rAttrs.Get( SDRATTR_TEXT_CONTOURFRAME ) ).GetValue();
m_pTsbContour->SetState( bContour ? STATE_CHECK : STATE_NOCHECK );
- m_pTsbContour->EnableTriState( sal_False );
+ m_pTsbContour->EnableTriState( false );
}
else
m_pTsbContour->SetState( STATE_DONTKNOW );
diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx
index 7560d1f7fb01..8f6f3ad8335f 100644
--- a/cui/source/tabpages/tparea.cxx
+++ b/cui/source/tabpages/tparea.cxx
@@ -671,7 +671,7 @@ SvxAreaTabPage::SvxAreaTabPage( Window* pParent, const SfxItemSet& rInAttrs ) :
// Controls for Hatch-Background
m_pFlHatchBckgrd->Hide();
- m_pTsbOriginal->EnableTriState( sal_False );
+ m_pTsbOriginal->EnableTriState( false );
// this page needs ExchangeSupport
SetExchangeSupport();
@@ -728,7 +728,7 @@ SvxAreaTabPage::SvxAreaTabPage( Window* pParent, const SfxItemSet& rInAttrs ) :
m_pTypeLB->SetSelectHdl( LINK( this, SvxAreaTabPage, SelectDialogTypeHdl_Impl ) );
// #i76307# always paint the preview in LTR, because this is what the document does
- m_pCtlXRectPreview->EnableRTL(sal_False);
+ m_pCtlXRectPreview->EnableRTL(false);
// Calcualte size of dropdown listboxes
Size aSize = LogicToPixel(Size(108, 103), MAP_APPFONT);
@@ -1515,7 +1515,7 @@ void SvxAreaTabPage::Reset( const SfxItemSet& rAttrs )
if( ( rAttrs.GetItemState( XATTR_GRADIENTSTEPCOUNT ) != SFX_ITEM_DONTCARE ) ||
( rAttrs.GetItemState( XATTR_FILLSTYLE ) != SFX_ITEM_DONTCARE ) )
{
- m_pTsbStepCount->EnableTriState( sal_False );
+ m_pTsbStepCount->EnableTriState( false );
sal_uInt16 nValue = ( ( const XGradientStepCountItem& ) rAttrs.Get( XATTR_GRADIENTSTEPCOUNT ) ).GetValue();
if( nValue == 0 )
{
@@ -1539,7 +1539,7 @@ void SvxAreaTabPage::Reset( const SfxItemSet& rAttrs )
if( rAttrs.GetItemState( XATTR_FILLBMP_TILE ) != SFX_ITEM_DONTCARE )
{
- m_pTsbTile->EnableTriState( sal_False );
+ m_pTsbTile->EnableTriState( false );
if( ( ( const XFillBmpTileItem& ) rAttrs.Get( XATTR_FILLBMP_TILE ) ).GetValue() )
m_pTsbTile->SetState( STATE_CHECK );
@@ -1551,7 +1551,7 @@ void SvxAreaTabPage::Reset( const SfxItemSet& rAttrs )
if( rAttrs.GetItemState( XATTR_FILLBMP_STRETCH ) != SFX_ITEM_DONTCARE )
{
- m_pTsbStretch->EnableTriState( sal_False );
+ m_pTsbStretch->EnableTriState( false );
if( ( ( const XFillBmpStretchItem& ) rAttrs.Get( XATTR_FILLBMP_STRETCH ) ).GetValue() )
m_pTsbStretch->SetState( STATE_CHECK );
@@ -1565,7 +1565,7 @@ void SvxAreaTabPage::Reset( const SfxItemSet& rAttrs )
//aTsbScale
if( rAttrs.GetItemState( XATTR_FILLBMP_SIZELOG ) != SFX_ITEM_DONTCARE )
{
- m_pTsbScale->EnableTriState( sal_False );
+ m_pTsbScale->EnableTriState( false );
if( ( ( const XFillBmpSizeLogItem& ) rAttrs.Get( XATTR_FILLBMP_SIZELOG ) ).GetValue() )
m_pTsbScale->SetState( STATE_NOCHECK );
diff --git a/cui/source/tabpages/tpgradnt.cxx b/cui/source/tabpages/tpgradnt.cxx
index a2bc8d7f787a..8eaf6b698234 100644
--- a/cui/source/tabpages/tpgradnt.cxx
+++ b/cui/source/tabpages/tpgradnt.cxx
@@ -132,7 +132,7 @@ SvxGradientTabPage::SvxGradientTabPage
LINK( this, SvxGradientTabPage, ClickSaveHdl_Impl ) );
// #i76307# always paint the preview in LTR, because this is what the document does
- m_pCtlPreview->EnableRTL( sal_False );
+ m_pCtlPreview->EnableRTL( false );
setPreviewsToSamePlace(pParent, this);
}
diff --git a/cui/source/tabpages/tpline.cxx b/cui/source/tabpages/tpline.cxx
index de6311b01b8d..a17a774884fb 100644
--- a/cui/source/tabpages/tpline.cxx
+++ b/cui/source/tabpages/tpline.cxx
@@ -205,7 +205,7 @@ SvxLineTabPage::SvxLineTabPage
m_pSymbolHeightMF->SetModifyHdl(LINK(this, SvxLineTabPage, SizeHdl_Impl));
m_pSymbolRatioCB->SetClickHdl(LINK(this, SvxLineTabPage, RatioHdl_Impl));
- m_pSymbolRatioCB->Check(sal_True);
+ m_pSymbolRatioCB->Check(true);
ShowSymbolControls(sal_False);
nActLineWidth = -1;
@@ -307,7 +307,7 @@ void SvxLineTabPage::InitSymbols(MenuButton* pButton)
m_pSymbolMB->GetPopupMenu()->SetPopupMenu( MN_GALLERY, pPopup );
if(aGrfNames.empty())
- m_pSymbolMB->GetPopupMenu()->EnableItem(MN_GALLERY, sal_False);
+ m_pSymbolMB->GetPopupMenu()->EnableItem(MN_GALLERY, false);
}
if(!pButton->GetPopupMenu()->GetPopupMenu( MN_SYMBOLS ) && pSymbolList)
@@ -389,7 +389,7 @@ void SvxLineTabPage::InitSymbols(MenuButton* pButton)
m_pSymbolMB->GetPopupMenu()->SetPopupMenu( MN_SYMBOLS, pPopup );
if(aGrfNames.empty())
- m_pSymbolMB->GetPopupMenu()->EnableItem(MN_SYMBOLS, sal_False);
+ m_pSymbolMB->GetPopupMenu()->EnableItem(MN_SYMBOLS, false);
delete pView;
delete pModel;
@@ -1359,7 +1359,7 @@ void SvxLineTabPage::Reset( const SfxItemSet& rAttrs )
}
else if( rAttrs.GetItemState( XATTR_LINESTARTCENTER ) != SFX_ITEM_DONTCARE )
{
- m_pTsbCenterStart->EnableTriState( sal_False );
+ m_pTsbCenterStart->EnableTriState( false );
if( ( ( const XLineStartCenterItem& ) rAttrs.Get( XATTR_LINESTARTCENTER ) ).GetValue() )
m_pTsbCenterStart->SetState( STATE_CHECK );
@@ -1378,7 +1378,7 @@ void SvxLineTabPage::Reset( const SfxItemSet& rAttrs )
}
else if( rAttrs.GetItemState( XATTR_LINEENDCENTER ) != SFX_ITEM_DONTCARE )
{
- m_pTsbCenterEnd->EnableTriState( sal_False );
+ m_pTsbCenterEnd->EnableTriState( false );
if( ( ( const XLineEndCenterItem& ) rAttrs.Get( XATTR_LINEENDCENTER ) ).GetValue() )
m_pTsbCenterEnd->SetState( STATE_CHECK );
diff --git a/cui/source/tabpages/tplnedef.cxx b/cui/source/tabpages/tplnedef.cxx
index 01893344ff19..e3b3de8f0b0f 100644
--- a/cui/source/tabpages/tplnedef.cxx
+++ b/cui/source/tabpages/tplnedef.cxx
@@ -869,7 +869,7 @@ void SvxLineDefTabPage::FillDialog_Impl()
if( eXDS == XDASH_RECTRELATIVE )
m_pCbxSynchronize->Check();
else
- m_pCbxSynchronize->Check( sal_False );
+ m_pCbxSynchronize->Check( false );
m_pNumFldNumber1->SetValue( aDash.GetDots() );
SetMetricValue( *m_pMtrLength1, aDash.GetDotLen(), ePoolUnit );
diff --git a/cui/source/tabpages/tpshadow.cxx b/cui/source/tabpages/tpshadow.cxx
index cfc24eed8d84..22c2d4fda335 100644
--- a/cui/source/tabpages/tpshadow.cxx
+++ b/cui/source/tabpages/tpshadow.cxx
@@ -363,7 +363,7 @@ void SvxShadowTabPage::Reset( const SfxItemSet& rAttrs )
// has a shadow been set?
if( rAttrs.GetItemState( SDRATTR_SHADOW ) != SFX_ITEM_DONTCARE )
{
- m_pTsbShowShadow->EnableTriState( sal_False );
+ m_pTsbShowShadow->EnableTriState( false );
if( ( ( const SdrShadowItem& ) rAttrs.Get( SDRATTR_SHADOW ) ).GetValue() )
m_pTsbShowShadow->SetState( STATE_CHECK );
diff --git a/cui/source/tabpages/transfrm.cxx b/cui/source/tabpages/transfrm.cxx
index 88334ca8de50..3a0b0ec7c73e 100644
--- a/cui/source/tabpages/transfrm.cxx
+++ b/cui/source/tabpages/transfrm.cxx
@@ -762,8 +762,8 @@ void SvxPositionSizeTabPage::Construct()
m_pTsbAutoGrowHeight->SetClickHdl( LINK( this, SvxPositionSizeTabPage, ClickSizeProtectHdl ) );
// is used as flag to evaluate if its selectable
- m_pTsbAutoGrowWidth->EnableTriState( sal_False );
- m_pTsbAutoGrowHeight->EnableTriState( sal_False );
+ m_pTsbAutoGrowWidth->EnableTriState( false );
+ m_pTsbAutoGrowHeight->EnableTriState( false );
}
}
@@ -932,7 +932,7 @@ void SvxPositionSizeTabPage::Reset( const SfxItemSet& )
{
sal_Bool bProtected = ( ( const SfxBoolItem* )pItem )->GetValue();
m_pTsbPosProtect->SetState( bProtected ? STATE_CHECK : STATE_NOCHECK );
- m_pTsbPosProtect->EnableTriState( sal_False );
+ m_pTsbPosProtect->EnableTriState( false );
}
else
{
@@ -975,7 +975,7 @@ void SvxPositionSizeTabPage::Reset( const SfxItemSet& )
{
m_pTsbSizeProtect->SetState( ( (const SfxBoolItem*)pItem )->GetValue()
? STATE_CHECK : STATE_NOCHECK );
- m_pTsbSizeProtect->EnableTriState( sal_False );
+ m_pTsbSizeProtect->EnableTriState( false );
}
else
m_pTsbSizeProtect->SetState( STATE_DONTKNOW );
diff --git a/dbaccess/source/ext/macromigration/macromigrationdialog.cxx b/dbaccess/source/ext/macromigration/macromigrationdialog.cxx
index e14f0baf7204..cfe103dfa73b 100644
--- a/dbaccess/source/ext/macromigration/macromigrationdialog.cxx
+++ b/dbaccess/source/ext/macromigration/macromigrationdialog.cxx
@@ -183,10 +183,10 @@ namespace dbmm
return nResult;
}
- sal_Bool MacroMigrationDialog::Close()
+ bool MacroMigrationDialog::Close()
{
if ( m_pData->bMigrationIsRunning )
- return sal_False;
+ return false;
return MacroMigrationDialog_Base::Close();
}
diff --git a/dbaccess/source/ext/macromigration/macromigrationdialog.hxx b/dbaccess/source/ext/macromigration/macromigrationdialog.hxx
index c5c112249982..43e6e12012ae 100644
--- a/dbaccess/source/ext/macromigration/macromigrationdialog.hxx
+++ b/dbaccess/source/ext/macromigration/macromigrationdialog.hxx
@@ -56,7 +56,7 @@ namespace dbmm
virtual sal_Bool onFinish();
// Dialog overridables
- virtual sal_Bool Close();
+ virtual bool Close();
virtual short Execute();
private:
diff --git a/dbaccess/source/ui/app/AppDetailPageHelper.cxx b/dbaccess/source/ui/app/AppDetailPageHelper.cxx
index 001c174fcc5f..2e58d1ba6955 100644
--- a/dbaccess/source/ui/app/AppDetailPageHelper.cxx
+++ b/dbaccess/source/ui/app/AppDetailPageHelper.cxx
@@ -1178,7 +1178,7 @@ IMPL_LINK(OAppDetailPageHelper, OnDropdownClickHdl, ToolBox*, /*pToolBox*/)
m_aTBPreview.EndSelection();
// tell the toolbox that the item is pressed down
- m_aTBPreview.SetItemDown( SID_DB_APP_DISABLE_PREVIEW, sal_True );
+ m_aTBPreview.SetItemDown( SID_DB_APP_DISABLE_PREVIEW, true );
// simulate a mouse move (so the "down" state is really painted)
Point aPoint = m_aTBPreview.GetItemRect( SID_DB_APP_DISABLE_PREVIEW ).TopLeft();
@@ -1210,7 +1210,7 @@ IMPL_LINK(OAppDetailPageHelper, OnDropdownClickHdl, ToolBox*, /*pToolBox*/)
// "cleanup" the toolbox state
MouseEvent aLeave( aPoint, 0, MOUSE_LEAVEWINDOW | MOUSE_SYNTHETIC );
m_aTBPreview.MouseMove( aLeave );
- m_aTBPreview.SetItemDown( SID_DB_APP_DISABLE_PREVIEW, sal_False);
+ m_aTBPreview.SetItemDown( SID_DB_APP_DISABLE_PREVIEW, false);
if ( nSelectedAction )
{
m_aTBPreview.SetItemText(SID_DB_APP_DISABLE_PREVIEW, aMenu->GetItemText(nSelectedAction));
diff --git a/dbaccess/source/ui/app/AppDetailView.cxx b/dbaccess/source/ui/app/AppDetailView.cxx
index 130a39c04721..f886d8d1207c 100644
--- a/dbaccess/source/ui/app/AppDetailView.cxx
+++ b/dbaccess/source/ui/app/AppDetailView.cxx
@@ -107,7 +107,7 @@ void OCreationList::PreparePaint( SvTreeListEntry* _pEntry )
{
// draw a selection background
bool bIsMouseDownEntry = ( _pEntry == m_pMouseDownEntry );
- DrawSelectionBackground( GetBoundingRect( _pEntry ), bIsMouseDownEntry ? 1 : 2, sal_False, sal_True, sal_False );
+ DrawSelectionBackground( GetBoundingRect( _pEntry ), bIsMouseDownEntry ? 1 : 2, false, true, false );
if ( bIsMouseDownEntry )
{
diff --git a/dbaccess/source/ui/browser/brwview.cxx b/dbaccess/source/ui/browser/brwview.cxx
index edecf45dfa24..b0dc4f88cc6d 100644
--- a/dbaccess/source/ui/browser/brwview.cxx
+++ b/dbaccess/source/ui/browser/brwview.cxx
@@ -311,8 +311,8 @@ bool UnoDataBrowserView::PreNotify( NotifyEvent& rNEvt )
{
const KeyEvent* pKeyEvt = rNEvt.GetKeyEvent();
const KeyCode& rKeyCode = pKeyEvt->GetKeyCode();
- if ( ( rKeyCode == KeyCode( KEY_E, sal_True, sal_True, sal_False, sal_False ) )
- || ( rKeyCode == KeyCode( KEY_TAB, sal_True, sal_False, sal_False, sal_False ) )
+ if ( ( rKeyCode == KeyCode( KEY_E, true, true, false, false ) )
+ || ( rKeyCode == KeyCode( KEY_TAB, true, false, false, false ) )
)
{
if ( m_pTreeView && m_pVclControl && m_pTreeView->HasChildPathFocus() )
diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx
index b4d0e769eba1..7a5aa0baca72 100644
--- a/dbaccess/source/ui/browser/sbagrid.cxx
+++ b/dbaccess/source/ui/browser/sbagrid.cxx
@@ -635,16 +635,16 @@ void SbaGridHeader::PreExecuteColumnContextMenu(sal_uInt16 nColId, PopupMenu& rM
if (bDBIsReadOnly)
{
- rMenu.EnableItem(SID_FM_HIDECOL, sal_False);
+ rMenu.EnableItem(SID_FM_HIDECOL, false);
PopupMenu* pShowColsMenu = rMenu.GetPopupMenu(SID_FM_SHOWCOLS);
if (pShowColsMenu)
{
// at most 16 items which mean "show column <name>"
for (sal_uInt16 i=1; i<16; ++i)
- pShowColsMenu->EnableItem(i, sal_False);
+ pShowColsMenu->EnableItem(i, false);
// "show cols/more..." and "show cols/all"
- pShowColsMenu->EnableItem(SID_FM_SHOWCOLS_MORE, sal_False);
- pShowColsMenu->EnableItem(SID_FM_SHOWALLCOLS, sal_False);
+ pShowColsMenu->EnableItem(SID_FM_SHOWCOLS_MORE, false);
+ pShowColsMenu->EnableItem(SID_FM_SHOWALLCOLS, false);
}
}
diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx
index 44d08805bbbe..8dd70fb3c1db 100644
--- a/dbaccess/source/ui/browser/unodatbr.cxx
+++ b/dbaccess/source/ui/browser/unodatbr.cxx
@@ -585,7 +585,7 @@ void SbaTableQueryBrowser::initializePreviewMode()
{
if ( getBrowserView() && getBrowserView()->getVclControl() )
{
- getBrowserView()->getVclControl()->AlwaysEnableInput( sal_False );
+ getBrowserView()->getVclControl()->AlwaysEnableInput( false );
getBrowserView()->getVclControl()->EnableInput( false );
getBrowserView()->getVclControl()->ForceHideScrollbars( sal_True );
}
@@ -1355,7 +1355,7 @@ void SbaTableQueryBrowser::implCheckExternalSlot( sal_uInt16 _nId )
// check if we have to hide this item from the toolbox
if ( pToolbox )
{
- sal_Bool bHaveDispatcher = m_aExternalFeatures[ _nId ].xDispatcher.is();
+ bool bHaveDispatcher = m_aExternalFeatures[ _nId ].xDispatcher.is();
if ( bHaveDispatcher != pToolbox->IsItemVisible( _nId ) )
bHaveDispatcher ? pToolbox->ShowItem( _nId ) : pToolbox->HideItem( _nId );
}
diff --git a/dbaccess/source/ui/control/FieldDescControl.cxx b/dbaccess/source/ui/control/FieldDescControl.cxx
index a7c63001815d..06e2b2ddb772 100644
--- a/dbaccess/source/ui/control/FieldDescControl.cxx
+++ b/dbaccess/source/ui/control/FieldDescControl.cxx
@@ -1005,7 +1005,7 @@ OPropNumericEditCtrl* OFieldDescControl::CreateNumericControl(sal_uInt16 _nHelpS
pControl->SetDecimalDigits(0);
pControl->SetMin(0);
pControl->SetMax(0x7FFFFFFF); // Should be changed outside, if needed
- pControl->SetStrictFormat(sal_True);
+ pControl->SetStrictFormat(true);
InitializeControl(pControl,_sHelpId,false);
diff --git a/dbaccess/source/ui/control/TableGrantCtrl.cxx b/dbaccess/source/ui/control/TableGrantCtrl.cxx
index baa120e64c1d..ef3d35738b64 100644
--- a/dbaccess/source/ui/control/TableGrantCtrl.cxx
+++ b/dbaccess/source/ui/control/TableGrantCtrl.cxx
@@ -123,7 +123,7 @@ void OTableGrantControl::Init()
if(!m_pCheckCell)
{
m_pCheckCell = new CheckBoxControl( &GetDataWindow() );
- m_pCheckCell->GetBox().EnableTriState(sal_False);
+ m_pCheckCell->GetBox().EnableTriState(false);
m_pEdit = new Edit( &GetDataWindow() );
m_pEdit->SetReadOnly();
diff --git a/dbaccess/source/ui/control/opendoccontrols.cxx b/dbaccess/source/ui/control/opendoccontrols.cxx
index ed1e47beddb3..6ec27a9266a0 100644
--- a/dbaccess/source/ui/control/opendoccontrols.cxx
+++ b/dbaccess/source/ui/control/opendoccontrols.cxx
@@ -178,8 +178,8 @@ namespace dbaui
// Place icon left of text and both centered in the button.
SetModeImage( GetCommandIcon( ".uno:Open", m_sModule ) );
- EnableImageDisplay( sal_True );
- EnableTextDisplay( sal_True );
+ EnableImageDisplay( true );
+ EnableTextDisplay( true );
SetImageAlign( IMAGEALIGN_LEFT );
SetStyle( GetStyle() | WB_CENTER );
}
diff --git a/dbaccess/source/ui/control/sqledit.cxx b/dbaccess/source/ui/control/sqledit.cxx
index 8f3938532b88..b1f377e04e4e 100644
--- a/dbaccess/source/ui/control/sqledit.cxx
+++ b/dbaccess/source/ui/control/sqledit.cxx
@@ -100,7 +100,7 @@ OSqlEdit::OSqlEdit( OQueryTextView* pParent, WinBits nWinStyle ) :
m_ColorConfig.AddListener(this);
//#i97044#
- EnableFocusSelectionHide( sal_False );
+ EnableFocusSelectionHide( false );
}
OSqlEdit::~OSqlEdit()
diff --git a/dbaccess/source/ui/control/toolboxcontroller.cxx b/dbaccess/source/ui/control/toolboxcontroller.cxx
index 9caceece2845..bb8683a84d70 100644
--- a/dbaccess/source/ui/control/toolboxcontroller.cxx
+++ b/dbaccess/source/ui/control/toolboxcontroller.cxx
@@ -240,7 +240,7 @@ namespace dbaui
Point aPoint = pToolBox->GetItemRect( m_nToolBoxId ).TopLeft();
MouseEvent aLeave( aPoint, 0, MOUSE_LEAVEWINDOW | MOUSE_SYNTHETIC );
pToolBox->MouseMove( aLeave );
- pToolBox->SetItemDown( m_nToolBoxId, sal_False);
+ pToolBox->SetItemDown( m_nToolBoxId, false);
if ( nSelected )
{
diff --git a/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx b/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx
index fa4782c6382c..24bec7cb8f6a 100644
--- a/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx
+++ b/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx
@@ -767,7 +767,7 @@ using namespace ::com::sun::star;
m_pCBOpenAfterwards->SetClickHdl(LINK(this, OFinalDBPageSetup, OnOpenSelected));
m_pCBStartTableWizard->SetClickHdl(getControlModifiedLink());
- m_pRBRegisterDataSource->SetState(sal_True);
+ m_pRBRegisterDataSource->SetState(true);
}
OFinalDBPageSetup::~OFinalDBPageSetup()
diff --git a/dbaccess/source/ui/dlg/RelationDlg.cxx b/dbaccess/source/ui/dlg/RelationDlg.cxx
index 17be35bb6738..e92081eb4f13 100644
--- a/dbaccess/source/ui/dlg/RelationDlg.cxx
+++ b/dbaccess/source/ui/dlg/RelationDlg.cxx
@@ -105,18 +105,18 @@ void ORelationDialog::Init(const TTableConnectionData::value_type& _pConnectionD
{
case KeyRule::NO_ACTION:
case KeyRule::RESTRICT:
- aRB_NoCascUpd.Check( sal_True );
+ aRB_NoCascUpd.Check( true );
break;
case KeyRule::CASCADE:
- aRB_CascUpd.Check( sal_True );
+ aRB_CascUpd.Check( true );
break;
case KeyRule::SET_NULL:
- aRB_CascUpdNull.Check( sal_True );
+ aRB_CascUpdNull.Check( true );
break;
case KeyRule::SET_DEFAULT:
- aRB_CascUpdDefault.Check( sal_True );
+ aRB_CascUpdDefault.Check( true );
break;
}
@@ -125,18 +125,18 @@ void ORelationDialog::Init(const TTableConnectionData::value_type& _pConnectionD
{
case KeyRule::NO_ACTION:
case KeyRule::RESTRICT:
- aRB_NoCascDel.Check( sal_True );
+ aRB_NoCascDel.Check( true );
break;
case KeyRule::CASCADE:
- aRB_CascDel.Check( sal_True );
+ aRB_CascDel.Check( true );
break;
case KeyRule::SET_NULL:
- aRB_CascDelNull.Check( sal_True );
+ aRB_CascDelNull.Check( true );
break;
case KeyRule::SET_DEFAULT:
- aRB_CascDelDefault.Check( sal_True );
+ aRB_CascDelDefault.Check( true );
break;
}
}
diff --git a/dbaccess/source/ui/dlg/TextConnectionHelper.cxx b/dbaccess/source/ui/dlg/TextConnectionHelper.cxx
index 3bf9c3f589f1..1d014a78dfe3 100644
--- a/dbaccess/source/ui/dlg/TextConnectionHelper.cxx
+++ b/dbaccess/source/ui/dlg/TextConnectionHelper.cxx
@@ -110,7 +110,7 @@ namespace dbaui
m_aRBAccessTextFiles.SetToggleHdl(LINK(this, OTextConnectionHelper, OnSetExtensionHdl));
m_aRBAccessCSVFiles.SetToggleHdl(LINK(this, OTextConnectionHelper, OnSetExtensionHdl));
m_aRBAccessOtherFiles.SetToggleHdl(LINK(this, OTextConnectionHelper, OnSetExtensionHdl));
- m_aRBAccessCSVFiles.Check(sal_True);
+ m_aRBAccessCSVFiles.Check(true);
struct SectionDescriptor
{
@@ -422,12 +422,12 @@ namespace dbaui
void OTextConnectionHelper::SetExtension(const OUString& _rVal)
{
if (_rVal == "txt")
- m_aRBAccessTextFiles.Check(sal_True);
+ m_aRBAccessTextFiles.Check(true);
else if (_rVal == "csv")
- m_aRBAccessCSVFiles.Check(sal_True);
+ m_aRBAccessCSVFiles.Check(true);
else
{
- m_aRBAccessOtherFiles.Check(sal_True);
+ m_aRBAccessOtherFiles.Check(true);
m_aFTExtensionExample.SetText(_rVal);
}
}
diff --git a/dbaccess/source/ui/dlg/adtabdlg.cxx b/dbaccess/source/ui/dlg/adtabdlg.cxx
index aabdbd9ecefc..e524794a0a23 100644
--- a/dbaccess/source/ui/dlg/adtabdlg.cxx
+++ b/dbaccess/source/ui/dlg/adtabdlg.cxx
@@ -371,15 +371,15 @@ void OAddTableDlg::impl_switchTo( ObjectList _eList )
switch ( _eList )
{
case Tables:
- m_pTableList->Show( true ); m_pCaseTables->Check( sal_True );
- m_pQueryList->Show( false ); m_pCaseQueries->Check( sal_False );
+ m_pTableList->Show( true ); m_pCaseTables->Check( true );
+ m_pQueryList->Show( false ); m_pCaseQueries->Check( false );
m_xCurrentList.reset( new TableListFacade( *m_pTableList, m_rContext.getConnection() ) );
m_pTableList->GrabFocus();
break;
case Queries:
- m_pTableList->Show( false ); m_pCaseTables->Check( sal_False );
- m_pQueryList->Show( true ); m_pCaseQueries->Check( sal_True );
+ m_pTableList->Show( false ); m_pCaseTables->Check( false );
+ m_pQueryList->Show( true ); m_pCaseQueries->Check( true );
m_xCurrentList.reset( new QueryListFacade( *m_pQueryList, m_rContext.getConnection() ) );
m_pQueryList->GrabFocus();
break;
@@ -433,7 +433,7 @@ IMPL_LINK( OAddTableDlg, TableListSelectHdl, void*, /*EMPTY_ARG*/ )
IMPL_LINK( OAddTableDlg, CloseClickHdl, Button*, /*pButton*/ )
{
- return Close();
+ return int(Close());
}
IMPL_LINK( OAddTableDlg, OnTypeSelected, void*, /*EMPTY_ARG*/ )
@@ -445,7 +445,7 @@ IMPL_LINK( OAddTableDlg, OnTypeSelected, void*, /*EMPTY_ARG*/ )
return 0;
}
-sal_Bool OAddTableDlg::Close()
+bool OAddTableDlg::Close()
{
m_rContext.onWindowClosing( this );
return ModelessDialog::Close();
diff --git a/dbaccess/source/ui/dlg/advancedsettings.cxx b/dbaccess/source/ui/dlg/advancedsettings.cxx
index 54d7c8227827..62780d7d536b 100644
--- a/dbaccess/source/ui/dlg/advancedsettings.cxx
+++ b/dbaccess/source/ui/dlg/advancedsettings.cxx
@@ -102,7 +102,7 @@ namespace dbaui
// check whether this must be a tristate check box
const SfxPoolItem& rItem = _rCoreAttrs.Get( nItemId );
if ( rItem.ISA( OptionalBoolItem ) )
- (*setting->ppControl)->EnableTriState( sal_True );
+ (*setting->ppControl)->EnableTriState( true );
}
}
@@ -126,7 +126,7 @@ namespace dbaui
get(m_pMaxRowScanLabel, "rowsft");
get(m_pMaxRowScan, "rows");
m_pMaxRowScan->SetModifyHdl(getControlModifiedLink());
- m_pMaxRowScan->SetUseThousandSep(sal_False);
+ m_pMaxRowScan->SetUseThousandSep(false);
m_pMaxRowScanLabel->Show();
m_pMaxRowScan->Show();
}
diff --git a/dbaccess/source/ui/dlg/dbadmin.cxx b/dbaccess/source/ui/dlg/dbadmin.cxx
index 257d850535b8..cd42dca4aa2f 100644
--- a/dbaccess/source/ui/dlg/dbadmin.cxx
+++ b/dbaccess/source/ui/dlg/dbadmin.cxx
@@ -174,7 +174,7 @@ void ODbAdminDialog::impl_resetPages(const Reference< XPropertySet >& _rxDatasou
// reset the pages
// prevent flicker
- SetUpdateMode(sal_False);
+ SetUpdateMode(false);
// remove all items which relate to indirect properties from the input set
// (without this, the following may happen: select an arbitrary data source where some indirect properties
@@ -213,7 +213,7 @@ void ODbAdminDialog::impl_resetPages(const Reference< XPropertySet >& _rxDatasou
// if this is NULL, the page has not been created yet, which means we're called before the
// dialog was displayed (probably from inside the ctor)
- SetUpdateMode(sal_True);
+ SetUpdateMode(true);
}
void ODbAdminDialog::setTitle(const OUString& _sTitle)
diff --git a/dbaccess/source/ui/dlg/detailpages.cxx b/dbaccess/source/ui/dlg/detailpages.cxx
index b8d1dae72c2c..69f9bb241f16 100644
--- a/dbaccess/source/ui/dlg/detailpages.cxx
+++ b/dbaccess/source/ui/dlg/detailpages.cxx
@@ -705,7 +705,7 @@ namespace dbaui
m_aNFPortNumber.SetModifyHdl(getControlModifiedLink());
m_aNFRowCount.SetModifyHdl(getControlModifiedLink());
- m_aNFRowCount.SetUseThousandSep(sal_False);
+ m_aNFRowCount.SetUseThousandSep(false);
m_iNormalPort = 389;
m_iSSLPort = 636;
m_aCBUseSSL.SetClickHdl(LINK(this, OLDAPDetailsPage,OnCheckBoxClick));
diff --git a/dbaccess/source/ui/dlg/dlgsize.cxx b/dbaccess/source/ui/dlg/dlgsize.cxx
index 757176a4ffdd..404c46c57bb7 100644
--- a/dbaccess/source/ui/dlg/dlgsize.cxx
+++ b/dbaccess/source/ui/dlg/dlgsize.cxx
@@ -40,7 +40,7 @@ DlgSize::DlgSize( Window* pParent, sal_Int32 nVal, sal_Bool bRow, sal_Int32 _nAl
m_nStandard = _nAlternativeStandard;
m_pCB_STANDARD->SetClickHdl(LINK(this,DlgSize,CbClickHdl));
- m_pMF_VALUE->EnableEmptyFieldValue(sal_True);
+ m_pMF_VALUE->EnableEmptyFieldValue(true);
sal_Bool bDefault = -1 == nVal;
m_pCB_STANDARD->Check(bDefault);
if (bDefault)
diff --git a/dbaccess/source/ui/dlg/dsselect.cxx b/dbaccess/source/ui/dlg/dsselect.cxx
index 45c56059fce7..6342466c4320 100644
--- a/dbaccess/source/ui/dlg/dsselect.cxx
+++ b/dbaccess/source/ui/dlg/dsselect.cxx
@@ -81,7 +81,7 @@ IMPL_LINK( ODatasourceSelectDialog, ListDblClickHdl, ListBox *, pListBox )
return 0;
}
-sal_Bool ODatasourceSelectDialog::Close()
+bool ODatasourceSelectDialog::Close()
{
#ifdef HAVE_ODBC_ADMINISTRATION
if ( m_pODBCManagement.get() && m_pODBCManagement->isRunning() )
diff --git a/dbaccess/source/ui/dlg/dsselect.hxx b/dbaccess/source/ui/dlg/dsselect.hxx
index 6623766a6a09..4d8b1a33f416 100644
--- a/dbaccess/source/ui/dlg/dsselect.hxx
+++ b/dbaccess/source/ui/dlg/dsselect.hxx
@@ -58,7 +58,7 @@ public:
OUString GetSelected() const { return m_pDatasource->GetSelectEntry();}
void Select( const OUString& _rEntry ) { m_pDatasource->SelectEntry(_rEntry); }
- virtual sal_Bool Close();
+ virtual bool Close();
protected:
DECL_LINK( ListDblClickHdl, ListBox * );
diff --git a/dbaccess/source/ui/dlg/indexdialog.cxx b/dbaccess/source/ui/dlg/indexdialog.cxx
index 3e089a7401af..b942f75c85d9 100644
--- a/dbaccess/source/ui/dlg/indexdialog.cxx
+++ b/dbaccess/source/ui/dlg/indexdialog.cxx
@@ -752,7 +752,7 @@ namespace dbaui
}
else
{
- m_aUnique.Check(sal_False);
+ m_aUnique.Check(false);
m_pFields->initializeFrom(IndexFields());
m_aDescription.SetText(OUString());
}
diff --git a/dbaccess/source/ui/dlg/queryorder.cxx b/dbaccess/source/ui/dlg/queryorder.cxx
index 2fabcb4ca785..73dc464c9c0e 100644
--- a/dbaccess/source/ui/dlg/queryorder.cxx
+++ b/dbaccess/source/ui/dlg/queryorder.cxx
@@ -64,7 +64,7 @@ DlgOrderCrit::DlgOrderCrit(Window * pParent,
AllSettings aSettings( GetSettings() );
StyleSettings aStyle( aSettings.GetStyleSettings() );
- aStyle.SetAutoMnemonic( sal_False );
+ aStyle.SetAutoMnemonic( false );
aSettings.SetStyleSettings( aStyle );
SetSettings( aSettings );
diff --git a/dbaccess/source/ui/inc/adtabdlg.hxx b/dbaccess/source/ui/inc/adtabdlg.hxx
index 947e582ef421..d38e0ca927fc 100644
--- a/dbaccess/source/ui/inc/adtabdlg.hxx
+++ b/dbaccess/source/ui/inc/adtabdlg.hxx
@@ -89,7 +89,7 @@ namespace dbaui
IAddTableDialogContext& _rContext );
private:
- virtual sal_Bool Close();
+ virtual bool Close();
bool impl_isAddAllowed();
void impl_addTable();
diff --git a/dbaccess/source/ui/misc/WCPage.cxx b/dbaccess/source/ui/misc/WCPage.cxx
index 608956e5176d..da553dbe4a63 100644
--- a/dbaccess/source/ui/misc/WCPage.cxx
+++ b/dbaccess/source/ui/misc/WCPage.cxx
@@ -76,7 +76,7 @@ OCopyTable::OCopyTable( Window * pParent )
if ( !m_pParent->supportsViews() )
m_aRB_View.Disable();
- m_aCB_UseHeaderLine.Check(sal_True);
+ m_aCB_UseHeaderLine.Check(true);
m_bPKeyAllowed = m_pParent->supportsPrimaryKey();
m_aCB_PrimaryColumn.Enable(m_bPKeyAllowed);
@@ -326,26 +326,26 @@ void OCopyTable::setCreateStyleAction()
switch(m_pParent->getOperation())
{
case CopyTableOperation::CopyDefinitionAndData:
- m_aRB_DefData.Check(sal_True);
+ m_aRB_DefData.Check(true);
RadioChangeHdl(&m_aRB_DefData);
break;
case CopyTableOperation::CopyDefinitionOnly:
- m_aRB_Def.Check(sal_True);
+ m_aRB_Def.Check(true);
RadioChangeHdl(&m_aRB_Def);
break;
case CopyTableOperation::AppendData:
- m_aRB_AppendData.Check(sal_True);
+ m_aRB_AppendData.Check(true);
SetAppendDataRadio();
break;
case CopyTableOperation::CreateAsView:
if ( m_aRB_View.IsEnabled() )
{
- m_aRB_View.Check(sal_True);
+ m_aRB_View.Check(true);
RadioChangeHdl(&m_aRB_View);
}
else
{
- m_aRB_DefData.Check(sal_True);
+ m_aRB_DefData.Check(true);
RadioChangeHdl(&m_aRB_DefData);
}
}
diff --git a/dbaccess/source/ui/misc/WColumnSelect.cxx b/dbaccess/source/ui/misc/WColumnSelect.cxx
index 7b88e533f59c..99387266152c 100644
--- a/dbaccess/source/ui/misc/WColumnSelect.cxx
+++ b/dbaccess/source/ui/misc/WColumnSelect.cxx
@@ -67,8 +67,8 @@ OWizColumnSelect::OWizColumnSelect( Window* pParent)
m_ibColumns_RH.SetClickHdl(LINK(this,OWizColumnSelect,ButtonClickHdl));
m_ibColumns_LH.SetClickHdl(LINK(this,OWizColumnSelect,ButtonClickHdl));
- m_lbOrgColumnNames.EnableMultiSelection(sal_True);
- m_lbNewColumnNames.EnableMultiSelection(sal_True);
+ m_lbOrgColumnNames.EnableMultiSelection(true);
+ m_lbNewColumnNames.EnableMultiSelection(true);
m_lbOrgColumnNames.SetDoubleClickHdl(LINK(this,OWizColumnSelect,ListDoubleClickHdl));
m_lbNewColumnNames.SetDoubleClickHdl(LINK(this,OWizColumnSelect,ListDoubleClickHdl));
diff --git a/dbaccess/source/ui/misc/WTypeSelect.cxx b/dbaccess/source/ui/misc/WTypeSelect.cxx
index 30953491fa81..d1130fabb9a4 100644
--- a/dbaccess/source/ui/misc/WTypeSelect.cxx
+++ b/dbaccess/source/ui/misc/WTypeSelect.cxx
@@ -235,7 +235,7 @@ OWizTypeSelect::OWizTypeSelect( Window* pParent, SvStream* _pStream )
m_etAuto.SetText(OUString("10"));
m_etAuto.SetDecimalDigits(0);
m_pbAuto.SetClickHdl(LINK(this,OWizTypeSelect,ButtonClickHdl));
- m_lbColumnNames.EnableMultiSelection(sal_True);
+ m_lbColumnNames.EnableMultiSelection(true);
try
{
diff --git a/dbaccess/source/ui/querydesign/JoinTableView.cxx b/dbaccess/source/ui/querydesign/JoinTableView.cxx
index 75db5a29385c..203452c88915 100644
--- a/dbaccess/source/ui/querydesign/JoinTableView.cxx
+++ b/dbaccess/source/ui/querydesign/JoinTableView.cxx
@@ -968,7 +968,7 @@ sal_Bool OJoinTableView::ExistsAConn(const OTableWindow* pFrom) const
void OJoinTableView::ClearAll()
{
- SetUpdateMode(sal_False);
+ SetUpdateMode(false);
HideTabWins();
@@ -1474,7 +1474,7 @@ void OJoinTableView::StateChanged( StateChangedType nType )
void OJoinTableView::HideTabWins()
{
- SetUpdateMode(sal_False);
+ SetUpdateMode(false);
OTableWindowMap* pTabWins = GetTabWinMap();
if ( pTabWins )
@@ -1489,7 +1489,7 @@ void OJoinTableView::HideTabWins()
m_pView->getController().setModified(sal_True);
- SetUpdateMode(sal_True);
+ SetUpdateMode(true);
}
diff --git a/dbaccess/source/ui/querydesign/LimitBox.cxx b/dbaccess/source/ui/querydesign/LimitBox.cxx
index 5f4510dbe5fd..194f029c2d32 100644
--- a/dbaccess/source/ui/querydesign/LimitBox.cxx
+++ b/dbaccess/source/ui/querydesign/LimitBox.cxx
@@ -35,7 +35,7 @@ namespace dbaui
LimitBox::LimitBox( Window* pParent, WinBits nStyle )
: NumericBox( pParent, nStyle )
{
- SetShowTrailingZeros( sal_False );
+ SetShowTrailingZeros( false );
SetDecimalDigits( 0 );
SetMin( -1 );
SetMax( SAL_MAX_INT64 );
diff --git a/dbaccess/source/ui/querydesign/QueryTableView.cxx b/dbaccess/source/ui/querydesign/QueryTableView.cxx
index f50aadb57207..1843379ff6c9 100644
--- a/dbaccess/source/ui/querydesign/QueryTableView.cxx
+++ b/dbaccess/source/ui/querydesign/QueryTableView.cxx
@@ -318,7 +318,7 @@ void OQueryTableView::ClearAll()
{
OJoinTableView::ClearAll();
- SetUpdateMode(sal_True);
+ SetUpdateMode(true);
m_pView->getController().setModified(sal_True);
}
diff --git a/dbaccess/source/ui/querydesign/QueryTextView.cxx b/dbaccess/source/ui/querydesign/QueryTextView.cxx
index a63c6a4cb23d..4ebfebdd6d29 100644
--- a/dbaccess/source/ui/querydesign/QueryTextView.cxx
+++ b/dbaccess/source/ui/querydesign/QueryTextView.cxx
@@ -42,7 +42,7 @@ OQueryTextView::OQueryTextView(OQueryContainerWindow* _pParent)
:Window(_pParent)
{
m_pEdit = new OSqlEdit(this);
- m_pEdit->SetRightToLeft(sal_False);
+ m_pEdit->SetRightToLeft(false);
m_pEdit->ClearModifyFlag();
m_pEdit->SaveValue();
m_pEdit->SetPosPixel( Point( 0, 0 ) );
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
index 54754ad0e28a..4ce398c5c864 100644
--- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
+++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
@@ -131,7 +131,7 @@ OSelectionBrowseBox::OSelectionBrowseBox( Window* pParent )
m_pFunctionCell->SetHelpId(HID_QRYDGN_ROW_FUNCTION);
// switch off triState of ::com::sun::star::form::CheckBox
- m_pVisibleCell->GetBox().EnableTriState( sal_False );
+ m_pVisibleCell->GetBox().EnableTriState( false );
Font aTitleFont = OutputDevice::GetDefaultFont( DEFAULTFONT_SANS_UNICODE,Window::GetSettings().GetLanguageTag().getLanguageType(),DEFAULTFONT_FLAGS_ONLYONE);
aTitleFont.SetSize(Size(0, 6));
@@ -323,7 +323,7 @@ void OSelectionBrowseBox::Init()
// set the header bar
BrowserHeader* pNewHeaderBar = CreateHeaderBar(this);
- pNewHeaderBar->SetMouseTransparent(sal_False);
+ pNewHeaderBar->SetMouseTransparent(false);
SetHeaderBar(pNewHeaderBar);
SetMode(m_nMode);
diff --git a/dbaccess/source/ui/querydesign/TableWindowTitle.cxx b/dbaccess/source/ui/querydesign/TableWindowTitle.cxx
index ae990328e79b..207f2fe484e8 100644
--- a/dbaccess/source/ui/querydesign/TableWindowTitle.cxx
+++ b/dbaccess/source/ui/querydesign/TableWindowTitle.cxx
@@ -49,7 +49,7 @@ OTableWindowTitle::OTableWindowTitle( OTableWindow* pParent ) :
SetTextColor(aSystemStyle.GetButtonTextColor());
Font aFont( GetFont() );
- aFont.SetTransparent( sal_True );
+ aFont.SetTransparent( true );
SetFont( aFont );
}
diff --git a/dbaccess/source/ui/querydesign/querydlg.cxx b/dbaccess/source/ui/querydesign/querydlg.cxx
index 0782c3a4938f..085450e73d90 100644
--- a/dbaccess/source/ui/querydesign/querydlg.cxx
+++ b/dbaccess/source/ui/querydesign/querydlg.cxx
@@ -214,7 +214,7 @@ IMPL_LINK( DlgQryJoin, LBChangeHdl, ListBox*, /*pListBox*/ )
m_pConnData->ResetConnLines();
m_pTableControl->lateInit();
- m_pJoinControl->m_aCBNatural.Check(sal_False);
+ m_pJoinControl->m_aCBNatural.Check(false);
m_pTableControl->enableRelation(false);
OUString sEmpty;
m_pConnData->AppendConnLine(sEmpty,sEmpty);
diff --git a/dbaccess/source/ui/tabledesign/TEditControl.cxx b/dbaccess/source/ui/tabledesign/TEditControl.cxx
index d4cd2274a7c0..fe794e2d9ac4 100644
--- a/dbaccess/source/ui/tabledesign/TEditControl.cxx
+++ b/dbaccess/source/ui/tabledesign/TEditControl.cxx
@@ -1412,8 +1412,8 @@ void OTableEditorCtrl::Command(const CommandEvent& rEvt)
SelectColumnId( nColId );
PopupMenu aContextMenu( ModuleRes( RID_QUERYCOLPOPUPMENU ) );
- aContextMenu.EnableItem( SID_DELETE, sal_False );
- aContextMenu.RemoveDisabledEntries(sal_True, sal_True);
+ aContextMenu.EnableItem( SID_DELETE, false );
+ aContextMenu.RemoveDisabledEntries(true, true);
switch ( aContextMenu.Execute( this, aMenuPos ) )
{
case ID_BROWSER_COLWIDTH:
@@ -1436,7 +1436,7 @@ void OTableEditorCtrl::Command(const CommandEvent& rEvt)
aContextMenu.CheckItem( SID_TABLEDESIGN_TABED_PRIMARYKEY, IsRowSelected(GetCurRow()) && IsPrimaryKey() );
// remove all the disable entries
- aContextMenu.RemoveDisabledEntries(sal_True, sal_True);
+ aContextMenu.RemoveDisabledEntries(true, true);
if( SetDataPtr(m_nDataPos) )
pDescrWin->SaveData( pActRow->GetActFieldDescr() );
diff --git a/desktop/inc/app.hxx b/desktop/inc/app.hxx
index efe4edc4a4b9..58700919638e 100644
--- a/desktop/inc/app.hxx
+++ b/desktop/inc/app.hxx
@@ -76,7 +76,7 @@ class Desktop : public Application
virtual void Init();
virtual void InitFinished();
virtual void DeInit();
- virtual sal_Bool QueryExit();
+ virtual bool QueryExit();
virtual sal_uInt16 Exception(sal_uInt16 nError);
virtual void OverrideSystemSettings( AllSettings& rSettings );
virtual void AppEvent( const ApplicationEvent& rAppEvent );
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 316580e75f18..eb938930885e 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -703,7 +703,7 @@ void Desktop::DeInit()
SAL_INFO( "desktop.app", "FINISHED WITH Destop::DeInit" );
}
-sal_Bool Desktop::QueryExit()
+bool Desktop::QueryExit()
{
try
{
diff --git a/desktop/source/deployment/gui/descedit.cxx b/desktop/source/deployment/gui/descedit.cxx
index 7554c64b1154..0a30de2f0e0b 100644
--- a/desktop/source/deployment/gui/descedit.cxx
+++ b/desktop/source/deployment/gui/descedit.cxx
@@ -50,7 +50,7 @@ void DescriptionEdit::Init()
// read-only
SetReadOnly();
// no cursor
- EnableCursor( sal_False );
+ EnableCursor( false );
}
// -----------------------------------------------------------------------
diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx
index df4b1245fb64..66cdab2ed355 100644
--- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx
+++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx
@@ -1176,7 +1176,7 @@ bool ExtMgrDialog::Notify( NotifyEvent& rNEvt )
}
//------------------------------------------------------------------------------
-sal_Bool ExtMgrDialog::Close()
+bool ExtMgrDialog::Close()
{
bool bRet = m_pManager->queryTermination();
if ( bRet )
@@ -1556,7 +1556,7 @@ void UpdateRequiredDialog::Resize()
Rectangle aNativeControlRegion, aNativeContentRegion;
if( GetNativeControlRegion( CTRL_PROGRESS, PART_ENTIRE_CONTROL, aControlRegion,
CTRL_STATE_ENABLED, aValue, OUString(),
- aNativeControlRegion, aNativeContentRegion ) != sal_False )
+ aNativeControlRegion, aNativeContentRegion ) )
{
nProgressHeight = aNativeControlRegion.GetHeight();
}
@@ -1601,7 +1601,7 @@ short UpdateRequiredDialog::Execute()
//------------------------------------------------------------------------------
// VCL::Dialog
-sal_Bool UpdateRequiredDialog::Close()
+bool UpdateRequiredDialog::Close()
{
::osl::MutexGuard aGuard( m_aMutex );
diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.hxx b/desktop/source/deployment/gui/dp_gui_dialog2.hxx
index b4817edb213b..39f122e16be7 100644
--- a/desktop/source/deployment/gui/dp_gui_dialog2.hxx
+++ b/desktop/source/deployment/gui/dp_gui_dialog2.hxx
@@ -142,7 +142,7 @@ public:
virtual ~ExtMgrDialog();
virtual bool Notify( NotifyEvent& rNEvt );
- virtual sal_Bool Close();
+ virtual bool Close();
virtual void showProgress( bool bStart );
virtual void updateProgress( const OUString &rText,
@@ -216,7 +216,7 @@ public:
virtual short Execute();
virtual void Resize();
- virtual sal_Bool Close();
+ virtual bool Close();
virtual void showProgress( bool bStart );
virtual void updateProgress( const OUString &rText,
diff --git a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx
index 3bae5ce8558a..d91dd066c15c 100644
--- a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx
+++ b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx
@@ -578,7 +578,7 @@ UpdateDialog::~UpdateDialog()
}
//------------------------------------------------------------------------------
-sal_Bool UpdateDialog::Close() {
+bool UpdateDialog::Close() {
m_thread->stop();
return ModalDialog::Close();
}
diff --git a/desktop/source/deployment/gui/dp_gui_updatedialog.hxx b/desktop/source/deployment/gui/dp_gui_updatedialog.hxx
index b19e575986cf..1fe77c521d5c 100644
--- a/desktop/source/deployment/gui/dp_gui_updatedialog.hxx
+++ b/desktop/source/deployment/gui/dp_gui_updatedialog.hxx
@@ -86,7 +86,7 @@ public:
~UpdateDialog();
- virtual sal_Bool Close();
+ virtual bool Close();
virtual short Execute();
diff --git a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx
index e76153b650bf..23e68f35abbd 100644
--- a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx
+++ b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx
@@ -235,14 +235,14 @@ UpdateInstallDialog::UpdateInstallDialog(
m_xExtensionManager = css::deployment::ExtensionManager::get( xCtx );
m_cancel.SetClickHdl(LINK(this, UpdateInstallDialog, cancelHandler));
- m_mle_info.EnableCursor(sal_False);
+ m_mle_info.EnableCursor(false);
if ( ! dp_misc::office_is_running())
m_help.Disable();
}
UpdateInstallDialog::~UpdateInstallDialog() {}
-sal_Bool UpdateInstallDialog::Close()
+bool UpdateInstallDialog::Close()
{
m_thread->stop();
return ModalDialog::Close();
diff --git a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx
index 3a61fe033c03..2bd9daf6c328 100644
--- a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx
+++ b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx
@@ -62,7 +62,7 @@ public:
~UpdateInstallDialog();
- sal_Bool Close();
+ bool Close();
virtual short Execute();
private:
diff --git a/desktop/source/splash/splash.cxx b/desktop/source/splash/splash.cxx
index 755684be2bef..c85d3b7f87f4 100644
--- a/desktop/source/splash/splash.cxx
+++ b/desktop/source/splash/splash.cxx
@@ -169,7 +169,7 @@ void SAL_CALL SplashScreen::start(const OUString&, sal_Int32 nRange)
_bProgressEnd = sal_False;
SolarMutexGuard aSolarGuard;
if ( _eBitmapMode == BM_FULLSCREEN )
- ShowFullScreenMode( sal_True );
+ ShowFullScreenMode( true );
Show();
Paint(Rectangle());
Flush();
@@ -196,7 +196,7 @@ void SAL_CALL SplashScreen::reset()
if (_bVisible && !_bProgressEnd )
{
if ( _eBitmapMode == BM_FULLSCREEN )
- ShowFullScreenMode( sal_True );
+ ShowFullScreenMode( true );
Show();
updateStatus();
}
@@ -213,7 +213,7 @@ void SAL_CALL SplashScreen::setText(const OUString& rText)
if (_bVisible && !_bProgressEnd)
{
if ( _eBitmapMode == BM_FULLSCREEN )
- ShowFullScreenMode( sal_True );
+ ShowFullScreenMode( true );
Show();
updateStatus();
}
@@ -229,7 +229,7 @@ void SAL_CALL SplashScreen::setValue(sal_Int32 nValue)
SolarMutexGuard aSolarGuard;
if (_bVisible && !_bProgressEnd) {
if ( _eBitmapMode == BM_FULLSCREEN )
- ShowFullScreenMode( sal_True );
+ ShowFullScreenMode( true );
Show();
if (nValue >= _iMax) _iProgress = _iMax;
else _iProgress = nValue;
diff --git a/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx b/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx
index ca96b233c8d4..d091cf4b197d 100644
--- a/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx
+++ b/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx
@@ -106,8 +106,8 @@ namespace
VirtualDevice aVirtualDeviceMask(*Application::GetDefaultDevice(), 1L);
// Prepare VirtualDevices and their states
- aVirtualDevice.EnableMapMode(sal_False);
- aVirtualDeviceMask.EnableMapMode(sal_False);
+ aVirtualDevice.EnableMapMode(false);
+ aVirtualDeviceMask.EnableMapMode(false);
aVirtualDevice.SetOutputSizePixel(maAnimation.GetDisplaySizePixel());
aVirtualDeviceMask.SetOutputSizePixel(maAnimation.GetDisplaySizePixel());
aVirtualDevice.Erase();
diff --git a/editeng/source/editeng/editattr.cxx b/editeng/source/editeng/editattr.cxx
index d5e7e23f94bf..b764d47d8efc 100644
--- a/editeng/source/editeng/editattr.cxx
+++ b/editeng/source/editeng/editattr.cxx
@@ -244,7 +244,7 @@ EditCharAttribShadow::EditCharAttribShadow( const SvxShadowedItem& rAttr, sal_uI
void EditCharAttribShadow::SetFont( SvxFont& rFont, OutputDevice* )
{
- rFont.SetShadow( (sal_Bool)((const SvxShadowedItem*)GetItem())->GetValue() );
+ rFont.SetShadow( ((const SvxShadowedItem*)GetItem())->GetValue() );
}
// -------------------------------------------------------------------------
@@ -280,7 +280,7 @@ EditCharAttribOutline::EditCharAttribOutline( const SvxContourItem& rAttr, sal_u
void EditCharAttribOutline::SetFont( SvxFont& rFont, OutputDevice* )
{
- rFont.SetOutline( (sal_Bool)((const SvxContourItem*)GetItem())->GetValue() );
+ rFont.SetOutline( ((const SvxContourItem*)GetItem())->GetValue() );
}
// -------------------------------------------------------------------------
@@ -325,7 +325,7 @@ void EditCharAttribField::SetFont( SvxFont& rFont, OutputDevice* )
if ( pFldColor )
{
rFont.SetFillColor( *pFldColor );
- rFont.SetTransparent( sal_False );
+ rFont.SetTransparent( false );
}
if ( pTxtColor )
rFont.SetColor( *pTxtColor );
diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx
index 51ba58791968..0478e343fef8 100644
--- a/editeng/source/editeng/editdoc.cxx
+++ b/editeng/source/editeng/editdoc.cxx
@@ -1918,7 +1918,7 @@ void CreateFont( SvxFont& rFont, const SfxItemSet& rSet, bool bSearchInParent, s
{
Font aPrevFont( rFont );
rFont.SetAlign( ALIGN_BASELINE );
- rFont.SetTransparent( sal_True );
+ rFont.SetTransparent( true );
sal_uInt16 nWhich_FontInfo = GetScriptItemId( EE_CHAR_FONTINFO, nScriptType );
sal_uInt16 nWhich_Language = GetScriptItemId( EE_CHAR_LANGUAGE, nScriptType );
diff --git a/editeng/source/editeng/editsel.cxx b/editeng/source/editeng/editsel.cxx
index 23d13ba30032..1ef2fddd997d 100644
--- a/editeng/source/editeng/editsel.cxx
+++ b/editeng/source/editeng/editsel.cxx
@@ -44,20 +44,20 @@ void EditSelFunctionSet::DestroyAnchor()
// Only with multiple selection
}
-sal_Bool EditSelFunctionSet::SetCursorAtPoint( const Point& rPointPixel, sal_Bool )
+bool EditSelFunctionSet::SetCursorAtPoint( const Point& rPointPixel, sal_Bool )
{
if ( pCurView )
return pCurView->pImpEditView->SetCursorAtPoint( rPointPixel );
- return sal_False;
+ return false;
}
-sal_Bool EditSelFunctionSet::IsSelectionAtPoint( const Point& rPointPixel )
+bool EditSelFunctionSet::IsSelectionAtPoint( const Point& rPointPixel )
{
if ( pCurView )
return pCurView->pImpEditView->IsSelectionAtPoint( rPointPixel );
- return sal_False;
+ return false;
}
void EditSelFunctionSet::DeselectAtPoint( const Point& )
@@ -85,7 +85,7 @@ void EditSelFunctionSet::DeselectAll()
EditSelectionEngine::EditSelectionEngine() : SelectionEngine( (Window*)0 )
{
SetSelectionMode( RANGE_SELECTION );
- EnableDrag( sal_True );
+ EnableDrag( true );
}
void EditSelectionEngine::SetCurView( EditView* pNewView )
diff --git a/editeng/source/editeng/editsel.hxx b/editeng/source/editeng/editsel.hxx
index 769e832ffccf..c9073e5d4032 100644
--- a/editeng/source/editeng/editsel.hxx
+++ b/editeng/source/editeng/editsel.hxx
@@ -37,9 +37,9 @@ public:
virtual void CreateAnchor();
virtual void DestroyAnchor();
- virtual sal_Bool SetCursorAtPoint( const Point& rPointPixel, sal_Bool bDontSelectAtCursor = sal_False );
+ virtual bool SetCursorAtPoint( const Point& rPointPixel, sal_Bool bDontSelectAtCursor = sal_False );
- virtual sal_Bool IsSelectionAtPoint( const Point& rPointPixel );
+ virtual bool IsSelectionAtPoint( const Point& rPointPixel );
virtual void DeselectAtPoint( const Point& rPointPixel );
virtual void DeselectAll();
diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx
index cd1badd6ab64..637a1c597374 100644
--- a/editeng/source/editeng/editview.cxx
+++ b/editeng/source/editeng/editview.cxx
@@ -901,11 +901,11 @@ void EditView::ExecuteSpellPopup( const Point& rPosPixel, Link* pCallBack )
}
}
if ( pInsertMenu->GetItemCount() != 1)
- aPopupMenu.EnableItem( MN_INSERT_SINGLE, sal_False );
+ aPopupMenu.EnableItem( MN_INSERT_SINGLE, false );
if ( pInsertMenu->GetItemCount() < 2 )
- aPopupMenu.EnableItem( MN_INSERT, sal_False );
+ aPopupMenu.EnableItem( MN_INSERT, false );
- aPopupMenu.RemoveDisabledEntries( sal_True, sal_True );
+ aPopupMenu.RemoveDisabledEntries( true, true );
Rectangle aTempRect = PIMPEE->PaMtoEditCursor( aPaM, GETCRSR_TXTONLY );
Point aScreenPos = pImpEditView->GetWindowPos( aTempRect.TopLeft() );
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx
index 7ab6412297a0..43d3f702482c 100644
--- a/editeng/source/editeng/impedit2.cxx
+++ b/editeng/source/editeng/impedit2.cxx
@@ -318,7 +318,7 @@ sal_Bool ImpEditEngine::MouseButtonDown( const MouseEvent& rMEvt, EditView* pVie
if ( rMEvt.GetClicks() == 2 )
{
// So that the SelectionEngine knows about the anchor.
- aSelEngine.CursorPosChanging( sal_True, sal_False );
+ aSelEngine.CursorPosChanging( true, false );
EditSelection aNewSelection( SelectWord( aCurSel ) );
pView->pImpEditView->DrawSelection();
@@ -329,7 +329,7 @@ sal_Bool ImpEditEngine::MouseButtonDown( const MouseEvent& rMEvt, EditView* pVie
else if ( rMEvt.GetClicks() == 3 )
{
// So that the SelectionEngine knows about the anchor.
- aSelEngine.CursorPosChanging( sal_True, sal_False );
+ aSelEngine.CursorPosChanging( true, false );
EditSelection aNewSelection( aCurSel );
aNewSelection.Min().SetIndex( 0 );
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index a6968724da5b..88337a915341 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -2763,7 +2763,7 @@ void ImpEditEngine::SeekCursor( ContentNode* pNode, sal_Int32 nPos, SvxFont& rFo
const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings();
rFont.SetColor( rStyleSettings.GetHighlightTextColor() );
rFont.SetFillColor( rStyleSettings.GetHighlightColor() );
- rFont.SetTransparent( sal_False );
+ rFont.SetTransparent( false );
}
else if ( nAttr & EXTTEXTINPUT_ATTR_GRAYWAVELINE )
{
@@ -3004,7 +3004,7 @@ void ImpEditEngine::Paint( OutputDevice* pOutDev, Rectangle aClipRect, Point aSt
( GetBackgroundColor() != COL_AUTO ) && GetBackgroundColor().IsDark() &&
( IsAutoColorEnabled() && ( pOutDev->GetOutDevType() != OUTDEV_PRINTER ) ) )
{
- aTmpFont.SetTransparent( sal_True );
+ aTmpFont.SetTransparent( true );
pOutDev->SetFillColor();
pOutDev->SetLineColor( GetAutoColor() );
bDrawFrame = true;
@@ -3514,7 +3514,7 @@ void ImpEditEngine::Paint( OutputDevice* pOutDev, Rectangle aClipRect, Point aSt
if ( pTextPortion->GetExtraValue() && ( pTextPortion->GetExtraValue() != ' ' ) )
{
SeekCursor( pPortion->GetNode(), nIndex+1, aTmpFont, pOutDev );
- aTmpFont.SetTransparent( sal_False );
+ aTmpFont.SetTransparent( false );
aTmpFont.SetEscapement( 0 );
aTmpFont.SetPhysFont( pOutDev );
long nCharWidth = aTmpFont.QuickGetTextSize( pOutDev,
diff --git a/editeng/source/items/bulitem.cxx b/editeng/source/items/bulitem.cxx
index 9c64912139be..b9d687df002e 100644
--- a/editeng/source/items/bulitem.cxx
+++ b/editeng/source/items/bulitem.cxx
@@ -211,7 +211,7 @@ void SvxBulletItem::SetDefaultFont_Impl()
{
aFont = OutputDevice::GetDefaultFont( DEFAULTFONT_FIXED, LANGUAGE_SYSTEM, 0 );
aFont.SetAlign( ALIGN_BOTTOM);
- aFont.SetTransparent( sal_True );
+ aFont.SetTransparent( true );
}
// -----------------------------------------------------------------------
diff --git a/editeng/source/items/svxfont.cxx b/editeng/source/items/svxfont.cxx
index cf67643fc2f0..636c1535f366 100644
--- a/editeng/source/items/svxfont.cxx
+++ b/editeng/source/items/svxfont.cxx
@@ -678,8 +678,8 @@ void SvxDoDrawCapital::DoSpace( const sal_Bool bDraw )
{
sal_Bool bWordWise = pFont->IsWordLineMode();
sal_Bool bTrans = pFont->IsTransparent();
- pFont->SetWordLineMode( sal_False );
- pFont->SetTransparent( sal_True );
+ pFont->SetWordLineMode( false );
+ pFont->SetTransparent( true );
pFont->SetPhysFont( pOut );
pOut->DrawStretchText( aSpacePos, nDiff, " ", 0, 2 );
pFont->SetWordLineMode( bWordWise );
diff --git a/editeng/source/misc/swafopt.cxx b/editeng/source/misc/swafopt.cxx
index 0ac6368c28a7..fd81eff75eda 100644
--- a/editeng/source/misc/swafopt.cxx
+++ b/editeng/source/misc/swafopt.cxx
@@ -68,7 +68,7 @@ SvxSwAutoFmtFlags::SvxSwAutoFmtFlags()
aBulletFont.SetFamily( FAMILY_DONTKNOW );
aBulletFont.SetPitch( PITCH_DONTKNOW );
aBulletFont.SetWeight( WEIGHT_DONTKNOW );
- aBulletFont.SetTransparent( sal_True );
+ aBulletFont.SetTransparent( true );
cBullet = 0x2022;
cByInputBullet = cBullet;
diff --git a/extensions/source/abpilot/abpfinalpage.cxx b/extensions/source/abpilot/abpfinalpage.cxx
index 9bb73f179a6d..62cacc19b6df 100644
--- a/extensions/source/abpilot/abpfinalpage.cxx
+++ b/extensions/source/abpilot/abpfinalpage.cxx
@@ -62,7 +62,7 @@ namespace abp
m_aName.SetModifyHdl( LINK(this, FinalPage, OnNameModified) );
m_aLocation.SetModifyHdl( LINK(this, FinalPage, OnNameModified) );
m_aRegisterName.SetClickHdl( LINK( this, FinalPage, OnRegister ) );
- m_aRegisterName.Check(sal_True);
+ m_aRegisterName.Check(true);
}
//---------------------------------------------------------------------
diff --git a/extensions/source/abpilot/abspilot.cxx b/extensions/source/abpilot/abspilot.cxx
index 012c23ba5561..0c3a07e2d3be 100644
--- a/extensions/source/abpilot/abspilot.cxx
+++ b/extensions/source/abpilot/abspilot.cxx
@@ -201,7 +201,7 @@ namespace abp
}
//---------------------------------------------------------------------
- sal_Bool OAddessBookSourcePilot::Close()
+ bool OAddessBookSourcePilot::Close()
{
implCleanup();
diff --git a/extensions/source/abpilot/abspilot.hxx b/extensions/source/abpilot/abspilot.hxx
index 12bc60be5d4c..26a4135637c6 100644
--- a/extensions/source/abpilot/abspilot.hxx
+++ b/extensions/source/abpilot/abspilot.hxx
@@ -77,7 +77,7 @@ namespace abp
// RoadmapWizard
virtual OUString getStateDisplayName( WizardState _nState ) const;
- virtual sal_Bool Close();
+ virtual bool Close();
private:
DECL_LINK( OnCancelClicked, void* );
diff --git a/extensions/source/bibliography/toolbar.cxx b/extensions/source/bibliography/toolbar.cxx
index f306179fd779..0d524c60fb16 100644
--- a/extensions/source/bibliography/toolbar.cxx
+++ b/extensions/source/bibliography/toolbar.cxx
@@ -358,7 +358,7 @@ void BibToolBar::Click()
{
if(pDatMan)
pDatMan->CreateMappingDialog(GetParent());
- CheckItem( nId, sal_False );
+ CheckItem( nId, false );
}
else if(nId == TBC_BT_CHANGESOURCE)
{
@@ -368,7 +368,7 @@ void BibToolBar::Click()
if(!sNew.isEmpty())
pDatMan->setActiveDataSource(sNew);
}
- CheckItem( nId, sal_False );
+ CheckItem( nId, false );
}
}
@@ -484,13 +484,13 @@ IMPL_LINK( BibToolBar, MenuHdl, ToolBox*, /*pToolbox*/)
{
EndSelection(); // vor SetDropMode (SetDropMode ruft SetItemImage)
- SetItemDown(TBC_BT_AUTOFILTER,sal_True);
+ SetItemDown(TBC_BT_AUTOFILTER,true);
nId = aPopupMenu.Execute(this, GetItemRect(TBC_BT_AUTOFILTER));
if(nId>0)
{
- aPopupMenu.CheckItem(nSelMenuItem,sal_False);
+ aPopupMenu.CheckItem(nSelMenuItem,false);
aPopupMenu.CheckItem(nId);
nSelMenuItem=nId;
aQueryField = MnemonicGenerator::EraseAllMnemonicChars( aPopupMenu.GetItemText(nId) );
@@ -507,7 +507,7 @@ IMPL_LINK( BibToolBar, MenuHdl, ToolBox*, /*pToolbox*/)
Point aPoint;
MouseEvent aLeave( aPoint, 0, MOUSE_LEAVEWINDOW | MOUSE_SYNTHETIC );
MouseMove( aLeave );
- SetItemDown(TBC_BT_AUTOFILTER,sal_False);
+ SetItemDown(TBC_BT_AUTOFILTER,false);
}
diff --git a/extensions/source/dbpilots/groupboxwiz.cxx b/extensions/source/dbpilots/groupboxwiz.cxx
index 6df275e9d775..9f108883050e 100644
--- a/extensions/source/dbpilots/groupboxwiz.cxx
+++ b/extensions/source/dbpilots/groupboxwiz.cxx
@@ -218,7 +218,7 @@ namespace dbp
m_aExistingRadios.SetSelectHdl(LINK(this, ORadioSelectionPage, OnEntrySelected));
implCheckMoveButtons();
- m_aExistingRadios.EnableMultiSelection(sal_True);
+ m_aExistingRadios.EnableMultiSelection(true);
getDialog()->defaultButton(&m_aMoveRight);
diff --git a/extensions/source/propctrlr/browserlistbox.cxx b/extensions/source/propctrlr/browserlistbox.cxx
index 79d35a90d022..3841a6430f80 100644
--- a/extensions/source/propctrlr/browserlistbox.cxx
+++ b/extensions/source/propctrlr/browserlistbox.cxx
@@ -371,7 +371,7 @@ namespace pcr
m_aLinesPlayground.SetBackground( GetBackground() );
m_aLinesPlayground.SetPosPixel(Point(0,0));
- m_aLinesPlayground.SetPaintTransparent(sal_True);
+ m_aLinesPlayground.SetPaintTransparent(true);
m_aLinesPlayground.Show();
m_aVScroll.Hide();
m_aVScroll.SetScrollHdl(LINK(this, OBrowserListBox, ScrollHdl));
@@ -490,9 +490,9 @@ namespace pcr
m_aOutOfDateLines.insert( i );
// repaint
- EnablePaint(sal_False);
+ EnablePaint(false);
UpdatePlayGround();
- EnablePaint(sal_True);
+ EnablePaint(true);
// show the scrollbar
if ( bNeedScrollbar )
@@ -819,7 +819,7 @@ namespace pcr
void OBrowserListBox::MoveThumbTo(sal_Int32 _nNewThumbPos)
{
// disable painting to prevent flicker
- m_aLinesPlayground.EnablePaint(sal_False);
+ m_aLinesPlayground.EnablePaint(false);
sal_Int32 nDelta = _nNewThumbPos - m_aVScroll.GetThumbPos();
// adjust the scrollbar
@@ -848,7 +848,7 @@ namespace pcr
UpdatePlayGround();
}
- m_aLinesPlayground.EnablePaint(sal_True);
+ m_aLinesPlayground.EnablePaint(true);
m_aLinesPlayground.Invalidate(INVALIDATE_CHILDREN);
}
@@ -859,7 +859,7 @@ namespace pcr
(void)_pScrollBar;
// disable painting to prevent flicker
- m_aLinesPlayground.EnablePaint(sal_False);
+ m_aLinesPlayground.EnablePaint(false);
sal_Int32 nThumbPos = m_aVScroll.GetThumbPos();
@@ -884,7 +884,7 @@ namespace pcr
UpdatePlayGround();
}
- m_aLinesPlayground.EnablePaint(sal_True);
+ m_aLinesPlayground.EnablePaint(true);
return 0;
}
diff --git a/extensions/source/propctrlr/browserpage.cxx b/extensions/source/propctrlr/browserpage.cxx
index 8378dc8472a5..a46c97c3b78f 100644
--- a/extensions/source/propctrlr/browserpage.cxx
+++ b/extensions/source/propctrlr/browserpage.cxx
@@ -38,7 +38,7 @@ namespace pcr
,m_aListBox(this)
{
m_aListBox.SetBackground(GetBackground());
- m_aListBox.SetPaintTransparent( sal_True );
+ m_aListBox.SetPaintTransparent( true );
m_aListBox.Show();
}
diff --git a/extensions/source/propctrlr/inspectorhelpwindow.cxx b/extensions/source/propctrlr/inspectorhelpwindow.cxx
index dbff2de8a03f..397ffe6ce41b 100644
--- a/extensions/source/propctrlr/inspectorhelpwindow.cxx
+++ b/extensions/source/propctrlr/inspectorhelpwindow.cxx
@@ -35,14 +35,14 @@ namespace pcr
,m_nMaxLines( 8 )
{
SetBackground();
- SetPaintTransparent(sal_True);
+ SetPaintTransparent(true);
m_aSeparator.SetText( PcrRes(RID_STR_HELP_SECTION_LABEL).toString() );
m_aSeparator.SetBackground();
m_aSeparator.Show();
m_aHelpText.SetControlBackground( /*m_aSeparator.GetBackground().GetColor() */);
m_aHelpText.SetBackground();
- m_aHelpText.SetPaintTransparent(sal_True);
+ m_aHelpText.SetPaintTransparent(true);
m_aHelpText.Show();
}
diff --git a/extensions/source/propctrlr/propertyeditor.cxx b/extensions/source/propctrlr/propertyeditor.cxx
index 8f9e792c1609..e6f017d74215 100644
--- a/extensions/source/propctrlr/propertyeditor.cxx
+++ b/extensions/source/propctrlr/propertyeditor.cxx
@@ -56,7 +56,7 @@ namespace pcr
m_aTabControl.SetDeactivatePageHdl(LINK(this, OPropertyEditor, OnPageDeactivate));
m_aTabControl.SetActivatePageHdl(LINK(this, OPropertyEditor, OnPageActivate));
m_aTabControl.SetBackground(GetBackground());
- m_aTabControl.SetPaintTransparent(sal_True);
+ m_aTabControl.SetPaintTransparent(true);
}
//------------------------------------------------------------------
diff --git a/extensions/source/propctrlr/selectlabeldialog.cxx b/extensions/source/propctrlr/selectlabeldialog.cxx
index 1fc2b9ffe3ec..154c34e998a2 100644
--- a/extensions/source/propctrlr/selectlabeldialog.cxx
+++ b/extensions/source/propctrlr/selectlabeldialog.cxx
@@ -135,12 +135,12 @@ namespace pcr
m_aControlTree.MakeVisible(m_aControlTree.First(), sal_True);
if (m_aControlTree.FirstSelected())
m_aControlTree.Select(m_aControlTree.FirstSelected(), sal_False);
- m_aNoAssignment.Check(sal_True);
+ m_aNoAssignment.Check(true);
}
if (!m_bHaveAssignableControl)
{ // no controls which can be assigned
- m_aNoAssignment.Check(sal_True);
+ m_aNoAssignment.Check(true);
m_aNoAssignment.Enable(false);
}
diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx
index caaaec807b83..d5e4e5371cd1 100644
--- a/extensions/source/propctrlr/standardcontrol.cxx
+++ b/extensions/source/propctrlr/standardcontrol.cxx
@@ -71,9 +71,9 @@ namespace pcr
OTimeControl::OTimeControl( Window* pParent, WinBits nWinStyle )
:OTimeControl_Base( PropertyControlType::TimeField, pParent, nWinStyle )
{
- getTypedControlWindow()->SetStrictFormat( sal_True );
+ getTypedControlWindow()->SetStrictFormat( true );
getTypedControlWindow()->SetFormat( TIMEF_SEC );
- getTypedControlWindow()->EnableEmptyFieldValue( sal_True );
+ getTypedControlWindow()->EnableEmptyFieldValue( true );
}
//------------------------------------------------------------------
@@ -117,7 +117,7 @@ namespace pcr
:ODateControl_Base( PropertyControlType::DateField, pParent, nWinStyle | WB_DROPDOWN )
{
WindowType* pControlWindow = getTypedControlWindow();
- pControlWindow->SetStrictFormat(sal_True);
+ pControlWindow->SetStrictFormat(true);
pControlWindow->SetMin( ::Date( 1,1,1600 ) );
pControlWindow->SetFirst( ::Date( 1,1,1600 ) );
@@ -125,7 +125,7 @@ namespace pcr
pControlWindow->SetMax( ::Date( 1, 1, 9999 ) );
pControlWindow->SetExtDateFormat( XTDATEF_SYSTEM_SHORT_YYYY );
- pControlWindow->EnableEmptyFieldValue( sal_True );
+ pControlWindow->EnableEmptyFieldValue( true );
}
//------------------------------------------------------------------
@@ -484,8 +484,8 @@ namespace pcr
{
getTypedControlWindow()->SetDefaultUnit( FUNIT_NONE );
- getTypedControlWindow()->EnableEmptyFieldValue( sal_True );
- getTypedControlWindow()->SetStrictFormat( sal_True );
+ getTypedControlWindow()->EnableEmptyFieldValue( true );
+ getTypedControlWindow()->SetStrictFormat( true );
Optional< double > value( getMaxValue() );
value.Value = -value.Value;
setMinValue( value );
@@ -695,7 +695,7 @@ namespace pcr
getTypedControlWindow()->SetDropDownLineCount( LB_DEFAULT_COUNT );
if ( ( nWinStyle & WB_READONLY ) != 0 )
{
- getTypedControlWindow()->SetReadOnly( sal_True );
+ getTypedControlWindow()->SetReadOnly( true );
getTypedControlWindow()->Enable( true );
}
}
@@ -804,7 +804,7 @@ namespace pcr
getTypedControlWindow()->SetDropDownLineCount( LB_DEFAULT_COUNT );
if ( ( nWinStyle & WB_READONLY ) != 0 )
{
- getTypedControlWindow()->SetReadOnly( sal_True );
+ getTypedControlWindow()->SetReadOnly( true );
getTypedControlWindow()->Enable( true );
}
}
@@ -1030,7 +1030,7 @@ namespace pcr
,m_nOperationMode( eStringList )
,m_bDropdown( sal_False )
{
- SetCompoundControl( sal_True );
+ SetCompoundControl( true );
m_pImplEdit = new MultiLineEdit( this, WB_TABSTOP | WB_IGNORETAB | WB_NOBORDER | (_nStyle & WB_READONLY) );
SetSubEdit( m_pImplEdit );
diff --git a/filter/source/flash/swfwriter.cxx b/filter/source/flash/swfwriter.cxx
index 673717622492..a6c3fbf511db 100644
--- a/filter/source/flash/swfwriter.cxx
+++ b/filter/source/flash/swfwriter.cxx
@@ -50,7 +50,7 @@ Writer::Writer( sal_Int32 nTWIPWidthOutput, sal_Int32 nTWIPHeightOutput, sal_Int
mnJPEGCompressMode(nJPEGcompressMode)
{
mpVDev = new VirtualDevice;
- mpVDev->EnableOutput( sal_False );
+ mpVDev->EnableOutput( false );
maMovieTempFile.EnableKillingFile();
maFontsTempFile.EnableKillingFile();
diff --git a/filter/source/flash/swfwriter1.cxx b/filter/source/flash/swfwriter1.cxx
index d5c07a6e0f2c..0448fe447974 100644
--- a/filter/source/flash/swfwriter1.cxx
+++ b/filter/source/flash/swfwriter1.cxx
@@ -521,7 +521,7 @@ void Writer::Impl_writeText( const Point& rPos, const OUString& rText, const sal
{
// todo: optimize me as this will generate a huge amount of duplicate polygons
PolyPolygon aPolyPoygon;
- mpVDev->GetTextOutline( aPolyPoygon, rText, 0, 0, (sal_uInt16)nLen, sal_True, nWidth, pDXArray );
+ mpVDev->GetTextOutline( aPolyPoygon, rText, 0, 0, (sal_uInt16)nLen, true, nWidth, pDXArray );
aPolyPoygon.Translate( rPos );
Impl_writePolyPolygon( aPolyPoygon, sal_True, aTextColor, aTextColor );
}
diff --git a/filter/source/graphic/GraphicExportFilter.cxx b/filter/source/graphic/GraphicExportFilter.cxx
index 18db6b63810e..6cc22f91e2cb 100644
--- a/filter/source/graphic/GraphicExportFilter.cxx
+++ b/filter/source/graphic/GraphicExportFilter.cxx
@@ -84,7 +84,7 @@ void GraphicExportFilter::gatherProperties( const Sequence<PropertyValue>& rProp
if ( !aInternalFilterName.isEmpty() )
{
- GraphicFilter aGraphicFilter( sal_True );
+ GraphicFilter aGraphicFilter( true );
sal_uInt16 nFilterCount = aGraphicFilter.GetExportFormatCount();
sal_uInt16 nFormat;
diff --git a/filter/source/graphicfilter/epict/epict.cxx b/filter/source/graphicfilter/epict/epict.cxx
index 54a02a99f233..5a6e8df4aece 100644
--- a/filter/source/graphicfilter/epict/epict.cxx
+++ b/filter/source/graphicfilter/epict/epict.cxx
@@ -464,8 +464,8 @@ void PictWriter::WriteOpcode_TxFace(const Font & rFont)
eWeight==WEIGHT_BLACK) nFace|=0x01;
if (rFont.GetItalic()!=ITALIC_NONE) nFace|=0x02;
if (rFont.GetUnderline()!=UNDERLINE_NONE) nFace|=0x04;
- if (rFont.IsOutline()==sal_True) nFace|=0x08;
- if (rFont.IsShadow()==sal_True) nFace|=0x10;
+ if (rFont.IsOutline()) nFace|=0x08;
+ if (rFont.IsShadow()) nFace|=0x10;
if (bDstTxFaceValid==sal_False || nDstTxFace!=nFace) {
pPict->WriteUInt16( (sal_uInt16)0x0004 ).WriteUChar( nFace ).WriteUChar( (sal_uInt8)0 );
diff --git a/filter/source/graphicfilter/eps/eps.cxx b/filter/source/graphicfilter/eps/eps.cxx
index 5793c9174d62..14731e1c46bc 100644
--- a/filter/source/graphicfilter/eps/eps.cxx
+++ b/filter/source/graphicfilter/eps/eps.cxx
@@ -2163,7 +2163,7 @@ void PSWriter::ImplText( const OUString& rUniString, const Point& rPos, const sa
sal_Bool bOldLineColor = bLineColor;
bLineColor = sal_False;
std::vector<PolyPolygon> aPolyPolyVec;
- if ( aVirDev.GetTextOutlines( aPolyPolyVec, rUniString, 0, 0, -1, sal_True, nWidth, pDXArry ) )
+ if ( aVirDev.GetTextOutlines( aPolyPolyVec, rUniString, 0, 0, -1, true, nWidth, pDXArry ) )
{
// always adjust text position to match baseline alignment
ImplWriteLine( "pum" );
diff --git a/filter/source/graphicfilter/idxf/dxf2mtf.cxx b/filter/source/graphicfilter/idxf/dxf2mtf.cxx
index 2ee26ebce408..592eef5333f6 100644
--- a/filter/source/graphicfilter/idxf/dxf2mtf.cxx
+++ b/filter/source/graphicfilter/idxf/dxf2mtf.cxx
@@ -201,7 +201,7 @@ sal_Bool DXF2GDIMetaFile::SetFontAttribute(const DXFBasicEntity & rE, short nAng
aColor=ConvertColor((sal_uInt8)nColor);
aFont.SetColor(aColor);
- aFont.SetTransparent(sal_True);
+ aFont.SetTransparent(true);
aFont.SetFamily(FAMILY_SWISS);
aFont.SetSize(Size(0,nHeight));
aFont.SetAlign(ALIGN_BASELINE);
@@ -805,7 +805,7 @@ sal_Bool DXF2GDIMetaFile::Convert(const DXFRepresentation & rDXF, GDIMetaFile &
aParentLayerDXFLineInfo.fDistance = 0;
}
- pVirDev->EnableOutput(sal_False);
+ pVirDev->EnableOutput(false);
rMTF.Record(pVirDev);
aActLineColor = pVirDev->GetLineColor();
diff --git a/filter/source/graphicfilter/ieps/ieps.cxx b/filter/source/graphicfilter/ieps/ieps.cxx
index 18896b063a79..a5f8b1455af2 100644
--- a/filter/source/graphicfilter/ieps/ieps.cxx
+++ b/filter/source/graphicfilter/ieps/ieps.cxx
@@ -135,7 +135,7 @@ static void MakeAsMeta(Graphic &rGraphic)
aSize = Application::GetDefaultDevice()->LogicToLogic( aSize,
aBmp.GetPrefMapMode(), MAP_100TH_MM );
- aVDev.EnableOutput( sal_False );
+ aVDev.EnableOutput( false );
aMtf.Record( &aVDev );
aVDev.DrawBitmap( Point(), aSize, rGraphic.GetBitmap() );
aMtf.Stop();
@@ -395,7 +395,7 @@ void MakePreview(sal_uInt8* pBuf, sal_uInt32 nBytesRead,
VirtualDevice aVDev;
Font aFont;
- aVDev.EnableOutput( sal_False );
+ aVDev.EnableOutput( false );
aMtf.Record( &aVDev );
aVDev.SetLineColor( Color( COL_RED ) );
aVDev.SetFillColor();
@@ -633,7 +633,7 @@ GraphicImport(SvStream & rStream, Graphic & rGraphic, FilterConfigItem*, sal_Boo
VirtualDevice aVDev;
GDIMetaFile aMtf;
Size aSize;
- aVDev.EnableOutput( sal_False );
+ aVDev.EnableOutput( false );
aMtf.Record( &aVDev );
aSize = aBitmap.GetPrefSize();
if( !aSize.Width() || !aSize.Height() )
@@ -668,7 +668,7 @@ GraphicImport(SvStream & rStream, Graphic & rGraphic, FilterConfigItem*, sal_Boo
if ( nSecurityCount)
{
bGraphicLinkCreated = sal_True;
- GfxLink aGfxLink( pBuf, nPSSize, GFX_LINK_TYPE_EPS_BUFFER, sal_True ) ;
+ GfxLink aGfxLink( pBuf, nPSSize, GFX_LINK_TYPE_EPS_BUFFER, true ) ;
GDIMetaFile aMtf;
long nWidth = nNumb[2] - nNumb[0] + 1;
diff --git a/filter/source/graphicfilter/ios2met/ios2met.cxx b/filter/source/graphicfilter/ios2met/ios2met.cxx
index 9aa722c6f256..bb265fb1fcb4 100644
--- a/filter/source/graphicfilter/ios2met/ios2met.cxx
+++ b/filter/source/graphicfilter/ios2met/ios2met.cxx
@@ -2229,7 +2229,7 @@ void OS2METReader::ReadFont(sal_uInt16 nFieldSize)
OSFont * pF=new OSFont;
pF->pSucc=pFontList; pFontList=pF;
pF->nID=0;
- pF->aFont.SetTransparent(sal_True);
+ pF->aFont.SetTransparent(true);
pF->aFont.SetAlign(ALIGN_BASELINE);
nPos=pOS2MET->Tell();
@@ -2584,7 +2584,7 @@ void OS2METReader::ReadOS2MET( SvStream & rStreamOS2MET, GDIMetaFile & rGDIMetaF
pOrdFile=NULL;
pVirDev = new VirtualDevice();
- pVirDev->EnableOutput(sal_False);
+ pVirDev->EnableOutput(false);
rGDIMetaFile.Record(pVirDev);
pOS2MET->SetNumberFormatInt(NUMBERFORMAT_INT_LITTLEENDIAN);
diff --git a/filter/source/graphicfilter/ipict/ipict.cxx b/filter/source/graphicfilter/ipict/ipict.cxx
index 920248ddb5a6..9cb8cf877fed 100644
--- a/filter/source/graphicfilter/ipict/ipict.cxx
+++ b/filter/source/graphicfilter/ipict/ipict.cxx
@@ -659,7 +659,7 @@ void PictReader::DrawingMethod(PictDrawingMethod eMethod)
case PDM_TEXT:
aActFont.SetColor(aActForeColor);
aActFont.SetFillColor(aActBackColor);
- aActFont.SetTransparent(sal_True);
+ aActFont.SetTransparent(true);
pVirDev->SetFont(aActFont);
pVirDev->SetRasterOp(ROP_OVERPAINT);
break;
@@ -1252,10 +1252,10 @@ sal_uLong PictReader::ReadData(sal_uInt16 nOpcode)
else aActFont.SetItalic(ITALIC_NONE);
if ( (nFace & 0x04)!=0 ) aActFont.SetUnderline(UNDERLINE_SINGLE);
else aActFont.SetUnderline(UNDERLINE_NONE);
- if ( (nFace & 0x08)!=0 ) aActFont.SetOutline(sal_True);
- else aActFont.SetOutline(sal_False);
- if ( (nFace & 0x10)!=0 ) aActFont.SetShadow(sal_True);
- else aActFont.SetShadow(sal_False);
+ if ( (nFace & 0x08)!=0 ) aActFont.SetOutline(true);
+ else aActFont.SetOutline(false);
+ if ( (nFace & 0x10)!=0 ) aActFont.SetShadow(true);
+ else aActFont.SetShadow(false);
eActMethod=PDM_UNDEFINED;
nDataSize=1;
break;
@@ -1791,7 +1791,7 @@ void PictReader::ReadPict( SvStream & rStreamPict, GDIMetaFile & rGDIMetaFile )
aHRes = aVRes = Fraction( 1, 1 );
pVirDev = new VirtualDevice();
- pVirDev->EnableOutput(sal_False);
+ pVirDev->EnableOutput(false);
rGDIMetaFile.Record(pVirDev);
pPict->SetNumberFormatInt(NUMBERFORMAT_INT_BIGENDIAN);
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index cf255a83f134..8340f844b700 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -3837,7 +3837,7 @@ SdrObject* SvxMSDffManager::ImportGraphic( SvStream& rSt, SfxItemSet& rSet, cons
{
BitmapEx aBitmapEx( aGraf.GetBitmapEx() );
if ( nBrightness || nContrast || ( nGamma != 0x10000 ) )
- aBitmapEx.Adjust( nBrightness, (sal_Int16)nContrast, 0, 0, 0, (double)nGamma / 0x10000, sal_False );
+ aBitmapEx.Adjust( nBrightness, (sal_Int16)nContrast, 0, 0, 0, (double)nGamma / 0x10000, false );
if ( eDrawMode == GRAPHICDRAWMODE_GREYS )
aBitmapEx.Convert( BMP_CONVERSION_8BIT_GREYS );
else if ( eDrawMode == GRAPHICDRAWMODE_MONO )
@@ -3851,7 +3851,7 @@ SdrObject* SvxMSDffManager::ImportGraphic( SvStream& rSt, SfxItemSet& rSet, cons
{
GDIMetaFile aGdiMetaFile( aGraf.GetGDIMetaFile() );
if ( nBrightness || nContrast || ( nGamma != 0x10000 ) )
- aGdiMetaFile.Adjust( nBrightness, (sal_Int16)nContrast, 0, 0, 0, (double)nGamma / 0x10000, sal_False );
+ aGdiMetaFile.Adjust( nBrightness, (sal_Int16)nContrast, 0, 0, 0, (double)nGamma / 0x10000, false );
if ( eDrawMode == GRAPHICDRAWMODE_GREYS )
aGdiMetaFile.Convert( MTF_CONVERSION_8BIT_GREYS );
else if ( eDrawMode == GRAPHICDRAWMODE_MONO )
diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx
index 9d968a0465dc..a98e170c9d1d 100644
--- a/filter/source/pdf/impdialog.cxx
+++ b/filter/source/pdf/impdialog.cxx
@@ -183,48 +183,48 @@ ImpPDFTabDialog::ImpPDFTabDialog(Window* pParent, Sequence< PropertyValue >& rFi
}
//get the CTL (Complex Text Layout) from general options, returns sal_True if we have a CTL font on our hands.
- mbUseCTLFont = maConfigI18N.ReadBool( "CTLFont", sal_False );
+ mbUseCTLFont = maConfigI18N.ReadBool( "CTLFont", false );
- mbUseLosslessCompression = maConfigItem.ReadBool( "UseLosslessCompression", sal_False );
+ mbUseLosslessCompression = maConfigItem.ReadBool( "UseLosslessCompression", false );
mnQuality = maConfigItem.ReadInt32( "Quality", 90 );
- mbReduceImageResolution = maConfigItem.ReadBool( "ReduceImageResolution", sal_False );
+ mbReduceImageResolution = maConfigItem.ReadBool( "ReduceImageResolution", false );
mnMaxImageResolution = maConfigItem.ReadInt32( "MaxImageResolution", 300 );
- mbUseTaggedPDF = maConfigItem.ReadBool( "UseTaggedPDF", sal_False );
+ mbUseTaggedPDF = maConfigItem.ReadBool( "UseTaggedPDF", false );
mnPDFTypeSelection = maConfigItem.ReadInt32( "SelectPdfVersion", 0 );
if ( mbIsPresentation )
- mbExportNotesPages = maConfigItem.ReadBool( "ExportNotesPages", sal_False );
- mbExportNotes = maConfigItem.ReadBool( "ExportNotes", sal_False );
- mbViewPDF = maConfigItem.ReadBool( "ViewPDFAfterExport", sal_False );
+ mbExportNotesPages = maConfigItem.ReadBool( "ExportNotesPages", false );
+ mbExportNotes = maConfigItem.ReadBool( "ExportNotes", false );
+ mbViewPDF = maConfigItem.ReadBool( "ViewPDFAfterExport", false );
- mbExportBookmarks = maConfigItem.ReadBool( "ExportBookmarks", sal_True );
+ mbExportBookmarks = maConfigItem.ReadBool( "ExportBookmarks", true );
if ( mbIsPresentation )
- mbExportHiddenSlides = maConfigItem.ReadBool( "ExportHiddenSlides", sal_False );
+ mbExportHiddenSlides = maConfigItem.ReadBool( "ExportHiddenSlides", false );
mnOpenBookmarkLevels = maConfigItem.ReadInt32( "OpenBookmarkLevels", -1 );
- mbUseTransitionEffects = maConfigItem.ReadBool( "UseTransitionEffects", sal_True );
- mbIsSkipEmptyPages = maConfigItem.ReadBool( "IsSkipEmptyPages", sal_False );
- mbAddStream = maConfigItem.ReadBool( "IsAddStream", sal_False );
+ mbUseTransitionEffects = maConfigItem.ReadBool( "UseTransitionEffects", true );
+ mbIsSkipEmptyPages = maConfigItem.ReadBool( "IsSkipEmptyPages", false );
+ mbAddStream = maConfigItem.ReadBool( "IsAddStream", false );
mnFormsType = maConfigItem.ReadInt32( "FormsType", 0 );
- mbExportFormFields = maConfigItem.ReadBool( "ExportFormFields", sal_True );
+ mbExportFormFields = maConfigItem.ReadBool( "ExportFormFields", true );
if ( ( mnFormsType < 0 ) || ( mnFormsType > 3 ) )
mnFormsType = 0;
- mbAllowDuplicateFieldNames = maConfigItem.ReadBool( "AllowDuplicateFieldNames", sal_False );
+ mbAllowDuplicateFieldNames = maConfigItem.ReadBool( "AllowDuplicateFieldNames", false );
//prepare values for the Viewer tab page
- mbHideViewerToolbar = maConfigItem.ReadBool( "HideViewerToolbar", sal_False );
- mbHideViewerMenubar = maConfigItem.ReadBool( "HideViewerMenubar", sal_False );
- mbHideViewerWindowControls = maConfigItem.ReadBool( "HideViewerWindowControls", sal_False );
- mbResizeWinToInit = maConfigItem.ReadBool( "ResizeWindowToInitialPage", sal_False );
- mbCenterWindow = maConfigItem.ReadBool( "CenterWindow", sal_False );
- mbOpenInFullScreenMode = maConfigItem.ReadBool( "OpenInFullScreenMode", sal_False );
- mbDisplayPDFDocumentTitle = maConfigItem.ReadBool( "DisplayPDFDocumentTitle", sal_True );
+ mbHideViewerToolbar = maConfigItem.ReadBool( "HideViewerToolbar", false );
+ mbHideViewerMenubar = maConfigItem.ReadBool( "HideViewerMenubar", false );
+ mbHideViewerWindowControls = maConfigItem.ReadBool( "HideViewerWindowControls", false );
+ mbResizeWinToInit = maConfigItem.ReadBool( "ResizeWindowToInitialPage", false );
+ mbCenterWindow = maConfigItem.ReadBool( "CenterWindow", false );
+ mbOpenInFullScreenMode = maConfigItem.ReadBool( "OpenInFullScreenMode", false );
+ mbDisplayPDFDocumentTitle = maConfigItem.ReadBool( "DisplayPDFDocumentTitle", true );
mnInitialView = maConfigItem.ReadInt32( "InitialView", 0 );
mnMagnification = maConfigItem.ReadInt32( "Magnification", 0 );
mnZoom = maConfigItem.ReadInt32( "Zoom", 100 );
mnPageLayout = maConfigItem.ReadInt32( "PageLayout", 0 );
- mbFirstPageLeft = maConfigItem.ReadBool( "FirstPageOnLeft", sal_False );
+ mbFirstPageLeft = maConfigItem.ReadBool( "FirstPageOnLeft", false );
mnInitialPage = maConfigItem.ReadInt32( "InitialPage", 1 );
if( mnInitialPage < 1 )
mnInitialPage = 1;
@@ -232,19 +232,19 @@ ImpPDFTabDialog::ImpPDFTabDialog(Window* pParent, Sequence< PropertyValue >& rFi
//prepare values for the security tab page
mnPrint = maConfigItem.ReadInt32( "Printing", 2 );
mnChangesAllowed = maConfigItem.ReadInt32( "Changes", 4 );
- mbCanCopyOrExtract = maConfigItem.ReadBool( "EnableCopyingOfContent", sal_True );
- mbCanExtractForAccessibility = maConfigItem.ReadBool( "EnableTextAccessForAccessibilityTools", sal_True );
+ mbCanCopyOrExtract = maConfigItem.ReadBool( "EnableCopyingOfContent", true );
+ mbCanExtractForAccessibility = maConfigItem.ReadBool( "EnableTextAccessForAccessibilityTools", true );
//prepare values for relative links
- mbExportRelativeFsysLinks = maConfigItem.ReadBool( "ExportLinksRelativeFsys", sal_False );
+ mbExportRelativeFsysLinks = maConfigItem.ReadBool( "ExportLinksRelativeFsys", false );
mnViewPDFMode = maConfigItem.ReadInt32( "PDFViewSelection", 0 );
- mbConvertOOoTargets = maConfigItem.ReadBool( "ConvertOOoTargetToPDFTarget", sal_False );
- mbExportBmkToPDFDestination = maConfigItem.ReadBool( "ExportBookmarksToPDFDestination", sal_False );
+ mbConvertOOoTargets = maConfigItem.ReadBool( "ConvertOOoTargetToPDFTarget", false );
+ mbExportBmkToPDFDestination = maConfigItem.ReadBool( "ExportBookmarksToPDFDestination", false );
//prepare values for digital signatures
- mbSignPDF = maConfigItem.ReadBool( "SignPDF", sal_False );
+ mbSignPDF = maConfigItem.ReadBool( "SignPDF", false );
//queue the tab pages for later creation (created when first shown)
mnSigningPageId = AddTabPage("digitalsignatures", ImpPDFTabSigningPage::Create, 0);
@@ -598,7 +598,7 @@ void ImpPDFTabGeneralPage::SetFilterConfigItem( const ImpPDFTabDialog* paParent
switch( paParent->mnPDFTypeSelection )
{
default:
- case 0: mpCbPDFA1b->Check( sal_False ); // PDF 1.4
+ case 0: mpCbPDFA1b->Check( false ); // PDF 1.4
break;
case 1: mpCbPDFA1b->Check(); // PDF/A-1a
break;
@@ -1056,12 +1056,12 @@ void ImpPDFTabViewerPage::SetFilterConfigItem( const ImpPDFTabDialog* paParent
m_pCbTransitionEffects->Enable( mbIsPresentation );
if( paParent->mnOpenBookmarkLevels < 0 )
{
- m_pRbAllBookmarkLevels->Check( sal_True );
+ m_pRbAllBookmarkLevels->Check( true );
m_pNumBookmarkLevels->Enable( false );
}
else
{
- m_pRbVisibleBookmarkLevels->Check( sal_True );
+ m_pRbVisibleBookmarkLevels->Check( true );
m_pNumBookmarkLevels->Enable( true );
m_pNumBookmarkLevels->SetValue( paParent->mnOpenBookmarkLevels );
}
diff --git a/filter/source/pdf/pdfexport.cxx b/filter/source/pdf/pdfexport.cxx
index 13f4f4f32724..1105b17b9dd5 100644
--- a/filter/source/pdf/pdfexport.cxx
+++ b/filter/source/pdf/pdfexport.cxx
@@ -211,7 +211,7 @@ sal_Bool PDFExport::ExportSelection( vcl::PDFWriter& rPDFWriter,
const Size aMtfSize( aPageSize.Width, aPageSize.Height );
pOut->Push();
- pOut->EnableOutput( sal_False );
+ pOut->EnableOutput( false );
pOut->SetMapMode( aMapMode );
aMtf.SetPrefSize( aMtfSize );
diff --git a/filter/source/pdf/pdffilter.cxx b/filter/source/pdf/pdffilter.cxx
index 77bd2a47e57e..b8406900d242 100644
--- a/filter/source/pdf/pdffilter.cxx
+++ b/filter/source/pdf/pdffilter.cxx
@@ -62,43 +62,43 @@ sal_Bool PDFFilter::implExport( const Sequence< PropertyValue >& rDescriptor )
if ( !aFilterData.getLength() )
{
FilterConfigItem aCfgItem( "Office.Common/Filter/PDF/Export/" );
- aCfgItem.ReadBool( "UseLosslessCompression", sal_False );
+ aCfgItem.ReadBool( "UseLosslessCompression", false );
aCfgItem.ReadInt32( "Quality", 90 );
- aCfgItem.ReadBool( "ReduceImageResolution", sal_False );
+ aCfgItem.ReadBool( "ReduceImageResolution", false );
aCfgItem.ReadInt32( "MaxImageResolution", 300 );
- aCfgItem.ReadBool( "UseTaggedPDF", sal_False );
+ aCfgItem.ReadBool( "UseTaggedPDF", false );
aCfgItem.ReadInt32( "SelectPdfVersion", 0 );
- aCfgItem.ReadBool( "ExportNotes", sal_False );
- aCfgItem.ReadBool( "ExportNotesPages", sal_False );
- aCfgItem.ReadBool( "UseTransitionEffects", sal_True );
- aCfgItem.ReadBool( "IsSkipEmptyPages", sal_False );
- aCfgItem.ReadBool( "ExportFormFields", sal_True );
+ aCfgItem.ReadBool( "ExportNotes", false );
+ aCfgItem.ReadBool( "ExportNotesPages", false );
+ aCfgItem.ReadBool( "UseTransitionEffects", true );
+ aCfgItem.ReadBool( "IsSkipEmptyPages", false );
+ aCfgItem.ReadBool( "ExportFormFields", true );
aCfgItem.ReadInt32( "FormsType", 0 );
- aCfgItem.ReadBool( "HideViewerToolbar", sal_False );
- aCfgItem.ReadBool( "HideViewerMenubar", sal_False );
- aCfgItem.ReadBool( "HideViewerWindowControls", sal_False );
- aCfgItem.ReadBool( "ResizeWindowToInitialPage", sal_False );
- aCfgItem.ReadBool( "CenterWindow", sal_False );
- aCfgItem.ReadBool( "OpenInFullScreenMode", sal_False );
- aCfgItem.ReadBool( "DisplayPDFDocumentTitle", sal_True );
+ aCfgItem.ReadBool( "HideViewerToolbar", false );
+ aCfgItem.ReadBool( "HideViewerMenubar", false );
+ aCfgItem.ReadBool( "HideViewerWindowControls", false );
+ aCfgItem.ReadBool( "ResizeWindowToInitialPage", false );
+ aCfgItem.ReadBool( "CenterWindow", false );
+ aCfgItem.ReadBool( "OpenInFullScreenMode", false );
+ aCfgItem.ReadBool( "DisplayPDFDocumentTitle", true );
aCfgItem.ReadInt32( "InitialView", 0 );
aCfgItem.ReadInt32( "Magnification", 0 );
aCfgItem.ReadInt32( "PageLayout", 0 );
- aCfgItem.ReadBool( "FirstPageOnLeft", sal_False );
- aCfgItem.ReadBool( "IsAddStream", sal_False );
+ aCfgItem.ReadBool( "FirstPageOnLeft", false );
+ aCfgItem.ReadBool( "IsAddStream", false );
//
// the encryption is not available when exporting directly, since the encryption is off by default and the selection
// (encrypt or not) is not persistent; it's available through macro though,
// provided the correct property values are set, see help
//
// now, the relative link stuff
- aCfgItem.ReadBool( "ExportLinksRelativeFsys", sal_False );
+ aCfgItem.ReadBool( "ExportLinksRelativeFsys", false );
aCfgItem.ReadInt32("PDFViewSelection", 0 );
- aCfgItem.ReadBool( "ConvertOOoTargetToPDFTarget", sal_False );
- aCfgItem.ReadBool( "ExportBookmarksToPDFDestination", sal_False );
+ aCfgItem.ReadBool( "ConvertOOoTargetToPDFTarget", false );
+ aCfgItem.ReadBool( "ExportBookmarksToPDFDestination", false );
- aCfgItem.ReadBool( "ExportBookmarks", sal_True );
- aCfgItem.ReadBool( "ExportHiddenSlides", sal_False );
+ aCfgItem.ReadBool( "ExportBookmarks", true );
+ aCfgItem.ReadBool( "ExportHiddenSlides", false );
aCfgItem.ReadInt32( "OpenBookmarkLevels", -1 );
aFilterData = aCfgItem.GetFilterData();
}
diff --git a/filter/source/svg/impsvgdialog.cxx b/filter/source/svg/impsvgdialog.cxx
index efcb7635302e..c438cf5d6f00 100644
--- a/filter/source/svg/impsvgdialog.cxx
+++ b/filter/source/svg/impsvgdialog.cxx
@@ -66,9 +66,9 @@ ImpSVGDialog::ImpSVGDialog( Window* pParent, Sequence< PropertyValue >& rFilterD
maCBUseNativeDecoration.SetPosSizePixel( Point( implMap( *this, 12 ), implMap( *this, 41 ) ),
Size( implMap( *this, 142 ), implMap( *this, 10 ) ) );
- maCBTinyProfile.Check( maConfigItem.ReadBool( OUString( SVG_PROP_TINYPROFILE ), sal_False ) );
- maCBEmbedFonts.Check( maConfigItem.ReadBool( OUString( SVG_PROP_EMBEDFONTS ), sal_True ) );
- maCBUseNativeDecoration.Check( maConfigItem.ReadBool( OUString( SVG_PROP_NATIVEDECORATION ), sal_True ) );
+ maCBTinyProfile.Check( maConfigItem.ReadBool( OUString( SVG_PROP_TINYPROFILE ), false ) );
+ maCBEmbedFonts.Check( maConfigItem.ReadBool( OUString( SVG_PROP_EMBEDFONTS ), true ) );
+ maCBUseNativeDecoration.Check( maConfigItem.ReadBool( OUString( SVG_PROP_NATIVEDECORATION ), true ) );
maBTOK.SetPosSizePixel( Point( implMap( *this, 12 ), implMap( *this, 57 ) ),
Size( implMap( *this, 50 ), implMap( *this, 14 ) ) );
@@ -118,7 +118,7 @@ IMPL_LINK( ImpSVGDialog, OnToggleCheckbox, CheckBox*, pBox )
{
mbOldNativeDecoration = maCBUseNativeDecoration.IsChecked();
- maCBUseNativeDecoration.Check( sal_False );
+ maCBUseNativeDecoration.Check( false );
maCBUseNativeDecoration.Disable();
}
else
diff --git a/filter/source/svg/svgfontexport.cxx b/filter/source/svg/svgfontexport.cxx
index 39835a6f5d58..6dd28be6fcca 100644
--- a/filter/source/svg/svgfontexport.cxx
+++ b/filter/source/svg/svgfontexport.cxx
@@ -81,7 +81,7 @@ void SVGFontExport::implCollectGlyphs()
VirtualDevice aVDev;
ObjectVector::const_iterator aIter( maObjects.begin() );
- aVDev.EnableOutput( sal_False );
+ aVDev.EnableOutput( false );
while( aIter != maObjects.end() )
{
diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx
index ffdfe689f27b..a252d1267caa 100644
--- a/filter/source/svg/svgwriter.cxx
+++ b/filter/source/svg/svgwriter.cxx
@@ -1644,7 +1644,7 @@ SVGActionWriter::SVGActionWriter( SVGExport& rExport, SVGFontExport& rFontExport
mbClipAttrChanged( sal_False )
{
mpVDev = new VirtualDevice;
- mpVDev->EnableOutput( sal_False );
+ mpVDev->EnableOutput( false );
maTargetMapMode = MAP_100TH_MM;
maTextWriter.setVirtualDevice( mpVDev, maTargetMapMode );
}
diff --git a/forms/source/richtext/richtextvclcontrol.cxx b/forms/source/richtext/richtextvclcontrol.cxx
index bf7d0b5c2da8..2367e51bdb85 100644
--- a/forms/source/richtext/richtextvclcontrol.cxx
+++ b/forms/source/richtext/richtextvclcontrol.cxx
@@ -61,7 +61,7 @@ namespace frm
void RichTextControl::implInit( RichTextEngine* _pEngine, ITextAttributeListener* _pTextAttribListener, ITextSelectionListener* _pSelectionListener )
{
m_pImpl = new RichTextControlImpl( this, _pEngine, _pTextAttribListener, _pSelectionListener );
- SetCompoundControl( sal_True );
+ SetCompoundControl( true );
}
//--------------------------------------------------------------------
@@ -209,7 +209,7 @@ namespace frm
{
// Ctrl-Tab is used to step out of the control
// -> build a new key event without the Ctrl-key, and let the very base class handle it
- KeyCode aNewCode( KEY_TAB, bShift, sal_False, sal_False, sal_False );
+ KeyCode aNewCode( KEY_TAB, bShift, false, false, false );
::KeyEvent aNewEvent( pKeyEvent->GetCharCode(), aNewCode );
Control::KeyInput( aNewEvent );
return true; // handled
diff --git a/forms/source/solar/control/navtoolbar.cxx b/forms/source/solar/control/navtoolbar.cxx
index 10685aee247f..a8127bde1f08 100644
--- a/forms/source/solar/control/navtoolbar.cxx
+++ b/forms/source/solar/control/navtoolbar.cxx
@@ -318,7 +318,7 @@ namespace frm
{
pItemWindow = new FixedText( m_pToolbar, WB_VCENTER );
pItemWindow->SetBackground();
- pItemWindow->SetPaintTransparent(sal_True);
+ pItemWindow->SetPaintTransparent(true);
}
m_aChildWins.push_back( pItemWindow );
@@ -663,7 +663,7 @@ namespace frm
SetFirst( 1 );
SetSpinSize( 1 );
SetDecimalDigits( 0 );
- SetStrictFormat( sal_True );
+ SetStrictFormat( true );
SetBorderStyle( WINDOW_BORDER_MONO );
}
diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx
index a81d20a47dbd..1fb3bb14918b 100644
--- a/formula/source/ui/dlg/formula.cxx
+++ b/formula/source/ui/dlg/formula.cxx
@@ -337,7 +337,7 @@ FormulaDlg_Impl::FormulaDlg_Impl(Dialog* pParent
aMEFormula.SetSelChangedHdl( LINK( this, FormulaDlg_Impl, FormulaCursorHdl ) );
aFntLight = aFtFormula.GetFont();
- aFntLight.SetTransparent( sal_True );
+ aFntLight.SetTransparent( true );
aFntBold = aFntLight;
aFntBold.SetWeight( WEIGHT_BOLD );
diff --git a/formula/source/ui/dlg/funcpage.cxx b/formula/source/ui/dlg/funcpage.cxx
index eef85961bee5..6b4c49d97066 100644
--- a/formula/source/ui/dlg/funcpage.cxx
+++ b/formula/source/ui/dlg/funcpage.cxx
@@ -121,7 +121,7 @@ void FuncPage::UpdateFunctionList()
(void)nCategory;
aLbFunction.Clear();
- aLbFunction.SetUpdateMode( sal_False );
+ aLbFunction.SetUpdateMode( false );
//------------------------------------------------------
if ( nSelPos > 0 )
@@ -156,7 +156,7 @@ void FuncPage::UpdateFunctionList()
}
//------------------------------------------------------
- aLbFunction.SetUpdateMode( sal_True );
+ aLbFunction.SetUpdateMode( true );
aLbFunction.SelectEntryPos(0);
if(IsVisible()) SelHdl(&aLbFunction);
diff --git a/formula/source/ui/dlg/funcutl.cxx b/formula/source/ui/dlg/funcutl.cxx
index 895fa67c767c..64813cc64aaf 100644
--- a/formula/source/ui/dlg/funcutl.cxx
+++ b/formula/source/ui/dlg/funcutl.cxx
@@ -36,7 +36,7 @@ namespace formula
ValWnd::ValWnd( Window* pParent, const ResId& rId ) : Window( pParent, rId )
{
Font aFnt( GetFont() );
- aFnt.SetTransparent( sal_True );
+ aFnt.SetTransparent( true );
aFnt.SetWeight( WEIGHT_LIGHT );
if ( pParent->IsBackground() )
{
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx
index 9792a865b0d2..f50209a6c9f6 100644
--- a/fpicker/source/office/iodlg.cxx
+++ b/fpicker/source/office/iodlg.cxx
@@ -2899,7 +2899,7 @@ void SvtFileDialog::AddControls_Impl( )
{
_pImp->_pCbAutoExtension = new CheckBox( this, SvtResId( CB_AUTO_EXTENSION ) );
_pImp->_pCbAutoExtension->SetText( SvtResId( STR_SVT_FILEPICKER_AUTO_EXTENSION ) );
- _pImp->_pCbAutoExtension->Check( sal_True );
+ _pImp->_pCbAutoExtension->Check( true );
AddControl( _pImp->_pCbAutoExtension );
ReleaseOwnership( _pImp->_pCbAutoExtension );
_pImp->_pCbAutoExtension->SetClickHdl( LINK( this, SvtFileDialog, AutoExtensionHdl_Impl ) );
diff --git a/fpicker/source/office/iodlgimp.hxx b/fpicker/source/office/iodlgimp.hxx
index b024581c29e5..0193db3895c3 100644
--- a/fpicker/source/office/iodlgimp.hxx
+++ b/fpicker/source/office/iodlgimp.hxx
@@ -197,7 +197,7 @@ public:
inline const ::com::sun::star::uno::Sequence< OUString >& GetBlackList() const { return _aBlackList; }
void SetStandardDir( const OUString& _rDir );
inline const OUString& GetStandardDir() const { return _aStdDir; }
- inline void DisableFilterBoxAutoWidth() { _pLbFilter->EnableDDAutoWidth( sal_False ); }
+ inline void DisableFilterBoxAutoWidth() { _pLbFilter->EnableDDAutoWidth( false ); }
// ------------------------------------------
// access to the filter listbox only as Control* - we want to maintain the entries/userdata ourself
diff --git a/framework/source/classes/menumanager.cxx b/framework/source/classes/menumanager.cxx
index 7f889605d9b3..6bacf4ed174f 100644
--- a/framework/source/classes/menumanager.cxx
+++ b/framework/source/classes/menumanager.cxx
@@ -813,7 +813,7 @@ IMPL_LINK( MenuManager, Activate, Menu *, pMenu )
xMenuItemDispatch->addStatusListener( (static_cast< XStatusListener* >(this)), aTargetURL );
}
else
- pMenu->EnableItem( pMenuItemHandler->nItemId, sal_False );
+ pMenu->EnableItem( pMenuItemHandler->nItemId, false );
}
}
}
diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx
index 2b570dd0410b..81fd7dd51548 100644
--- a/framework/source/layoutmanager/layoutmanager.cxx
+++ b/framework/source/layoutmanager/layoutmanager.cxx
@@ -1868,7 +1868,7 @@ throw (RuntimeException)
MenuBar* pMenuBar = pSysWindow->GetMenuBar();
if ( pMenuBar )
{
- pMenuBar->SetDisplayable( sal_False );
+ pMenuBar->SetDisplayable( false );
bNotify = true;
}
}
@@ -2592,7 +2592,7 @@ sal_Bool LayoutManager::implts_resetMenuBar()
if ( pSysWindow && bMenuVisible && pSetMenuBar )
{
pSysWindow->SetMenuBar( pSetMenuBar );
- pSetMenuBar->SetDisplayable( sal_True );
+ pSetMenuBar->SetDisplayable( true );
return sal_True;
}
diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.cxx b/framework/source/layoutmanager/toolbarlayoutmanager.cxx
index 3a82a28621d3..cb3c844f28c3 100644
--- a/framework/source/layoutmanager/toolbarlayoutmanager.cxx
+++ b/framework/source/layoutmanager/toolbarlayoutmanager.cxx
@@ -962,7 +962,7 @@ OUString ToolbarLayoutManager::implts_generateGenericAddonToolbarTitle( sal_Int3
OUString aAddonGenericTitle(FWK_RESSTR(STR_TOOLBAR_TITLE_ADDON));
const vcl::I18nHelper& rI18nHelper = Application::GetSettings().GetUILocaleI18nHelper();
- OUString aNumStr = rI18nHelper.GetNum( nNumber, 0, sal_False, sal_False );
+ OUString aNumStr = rI18nHelper.GetNum( nNumber, 0, false, false );
aAddonGenericTitle = aAddonGenericTitle.replaceFirst( "%num%", aNumStr );
return OUString( aAddonGenericTitle );
diff --git a/framework/source/uielement/fontsizemenucontroller.cxx b/framework/source/uielement/fontsizemenucontroller.cxx
index e90bbaf8ce3c..22752cd2686d 100644
--- a/framework/source/uielement/fontsizemenucontroller.cxx
+++ b/framework/source/uielement/fontsizemenucontroller.cxx
@@ -225,7 +225,7 @@ void FontSizeMenuController::fillPopupMenu( Reference< css::awt::XPopupMenu >& r
{
m_pHeightArray[nPos] = *pTempAry;
nPos++; // Id is nPos+1
- pVCLPopupMenu->InsertItem( nPos, rI18nHelper.GetNum( *pTempAry, 1, sal_True, sal_False ), MIB_RADIOCHECK | MIB_AUTOCHECK );
+ pVCLPopupMenu->InsertItem( nPos, rI18nHelper.GetNum( *pTempAry, 1, true, false ), MIB_RADIOCHECK | MIB_AUTOCHECK );
fPoint = float( m_pHeightArray[nPos-1] ) / 10;
// Create dispatchable .uno command and set it
diff --git a/framework/source/uielement/headermenucontroller.cxx b/framework/source/uielement/headermenucontroller.cxx
index cb37064d5612..1854b8761d90 100644
--- a/framework/source/uielement/headermenucontroller.cxx
+++ b/framework/source/uielement/headermenucontroller.cxx
@@ -147,7 +147,7 @@ void HeaderMenuController::fillPopupMenu( const Reference< ::com::sun::star::fra
pVCLPopupMenu->SetItemCommand( nId, aCommand );
if ( bHeaderIsOn )
- pVCLPopupMenu->CheckItem( nId, sal_True );
+ pVCLPopupMenu->CheckItem( nId, true );
++nId;
// Check if all entries have the same state
diff --git a/framework/source/uielement/langselectionmenucontroller.cxx b/framework/source/uielement/langselectionmenucontroller.cxx
index 7a687814e36d..5749f0013257 100644
--- a/framework/source/uielement/langselectionmenucontroller.cxx
+++ b/framework/source/uielement/langselectionmenucontroller.cxx
@@ -253,7 +253,7 @@ void LanguageSelectionMenuController::fillPopupMenu( Reference< css::awt::XPopup
if (rStr == m_aCurLang && eMode == MODE_SetLanguageSelectionMenu )
{
//make a sign for the current language
- pPopupMenu->CheckItem( nItemId, sal_True );
+ pPopupMenu->CheckItem( nItemId, true );
}
++nItemId;
}
diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx
index 61b1aaa6fd28..ec6e8469257e 100644
--- a/framework/source/uielement/menubarmanager.cxx
+++ b/framework/source/uielement/menubarmanager.cxx
@@ -486,7 +486,7 @@ throw ( RuntimeException )
if ( Event.State >>= bCheckmark )
{
// Checkmark or RadioButton
- m_pVCLMenu->ShowItem( pMenuItemHandler->nItemId, sal_True );
+ m_pVCLMenu->ShowItem( pMenuItemHandler->nItemId, true );
m_pVCLMenu->CheckItem( pMenuItemHandler->nItemId, bCheckmark );
MenuItemBits nBits = m_pVCLMenu->GetItemBits( pMenuItemHandler->nItemId );
@@ -517,7 +517,7 @@ throw ( RuntimeException )
aItemText = aTmp;
}
- m_pVCLMenu->ShowItem( pMenuItemHandler->nItemId, sal_True );
+ m_pVCLMenu->ShowItem( pMenuItemHandler->nItemId, true );
m_pVCLMenu->SetItemText( pMenuItemHandler->nItemId, aItemText );
}
else if ( Event.State >>= aVisibilityStatus )
@@ -526,7 +526,7 @@ throw ( RuntimeException )
m_pVCLMenu->ShowItem( pMenuItemHandler->nItemId, aVisibilityStatus.bVisible );
}
else
- m_pVCLMenu->ShowItem( pMenuItemHandler->nItemId, sal_True );
+ m_pVCLMenu->ShowItem( pMenuItemHandler->nItemId, true );
}
if ( Event.Requery )
@@ -949,7 +949,7 @@ IMPL_LINK( MenuBarManager, Activate, Menu *, pMenu )
}
}
else if ( !bPopupMenu )
- pMenu->EnableItem( pMenuItemHandler->nItemId, sal_False );
+ pMenu->EnableItem( pMenuItemHandler->nItemId, false );
}
}
else if ( pMenuItemHandler->xPopupMenuController.is() )
@@ -1727,7 +1727,7 @@ void MenuBarManager::FillMenu(
pMenu->HideItem( nId );
if ( !bEnabled)
- pMenu->EnableItem( nId, sal_False );
+ pMenu->EnableItem( nId, false );
if ( xIndexContainer.is() )
{
diff --git a/framework/source/uielement/popuptoolbarcontroller.cxx b/framework/source/uielement/popuptoolbarcontroller.cxx
index 36c38e209ba8..f16bf43fc9e0 100644
--- a/framework/source/uielement/popuptoolbarcontroller.cxx
+++ b/framework/source/uielement/popuptoolbarcontroller.cxx
@@ -182,12 +182,12 @@ PopupMenuToolbarController::createPopupWindow()
if ( !pToolBox )
return xRet;
- pToolBox->SetItemDown( m_nToolBoxId, sal_True );
+ pToolBox->SetItemDown( m_nToolBoxId, true );
sal_uInt16 nId = m_xPopupMenu->execute(
css::uno::Reference< css::awt::XWindowPeer >( getParent(), css::uno::UNO_QUERY ),
VCLUnoHelper::ConvertToAWTRect( pToolBox->GetItemRect( m_nToolBoxId ) ),
css::awt::PopupMenuDirection::EXECUTE_DEFAULT );
- pToolBox->SetItemDown( m_nToolBoxId, sal_False );
+ pToolBox->SetItemDown( m_nToolBoxId, false );
if ( nId )
functionExecuted( m_xPopupMenu->getCommand( nId ) );
diff --git a/framework/source/uielement/progressbarwrapper.cxx b/framework/source/uielement/progressbarwrapper.cxx
index 98c8df144e03..9669cf7364ea 100644
--- a/framework/source/uielement/progressbarwrapper.cxx
+++ b/framework/source/uielement/progressbarwrapper.cxx
@@ -113,11 +113,11 @@ throw (uno::RuntimeException)
pStatusBar->StartProgressMode( Text );
else
{
- pStatusBar->SetUpdateMode( sal_False );
+ pStatusBar->SetUpdateMode( false );
pStatusBar->EndProgressMode();
pStatusBar->StartProgressMode( Text );
pStatusBar->SetProgressValue( sal_uInt16( nValue ));
- pStatusBar->SetUpdateMode( sal_True );
+ pStatusBar->SetUpdateMode( true );
}
pStatusBar->Show( true, SHOW_NOFOCUSCHANGE | SHOW_NOACTIVATE );
}
@@ -179,11 +179,11 @@ throw (uno::RuntimeException)
StatusBar* pStatusBar = (StatusBar *)pWindow;
if( pStatusBar->IsProgressMode() )
{
- pStatusBar->SetUpdateMode( sal_False );
+ pStatusBar->SetUpdateMode( false );
pStatusBar->EndProgressMode();
pStatusBar->StartProgressMode( Text );
pStatusBar->SetProgressValue( sal_uInt16( nValue ));
- pStatusBar->SetUpdateMode( sal_True );
+ pStatusBar->SetUpdateMode( true );
}
else
pStatusBar->SetText( Text );
diff --git a/framework/source/uielement/statusbaritem.cxx b/framework/source/uielement/statusbaritem.cxx
index 0bfe4c58d5e4..4a15b3a33495 100644
--- a/framework/source/uielement/statusbaritem.cxx
+++ b/framework/source/uielement/statusbaritem.cxx
@@ -236,7 +236,7 @@ throw (RuntimeException)
if ( !m_pStatusBar )
return;
- if ( bVisible != m_pStatusBar->IsItemVisible( m_nId ) )
+ if ( bool(bVisible) != m_pStatusBar->IsItemVisible( m_nId ) )
{
if ( bVisible )
m_pStatusBar->ShowItem( m_nId );
diff --git a/framework/source/uielement/togglebuttontoolbarcontroller.cxx b/framework/source/uielement/togglebuttontoolbarcontroller.cxx
index 58bddcecfb67..03068017932d 100644
--- a/framework/source/uielement/togglebuttontoolbarcontroller.cxx
+++ b/framework/source/uielement/togglebuttontoolbarcontroller.cxx
@@ -119,15 +119,15 @@ throw (::com::sun::star::uno::RuntimeException)
OUString aLabel( m_aDropdownMenuList[i] );
aPopup.InsertItem( sal_uInt16( i+1 ), aLabel );
if ( aLabel == m_aCurrentSelection )
- aPopup.CheckItem( sal_uInt16( i+1 ), sal_True );
+ aPopup.CheckItem( sal_uInt16( i+1 ), true );
else
- aPopup.CheckItem( sal_uInt16( i+1 ), sal_False );
+ aPopup.CheckItem( sal_uInt16( i+1 ), false );
}
- m_pToolbar->SetItemDown( m_nID, sal_True );
+ m_pToolbar->SetItemDown( m_nID, true );
aPopup.SetSelectHdl( LINK( this, ToggleButtonToolbarController, MenuSelectHdl ));
aPopup.Execute( m_pToolbar, m_pToolbar->GetItemRect( m_nID ));
- m_pToolbar->SetItemDown( m_nID, sal_False );
+ m_pToolbar->SetItemDown( m_nID, false );
}
return xWindow;
diff --git a/framework/source/uielement/toolbarmanager.cxx b/framework/source/uielement/toolbarmanager.cxx
index 810fdf81b0b3..cecbb66ab78e 100644
--- a/framework/source/uielement/toolbarmanager.cxx
+++ b/framework/source/uielement/toolbarmanager.cxx
@@ -403,7 +403,7 @@ void ToolBarManager::UpdateImageOrientation()
{
if ( pIter->second.bRotated )
{
- m_pToolBar->SetItemImageMirrorMode( nId, sal_False );
+ m_pToolBar->SetItemImageMirrorMode( nId, false );
m_pToolBar->SetItemImageAngle( nId, m_lImageRotation );
}
if ( pIter->second.bMirrored )
@@ -1708,25 +1708,25 @@ bool ToolBarManager::MenuItemAllowed( sal_uInt16 ) const
if ( !bIsFloating )
{
- aPopupMenu.EnableItem( MENUITEM_TOOLBAR_DOCKTOOLBAR, sal_False );
- aPopupMenu.EnableItem( MENUITEM_TOOLBAR_DOCKALLTOOLBAR, sal_False );
+ aPopupMenu.EnableItem( MENUITEM_TOOLBAR_DOCKTOOLBAR, false );
+ aPopupMenu.EnableItem( MENUITEM_TOOLBAR_DOCKALLTOOLBAR, false );
Reference< XDockableWindow > xDockable( VCLUnoHelper::GetInterface( m_pToolBar ), UNO_QUERY );
if( xDockable.is() )
aPopupMenu.CheckItem( MENUITEM_TOOLBAR_LOCKTOOLBARPOSITION, xDockable->isLocked() );
}
else
- aPopupMenu.EnableItem( MENUITEM_TOOLBAR_LOCKTOOLBARPOSITION, sal_False );
+ aPopupMenu.EnableItem( MENUITEM_TOOLBAR_LOCKTOOLBARPOSITION, false );
if ( SvtMiscOptions().DisableUICustomization() )
{
- aPopupMenu.EnableItem( MENUITEM_TOOLBAR_VISIBLEBUTTON, sal_False );
- aPopupMenu.EnableItem( MENUITEM_TOOLBAR_CUSTOMIZETOOLBAR, sal_False );
- aPopupMenu.EnableItem( MENUITEM_TOOLBAR_LOCKTOOLBARPOSITION, sal_False );
+ aPopupMenu.EnableItem( MENUITEM_TOOLBAR_VISIBLEBUTTON, false );
+ aPopupMenu.EnableItem( MENUITEM_TOOLBAR_CUSTOMIZETOOLBAR, false );
+ aPopupMenu.EnableItem( MENUITEM_TOOLBAR_LOCKTOOLBARPOSITION, false );
}
// Disable menu item CLOSE if the toolbar has no closer
if( !(pToolBar->GetFloatStyle() & WB_CLOSEABLE) )
- aPopupMenu.EnableItem(MENUITEM_TOOLBAR_CLOSE, sal_False);
+ aPopupMenu.EnableItem(MENUITEM_TOOLBAR_CLOSE, false);
for ( nPos = 0; nPos < m_pToolBar->GetItemCount(); ++nPos )
{
diff --git a/include/sfx2/basedlgs.hxx b/include/sfx2/basedlgs.hxx
index c90effc9cb40..e486242670b1 100644
--- a/include/sfx2/basedlgs.hxx
+++ b/include/sfx2/basedlgs.hxx
@@ -105,7 +105,7 @@ protected:
SfxModelessDialog( SfxBindings*, SfxChildWindow*,
Window*, const OString& rID, const OUString& rUIXMLDescription );
~SfxModelessDialog();
- virtual sal_Bool Close();
+ virtual bool Close();
virtual void Resize();
virtual void Move();
virtual void StateChanged( StateChangedType nStateChange );
@@ -144,7 +144,7 @@ protected:
~SfxFloatingWindow();
virtual void StateChanged( StateChangedType nStateChange );
- virtual sal_Bool Close();
+ virtual bool Close();
virtual void Resize();
virtual void Move();
virtual bool Notify( NotifyEvent& rNEvt );
diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx
index f13514d21dc3..3d572b341884 100644
--- a/include/sfx2/dinfdlg.hxx
+++ b/include/sfx2/dinfdlg.hxx
@@ -372,7 +372,7 @@ public:
inline void CheckYes() { m_aYesButton.Check(); }
inline void CheckNo() { m_aNoButton.Check(); }
- inline bool IsYesChecked() const { return m_aYesButton.IsChecked() != sal_False; }
+ inline bool IsYesChecked() const { return m_aYesButton.IsChecked(); }
};
// struct CustomPropertyLine ---------------------------------------------
diff --git a/include/sfx2/dockwin.hxx b/include/sfx2/dockwin.hxx
index 333bdc455891..b8dd5826cbb8 100644
--- a/include/sfx2/dockwin.hxx
+++ b/include/sfx2/dockwin.hxx
@@ -58,14 +58,14 @@ protected:
CheckAlignment(SfxChildAlignment,SfxChildAlignment);
virtual void Resize();
- virtual sal_Bool PrepareToggleFloatingMode();
+ virtual bool PrepareToggleFloatingMode();
virtual void ToggleFloatingMode();
virtual void StartDocking();
- virtual sal_Bool Docking( const Point& rPos, Rectangle& rRect );
+ virtual bool Docking( const Point& rPos, Rectangle& rRect );
virtual void EndDocking( const Rectangle& rRect, sal_Bool bFloatMode );
virtual void Resizing( Size& rSize );
virtual void Paint( const Rectangle& rRect );
- virtual sal_Bool Close();
+ virtual bool Close();
virtual void Move();
SAL_DLLPRIVATE SfxChildWindow* GetChildWindow_Impl() { return pMgr; }
diff --git a/include/sfx2/navigat.hxx b/include/sfx2/navigat.hxx
index 8ae93a8ef088..dec3c734ac0a 100644
--- a/include/sfx2/navigat.hxx
+++ b/include/sfx2/navigat.hxx
@@ -47,7 +47,7 @@ public:
virtual void Resize();
virtual void Resizing( Size& rSize );
- virtual sal_Bool Close();
+ virtual bool Close();
};
#endif
diff --git a/include/sfx2/sfxhelp.hxx b/include/sfx2/sfxhelp.hxx
index 78090270af91..cc7ad04c2845 100644
--- a/include/sfx2/sfxhelp.hxx
+++ b/include/sfx2/sfxhelp.hxx
@@ -36,8 +36,8 @@ class SFX2_DLLPUBLIC SfxHelp : public Help
private:
SAL_DLLPRIVATE sal_Bool Start_Impl( const OUString& rURL, const Window* pWindow, const OUString& rKeyword );
- SAL_DLLPRIVATE virtual sal_Bool SearchKeyword( const OUString& rKeyWord );
- SAL_DLLPRIVATE virtual sal_Bool Start( const OUString& rURL, const Window* pWindow );
+ SAL_DLLPRIVATE virtual bool SearchKeyword( const OUString& rKeyWord );
+ SAL_DLLPRIVATE virtual bool Start( const OUString& rURL, const Window* pWindow );
SAL_DLLPRIVATE OUString GetHelpModuleName_Impl();
SAL_DLLPRIVATE OUString CreateHelpURL_Impl( const OUString& aCommandURL, const OUString& rModuleName );
diff --git a/include/sfx2/tbxctrl.hxx b/include/sfx2/tbxctrl.hxx
index c859d1a2f7c0..ac7d66a51768 100644
--- a/include/sfx2/tbxctrl.hxx
+++ b/include/sfx2/tbxctrl.hxx
@@ -120,7 +120,7 @@ private:
protected:
virtual void PopupModeEnd();
- virtual sal_Bool Close();
+ virtual bool Close();
virtual void DeleteFloatingWindow();
sal_uInt16 GetId() const { return m_nId; }
diff --git a/include/svtools/calendar.hxx b/include/svtools/calendar.hxx
index 7290d36a53e0..9b60912bb38b 100644
--- a/include/svtools/calendar.hxx
+++ b/include/svtools/calendar.hxx
@@ -420,7 +420,7 @@ public:
virtual void Select();
- virtual sal_Bool ShowDropDown( sal_Bool bShow );
+ virtual bool ShowDropDown( sal_Bool bShow );
virtual Calendar* CreateCalendar( Window* pParent );
Calendar* GetCalendar();
diff --git a/include/svtools/helpopt.hxx b/include/svtools/helpopt.hxx
index 35244183228a..75ea3b89faa2 100644
--- a/include/svtools/helpopt.hxx
+++ b/include/svtools/helpopt.hxx
@@ -36,9 +36,9 @@ public:
virtual ~SvtHelpOptions();
void SetExtendedHelp( sal_Bool b );
- sal_Bool IsExtendedHelp() const;
+ bool IsExtendedHelp() const;
void SetHelpTips( sal_Bool b );
- sal_Bool IsHelpTips() const;
+ bool IsHelpTips() const;
const OUString& GetHelpStyleSheet()const;
void SetHelpStyleSheet(const OUString& rStyleSheet);
diff --git a/include/svx/bmpmask.hxx b/include/svx/bmpmask.hxx
index c7613ae3c5b4..9e7bad264ec2 100644
--- a/include/svx/bmpmask.hxx
+++ b/include/svx/bmpmask.hxx
@@ -120,7 +120,7 @@ class SVX_DLLPUBLIC SvxBmpMask : public SfxDockingWindow
Image maImgPipette;
- virtual sal_Bool Close();
+ virtual bool Close();
#ifdef BMPMASK_PRIVATE
diff --git a/include/svx/colrctrl.hxx b/include/svx/colrctrl.hxx
index cf5b596e5099..631a1c9fd24a 100644
--- a/include/svx/colrctrl.hxx
+++ b/include/svx/colrctrl.hxx
@@ -95,7 +95,7 @@ private:
virtual void GetFocus (void);
protected:
- virtual sal_Bool Close();
+ virtual bool Close();
virtual void Resize();
virtual void Resizing( Size& rSize );
diff --git a/include/svx/galbrws.hxx b/include/svx/galbrws.hxx
index 1a1c574df883..8ee5db519559 100644
--- a/include/svx/galbrws.hxx
+++ b/include/svx/galbrws.hxx
@@ -58,7 +58,7 @@ private:
/// bitfield
void InitSettings();
- virtual sal_Bool Close();
+ virtual bool Close();
virtual void Resize();
virtual void GetFocus();
diff --git a/include/svx/imapdlg.hxx b/include/svx/imapdlg.hxx
index 0515a22f4c49..d6877356cc36 100644
--- a/include/svx/imapdlg.hxx
+++ b/include/svx/imapdlg.hxx
@@ -99,7 +99,7 @@ class SVX_DLLPUBLIC SvxIMapDlg : public SfxModelessDialog // SfxFloatingWindow
SvxIMapDlgItem aIMapItem;
virtual void Resize();
- virtual sal_Bool Close();
+ virtual bool Close();
DECL_LINK( TbxClickHdl, ToolBox* );
DECL_LINK( InfoHdl, IMapWindow* );
diff --git a/include/svx/linectrl.hxx b/include/svx/linectrl.hxx
index d15ce37a8116..2e34aadec167 100644
--- a/include/svx/linectrl.hxx
+++ b/include/svx/linectrl.hxx
@@ -118,7 +118,7 @@ private:
protected:
virtual void Resizing( Size& rSize );
virtual void Resize();
- virtual sal_Bool Close();
+ virtual bool Close();
virtual void PopupModeEnd();
/** This function is called when the window gets the focus. It grabs
diff --git a/include/svx/rubydialog.hxx b/include/svx/rubydialog.hxx
index 149f73aefa52..b8010ac79155 100644
--- a/include/svx/rubydialog.hxx
+++ b/include/svx/rubydialog.hxx
@@ -143,7 +143,7 @@ class SvxRubyDialog : public SfxModelessDialog
void AssertOneEntry();
void Update();
- virtual sal_Bool Close();
+ virtual bool Close();
long GetLastPos() const {return nLastPos;}
void SetLastPos(long nSet) {nLastPos = nSet;}
diff --git a/include/svx/srchdlg.hxx b/include/svx/srchdlg.hxx
index 07cf33028b6c..319727e57b66 100644
--- a/include/svx/srchdlg.hxx
+++ b/include/svx/srchdlg.hxx
@@ -122,7 +122,7 @@ public:
SvxSearchDialog( Window* pParent, SfxChildWindow* pChildWin, SfxBindings& rBind );
~SvxSearchDialog();
- virtual sal_Bool Close();
+ virtual bool Close();
// Window
virtual void Activate();
diff --git a/include/svx/tbxcolorupdate.hxx b/include/svx/tbxcolorupdate.hxx
index 8f73740a688a..4c6b87815e9e 100644
--- a/include/svx/tbxcolorupdate.hxx
+++ b/include/svx/tbxcolorupdate.hxx
@@ -57,7 +57,7 @@ namespace svx
Color maCurColor;
Rectangle maUpdRect;
Size maBmpSize;
- sal_Bool mbWasHiContrastMode;
+ bool mbWasHiContrastMode;
};
//........................................................................
diff --git a/include/toolkit/awt/vclxwindows.hxx b/include/toolkit/awt/vclxwindows.hxx
index 641383d1c50a..97e27861ad39 100644
--- a/include/toolkit/awt/vclxwindows.hxx
+++ b/include/toolkit/awt/vclxwindows.hxx
@@ -287,7 +287,7 @@ private:
OUString maActionCommand;
protected:
- void ImplClickedOrToggled( sal_Bool bToggled );
+ void ImplClickedOrToggled( bool bToggled );
void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > CreateAccessibleContext();
diff --git a/include/vcl/FilterConfigItem.hxx b/include/vcl/FilterConfigItem.hxx
index 091b6b2f7be6..13d2beff9cb9 100644
--- a/include/vcl/FilterConfigItem.hxx
+++ b/include/vcl/FilterConfigItem.hxx
@@ -38,12 +38,12 @@ class VCL_DLLPUBLIC FilterConfigItem
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > xPropSet;
::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > aFilterData;
- sal_Bool bModified;
+ bool bModified;
- sal_Bool ImplGetPropertyValue( ::com::sun::star::uno::Any& rAny,
+ bool ImplGetPropertyValue( ::com::sun::star::uno::Any& rAny,
const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& rXPropSet,
const OUString& rPropName,
- sal_Bool bTestPropertyAvailability );
+ bool bTestPropertyAvailability );
void ImpInitTree( const OUString& rTree );
@@ -51,7 +51,7 @@ class VCL_DLLPUBLIC FilterConfigItem
static ::com::sun::star::beans::PropertyValue* GetPropertyValue(
::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& rPropSeq,
const OUString& rName );
- static sal_Bool WritePropertyValue(
+ static bool WritePropertyValue(
::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& rPropSeq,
const ::com::sun::star::beans::PropertyValue& rPropValue );
@@ -66,14 +66,14 @@ public :
// 1. FilterData PropertySequence
// 2. configuration
// 3. given default
- sal_Bool ReadBool( const OUString& rKey, sal_Bool bDefault );
+ bool ReadBool( const OUString& rKey, bool bDefault );
sal_Int32 ReadInt32( const OUString& rKey, sal_Int32 nDefault );
OUString
ReadString( const OUString& rKey, const OUString& rDefault );
// try to store to configuration
// and always stores into the FilterData sequence
- void WriteBool( const OUString& rKey, sal_Bool bValue );
+ void WriteBool( const OUString& rKey, bool bValue );
void WriteInt32( const OUString& rKey, sal_Int32 nValue );
::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > GetFilterData() const;
diff --git a/include/vcl/accel.hxx b/include/vcl/accel.hxx
index 44f5041b3756..b61506ebcf8d 100644
--- a/include/vcl/accel.hxx
+++ b/include/vcl/accel.hxx
@@ -44,14 +44,14 @@ private:
KeyCode maCurKeyCode;
sal_uInt16 mnCurId;
sal_uInt16 mnCurRepeat;
- sal_Bool mbIsCancel;
+ bool mbIsCancel;
sal_Bool* mpDel;
SAL_DLLPRIVATE void ImplInit();
SAL_DLLPRIVATE void ImplCopyData( ImplAccelData& rAccelData );
SAL_DLLPRIVATE void ImplDeleteData();
SAL_DLLPRIVATE void ImplInsertAccel( sal_uInt16 nItemId, const KeyCode& rKeyCode,
- sal_Bool bEnable, Accelerator* pAutoAccel );
+ bool bEnable, Accelerator* pAutoAccel );
SAL_DLLPRIVATE ImplAccelEntry* ImplGetAccelData( const KeyCode& rKeyCode ) const;
@@ -74,7 +74,7 @@ public:
sal_uInt16 GetCurItemId() const { return mnCurId; }
const KeyCode& GetCurKeyCode() const { return maCurKeyCode; }
sal_uInt16 GetCurRepeat() const { return mnCurRepeat; }
- sal_Bool IsCancel() const { return mbIsCancel; }
+ bool IsCancel() const { return mbIsCancel; }
sal_uInt16 GetItemCount() const;
sal_uInt16 GetItemId( sal_uInt16 nPos ) const;
diff --git a/include/vcl/alpha.hxx b/include/vcl/alpha.hxx
index acbb70b7d911..282074f8d73e 100644
--- a/include/vcl/alpha.hxx
+++ b/include/vcl/alpha.hxx
@@ -54,17 +54,17 @@ public:
return (AlphaMask&) Bitmap::operator=( rAlphaMask );
}
- sal_Bool operator!() const
+ bool operator!() const
{
return Bitmap::operator!();
}
- sal_Bool operator==( const AlphaMask& rAlphaMask ) const
+ bool operator==( const AlphaMask& rAlphaMask ) const
{
return Bitmap::operator==( rAlphaMask );
}
- sal_Bool operator!=( const AlphaMask& rAlphaMask ) const
+ bool operator!=( const AlphaMask& rAlphaMask ) const
{
return Bitmap::operator!=( rAlphaMask );
}
@@ -105,12 +105,12 @@ public:
Bitmap GetBitmap() const;
- sal_Bool CopyPixel( const Rectangle& rRectDst, const Rectangle& rRectSrc,
+ bool CopyPixel( const Rectangle& rRectDst, const Rectangle& rRectSrc,
const AlphaMask* pAlphaSrc = NULL);
- sal_Bool Erase( sal_uInt8 cTransparency );
- sal_Bool Replace( const Bitmap& rMask, sal_uInt8 rReplaceTransparency );
- sal_Bool Replace( sal_uInt8 cSearchTransparency, sal_uInt8 cReplaceTransparency,
+ bool Erase( sal_uInt8 cTransparency );
+ bool Replace( const Bitmap& rMask, sal_uInt8 rReplaceTransparency );
+ bool Replace( sal_uInt8 cSearchTransparency, sal_uInt8 cReplaceTransparency,
sal_uLong nTol = 0UL );
BitmapReadAccess* AcquireReadAccess()
diff --git a/include/vcl/animate.hxx b/include/vcl/animate.hxx
index 7d5c7310d7b0..7c3b8e43e438 100644
--- a/include/vcl/animate.hxx
+++ b/include/vcl/animate.hxx
@@ -50,7 +50,7 @@ struct VCL_DLLPUBLIC AnimationBitmap
Size aSizePix;
long nWait;
Disposal eDisposal;
- sal_Bool bUserInput;
+ bool bUserInput;
AnimationBitmap() {}
AnimationBitmap(
@@ -65,7 +65,7 @@ struct VCL_DLLPUBLIC AnimationBitmap
aSizePix ( rSizePix ),
nWait ( _nWait ),
eDisposal ( _eDisposal ),
- bUserInput ( sal_False )
+ bUserInput ( false )
{}
bool operator==( const AnimationBitmap& rAnimBmp ) const
@@ -81,7 +81,7 @@ struct VCL_DLLPUBLIC AnimationBitmap
bool operator!=( const AnimationBitmap& rAnimBmp ) const
{ return !( *this == rAnimBmp ); }
- sal_Bool IsEqual( const AnimationBitmap& rAnimBmp ) const
+ bool IsEqual( const AnimationBitmap& rAnimBmp ) const
{
return( rAnimBmp.aPosPix == aPosPix &&
rAnimBmp.aSizePix == aSizePix &&
@@ -106,14 +106,14 @@ struct AInfo
OutputDevice* pOutDev;
void* pViewData;
long nExtraData;
- sal_Bool bWithSize;
- sal_Bool bPause;
+ bool bWithSize;
+ bool bPause;
AInfo() : pOutDev( NULL ),
pViewData( NULL ),
nExtraData( 0L ),
- bWithSize( sal_False ),
- bPause( sal_False ) {}
+ bWithSize( false ),
+ bPause( false ) {}
};
class ImplAnimView;
@@ -136,11 +136,11 @@ class VCL_DLLPUBLIC Animation
size_t mnPos;
Disposal meLastDisposal;
CycleMode meCycleMode;
- sal_Bool mbFirst;
- sal_Bool mbIsInAnimation;
- sal_Bool mbWithSize;
- sal_Bool mbLoopTerminated;
- sal_Bool mbIsWaiting;
+ bool mbFirst;
+ bool mbIsInAnimation;
+ bool mbWithSize;
+ bool mbLoopTerminated;
+ bool mbIsWaiting;
SAL_DLLPRIVATE void ImplRestartTimer( sal_uLong nTimeout );
@@ -165,7 +165,7 @@ public:
void Clear();
- sal_Bool Start(
+ bool Start(
OutputDevice* pOutDev,
const Point& rDestPt,
const Size& rDestSz,
@@ -177,9 +177,9 @@ public:
void Draw( OutputDevice* pOutDev, const Point& rDestPt ) const;
void Draw( OutputDevice* pOutDev, const Point& rDestPt, const Size& rDestSz ) const;
- sal_Bool IsInAnimation() const { return mbIsInAnimation; }
- sal_Bool IsTransparent() const;
- sal_Bool IsTerminated() const { return mbLoopTerminated; }
+ bool IsInAnimation() const { return mbIsInAnimation; }
+ bool IsTransparent() const;
+ bool IsTerminated() const { return mbLoopTerminated; }
const Size& GetDisplaySizePixel() const { return maGlobalSize; }
void SetDisplaySizePixel( const Size& rSize ) { maGlobalSize = rSize; }
@@ -198,7 +198,7 @@ public:
const Link& GetNotifyHdl() const { return maNotifyLink; }
size_t Count() const { return maList.size(); }
- sal_Bool Insert( const AnimationBitmap& rAnimationBitmap );
+ bool Insert( const AnimationBitmap& rAnimationBitmap );
const AnimationBitmap& Get( sal_uInt16 nAnimation ) const;
void Replace( const AnimationBitmap& rNewAnimationBmp, sal_uInt16 nAnimation );
@@ -207,23 +207,23 @@ public:
public:
- sal_Bool Convert( BmpConversion eConversion );
- sal_Bool ReduceColors(
+ bool Convert( BmpConversion eConversion );
+ bool ReduceColors(
sal_uInt16 nNewColorCount,
BmpReduce eReduce = BMP_REDUCE_SIMPLE
);
- sal_Bool Invert();
- sal_Bool Mirror( sal_uLong nMirrorFlags );
- sal_Bool Adjust(
+ bool Invert();
+ bool Mirror( sal_uLong nMirrorFlags );
+ bool Adjust(
short nLuminancePercent = 0,
short nContrastPercent = 0,
short nChannelRPercent = 0,
short nChannelGPercent = 0,
short nChannelBPercent = 0,
double fGamma = 1.0,
- sal_Bool bInvert = sal_False
+ bool bInvert = false
);
- sal_Bool Filter(
+ bool Filter(
BmpFilter eFilter,
const BmpFilterParam* pFilterParam = NULL,
const Link* pProgress = NULL
diff --git a/include/vcl/bitmap.hxx b/include/vcl/bitmap.hxx
index 9003be4b995e..3e64da7657ad 100644
--- a/include/vcl/bitmap.hxx
+++ b/include/vcl/bitmap.hxx
@@ -328,38 +328,38 @@ public:
SAL_DLLPRIVATE void ImplAssignWithSize( const Bitmap& rBitmap );
SAL_DLLPRIVATE void ImplAdaptBitCount(Bitmap& rNew) const;
- SAL_DLLPRIVATE sal_Bool ImplScaleFast( const double& rScaleX, const double& rScaleY );
- SAL_DLLPRIVATE sal_Bool ImplScaleInterpolate( const double& rScaleX, const double& rScaleY );
- SAL_DLLPRIVATE sal_Bool ImplScaleSuper( const double& rScaleX, const double& rScaleY );
- SAL_DLLPRIVATE sal_Bool ImplScaleConvolution( const double& rScaleX, const double& rScaleY, const Kernel& aKernel);
+ SAL_DLLPRIVATE bool ImplScaleFast( const double& rScaleX, const double& rScaleY );
+ SAL_DLLPRIVATE bool ImplScaleInterpolate( const double& rScaleX, const double& rScaleY );
+ SAL_DLLPRIVATE bool ImplScaleSuper( const double& rScaleX, const double& rScaleY );
+ SAL_DLLPRIVATE bool ImplScaleConvolution( const double& rScaleX, const double& rScaleY, const Kernel& aKernel);
SAL_DLLPRIVATE bool ImplConvolutionPass( Bitmap& aNewBitmap, const int nNewSize, BitmapReadAccess* pReadAcc,
int aNumberOfContributions, double* pWeights, int* pPixels, int* pCount );
- SAL_DLLPRIVATE sal_Bool ImplMakeMono( sal_uInt8 cThreshold );
- SAL_DLLPRIVATE sal_Bool ImplMakeMonoDither();
- SAL_DLLPRIVATE sal_Bool ImplMakeGreyscales( sal_uInt16 nGreyscales );
- SAL_DLLPRIVATE sal_Bool ImplConvertUp( sal_uInt16 nBitCount, Color* pExtColor = NULL );
- SAL_DLLPRIVATE sal_Bool ImplConvertDown( sal_uInt16 nBitCount, Color* pExtColor = NULL );
- SAL_DLLPRIVATE sal_Bool ImplConvertGhosted();
- SAL_DLLPRIVATE sal_Bool ImplDitherMatrix();
- SAL_DLLPRIVATE sal_Bool ImplDitherFloyd();
- SAL_DLLPRIVATE sal_Bool ImplDitherFloyd16();
- SAL_DLLPRIVATE sal_Bool ImplReduceSimple( sal_uInt16 nColorCount );
- SAL_DLLPRIVATE sal_Bool ImplReducePopular( sal_uInt16 nColorCount );
- SAL_DLLPRIVATE sal_Bool ImplReduceMedian( sal_uInt16 nColorCount );
+ SAL_DLLPRIVATE bool ImplMakeMono( sal_uInt8 cThreshold );
+ SAL_DLLPRIVATE bool ImplMakeMonoDither();
+ SAL_DLLPRIVATE bool ImplMakeGreyscales( sal_uInt16 nGreyscales );
+ SAL_DLLPRIVATE bool ImplConvertUp( sal_uInt16 nBitCount, Color* pExtColor = NULL );
+ SAL_DLLPRIVATE bool ImplConvertDown( sal_uInt16 nBitCount, Color* pExtColor = NULL );
+ SAL_DLLPRIVATE bool ImplConvertGhosted();
+ SAL_DLLPRIVATE bool ImplDitherMatrix();
+ SAL_DLLPRIVATE bool ImplDitherFloyd();
+ SAL_DLLPRIVATE bool ImplDitherFloyd16();
+ SAL_DLLPRIVATE bool ImplReduceSimple( sal_uInt16 nColorCount );
+ SAL_DLLPRIVATE bool ImplReducePopular( sal_uInt16 nColorCount );
+ SAL_DLLPRIVATE bool ImplReduceMedian( sal_uInt16 nColorCount );
SAL_DLLPRIVATE void ImplMedianCut( sal_uLong* pColBuf, BitmapPalette& rPal,
long nR1, long nR2, long nG1, long nG2, long nB1, long nB2,
long nColors, long nPixels, long& rIndex );
- SAL_DLLPRIVATE sal_Bool ImplConvolute3( const long* pMatrix, long nDivisor,
+ SAL_DLLPRIVATE bool ImplConvolute3( const long* pMatrix, long nDivisor,
const BmpFilterParam* pFilterParam, const Link* pProgress );
- SAL_DLLPRIVATE sal_Bool ImplMedianFilter( const BmpFilterParam* pFilterParam, const Link* pProgress );
- SAL_DLLPRIVATE sal_Bool ImplSobelGrey( const BmpFilterParam* pFilterParam, const Link* pProgress );
- SAL_DLLPRIVATE sal_Bool ImplEmbossGrey( const BmpFilterParam* pFilterParam, const Link* pProgress );
- SAL_DLLPRIVATE sal_Bool ImplSolarize( const BmpFilterParam* pFilterParam, const Link* pProgress );
- SAL_DLLPRIVATE sal_Bool ImplSepia( const BmpFilterParam* pFilterParam, const Link* pProgress );
- SAL_DLLPRIVATE sal_Bool ImplMosaic( const BmpFilterParam* pFilterParam, const Link* pProgress );
- SAL_DLLPRIVATE sal_Bool ImplPopArt( const BmpFilterParam* pFilterParam, const Link* pProgress );
+ SAL_DLLPRIVATE bool ImplMedianFilter( const BmpFilterParam* pFilterParam, const Link* pProgress );
+ SAL_DLLPRIVATE bool ImplSobelGrey( const BmpFilterParam* pFilterParam, const Link* pProgress );
+ SAL_DLLPRIVATE bool ImplEmbossGrey( const BmpFilterParam* pFilterParam, const Link* pProgress );
+ SAL_DLLPRIVATE bool ImplSolarize( const BmpFilterParam* pFilterParam, const Link* pProgress );
+ SAL_DLLPRIVATE bool ImplSepia( const BmpFilterParam* pFilterParam, const Link* pProgress );
+ SAL_DLLPRIVATE bool ImplMosaic( const BmpFilterParam* pFilterParam, const Link* pProgress );
+ SAL_DLLPRIVATE bool ImplPopArt( const BmpFilterParam* pFilterParam, const Link* pProgress );
SAL_DLLPRIVATE bool ImplSeparableBlurFilter( const double aRadius = 0.7 );
SAL_DLLPRIVATE bool ImplSeparableUnsharpenFilter( const double aRadius = 0.7 );
@@ -376,14 +376,14 @@ public:
virtual ~Bitmap();
Bitmap& operator=( const Bitmap& rBitmap );
- inline sal_Bool operator!() const;
- inline sal_Bool operator==( const Bitmap& rBitmap ) const;
- inline sal_Bool operator!=( const Bitmap& rBitmap ) const;
+ inline bool operator!() const;
+ inline bool operator==( const Bitmap& rBitmap ) const;
+ inline bool operator!=( const Bitmap& rBitmap ) const;
- inline sal_Bool IsSameInstance( const Bitmap& rBmp ) const;
- sal_Bool IsEqual( const Bitmap& rBmp ) const;
+ inline bool IsSameInstance( const Bitmap& rBmp ) const;
+ bool IsEqual( const Bitmap& rBmp ) const;
- inline sal_Bool IsEmpty() const;
+ inline bool IsEmpty() const;
void SetEmpty();
inline const MapMode& GetPrefMapMode() const;
@@ -397,7 +397,7 @@ public:
sal_uInt16 GetBitCount() const;
inline sal_uLong GetColorCount() const;
inline sal_uLong GetSizeBytes() const;
- sal_Bool HasGreyPalette() const;
+ bool HasGreyPalette() const;
/** get system dependent bitmap data
@param rData
@@ -416,7 +416,7 @@ public:
public:
- sal_Bool MakeMono( sal_uInt8 cThreshold );
+ bool MakeMono( sal_uInt8 cThreshold );
/** Convert bitmap format
@@ -426,7 +426,7 @@ public:
@return sal_True, if the conversion was completed successfully.
*/
- sal_Bool Convert( BmpConversion eConversion );
+ bool Convert( BmpConversion eConversion );
/** Reduce number of colors for the bitmap
@@ -438,7 +438,7 @@ public:
@return sal_True, if the color reduction operation was completed successfully.
*/
- sal_Bool ReduceColors( sal_uInt16 nNewColorCount,
+ bool ReduceColors( sal_uInt16 nNewColorCount,
BmpReduce eReduce = BMP_REDUCE_SIMPLE );
/** Apply a dither algorithm to the bitmap
@@ -450,7 +450,7 @@ public:
@param nDitherFlags
The algorithm to be used for dithering
*/
- sal_Bool Dither( sal_uLong nDitherFlags = BMP_DITHER_MATRIX );
+ bool Dither( sal_uLong nDitherFlags = BMP_DITHER_MATRIX );
/** Crop the bitmap
@@ -466,7 +466,7 @@ public:
nothing had to be cropped, because e.g. the crop rectangle
included the bitmap, sal_False is returned, too!
*/
- sal_Bool Crop( const Rectangle& rRectPixel );
+ bool Crop( const Rectangle& rRectPixel );
/** Expand the bitmap by pixel padding
@@ -483,7 +483,7 @@ public:
not only returned when the operation failed, but also if
nothing had to be done, e.g. because nDX and nDY were zero.
*/
- sal_Bool Expand( sal_uLong nDX, sal_uLong nDY,
+ bool Expand( sal_uLong nDX, sal_uLong nDY,
const Color* pInitColor = NULL );
/** Copy a rectangular area from another bitmap
@@ -508,7 +508,7 @@ public:
nothing had to be done, e.g. because one of the rectangles are
empty.
*/
- sal_Bool CopyPixel( const Rectangle& rRectDst,
+ bool CopyPixel( const Rectangle& rRectDst,
const Rectangle& rRectSrc,
const Bitmap* pBmpSrc = NULL );
@@ -522,7 +522,7 @@ public:
@return sal_True, if the operation was completed successfully.
*/
- sal_Bool CombineSimple( const Bitmap& rMask,
+ bool CombineSimple( const Bitmap& rMask,
BmpCombine eCombine );
/** Alpha-blend the given bitmap against a specified uniform
@@ -541,7 +541,7 @@ public:
@return sal_True, if blending was successful, sal_False otherwise
*/
- sal_Bool Blend( const AlphaMask& rAlpha,
+ bool Blend( const AlphaMask& rAlpha,
const Color& rBackgroundColor );
/** Fill the entire bitmap with the given color
@@ -551,13 +551,13 @@ public:
@return sal_True, if the operation was completed successfully.
*/
- sal_Bool Erase( const Color& rFillColor );
+ bool Erase( const Color& rFillColor );
/** Perform the Invert operation on every pixel
@return sal_True, if the operation was completed successfully.
*/
- sal_Bool Invert();
+ bool Invert();
/** Mirror the bitmap
@@ -566,7 +566,7 @@ public:
@return sal_True, if the operation was completed successfully.
*/
- sal_Bool Mirror( sal_uLong nMirrorFlags );
+ bool Mirror( sal_uLong nMirrorFlags );
/** Scale the bitmap
@@ -578,7 +578,7 @@ public:
@return sal_True, if the operation was completed successfully.
*/
- sal_Bool Scale( const Size& rNewSize, sal_uInt32 nScaleFlag = BMP_SCALE_DEFAULT );
+ bool Scale( const Size& rNewSize, sal_uInt32 nScaleFlag = BMP_SCALE_DEFAULT );
/** Scale the bitmap
@@ -593,7 +593,7 @@ public:
@return sal_True, if the operation was completed successfully.
*/
- sal_Bool Scale( const double& rScaleX, const double& rScaleY, sal_uInt32 nScaleFlag = BMP_SCALE_DEFAULT );
+ bool Scale( const double& rScaleX, const double& rScaleY, sal_uInt32 nScaleFlag = BMP_SCALE_DEFAULT );
// Adapt the BitCount of rNew to BitCount of lolal, including grey or color paltette
// Can be used to create alpha/mask bitmaps after their processing in 24bit
@@ -612,7 +612,7 @@ public:
@return sal_True, if the operation was completed successfully.
*/
- sal_Bool Rotate( long nAngle10, const Color& rFillColor );
+ bool Rotate( long nAngle10, const Color& rFillColor );
/** Create on-off mask from bitmap
@@ -655,7 +655,7 @@ public:
@return sal_True, if the operation was completed successfully.
*/
- sal_Bool Replace( const Bitmap& rMask, const Color& rReplaceColor );
+ bool Replace( const Bitmap& rMask, const Color& rReplaceColor );
/** Merge bitmap with given background color according to specified alpha mask
@@ -667,7 +667,7 @@ public:
@return sal_True, if the operation was completed successfully.
*/
- sal_Bool Replace( const AlphaMask& rAlpha, const Color& rMergeColor );
+ bool Replace( const AlphaMask& rAlpha, const Color& rMergeColor );
/** Replace all pixel having the search color with the specified color
@@ -684,7 +684,7 @@ public:
@return sal_True, if the operation was completed successfully.
*/
- sal_Bool Replace( const Color& rSearchColor, const Color& rReplaceColor, sal_uLong nTol = 0 );
+ bool Replace( const Color& rSearchColor, const Color& rReplaceColor, sal_uLong nTol = 0 );
/** Replace all pixel having one the search colors with the corresponding replace color
@@ -704,7 +704,7 @@ public:
@return sal_True, if the operation was completed successfully.
*/
- sal_Bool Replace( const Color* pSearchColors, const Color* rReplaceColors,
+ bool Replace( const Color* pSearchColors, const Color* rReplaceColors,
sal_uLong nColorCount, sal_uLong* pTols = NULL );
/** Convert the bitmap to a PolyPolygon
@@ -724,7 +724,7 @@ public:
@return sal_True, if the operation was completed successfully.
*/
- sal_Bool Vectorize( PolyPolygon& rPolyPoly,
+ bool Vectorize( PolyPolygon& rPolyPoly,
sal_uLong nFlags = BMP_VECTORIZE_OUTER,
const Link* pProgress = NULL );
@@ -749,7 +749,7 @@ public:
@return sal_True, if the operation was completed successfully.
*/
- sal_Bool Vectorize( GDIMetaFile& rMtf, sal_uInt8 cReduce = 0,
+ bool Vectorize( GDIMetaFile& rMtf, sal_uInt8 cReduce = 0,
sal_uLong nFlags = BMP_VECTORIZE_INNER,
const Link* pProgress = NULL );
@@ -780,13 +780,13 @@ public:
@return sal_True, if the operation was completed successfully.
*/
- sal_Bool Adjust( short nLuminancePercent = 0,
+ bool Adjust( short nLuminancePercent = 0,
short nContrastPercent = 0,
short nChannelRPercent = 0,
short nChannelGPercent = 0,
short nChannelBPercent = 0,
double fGamma = 1.0,
- sal_Bool bInvert = sal_False );
+ bool bInvert = false );
/** Apply specified filter to the bitmap
@@ -801,7 +801,7 @@ public:
@return sal_True, if the operation was completed successfully.
*/
- sal_Bool Filter( BmpFilter eFilter,
+ bool Filter( BmpFilter eFilter,
const BmpFilterParam* pFilterParam = NULL,
const Link* pProgress = NULL );
@@ -817,27 +817,27 @@ public:
ScopedWriteAccess;
};
-inline sal_Bool Bitmap::operator!() const
+inline bool Bitmap::operator!() const
{
return( mpImpBmp == NULL );
}
-inline sal_Bool Bitmap::operator==( const Bitmap& rBitmap ) const
+inline bool Bitmap::operator==( const Bitmap& rBitmap ) const
{
return( rBitmap.mpImpBmp == mpImpBmp );
}
-inline sal_Bool Bitmap::operator!=( const Bitmap& rBitmap ) const
+inline bool Bitmap::operator!=( const Bitmap& rBitmap ) const
{
return( rBitmap.mpImpBmp != mpImpBmp );
}
-inline sal_Bool Bitmap::IsSameInstance( const Bitmap& rBitmap ) const
+inline bool Bitmap::IsSameInstance( const Bitmap& rBitmap ) const
{
return( rBitmap.mpImpBmp == mpImpBmp );
}
-inline sal_Bool Bitmap::IsEmpty() const
+inline bool Bitmap::IsEmpty() const
{
return( mpImpBmp == NULL );
}
diff --git a/include/vcl/bitmapex.hxx b/include/vcl/bitmapex.hxx
index 7306856bd779..506a38bc7fcb 100644
--- a/include/vcl/bitmapex.hxx
+++ b/include/vcl/bitmapex.hxx
@@ -58,7 +58,7 @@ private:
Size aBitmapSize;
Color aTransparentColor;
TransparentType eTransparent;
- sal_Bool bAlpha;
+ bool bAlpha;
public:
@@ -77,13 +77,13 @@ public:
~BitmapEx();
BitmapEx& operator=( const BitmapEx& rBitmapEx );
- sal_Bool operator==( const BitmapEx& rBitmapEx ) const;
- sal_Bool operator!=( const BitmapEx& rBitmapEx ) const { return !(*this==rBitmapEx); }
- sal_Bool operator!() const { return !aBitmap; }
+ bool operator==( const BitmapEx& rBitmapEx ) const;
+ bool operator!=( const BitmapEx& rBitmapEx ) const { return !(*this==rBitmapEx); }
+ bool operator!() const { return !aBitmap; }
- sal_Bool IsEqual( const BitmapEx& rBmpEx ) const;
+ bool IsEqual( const BitmapEx& rBmpEx ) const;
- sal_Bool IsEmpty() const;
+ bool IsEmpty() const;
void SetEmpty();
void Clear();
@@ -92,7 +92,7 @@ public:
void Draw( OutputDevice* pOutDev,
const Point& rDestPt, const Size& rDestSize ) const;
- sal_Bool IsTransparent() const;
+ bool IsTransparent() const;
TransparentType GetTransparentType() const { return eTransparent; }
Bitmap GetBitmap( const Color* pTransReplaceColor = NULL ) const;
@@ -100,7 +100,7 @@ public:
BitmapEx GetColorTransformedBitmapEx() const;
- sal_Bool IsAlpha() const;
+ bool IsAlpha() const;
AlphaMask GetAlpha() const;
const Size& GetSizePixel() const { return aBitmapSize; }
@@ -128,7 +128,7 @@ public:
@return sal_True, if the conversion was completed successfully.
*/
- sal_Bool Convert( BmpConversion eConversion );
+ bool Convert( BmpConversion eConversion );
/** Reduce number of colors for the bitmap
@@ -140,7 +140,7 @@ public:
@return sal_True, if the color reduction operation was completed successfully.
*/
- sal_Bool ReduceColors( sal_uInt16 nNewColorCount,
+ bool ReduceColors( sal_uInt16 nNewColorCount,
BmpReduce eReduce = BMP_REDUCE_SIMPLE );
/** Apply a dither algorithm to the bitmap
@@ -152,7 +152,7 @@ public:
@param nDitherFlags
The algorithm to be used for dithering
*/
- sal_Bool Dither( sal_uLong nDitherFlags = BMP_DITHER_MATRIX );
+ bool Dither( sal_uLong nDitherFlags = BMP_DITHER_MATRIX );
/** Crop the bitmap
@@ -168,7 +168,7 @@ public:
nothing had to be cropped, because e.g. the crop rectangle
included the bitmap, sal_False is returned, too!
*/
- sal_Bool Crop( const Rectangle& rRectPixel );
+ bool Crop( const Rectangle& rRectPixel );
/** Expand the bitmap by pixel padding
@@ -188,9 +188,9 @@ public:
not only returned when the operation failed, but also if
nothing had to be done, e.g. because nDX and nDY were zero.
*/
- sal_Bool Expand( sal_uLong nDX, sal_uLong nDY,
+ bool Expand( sal_uLong nDX, sal_uLong nDY,
const Color* pInitColor = NULL,
- sal_Bool bExpandTransparent = sal_False );
+ bool bExpandTransparent = false );
/** Copy a rectangular area from another bitmap
@@ -214,7 +214,7 @@ public:
nothing had to be done, e.g. because one of the rectangles are
empty.
*/
- sal_Bool CopyPixel( const Rectangle& rRectDst,
+ bool CopyPixel( const Rectangle& rRectDst,
const Rectangle& rRectSrc,
const BitmapEx* pBmpExSrc = NULL );
@@ -226,13 +226,13 @@ public:
@return sal_True, if the operation was completed successfully.
*/
- sal_Bool Erase( const Color& rFillColor );
+ bool Erase( const Color& rFillColor );
/** Perform the Invert operation on every pixel
@return sal_True, if the operation was completed successfully.
*/
- sal_Bool Invert();
+ bool Invert();
/** Mirror the bitmap
@@ -241,7 +241,7 @@ public:
@return sal_True, if the operation was completed successfully.
*/
- sal_Bool Mirror( sal_uLong nMirrorFlags );
+ bool Mirror( sal_uLong nMirrorFlags );
/** Scale the bitmap
@@ -253,7 +253,7 @@ public:
@return sal_True, if the operation was completed successfully.
*/
- sal_Bool Scale( const Size& rNewSize, sal_uInt32 nScaleFlag = BMP_SCALE_DEFAULT );
+ bool Scale( const Size& rNewSize, sal_uInt32 nScaleFlag = BMP_SCALE_DEFAULT );
/** Scale the bitmap
@@ -268,7 +268,7 @@ public:
@return sal_True, if the operation was completed successfully.
*/
- sal_Bool Scale( const double& rScaleX, const double& rScaleY, sal_uInt32 nScaleFlag = BMP_SCALE_DEFAULT );
+ bool Scale( const double& rScaleX, const double& rScaleY, sal_uInt32 nScaleFlag = BMP_SCALE_DEFAULT );
/** Rotate bitmap by the specified angle
@@ -283,7 +283,7 @@ public:
@return sal_True, if the operation was completed successfully.
*/
- sal_Bool Rotate( long nAngle10, const Color& rFillColor );
+ bool Rotate( long nAngle10, const Color& rFillColor );
/** Replace all pixel having the search color with the specified color
@@ -300,7 +300,7 @@ public:
@return sal_True, if the operation was completed successfully.
*/
- sal_Bool Replace( const Color& rSearchColor, const Color& rReplaceColor, sal_uLong nTol = 0 );
+ bool Replace( const Color& rSearchColor, const Color& rReplaceColor, sal_uLong nTol = 0 );
/** Replace all pixel having one the search colors with the corresponding replace color
@@ -320,7 +320,7 @@ public:
@return sal_True, if the operation was completed successfully.
*/
- sal_Bool Replace( const Color* pSearchColors, const Color* pReplaceColors,
+ bool Replace( const Color* pSearchColors, const Color* pReplaceColors,
sal_uLong nColorCount, const sal_uLong* pTols = NULL );
/** Change various global color characteristics
@@ -350,13 +350,13 @@ public:
@return sal_True, if the operation was completed successfully.
*/
- sal_Bool Adjust( short nLuminancePercent = 0,
+ bool Adjust( short nLuminancePercent = 0,
short nContrastPercent = 0,
short nChannelRPercent = 0,
short nChannelGPercent = 0,
short nChannelBPercent = 0,
double fGamma = 1.0,
- sal_Bool bInvert = sal_False );
+ bool bInvert = false );
/** Apply specified filter to the bitmap
@@ -371,7 +371,7 @@ public:
@return sal_True, if the operation was completed successfully.
*/
- sal_Bool Filter( BmpFilter eFilter,
+ bool Filter( BmpFilter eFilter,
const BmpFilterParam* pFilterParam = NULL,
const Link* pProgress = NULL );
diff --git a/include/vcl/bmpacc.hxx b/include/vcl/bmpacc.hxx
index f4cf36c978f0..a233e9624820 100644
--- a/include/vcl/bmpacc.hxx
+++ b/include/vcl/bmpacc.hxx
@@ -88,12 +88,12 @@ protected:
ColorMask maColorMask;
FncGetPixel mFncGetPixel;
FncSetPixel mFncSetPixel;
- sal_Bool mbModify;
+ bool mbModify;
SAL_DLLPRIVATE void ImplCreate( Bitmap& rBitmap );
SAL_DLLPRIVATE void ImplDestroy();
-SAL_DLLPRIVATE sal_Bool ImplSetAccessPointers( sal_uLong nFormat );
+SAL_DLLPRIVATE bool ImplSetAccessPointers( sal_uLong nFormat );
public:
@@ -117,21 +117,21 @@ SAL_DLLPRIVATE BitmapBuffer* ImplGetBitmapBuffer() const { return mpBuffer; }
DECL_FORMAT( _32BIT_TC_RGBA )
DECL_FORMAT( _32BIT_TC_MASK )
protected:
- BitmapReadAccess( Bitmap& rBitmap, sal_Bool bModify );
+ BitmapReadAccess( Bitmap& rBitmap, bool bModify );
public:
BitmapReadAccess( Bitmap& rBitmap );
virtual ~BitmapReadAccess();
- inline sal_Bool operator!() const;
+ inline bool operator!() const;
inline long Width() const;
inline long Height() const;
inline Point TopLeft() const;
inline Point BottomRight() const;
- inline sal_Bool IsTopDown() const;
- inline sal_Bool IsBottomUp() const;
+ inline bool IsTopDown() const;
+ inline bool IsBottomUp() const;
inline sal_uLong GetScanlineFormat() const;
inline sal_uLong GetScanlineSize() const;
@@ -142,14 +142,14 @@ public:
inline Scanline GetBuffer() const;
inline Scanline GetScanline( long nY ) const;
- inline sal_Bool HasPalette() const;
+ inline bool HasPalette() const;
inline const BitmapPalette& GetPalette() const;
inline sal_uInt16 GetPaletteEntryCount() const;
inline const BitmapColor& GetPaletteColor( sal_uInt16 nColor ) const;
inline const BitmapColor& GetBestPaletteColor( const BitmapColor& rBitmapColor ) const;
sal_uInt16 GetBestPaletteIndex( const BitmapColor& rBitmapColor ) const;
- inline sal_Bool HasColorMask() const;
+ inline bool HasColorMask() const;
inline ColorMask& GetColorMask() const;
inline BitmapColor GetPixelFromData( const sal_uInt8* pData, long nX ) const;
@@ -216,7 +216,7 @@ private:
// - Inlines -
// -----------
-inline sal_Bool BitmapReadAccess::operator!() const
+inline bool BitmapReadAccess::operator!() const
{
return( mpBuffer == NULL );
}
@@ -251,7 +251,7 @@ inline Point BitmapReadAccess::BottomRight() const
// ------------------------------------------------------------------
-inline sal_Bool BitmapReadAccess::IsTopDown() const
+inline bool BitmapReadAccess::IsTopDown() const
{
DBG_ASSERT( mpBuffer, "Access is not valid!" );
return( mpBuffer ? sal::static_int_cast<sal_Bool>( BMP_SCANLINE_ADJUSTMENT( mpBuffer->mnFormat ) == BMP_FORMAT_TOP_DOWN ) : sal_False );
@@ -259,7 +259,7 @@ inline sal_Bool BitmapReadAccess::IsTopDown() const
// ------------------------------------------------------------------
-inline sal_Bool BitmapReadAccess::IsBottomUp() const
+inline bool BitmapReadAccess::IsBottomUp() const
{
return !IsTopDown();
}
@@ -317,7 +317,7 @@ inline Scanline BitmapReadAccess::GetScanline( long nY ) const
// ------------------------------------------------------------------
-inline sal_Bool BitmapReadAccess::HasPalette() const
+inline bool BitmapReadAccess::HasPalette() const
{
DBG_ASSERT( mpBuffer, "Access is not valid!" );
return( mpBuffer && !!mpBuffer->maPalette );
@@ -357,7 +357,7 @@ inline const BitmapColor& BitmapReadAccess::GetBestPaletteColor( const BitmapCol
// ------------------------------------------------------------------
-inline sal_Bool BitmapReadAccess::HasColorMask() const
+inline bool BitmapReadAccess::HasColorMask() const
{
DBG_ASSERT( mpBuffer, "Access is not valid!" );
const sal_uLong nFormat = BMP_SCANLINE_FORMAT( mpBuffer->mnFormat );
diff --git a/include/vcl/btndlg.hxx b/include/vcl/btndlg.hxx
index 0239157302c2..4575cee5e803 100644
--- a/include/vcl/btndlg.hxx
+++ b/include/vcl/btndlg.hxx
@@ -44,7 +44,7 @@ private:
long mnButtonSize;
sal_uInt16 mnCurButtonId;
sal_uInt16 mnFocusButtonId;
- sal_Bool mbFormat;
+ bool mbFormat;
Link maClickHdl;
SAL_DLLPRIVATE void ImplInitButtonDialogData();
diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx
index 863d25f88e57..6c3fe18e8585 100644
--- a/include/vcl/button.hxx
+++ b/include/vcl/button.hxx
@@ -52,7 +52,7 @@ public:
SAL_DLLPRIVATE sal_uInt16& ImplGetButtonState();
SAL_DLLPRIVATE sal_uInt16 ImplGetTextStyle( OUString& rText, WinBits nWinStyle, sal_uLong nDrawFlags );
SAL_DLLPRIVATE void ImplDrawAlignedImage( OutputDevice* pDev, Point& rPos, Size& rSize,
- sal_Bool bLayout, sal_uLong nImageSep, sal_uLong nDrawFlags,
+ bool bLayout, sal_uLong nImageSep, sal_uLong nDrawFlags,
sal_uInt16 nTextStyle, Rectangle *pSymbolRect=NULL, bool bAddImageSep = false );
SAL_DLLPRIVATE void ImplSetFocusRect( const Rectangle &rFocusRect );
SAL_DLLPRIVATE const Rectangle& ImplGetFocusRect() const;
@@ -74,14 +74,14 @@ public:
static OUString GetStandardText( StandardButtonType eButton );
- sal_Bool SetModeImage( const Image& rImage );
+ bool SetModeImage( const Image& rImage );
const Image GetModeImage( ) const;
- sal_Bool HasImage() const;
+ bool HasImage() const;
void SetImageAlign( ImageAlign eAlign );
ImageAlign GetImageAlign() const;
- void EnableImageDisplay( sal_Bool bEnable );
- void EnableTextDisplay( sal_Bool bEnable );
+ void EnableImageDisplay( bool bEnable );
+ void EnableTextDisplay( bool bEnable );
void SetFocusRect( const Rectangle& rFocusRect );
bool IsSmallSymbol() const;
@@ -107,20 +107,20 @@ protected:
TriState meState;
TriState meSaveValue;
sal_uInt16 mnDDStyle;
- sal_Bool mbPressed;
- sal_Bool mbInUserDraw;
+ bool mbPressed;
+ bool mbInUserDraw;
Link maToggleHdl;
SAL_DLLPRIVATE void ImplInitPushButtonData();
SAL_DLLPRIVATE WinBits ImplInitStyle( const Window* pPrevWindow, WinBits nStyle );
- SAL_DLLPRIVATE void ImplInitSettings( sal_Bool bFont, sal_Bool bForeground, sal_Bool bBackground );
+ SAL_DLLPRIVATE void ImplInitSettings( bool bFont, bool bForeground, bool bBackground );
SAL_DLLPRIVATE void ImplDrawPushButtonContent( OutputDevice* pDev, sal_uLong nDrawFlags,
const Rectangle& rRect, bool bLayout, bool bMenuBtnSep );
SAL_DLLPRIVATE void ImplDrawPushButton( bool bLayout = false );
using Button::ImplGetTextStyle;
SAL_DLLPRIVATE sal_uInt16 ImplGetTextStyle( sal_uLong nDrawFlags ) const;
- SAL_DLLPRIVATE sal_Bool IsSymbol() const { return ( (meSymbol != SYMBOL_NOSYMBOL) && (meSymbol != SYMBOL_IMAGE) ); }
- SAL_DLLPRIVATE sal_Bool IsImage() const { return Button::HasImage(); }
+ SAL_DLLPRIVATE bool IsSymbol() const { return ( (meSymbol != SYMBOL_NOSYMBOL) && (meSymbol != SYMBOL_IMAGE) ); }
+ SAL_DLLPRIVATE bool IsImage() const { return Button::HasImage(); }
// Copy assignment is forbidden and not implemented.
SAL_DLLPRIVATE PushButton( const PushButton & );
@@ -131,10 +131,10 @@ protected:
using Control::ImplInitSettings;
using Window::ImplInit;
public:
- SAL_DLLPRIVATE void ImplSetDefButton( sal_Bool bSet );
+ SAL_DLLPRIVATE void ImplSetDefButton( bool bSet );
SAL_DLLPRIVATE static void ImplDrawPushButtonFrame( Window* pDev, Rectangle& rRect, sal_uInt16 nStyle );
- SAL_DLLPRIVATE static sal_Bool ImplHitTestPushButton( Window* pDev, const Point& rPos );
- SAL_DLLPRIVATE sal_Bool ImplIsDefButton() const;
+ SAL_DLLPRIVATE static bool ImplHitTestPushButton( Window* pDev, const Point& rPos );
+ SAL_DLLPRIVATE bool ImplIsDefButton() const;
protected:
explicit PushButton( WindowType nType );
@@ -175,11 +175,11 @@ public:
void SetState( TriState eState );
TriState GetState() const { return meState; }
- void Check( sal_Bool bCheck = sal_True );
- sal_Bool IsChecked() const;
+ void Check( bool bCheck = true );
+ bool IsChecked() const;
- void SetPressed( sal_Bool bPressed );
- sal_Bool IsPressed() const { return mbPressed; }
+ void SetPressed( bool bPressed );
+ bool IsPressed() const { return mbPressed; }
void EndSelection();
@@ -194,12 +194,12 @@ public:
virtual bool set_property(const OString &rKey, const OString &rValue);
};
-inline void PushButton::Check( sal_Bool bCheck )
+inline void PushButton::Check( bool bCheck )
{
SetState( (bCheck) ? STATE_CHECK : STATE_NOCHECK );
}
-inline sal_Bool PushButton::IsChecked() const
+inline bool PushButton::IsChecked() const
{
return (GetState() == STATE_CHECK);
}
@@ -288,10 +288,10 @@ private:
Rectangle maStateRect;
Rectangle maMouseRect;
Image maImage;
- sal_Bool mbChecked;
- sal_Bool mbSaveValue;
- sal_Bool mbRadioCheck;
- sal_Bool mbStateChanged;
+ bool mbChecked;
+ bool mbSaveValue;
+ bool mbRadioCheck;
+ bool mbStateChanged;
Link maToggleHdl;
// when mbLegacyNoTextAlign is set then the old behaviour where
// the WB_LEFT, WB_RIGHT & WB_CENTER affect the image placement
@@ -300,7 +300,7 @@ private:
bool mbLegacyNoTextAlign;
SAL_DLLPRIVATE void ImplInitRadioButtonData();
SAL_DLLPRIVATE WinBits ImplInitStyle( const Window* pPrevWindow, WinBits nStyle );
- SAL_DLLPRIVATE void ImplInitSettings( sal_Bool bFont, sal_Bool bForeground, sal_Bool bBackground );
+ SAL_DLLPRIVATE void ImplInitSettings( bool bFont, bool bForeground, bool bBackground );
SAL_DLLPRIVATE void ImplDrawRadioButtonState();
SAL_DLLPRIVATE void ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags,
const Point& rPos, const Size& rSize,
@@ -323,7 +323,7 @@ protected:
SAL_DLLPRIVATE void ImplLoadRes( const ResId& rResId );
public:
- SAL_DLLPRIVATE void ImplCallClick( sal_Bool bGrabFocus = sal_False, sal_uInt16 nFocusFlags = 0 );
+ SAL_DLLPRIVATE void ImplCallClick( bool bGrabFocus = false, sal_uInt16 nFocusFlags = 0 );
SAL_DLLPRIVATE void ImplSetMinimumNWFSize();
protected:
@@ -362,20 +362,20 @@ public:
virtual void Toggle();
- sal_Bool IsStateChanged() const { return mbStateChanged; }
+ bool IsStateChanged() const { return mbStateChanged; }
- void EnableRadioCheck( sal_Bool bRadioCheck = sal_True ) { mbRadioCheck = bRadioCheck; }
- sal_Bool IsRadioCheckEnabled() const { return mbRadioCheck; }
+ void EnableRadioCheck( bool bRadioCheck = true ) { mbRadioCheck = bRadioCheck; }
+ bool IsRadioCheckEnabled() const { return mbRadioCheck; }
- sal_Bool SetModeRadioImage( const Image& rImage );
+ bool SetModeRadioImage( const Image& rImage );
const Image& GetModeRadioImage( ) const;
- void SetState( sal_Bool bCheck );
- void Check( sal_Bool bCheck = sal_True );
- sal_Bool IsChecked() const { return mbChecked; }
+ void SetState( bool bCheck );
+ void Check( bool bCheck = true );
+ bool IsChecked() const { return mbChecked; }
void SaveValue() { mbSaveValue = IsChecked(); }
- sal_Bool GetSavedValue() const { return mbSaveValue; }
+ bool GetSavedValue() const { return mbSaveValue; }
static Image GetRadioImage( const AllSettings& rSettings, sal_uInt16 nFlags );
@@ -419,7 +419,7 @@ private:
Rectangle maMouseRect;
TriState meState;
TriState meSaveValue;
- sal_Bool mbTriState;
+ bool mbTriState;
Link maToggleHdl;
// when mbLegacyNoTextAlign is set then the old behaviour where
// the WB_LEFT, WB_RIGHT & WB_CENTER affect the image placement
@@ -428,7 +428,7 @@ private:
bool mbLegacyNoTextAlign;
SAL_DLLPRIVATE void ImplInitCheckBoxData();
SAL_DLLPRIVATE WinBits ImplInitStyle( const Window* pPrevWindow, WinBits nStyle );
- SAL_DLLPRIVATE void ImplInitSettings( sal_Bool bFont, sal_Bool bForeground, sal_Bool bBackground );
+ SAL_DLLPRIVATE void ImplInitSettings( bool bFont, bool bForeground, bool bBackground );
SAL_DLLPRIVATE void ImplInvalidateOrDrawCheckBoxState();
SAL_DLLPRIVATE void ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags,
const Point& rPos, const Size& rSize,
@@ -480,11 +480,11 @@ public:
void SetState( TriState eState );
TriState GetState() const { return meState; }
- void Check( sal_Bool bCheck = sal_True );
+ void Check( bool bCheck = true );
bool IsChecked() const;
- void EnableTriState( sal_Bool bTriState = sal_True );
- sal_Bool IsTriStateEnabled() const { return mbTriState; }
+ void EnableTriState( bool bTriState = true );
+ bool IsTriStateEnabled() const { return mbTriState; }
void SaveValue() { meSaveValue = GetState(); }
TriState GetSavedValue() const { return meSaveValue; }
@@ -502,7 +502,7 @@ public:
virtual bool set_property(const OString &rKey, const OString &rValue);
};
-inline void CheckBox::Check( sal_Bool bCheck )
+inline void CheckBox::Check( bool bCheck )
{
SetState( (bCheck) ? STATE_CHECK : STATE_NOCHECK );
}
diff --git a/include/vcl/combobox.hxx b/include/vcl/combobox.hxx
index fd49eaab8ad6..86b37ee4a72a 100644
--- a/include/vcl/combobox.hxx
+++ b/include/vcl/combobox.hxx
@@ -44,9 +44,9 @@ private:
ImplListBoxFloatingWindow* mpFloatWin;
sal_uInt16 mnDDHeight;
sal_Unicode mcMultiSep;
- sal_Bool mbDDAutoSize : 1;
- sal_Bool mbSyntheticModify : 1;
- sal_Bool mbMatchCase : 1;
+ bool mbDDAutoSize : 1;
+ bool mbSyntheticModify : 1;
+ bool mbMatchCase : 1;
sal_Int32 m_nMaxWidthChars;
Link maSelectHdl;
Link maDoubleClickHdl;
@@ -86,7 +86,7 @@ protected:
protected:
explicit ComboBox( WindowType nType );
- sal_Bool IsDropDownBox() const { return mpFloatWin ? sal_True : sal_False; }
+ bool IsDropDownBox() const { return mpFloatWin ? sal_True : sal_False; }
virtual void FillLayoutData() const;
public:
@@ -122,9 +122,9 @@ public:
sal_uInt16 GetDropDownLineCount() const;
void EnableAutoSize( bool bAuto );
- sal_Bool IsAutoSizeEnabled() const { return mbDDAutoSize; }
+ bool IsAutoSizeEnabled() const { return mbDDAutoSize; }
- void EnableDDAutoWidth( sal_Bool b );
+ void EnableDDAutoWidth( bool b );
virtual void SetText( const OUString& rStr );
virtual void SetText( const OUString& rStr, const Selection& rNewSelection );
@@ -142,25 +142,25 @@ public:
OUString GetEntry( sal_uInt16 nPos ) const;
sal_uInt16 GetEntryCount() const;
- sal_Bool IsTravelSelect() const;
- sal_Bool IsInDropDown() const;
+ bool IsTravelSelect() const;
+ bool IsInDropDown() const;
void ToggleDropDown();
long CalcWindowSizePixel( sal_uInt16 nLines ) const;
void SetUserItemSize( const Size& rSz );
- void EnableUserDraw( sal_Bool bUserDraw );
+ void EnableUserDraw( bool bUserDraw );
- void DrawEntry( const UserDrawEvent& rEvt, sal_Bool bDrawImage, sal_Bool bDrawText, sal_Bool bDrawTextAtImagePos = sal_False );
+ void DrawEntry( const UserDrawEvent& rEvt, bool bDrawImage, bool bDrawText, bool bDrawTextAtImagePos = false );
void SetBorderStyle( sal_uInt16 nBorderStyle );
void SetSeparatorPos( sal_uInt16 n = LISTBOX_ENTRY_NOTFOUND );
- void EnableAutocomplete( sal_Bool bEnable, sal_Bool bMatchCase = sal_False );
- sal_Bool IsAutocompleteEnabled() const;
+ void EnableAutocomplete( bool bEnable, bool bMatchCase = false );
+ bool IsAutocompleteEnabled() const;
- void EnableMultiSelection( sal_Bool bMulti );
- sal_Bool IsMultiSelectionEnabled() const;
+ void EnableMultiSelection( bool bMulti );
+ bool IsMultiSelectionEnabled() const;
void SetMultiSelectionSeparator( sal_Unicode cSep ) { mcMultiSep = cSep; }
sal_Unicode GetMultiSelectionSeparator() const { return mcMultiSep; }
@@ -191,8 +191,8 @@ public:
sal_uInt16 GetSelectEntryCount() const;
sal_uInt16 GetSelectEntryPos( sal_uInt16 nSelIndex = 0 ) const;
- sal_Bool IsEntryPosSelected( sal_uInt16 nPos ) const;
- void SelectEntryPos( sal_uInt16 nPos, sal_Bool bSelect = sal_True );
+ bool IsEntryPosSelected( sal_uInt16 nPos ) const;
+ void SelectEntryPos( sal_uInt16 nPos, bool bSelect = true );
void SetNoSelection();
Rectangle GetBoundingRectangle( sal_uInt16 nItem ) const;
diff --git a/include/vcl/ctrl.hxx b/include/vcl/ctrl.hxx
index fb29c7168889..8b3bc14d27df 100644
--- a/include/vcl/ctrl.hxx
+++ b/include/vcl/ctrl.hxx
@@ -79,7 +79,7 @@ protected:
@return
if the Control instance has been destroyed in any of the call
*/
- sal_Bool ImplCallEventListenersAndHandler(
+ bool ImplCallEventListenersAndHandler(
sal_uLong nEvent, const Link& rHandler, void* pCaller
);
@@ -100,7 +100,7 @@ protected:
virtual const Color&
GetCanonicalTextColor( const StyleSettings& _rStyle ) const;
- void ImplInitSettings( const sal_Bool _bFont, const sal_Bool _bForeground );
+ void ImplInitSettings( const bool _bFont, const bool _bForeground );
public:
SAL_DLLPRIVATE void ImplClearLayoutData() const;
diff --git a/include/vcl/dialog.hxx b/include/vcl/dialog.hxx
index 04279b6fb1b0..59a886227526 100644
--- a/include/vcl/dialog.hxx
+++ b/include/vcl/dialog.hxx
@@ -47,10 +47,10 @@ private:
Dialog* mpPrevExecuteDlg;
DialogImpl* mpDialogImpl;
long mnMousePositioned;
- sal_Bool mbInExecute;
- sal_Bool mbOldSaveBack;
- sal_Bool mbInClose;
- sal_Bool mbModalMode;
+ bool mbInExecute;
+ bool mbOldSaveBack;
+ bool mbInClose;
+ bool mbModalMode;
bool mbIsDefferedInit;
bool mbIsCalculatingInitialLayoutSize;
Timer maLayoutTimer;
@@ -75,7 +75,7 @@ protected:
SAL_DLLPRIVATE void setPosSizeOnContainee(Size aSize, VclContainer &rBox);
public:
- SAL_DLLPRIVATE sal_Bool IsInClose() const { return mbInClose; }
+ SAL_DLLPRIVATE bool IsInClose() const { return mbInClose; }
SAL_DLLPRIVATE bool hasPendingLayout() const { return maLayoutTimer.IsActive(); }
SAL_DLLPRIVATE void doDeferredInit(bool bResizable);
SAL_DLLPRIVATE bool isDeferredInit() const { return mbIsDefferedInit; }
@@ -109,10 +109,10 @@ public:
VclButtonBox* get_action_area();
VclBox* get_content_area();
- virtual sal_Bool Close();
+ virtual bool Close();
virtual short Execute();
- sal_Bool IsInExecute() const { return mbInExecute; }
+ bool IsInExecute() const { return mbInExecute; }
virtual void SetText( const OUString& rStr );
virtual OUString GetText() const;
@@ -124,7 +124,7 @@ public:
virtual void StartExecuteModal( const Link& rEndDialogHdl );
long GetResult() const;
private:
- sal_Bool ImplStartExecuteModal();
+ bool ImplStartExecuteModal();
void ImplEndExecuteModal();
public:
@@ -137,9 +137,9 @@ public:
void GetDrawWindowBorder( sal_Int32& rLeftBorder, sal_Int32& rTopBorder,
sal_Int32& rRightBorder, sal_Int32& rBottomBorder ) const;
- void SetModalInputMode( sal_Bool bModal );
- void SetModalInputMode( sal_Bool bModal, sal_Bool bSubModalDialogs );
- sal_Bool IsModalInputMode() const { return mbModalMode; }
+ void SetModalInputMode( bool bModal );
+ void SetModalInputMode( bool bModal, bool bSubModalDialogs );
+ bool IsModalInputMode() const { return mbModalMode; }
void GrabFocusToFirstControl();
};
@@ -172,7 +172,7 @@ public:
protected:
using Window::Show;
- void Show( sal_Bool bVisible = sal_True );
+ void Show( bool bVisible = true );
using Window::Hide;
void Hide();
diff --git a/include/vcl/dockingarea.hxx b/include/vcl/dockingarea.hxx
index 3ba3f8077bb1..6d88ca02d06f 100644
--- a/include/vcl/dockingarea.hxx
+++ b/include/vcl/dockingarea.hxx
@@ -41,7 +41,7 @@ public:
void SetAlign( WindowAlign eNewAlign );
WindowAlign GetAlign() const;
- sal_Bool IsHorizontal() const;
+ bool IsHorizontal() const;
virtual void Paint( const Rectangle& rRect );
virtual void Resize();
diff --git a/include/vcl/dockwin.hxx b/include/vcl/dockwin.hxx
index 9d9c6f4d385a..f1f3fbd5e2f4 100644
--- a/include/vcl/dockwin.hxx
+++ b/include/vcl/dockwin.hxx
@@ -30,24 +30,24 @@ struct DockingData
{
Point maMousePos; // in
Rectangle maTrackRect; // in/out
- sal_Bool mbFloating; // out
- sal_Bool mbLivemode; // in
- sal_Bool mbInteractive; // in
+ bool mbFloating; // out
+ bool mbLivemode; // in
+ bool mbInteractive; // in
DockingData() {};
- DockingData( const Point& rPt, const Rectangle& rRect, sal_Bool b) :
- maMousePos( rPt ), maTrackRect( rRect ), mbFloating( b ), mbLivemode( sal_False ), mbInteractive( sal_True )
+ DockingData( const Point& rPt, const Rectangle& rRect, bool b) :
+ maMousePos( rPt ), maTrackRect( rRect ), mbFloating( b ), mbLivemode( false ), mbInteractive( true )
{};
};
struct EndDockingData
{
Rectangle maWindowRect; // in
- sal_Bool mbFloating; // in
- sal_Bool mbCancelled; // in
+ bool mbFloating; // in
+ bool mbCancelled; // in
EndDockingData() {};
- EndDockingData( const Rectangle& rRect, sal_Bool b, sal_Bool bCancelled ) :
+ EndDockingData( const Rectangle& rRect, bool b, bool bCancelled ) :
maWindowRect( rRect ), mbFloating( b ), mbCancelled( bCancelled )
{};
};
@@ -55,10 +55,10 @@ struct EndDockingData
struct EndPopupModeData
{
Point maFloatingPos; // in
- sal_Bool mbTearoff; // in
+ bool mbTearoff; // in
EndPopupModeData() {};
- EndPopupModeData( const Point& rPos, sal_Bool bTearoff ) :
+ EndPopupModeData( const Point& rPos, bool bTearoff ) :
maFloatingPos( rPos ), mbTearoff( bTearoff )
{};
};
@@ -102,7 +102,7 @@ private:
sal_Int32 mnDockRight;
sal_Int32 mnDockBottom;
WinBits mnFloatBits;
- sal_Bool mbDockCanceled:1,
+ bool mbDockCanceled:1,
mbFloatPrevented:1,
mbDockable:1,
mbDocking:1,
@@ -120,21 +120,21 @@ private:
void ImplInitData();
DECL_LINK( PopupModeEnd, void* );
- void ImplEnableStartDocking( sal_Bool bEnable = sal_True ) { mbStartDockingEnabled = bEnable; }
- sal_Bool ImplStartDockingEnabled() { return mbStartDockingEnabled; }
+ void ImplEnableStartDocking( bool bEnable = true ) { mbStartDockingEnabled = bEnable; }
+ bool ImplStartDockingEnabled() { return mbStartDockingEnabled; }
public:
ImplDockingWindowWrapper( const Window *pWindow );
virtual ~ImplDockingWindowWrapper();
Window* GetWindow() { return mpDockingWindow; }
- sal_Bool ImplStartDocking( const Point& rPos );
+ bool ImplStartDocking( const Point& rPos );
// those methods actually call the corresponding handlers
void StartDocking( const Point& rPos, Rectangle& rRect );
- sal_Bool Docking( const Point& rPos, Rectangle& rRect );
- void EndDocking( const Rectangle& rRect, sal_Bool bFloatMode );
- sal_Bool PrepareToggleFloatingMode();
+ bool Docking( const Point& rPos, Rectangle& rRect );
+ void EndDocking( const Rectangle& rRect, bool bFloatMode );
+ bool PrepareToggleFloatingMode();
void ToggleFloatingMode();
void SetDragArea( const Rectangle& rRect );
@@ -142,33 +142,33 @@ public:
void Lock();
void Unlock();
- sal_Bool IsLocked() const;
+ bool IsLocked() const;
void StartPopupMode( ToolBox* pParentToolBox, sal_uLong nPopupModeFlags );
- sal_Bool IsInPopupMode() const;
+ bool IsInPopupMode() const;
void TitleButtonClick( sal_uInt16 nButton );
void Pin();
void Roll();
void PopupModeEnd();
void Resizing( Size& rSize );
- sal_Bool Close();
+ bool Close();
void Tracking( const TrackingEvent& rTEvt );
long Notify( NotifyEvent& rNEvt );
- void ShowTitleButton( sal_uInt16 nButton, sal_Bool bVisible = sal_True );
+ void ShowTitleButton( sal_uInt16 nButton, bool bVisible = true );
void SetMinOutputSizePixel( const Size& rSize );
void SetMaxOutputSizePixel( const Size& rSize );
- sal_Bool IsDocking() const { return mbDocking; }
- sal_Bool IsDockable() const { return mbDockable; }
- sal_Bool IsDockingCanceled() const { return mbDockCanceled; }
- sal_Bool IsFloatingPrevented() const { return mbFloatPrevented; }
+ bool IsDocking() const { return mbDocking; }
+ bool IsDockable() const { return mbDockable; }
+ bool IsDockingCanceled() const { return mbDockCanceled; }
+ bool IsFloatingPrevented() const { return mbFloatPrevented; }
- void SetFloatingMode( sal_Bool bFloatMode = sal_False );
- sal_Bool IsFloatingMode() const;
+ void SetFloatingMode( bool bFloatMode = false );
+ bool IsFloatingMode() const;
FloatingWindow* GetFloatingWindow() const { return mpFloatWin; }
void SetFloatStyle( WinBits nWinStyle );
@@ -197,19 +197,19 @@ public:
void RemoveWindow( const Window *pWin );
ImplDockingWindowWrapper* GetDockingWindowWrapper( const Window *pWin );
- sal_Bool IsDockable( const Window *pWin );
+ bool IsDockable( const Window *pWin );
- sal_Bool IsFloating( const Window *pWin );
- void SetFloatingMode( const Window *pWin, sal_Bool bFloating );
+ bool IsFloating( const Window *pWin );
+ void SetFloatingMode( const Window *pWin, bool bFloating );
void Lock( const Window *pWin );
void Unlock( const Window *pWin );
- sal_Bool IsLocked( const Window *pWin );
+ bool IsLocked( const Window *pWin );
void StartPopupMode( ToolBox *pParentToolBox, const Window *pWin );
void StartPopupMode( ToolBox *pParentToolBox, const Window *pWin, sal_uLong nPopupModeFlags );
- sal_Bool IsInPopupMode( const Window *pWin );
+ bool IsInPopupMode( const Window *pWin );
void EndPopupMode( const Window *pWin );
// required because those methods are not virtual in Window (!!!) and must
@@ -246,7 +246,7 @@ private:
sal_Int32 mnDockRight;
sal_Int32 mnDockBottom;
WinBits mnFloatBits;
- sal_Bool mbDockCanceled:1,
+ bool mbDockCanceled:1,
mbDockPrevented:1,
mbFloatPrevented:1,
mbDockable:1,
@@ -273,7 +273,7 @@ protected:
SAL_DLLPRIVATE void ImplLoadRes( const ResId& rResId );
public:
- SAL_DLLPRIVATE sal_Bool ImplStartDocking( const Point& rPos );
+ SAL_DLLPRIVATE bool ImplStartDocking( const Point& rPos );
protected:
DockingWindow( WindowType nType );
@@ -284,9 +284,9 @@ public:
~DockingWindow();
virtual void StartDocking();
- virtual sal_Bool Docking( const Point& rPos, Rectangle& rRect );
+ virtual bool Docking( const Point& rPos, Rectangle& rRect );
virtual void EndDocking( const Rectangle& rRect, sal_Bool bFloatMode );
- virtual sal_Bool PrepareToggleFloatingMode();
+ virtual bool PrepareToggleFloatingMode();
virtual void ToggleFloatingMode();
virtual void TitleButtonClick( sal_uInt16 nButton );
@@ -294,18 +294,18 @@ public:
virtual void Roll();
virtual void PopupModeEnd();
virtual void Resizing( Size& rSize );
- virtual sal_Bool Close();
+ virtual bool Close();
virtual void Tracking( const TrackingEvent& rTEvt );
virtual bool Notify( NotifyEvent& rNEvt );
virtual void StateChanged( StateChangedType nType );
virtual void DataChanged( const DataChangedEvent& rDCEvt );
- void SetPin( sal_Bool bPin );
- sal_Bool IsPined() const;
+ void SetPin( bool bPin );
+ bool IsPined() const;
void RollUp();
void RollDown();
- sal_Bool IsRollUp() const;
+ bool IsRollUp() const;
void SetRollUpOutputSizePixel( const Size& rSize );
Size GetRollUpOutputSizePixel() const;
@@ -315,14 +315,14 @@ public:
void SetMaxOutputSizePixel( const Size& rSize );
- sal_Bool IsDocking() const { return mbDocking; }
- sal_Bool IsDockable() const { return mbDockable; }
- sal_Bool IsDockingCanceled() const { return mbDockCanceled; }
- sal_Bool IsDockingPrevented() const { return mbDockPrevented; }
- sal_Bool IsFloatingPrevented() const { return mbFloatPrevented; }
+ bool IsDocking() const { return mbDocking; }
+ bool IsDockable() const { return mbDockable; }
+ bool IsDockingCanceled() const { return mbDockCanceled; }
+ bool IsDockingPrevented() const { return mbDockPrevented; }
+ bool IsFloatingPrevented() const { return mbFloatPrevented; }
- void SetFloatingMode( sal_Bool bFloatMode = sal_False );
- sal_Bool IsFloatingMode() const;
+ void SetFloatingMode( bool bFloatMode = false );
+ bool IsFloatingMode() const;
FloatingWindow* GetFloatingWindow() const { return mpFloatWin; }
void SetFloatingPos( const Point& rNewPos );
@@ -343,14 +343,14 @@ public:
Size GetOutputSizePixel() const;
};
-inline void DockingWindow::SetPin( sal_Bool bPin )
+inline void DockingWindow::SetPin( bool bPin )
{
if ( mpFloatWin )
mpFloatWin->SetPin( bPin );
mbPined = bPin;
}
-inline sal_Bool DockingWindow::IsPined() const
+inline bool DockingWindow::IsPined() const
{
if ( mpFloatWin )
return mpFloatWin->IsPined();
@@ -361,17 +361,17 @@ inline void DockingWindow::RollUp()
{
if ( mpFloatWin )
mpFloatWin->RollUp();
- mbRollUp = sal_True;
+ mbRollUp = true;
}
inline void DockingWindow::RollDown()
{
if ( mpFloatWin )
mpFloatWin->RollDown();
- mbRollUp = sal_False;
+ mbRollUp = false;
}
-inline sal_Bool DockingWindow::IsRollUp() const
+inline bool DockingWindow::IsRollUp() const
{
if ( mpFloatWin )
return mpFloatWin->IsRollUp();
diff --git a/include/vcl/edit.hxx b/include/vcl/edit.hxx
index 4d6566acdf1f..927db6b3dcfd 100644
--- a/include/vcl/edit.hxx
+++ b/include/vcl/edit.hxx
@@ -74,7 +74,7 @@ private:
sal_Int32 mnMaxWidthChars;
AutocompleteAction meAutocompleteAction;
sal_Unicode mcEchoChar;
- sal_Bool mbModified:1,
+ bool mbModified:1,
mbInternModified:1,
mbReadOnly:1,
mbInsertMode:1,
@@ -98,18 +98,18 @@ private:
SAL_DLLPRIVATE void ImplInvalidateOrRepaint();
SAL_DLLPRIVATE void ImplDelete( const Selection& rSelection, sal_uInt8 nDirection, sal_uInt8 nMode );
SAL_DLLPRIVATE void ImplSetText( const OUString& rStr, const Selection* pNewSelection = 0 );
- SAL_DLLPRIVATE void ImplInsertText( const OUString& rStr, const Selection* pNewSelection = 0, sal_Bool bIsUserInput = sal_False );
+ SAL_DLLPRIVATE void ImplInsertText( const OUString& rStr, const Selection* pNewSelection = 0, bool bIsUserInput = false );
SAL_DLLPRIVATE OUString ImplGetValidString( const OUString& rString ) const;
SAL_DLLPRIVATE void ImplClearBackground( long nXStart, long nXEnd );
SAL_DLLPRIVATE void ImplPaintBorder( long nXStart, long nXEnd );
- SAL_DLLPRIVATE void ImplShowCursor( sal_Bool bOnlyIfVisible = sal_True );
+ SAL_DLLPRIVATE void ImplShowCursor( bool bOnlyIfVisible = true );
SAL_DLLPRIVATE void ImplAlign();
SAL_DLLPRIVATE void ImplAlignAndPaint();
SAL_DLLPRIVATE sal_Int32 ImplGetCharPos( const Point& rWindowPos ) const;
- SAL_DLLPRIVATE void ImplSetCursorPos( sal_Int32 nChar, sal_Bool bSelect );
+ SAL_DLLPRIVATE void ImplSetCursorPos( sal_Int32 nChar, bool bSelect );
SAL_DLLPRIVATE void ImplShowDDCursor();
SAL_DLLPRIVATE void ImplHideDDCursor();
- SAL_DLLPRIVATE sal_Bool ImplHandleKeyEvent( const KeyEvent& rKEvt );
+ SAL_DLLPRIVATE bool ImplHandleKeyEvent( const KeyEvent& rKEvt );
SAL_DLLPRIVATE void ImplCopyToSelectionClipboard();
SAL_DLLPRIVATE void ImplCopy( ::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::clipboard::XClipboard >& rxClipboard );
SAL_DLLPRIVATE void ImplPaste( ::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::clipboard::XClipboard >& rxClipboard );
@@ -122,9 +122,9 @@ protected:
using Window::ImplInit;
SAL_DLLPRIVATE void ImplInit( Window* pParent, WinBits nStyle );
SAL_DLLPRIVATE WinBits ImplInitStyle( WinBits nStyle );
- SAL_DLLPRIVATE void ImplInitSettings( sal_Bool bFont, sal_Bool bForeground, sal_Bool bBackground );
+ SAL_DLLPRIVATE void ImplInitSettings( bool bFont, bool bForeground, bool bBackground );
SAL_DLLPRIVATE void ImplLoadRes( const ResId& rResId );
- SAL_DLLPRIVATE void ImplSetSelection( const Selection& rSelection, sal_Bool bPaint = sal_True );
+ SAL_DLLPRIVATE void ImplSetSelection( const Selection& rSelection, bool bPaint = true );
SAL_DLLPRIVATE int ImplGetNativeControlType() const;
SAL_DLLPRIVATE long ImplGetExtraOffset() const;
static SAL_DLLPRIVATE void ImplInvalidateOutermostBorder( Window* pWin );
@@ -171,7 +171,7 @@ public:
virtual void Modify();
virtual void UpdateData();
- static sal_Bool IsCharInput( const KeyEvent& rKEvt );
+ static bool IsCharInput( const KeyEvent& rKEvt );
virtual void SetModifyFlag();
virtual void ClearModifyFlag();
@@ -184,10 +184,10 @@ public:
sal_Unicode GetEchoChar() const { return mcEchoChar; }
virtual void SetReadOnly( sal_Bool bReadOnly = sal_True );
- virtual sal_Bool IsReadOnly() const { return mbReadOnly; }
+ virtual bool IsReadOnly() const { return mbReadOnly; }
- void SetInsertMode( sal_Bool bInsert );
- sal_Bool IsInsertMode() const;
+ void SetInsertMode( bool bInsert );
+ bool IsInsertMode() const;
virtual void SetMaxTextLen( sal_Int32 nMaxLen = EDIT_NOLIMIT );
virtual sal_Int32 GetMaxTextLen() const { return mnMaxTextLen; }
diff --git a/include/vcl/event.hxx b/include/vcl/event.hxx
index 1453ce4a9f6f..bdb983d19853 100644
--- a/include/vcl/event.hxx
+++ b/include/vcl/event.hxx
@@ -130,33 +130,33 @@ public:
sal_uInt16 GetClicks() const { return mnClicks; }
- sal_Bool IsEnterWindow() const
+ bool IsEnterWindow() const
{ return ((mnMode & MOUSE_ENTERWINDOW) != 0); }
- sal_Bool IsLeaveWindow() const
+ bool IsLeaveWindow() const
{ return ((mnMode & MOUSE_LEAVEWINDOW) != 0); }
- sal_Bool IsSynthetic() const
+ bool IsSynthetic() const
{ return ((mnMode & MOUSE_SYNTHETIC) != 0); }
- sal_Bool IsModifierChanged() const
+ bool IsModifierChanged() const
{ return ((mnMode & MOUSE_MODIFIERCHANGED) != 0); }
sal_uInt16 GetButtons() const
{ return (mnCode & (MOUSE_LEFT | MOUSE_MIDDLE | MOUSE_RIGHT)); }
- sal_Bool IsLeft() const
+ bool IsLeft() const
{ return ((mnCode & MOUSE_LEFT) != 0); }
- sal_Bool IsMiddle() const
+ bool IsMiddle() const
{ return ((mnCode & MOUSE_MIDDLE) != 0); }
- sal_Bool IsRight() const
+ bool IsRight() const
{ return ((mnCode & MOUSE_RIGHT) != 0); }
sal_uInt16 GetModifier() const
{ return (mnCode & (KEY_SHIFT | KEY_MOD1 | KEY_MOD2)); }
bool IsShift() const
{ return ((mnCode & KEY_SHIFT) != 0); }
- sal_Bool IsMod1() const
+ bool IsMod1() const
{ return ((mnCode & KEY_MOD1) != 0); }
- sal_Bool IsMod2() const
+ bool IsMod2() const
{ return ((mnCode & KEY_MOD2) != 0); }
- sal_Bool IsMod3() const
+ bool IsMod3() const
{ return ((mnCode & KEY_MOD3) != 0); }
};
@@ -251,7 +251,7 @@ class VCL_DLLPUBLIC HelpEvent
private:
Point maPos;
sal_uInt16 mnMode;
- sal_Bool mbKeyboardActivated;
+ bool mbKeyboardActivated;
public:
explicit HelpEvent();
@@ -260,27 +260,27 @@ public:
const Point& GetMousePosPixel() const;
sal_uInt16 GetMode() const { return mnMode; }
- sal_Bool KeyboardActivated() const { return mbKeyboardActivated; }
- void SetKeyboardActivated( sal_Bool bKeyboard ) { mbKeyboardActivated = bKeyboard; }
+ bool KeyboardActivated() const { return mbKeyboardActivated; }
+ void SetKeyboardActivated( bool bKeyboard ) { mbKeyboardActivated = bKeyboard; }
};
inline HelpEvent::HelpEvent()
{
mnMode = HELPMODE_CONTEXT;
- mbKeyboardActivated = sal_True;
+ mbKeyboardActivated = true;
}
inline HelpEvent::HelpEvent( const Point& rMousePos, sal_uInt16 nHelpMode ) :
maPos( rMousePos )
{
mnMode = nHelpMode;
- mbKeyboardActivated = sal_False;
+ mbKeyboardActivated = false;
}
inline HelpEvent::HelpEvent( sal_uInt16 nHelpMode )
{
mnMode = nHelpMode;
- mbKeyboardActivated = sal_True;
+ mbKeyboardActivated = true;
}
// -----------------
@@ -353,12 +353,12 @@ public:
const MouseEvent& GetMouseEvent() const { return maMEvt; }
- sal_Bool IsTrackingRepeat() const
+ bool IsTrackingRepeat() const
{ return ((mnFlags & TRACKING_REPEAT) != 0); }
- sal_Bool IsTrackingEnded() const
+ bool IsTrackingEnded() const
{ return ((mnFlags & ENDTRACK_END) != 0); }
- sal_Bool IsTrackingCanceled() const
+ bool IsTrackingCanceled() const
{ return ((mnFlags & ENDTRACK_CANCEL) != 0); }
sal_uInt16 GetTrackingFlags() const { return mnFlags; }
};
diff --git a/include/vcl/field.hxx b/include/vcl/field.hxx
index db6f8589fe3d..01f6c2f8d4fa 100644
--- a/include/vcl/field.hxx
+++ b/include/vcl/field.hxx
@@ -44,20 +44,20 @@ private:
Edit* mpField;
LocaleDataWrapper* mpLocaleDataWrapper;
Link maErrorLink;
- sal_Bool mbReformat;
- sal_Bool mbStrictFormat;
- sal_Bool mbEmptyFieldValue;
- sal_Bool mbEmptyFieldValueEnabled;
- sal_Bool mbDefaultLocale;
+ bool mbReformat;
+ bool mbStrictFormat;
+ bool mbEmptyFieldValue;
+ bool mbEmptyFieldValueEnabled;
+ bool mbDefaultLocale;
protected:
SAL_DLLPRIVATE void ImplSetText( const OUString& rText, Selection* pNewSel = NULL );
- SAL_DLLPRIVATE sal_Bool ImplGetEmptyFieldValue() const { return mbEmptyFieldValue; }
+ SAL_DLLPRIVATE bool ImplGetEmptyFieldValue() const { return mbEmptyFieldValue; }
- void SetEmptyFieldValueData( sal_Bool bValue ) { mbEmptyFieldValue = bValue; }
+ void SetEmptyFieldValueData( bool bValue ) { mbEmptyFieldValue = bValue; }
SAL_DLLPRIVATE LocaleDataWrapper& ImplGetLocaleDataWrapper() const;
- sal_Bool IsDefaultLocale() const { return mbDefaultLocale; }
+ bool IsDefaultLocale() const { return mbDefaultLocale; }
public:
explicit FormatterBase( Edit* pField = NULL );
@@ -68,11 +68,11 @@ public:
void SetField( Edit* pField ) { mpField = pField; }
Edit* GetField() const { return mpField; }
- sal_Bool MustBeReformatted() const { return mbReformat; }
- void MarkToBeReformatted( sal_Bool b ) { mbReformat = b; }
+ bool MustBeReformatted() const { return mbReformat; }
+ void MarkToBeReformatted( bool b ) { mbReformat = b; }
- void SetStrictFormat( sal_Bool bStrict );
- sal_Bool IsStrictFormat() const { return mbStrictFormat; }
+ void SetStrictFormat( bool bStrict );
+ bool IsStrictFormat() const { return mbStrictFormat; }
virtual void Reformat();
virtual void ReformatAll();
@@ -87,10 +87,10 @@ public:
const Link& GetErrorHdl() const { return maErrorLink; }
void SetEmptyFieldValue();
- sal_Bool IsEmptyFieldValue() const;
+ bool IsEmptyFieldValue() const;
- void EnableEmptyFieldValue( sal_Bool bEnable ) { mbEmptyFieldValueEnabled = bEnable; }
- sal_Bool IsEmptyFieldValueEnabled() const { return mbEmptyFieldValueEnabled; }
+ void EnableEmptyFieldValue( bool bEnable ) { mbEmptyFieldValueEnabled = bEnable; }
+ bool IsEmptyFieldValueEnabled() const { return mbEmptyFieldValueEnabled; }
};
@@ -108,7 +108,7 @@ private:
OUString maLiteralMask;
sal_uInt16 mnFormatFlags;
bool mbSameMask;
- sal_Bool mbInPattKeyInput;
+ bool mbInPattKeyInput;
protected:
PatternFormatter();
@@ -116,7 +116,7 @@ protected:
SAL_DLLPRIVATE void ImplSetMask(const OString& rEditMask,
const OUString& rLiteralMask);
SAL_DLLPRIVATE bool ImplIsSameMask() const { return mbSameMask; }
- SAL_DLLPRIVATE sal_Bool& ImplGetInPattKeyInput() { return mbInPattKeyInput; }
+ SAL_DLLPRIVATE bool& ImplGetInPattKeyInput() { return mbInPattKeyInput; }
public:
virtual ~PatternFormatter();
@@ -132,7 +132,7 @@ public:
void SetString( const OUString& rStr );
OUString GetString() const;
- sal_Bool IsStringModified() const { return !(GetString() == maFieldString ); }
+ bool IsStringModified() const { return !(GetString() == maFieldString ); }
};
// --------------------
@@ -152,8 +152,8 @@ protected:
sal_Int64 mnCorrectedValue;
sal_uInt16 mnType;
sal_uInt16 mnDecimalDigits;
- sal_Bool mbThousandSep;
- sal_Bool mbShowTrailingZeros;
+ bool mbThousandSep;
+ bool mbShowTrailingZeros;
// the members below are used in all derivatives of NumericFormatter
// not in NumericFormatter itself.
@@ -170,7 +170,7 @@ protected:
void FieldLast();
SAL_DLLPRIVATE void ImplLoadRes( const ResId& rResId );
- SAL_DLLPRIVATE sal_Bool ImplNumericReformat( const OUString& rStr, sal_Int64& rValue, OUString& rOutStr );
+ SAL_DLLPRIVATE bool ImplNumericReformat( const OUString& rStr, sal_Int64& rValue, OUString& rOutStr );
SAL_DLLPRIVATE void ImplNewFieldValue( sal_Int64 nNewValue );
SAL_DLLPRIVATE void ImplSetUserValue( sal_Int64 nNewValue, Selection* pNewSelection = NULL );
@@ -194,18 +194,18 @@ public:
void SetDecimalDigits( sal_uInt16 nDigits );
sal_uInt16 GetDecimalDigits() const;
- void SetUseThousandSep( sal_Bool b );
- sal_Bool IsUseThousandSep() const { return mbThousandSep; }
+ void SetUseThousandSep( bool b );
+ bool IsUseThousandSep() const { return mbThousandSep; }
- void SetShowTrailingZeros( sal_Bool bShowTrailingZeros );
- sal_Bool IsShowTrailingZeros() const { return mbShowTrailingZeros; }
+ void SetShowTrailingZeros( bool bShowTrailingZeros );
+ bool IsShowTrailingZeros() const { return mbShowTrailingZeros; }
void SetUserValue( sal_Int64 nNewValue );
virtual void SetValue( sal_Int64 nNewValue );
virtual sal_Int64 GetValue() const;
virtual OUString CreateFieldText( sal_Int64 nValue ) const;
- sal_Bool IsValueModified() const;
+ bool IsValueModified() const;
sal_Int64 GetCorrectedValue() const { return mnCorrectedValue; }
sal_Int64 Normalize( sal_Int64 nValue ) const;
@@ -232,7 +232,7 @@ protected:
MetricFormatter();
SAL_DLLPRIVATE void ImplLoadRes( const ResId& rResId );
- SAL_DLLPRIVATE sal_Bool ImplMetricReformat( const OUString& rStr, double& rValue, OUString& rOutStr );
+ SAL_DLLPRIVATE bool ImplMetricReformat( const OUString& rStr, double& rValue, OUString& rOutStr );
public:
virtual ~MetricFormatter();
@@ -283,7 +283,7 @@ private:
protected:
CurrencyFormatter();
- SAL_DLLPRIVATE sal_Bool ImplCurrencyReformat( const OUString& rStr, OUString& rOutStr );
+ SAL_DLLPRIVATE bool ImplCurrencyReformat( const OUString& rStr, OUString& rOutStr );
public:
virtual ~CurrencyFormatter();
@@ -311,11 +311,11 @@ private:
Date maMin;
Date maMax;
Date maCorrectedDate;
- sal_Bool mbLongFormat;
- sal_Bool mbShowDateCentury;
+ bool mbLongFormat;
+ bool mbShowDateCentury;
sal_uInt16 mnDateFormat;
sal_uLong mnExtDateFormat;
- sal_Bool mbEnforceValidValue;
+ bool mbEnforceValidValue;
SAL_DLLPRIVATE void ImplInit();
@@ -324,7 +324,7 @@ protected:
SAL_DLLPRIVATE void ImplLoadRes( const ResId& rResId );
SAL_DLLPRIVATE const Date& ImplGetFieldDate() const { return maFieldDate; }
- SAL_DLLPRIVATE sal_Bool ImplDateReformat( const OUString& rStr, OUString& rOutStr,
+ SAL_DLLPRIVATE bool ImplDateReformat( const OUString& rStr, OUString& rOutStr,
const AllSettings& rSettings );
SAL_DLLPRIVATE void ImplSetUserDate( const Date& rNewDate,
Selection* pNewSelection = NULL );
@@ -333,7 +333,7 @@ protected:
SAL_DLLPRIVATE void ImplNewFieldValue( const Date& rDate );
CalendarWrapper& GetCalendarWrapper() const;
- SAL_DLLPRIVATE sal_Bool ImplAllowMalformedInput() const;
+ SAL_DLLPRIVATE bool ImplAllowMalformedInput() const;
public:
virtual ~DateFormatter();
@@ -345,7 +345,7 @@ public:
void SetExtDateFormat( ExtDateFieldFormat eFormat );
- ExtDateFieldFormat GetExtDateFormat( sal_Bool bResolveSystemFormat = sal_False ) const;
+ ExtDateFieldFormat GetExtDateFormat( bool bResolveSystemFormat = false ) const;
void SetMin( const Date& rNewMin );
const Date& GetMin() const { return maMin; }
@@ -358,17 +358,17 @@ public:
// MT: Remove these methods too, ExtDateFormat should be enough!
// What should happen if using DDMMYYYY, but ShowCentury=sal_False?
// --------------------------------------------------------------
- void SetLongFormat( sal_Bool bLong );
- sal_Bool IsLongFormat() const { return mbLongFormat; }
- void SetShowDateCentury( sal_Bool bShowCentury );
- sal_Bool IsShowDateCentury() const { return mbShowDateCentury; }
+ void SetLongFormat( bool bLong );
+ bool IsLongFormat() const { return mbLongFormat; }
+ void SetShowDateCentury( bool bShowCentury );
+ bool IsShowDateCentury() const { return mbShowDateCentury; }
// --------------------------------------------------------------
void SetDate( const Date& rNewDate );
void SetUserDate( const Date& rNewDate );
Date GetDate() const;
void SetEmptyDate();
- sal_Bool IsEmptyDate() const;
+ bool IsEmptyDate() const;
Date GetCorrectedDate() const { return maCorrectedDate; }
void ResetLastDate() { maLastDate = Date( 0, 0, 0 ); }
@@ -390,8 +390,8 @@ public:
In addition, if this is set to false, the text in the field will \em not be corrected
when the control loses the focus - instead, the invalid input will be preserved.
*/
- void EnforceValidValue( sal_Bool _bEnforce ) { mbEnforceValidValue = _bEnforce; }
- inline sal_Bool IsEnforceValidValue( ) const { return mbEnforceValidValue; }
+ void EnforceValidValue( bool _bEnforce ) { mbEnforceValidValue = _bEnforce; }
+ inline bool IsEnforceValidValue( ) const { return mbEnforceValidValue; }
};
@@ -408,8 +408,8 @@ private:
Time maCorrectedTime;
TimeFieldFormat meFormat;
sal_uInt16 mnTimeFormat;
- sal_Bool mbDuration;
- sal_Bool mbEnforceValidValue;
+ bool mbDuration;
+ bool mbEnforceValidValue;
SAL_DLLPRIVATE void ImplInit();
@@ -419,10 +419,10 @@ protected:
TimeFormatter();
SAL_DLLPRIVATE void ImplLoadRes( const ResId& rResId );
- SAL_DLLPRIVATE sal_Bool ImplTimeReformat( const OUString& rStr, OUString& rOutStr );
+ SAL_DLLPRIVATE bool ImplTimeReformat( const OUString& rStr, OUString& rOutStr );
SAL_DLLPRIVATE void ImplNewFieldValue( const Time& rTime );
SAL_DLLPRIVATE void ImplSetUserTime( const Time& rNewTime, Selection* pNewSelection = NULL );
- SAL_DLLPRIVATE sal_Bool ImplAllowMalformedInput() const;
+ SAL_DLLPRIVATE bool ImplAllowMalformedInput() const;
public:
@@ -447,14 +447,14 @@ public:
void SetFormat( TimeFieldFormat eNewFormat );
TimeFieldFormat GetFormat() const { return meFormat; }
- void SetDuration( sal_Bool mbDuration );
- sal_Bool IsDuration() const { return mbDuration; }
+ void SetDuration( bool mbDuration );
+ bool IsDuration() const { return mbDuration; }
void SetTime( const Time& rNewTime );
void SetUserTime( const Time& rNewTime );
Time GetTime() const;
void SetEmptyTime() { FormatterBase::SetEmptyFieldValue(); }
- sal_Bool IsEmptyTime() const { return FormatterBase::IsEmptyFieldValue(); }
+ bool IsEmptyTime() const { return FormatterBase::IsEmptyFieldValue(); }
Time GetCorrectedTime() const { return maCorrectedTime; }
static Time GetInvalidTime() { return Time( 99, 99, 99 ); }
@@ -471,8 +471,8 @@ public:
In addition, if this is set to false, the text in the field will <em>not</em> be corrected
when the control loses the focus - instead, the invalid input will be preserved.
*/
- void EnforceValidValue( sal_Bool _bEnforce ) { mbEnforceValidValue = _bEnforce; }
- inline sal_Bool IsEnforceValidValue( ) const { return mbEnforceValidValue; }
+ void EnforceValidValue( bool _bEnforce ) { mbEnforceValidValue = _bEnforce; }
+ inline bool IsEnforceValidValue( ) const { return mbEnforceValidValue; }
};
@@ -628,7 +628,7 @@ private:
Date maLast;
protected:
- SAL_DLLPRIVATE void ImplDateSpinArea( sal_Bool bUp );
+ SAL_DLLPRIVATE void ImplDateSpinArea( bool bUp );
SAL_DLLPRIVATE void ImplLoadRes( const ResId& rResId );
public:
@@ -664,7 +664,7 @@ private:
Time maLast;
protected:
- SAL_DLLPRIVATE void ImplTimeSpinArea( sal_Bool bUp );
+ SAL_DLLPRIVATE void ImplTimeSpinArea( bool bUp );
SAL_DLLPRIVATE void ImplLoadRes( const ResId& rResId );
public:
diff --git a/include/vcl/fixed.hxx b/include/vcl/fixed.hxx
index 629c3c5818ee..8eba420ac504 100644
--- a/include/vcl/fixed.hxx
+++ b/include/vcl/fixed.hxx
@@ -44,7 +44,7 @@ private:
using Window::ImplInit;
SAL_DLLPRIVATE void ImplInit( Window* pParent, WinBits nStyle );
SAL_DLLPRIVATE WinBits ImplInitStyle( WinBits nStyle );
- SAL_DLLPRIVATE void ImplInitSettings( sal_Bool bFont, sal_Bool bForeground, sal_Bool bBackground );
+ SAL_DLLPRIVATE void ImplInitSettings( bool bFont, bool bForeground, bool bBackground );
SAL_DLLPRIVATE void ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags,
const Point& rPos, const Size& rSize, bool bFillLayout = false ) const;
public:
@@ -101,7 +101,7 @@ private:
using Window::ImplInit;
SAL_DLLPRIVATE void ImplInit( Window* pParent, WinBits nStyle );
SAL_DLLPRIVATE WinBits ImplInitStyle( WinBits nStyle );
- SAL_DLLPRIVATE void ImplInitSettings( sal_Bool bFont, sal_Bool bForeground, sal_Bool bBackground );
+ SAL_DLLPRIVATE void ImplInitSettings( bool bFont, bool bForeground, bool bBackground );
SAL_DLLPRIVATE void ImplDraw( bool bLayout = false );
protected:
@@ -168,7 +168,7 @@ class VCL_DLLPUBLIC FixedImage : public Control
{
private:
Image maImage;
- sal_Bool mbInUserDraw;
+ bool mbInUserDraw;
private:
using Control::ImplInitSettings;
@@ -198,7 +198,7 @@ public:
void SetImage( const Image& rImage );
const Image& GetImage() const { return maImage; }
- sal_Bool SetModeImage( const Image& rImage );
+ bool SetModeImage( const Image& rImage );
const Image& GetModeImage( ) const;
virtual bool set_property(const OString &rKey, const OString &rValue);
diff --git a/include/vcl/floatwin.hxx b/include/vcl/floatwin.hxx
index a3ece25dfe8b..fcc47519a7cb 100644
--- a/include/vcl/floatwin.hxx
+++ b/include/vcl/floatwin.hxx
@@ -76,14 +76,14 @@ private:
sal_uLong mnPopupModeFlags;
sal_uInt16 mnTitle;
sal_uInt16 mnOldTitle;
- sal_Bool mbInPopupMode;
- sal_Bool mbPopupMode;
- sal_Bool mbPopupModeCanceled;
- sal_Bool mbPopupModeTearOff;
- sal_Bool mbMouseDown;
- sal_Bool mbOldSaveBackMode;
- sal_Bool mbGrabFocus; // act as key input window, although focus is not set
- sal_Bool mbInCleanUp;
+ bool mbInPopupMode;
+ bool mbPopupMode;
+ bool mbPopupModeCanceled;
+ bool mbPopupModeTearOff;
+ bool mbMouseDown;
+ bool mbOldSaveBackMode;
+ bool mbGrabFocus; // act as key input window, although focus is not set
+ bool mbInCleanUp;
Link maPopupModeEndHdl;
SAL_DLLPRIVATE void ImplCallPopupModeEnd();
@@ -105,15 +105,15 @@ public:
#define IMPL_FLOATWIN_HITTEST_RECT ((sal_uInt16)0x0004)
SAL_DLLPRIVATE FloatingWindow* ImplFloatHitTest( Window* pReference, const Point& rPos, sal_uInt16& rHitTest );
SAL_DLLPRIVATE FloatingWindow* ImplFindLastLevelFloat();
- SAL_DLLPRIVATE sal_Bool ImplIsFloatPopupModeWindow( const Window* pWindow );
- SAL_DLLPRIVATE void ImplSetMouseDown() { mbMouseDown = sal_True; }
- SAL_DLLPRIVATE sal_Bool ImplIsMouseDown() const { return mbMouseDown; }
+ SAL_DLLPRIVATE bool ImplIsFloatPopupModeWindow( const Window* pWindow );
+ SAL_DLLPRIVATE void ImplSetMouseDown() { mbMouseDown = true; }
+ SAL_DLLPRIVATE bool ImplIsMouseDown() const { return mbMouseDown; }
SAL_DLLPRIVATE static Point ImplCalcPos( Window* pWindow,
const Rectangle& rRect, sal_uLong nFlags,
sal_uInt16& rArrangeIndex );
SAL_DLLPRIVATE void ImplEndPopupMode( sal_uInt16 nFlags = 0, sal_uLong nFocusId = 0 );
SAL_DLLPRIVATE Rectangle& ImplGetItemEdgeClipRect();
- SAL_DLLPRIVATE sal_Bool ImplIsInPrivatePopupMode() const { return mbInPopupMode; }
+ SAL_DLLPRIVATE bool ImplIsInPrivatePopupMode() const { return mbInPopupMode; }
public:
explicit FloatingWindow( Window* pParent, WinBits nStyle = WB_STDFLOATWIN );
@@ -135,15 +135,15 @@ public:
void AddPopupModeWindow( Window* pWindow );
sal_uLong GetPopupModeFlags() const { return mnPopupModeFlags; }
void SetPopupModeFlags( sal_uLong nFlags ) { mnPopupModeFlags = nFlags; }
- sal_Bool IsInPopupMode() const { return mbPopupMode; }
- sal_Bool IsInCleanUp() const { return mbInCleanUp; }
- sal_Bool IsPopupModeCanceled() const { return mbPopupModeCanceled; }
- sal_Bool IsPopupModeTearOff() const { return mbPopupModeTearOff; }
+ bool IsInPopupMode() const { return mbPopupMode; }
+ bool IsInCleanUp() const { return mbInCleanUp; }
+ bool IsPopupModeCanceled() const { return mbPopupModeCanceled; }
+ bool IsPopupModeTearOff() const { return mbPopupModeTearOff; }
void SetPopupModeEndHdl( const Link& rLink ) { maPopupModeEndHdl = rLink; }
const Link& GetPopupModeEndHdl() const { return maPopupModeEndHdl; }
- sal_Bool GrabsFocus() const { return mbGrabFocus; }
+ bool GrabsFocus() const { return mbGrabFocus; }
static Point CalcFloatingPosition( Window* pWindow, const Rectangle& rRect, sal_uLong nFlags, sal_uInt16& rArrangeIndex );
};
diff --git a/include/vcl/font.hxx b/include/vcl/font.hxx
index d49d647f3655..dbd44fcddaf5 100644
--- a/include/vcl/font.hxx
+++ b/include/vcl/font.hxx
@@ -59,8 +59,8 @@ public:
const Color& GetColor() const;
void SetFillColor( const Color& );
const Color& GetFillColor() const;
- void SetTransparent( sal_Bool bTransparent );
- sal_Bool IsTransparent() const;
+ void SetTransparent( bool bTransparent );
+ bool IsTransparent() const;
void SetAlign( FontAlign );
FontAlign GetAlign() const;
@@ -93,11 +93,11 @@ public:
void SetOrientation( short nLineOrientation );
short GetOrientation() const;
- void SetVertical( sal_Bool bVertical );
+ void SetVertical( bool bVertical );
bool IsVertical() const;
void SetKerning( FontKerning nKerning );
FontKerning GetKerning() const;
- sal_Bool IsKerning() const;
+ bool IsKerning() const;
void SetWeight( FontWeight );
FontWeight GetWeight() const;
@@ -105,10 +105,10 @@ public:
FontWidth GetWidthType() const;
void SetItalic( FontItalic );
FontItalic GetItalic() const;
- void SetOutline( sal_Bool bOutline );
- sal_Bool IsOutline() const;
- void SetShadow( sal_Bool bShadow );
- sal_Bool IsShadow() const;
+ void SetOutline( bool bOutline );
+ bool IsOutline() const;
+ void SetShadow( bool bShadow );
+ bool IsShadow() const;
void SetRelief( FontRelief );
FontRelief GetRelief() const;
void SetUnderline( FontUnderline );
@@ -119,8 +119,8 @@ public:
FontStrikeout GetStrikeout() const;
void SetEmphasisMark( FontEmphasisMark );
FontEmphasisMark GetEmphasisMark() const;
- void SetWordLineMode( sal_Bool bWordLine );
- sal_Bool IsWordLineMode() const;
+ void SetWordLineMode( bool bWordLine );
+ bool IsWordLineMode() const;
void Merge( const Font& rFont );
void GetFontAttributes( ImplFontAttributes& rAttrs ) const;
@@ -129,7 +129,7 @@ public:
bool operator==( const Font& ) const;
bool operator!=( const Font& rFont ) const
{ return !(Font::operator==( rFont )); }
- sal_Bool IsSameInstance( const Font& ) const;
+ bool IsSameInstance( const Font& ) const;
friend VCL_DLLPUBLIC SvStream& ReadFont( SvStream& rIStm, Font& );
friend VCL_DLLPUBLIC SvStream& WriteFont( SvStream& rOStm, const Font& );
diff --git a/include/vcl/gdimtf.hxx b/include/vcl/gdimtf.hxx
index a322f8e2cf4f..fcb095ab6bba 100644
--- a/include/vcl/gdimtf.hxx
+++ b/include/vcl/gdimtf.hxx
@@ -81,9 +81,9 @@ private:
GDIMetaFile* pPrev;
GDIMetaFile* pNext;
OutputDevice* pOutDev;
- sal_Bool bPause;
- sal_Bool bRecord;
- sal_Bool bUseCanvas;
+ bool bPause;
+ bool bRecord;
+ bool bUseCanvas;
SAL_DLLPRIVATE static Color ImplColAdjustFnc( const Color& rColor, const void* pColParam );
@@ -126,11 +126,11 @@ public:
virtual ~GDIMetaFile();
GDIMetaFile& operator=( const GDIMetaFile& rMtf );
- sal_Bool operator==( const GDIMetaFile& rMtf ) const;
- sal_Bool operator!=( const GDIMetaFile& rMtf ) const { return !( *this == rMtf ); }
+ bool operator==( const GDIMetaFile& rMtf ) const;
+ bool operator!=( const GDIMetaFile& rMtf ) const { return !( *this == rMtf ); }
void Clear();
- sal_Bool Mirror( sal_uLong nMirrorFlags );
+ bool Mirror( sal_uLong nMirrorFlags );
void Move( long nX, long nY );
// additional Move method getting specifics how to handle MapMode( MAP_PIXEL )
void Move( long nX, long nY, long nDPIX, long nDPIY );
@@ -150,7 +150,7 @@ public:
void Adjust( short nLuminancePercent = 0, short nContrastPercent = 0,
short nChannelRPercent = 0, short nChannelGPercent = 0,
short nChannelBPercent = 0, double fGamma = 1.0,
- sal_Bool bInvert = sal_False
+ bool bInvert = false
);
void Convert( MtfConversion eConversion );
@@ -160,15 +160,15 @@ public:
GDIMetaFile GetMonochromeMtf( const Color& rCol ) const;
void Record( OutputDevice* pOutDev );
- sal_Bool IsRecord() const { return bRecord; }
+ bool IsRecord() const { return bRecord; }
void Play( GDIMetaFile& rMtf, size_t nPos = GDI_METAFILE_END );
void Play( OutputDevice* pOutDev, size_t nPos = GDI_METAFILE_END );
void Play( OutputDevice* pOutDev, const Point& rPos,
const Size& rSize, size_t nPos = GDI_METAFILE_END );
- void Pause( sal_Bool bPause );
- sal_Bool IsPause() const { return bPause; }
+ void Pause( bool bPause );
+ bool IsPause() const { return bPause; }
void Stop();
@@ -214,10 +214,10 @@ public:
friend VCL_DLLPUBLIC SvStream& WriteGDIMetaFile( SvStream& rOStm, const GDIMetaFile& rGDIMetaFile );
/// Creates an antialiased thumbnail, with maximum width or height of nMaximumExtent.
- sal_Bool CreateThumbnail(BitmapEx& rBmpEx, sal_uInt32 nMaximumSize = 256) const;
+ bool CreateThumbnail(BitmapEx& rBmpEx, sal_uInt32 nMaximumSize = 256) const;
- void UseCanvas( sal_Bool _bUseCanvas );
- sal_Bool GetUseCanvas() const { return bUseCanvas; }
+ void UseCanvas( bool _bUseCanvas );
+ bool GetUseCanvas() const { return bUseCanvas; }
};
/** Create a special metaaction that delegates rendering to specified
diff --git a/include/vcl/gfxlink.hxx b/include/vcl/gfxlink.hxx
index 1bf3f68e2691..9ecde74de55d 100644
--- a/include/vcl/gfxlink.hxx
+++ b/include/vcl/gfxlink.hxx
@@ -61,7 +61,7 @@ struct ImpSwap
sal_uInt8* GetData() const;
- sal_Bool IsSwapped() const { return maURL.getLength() > 0; }
+ bool IsSwapped() const { return maURL.getLength() > 0; }
void WriteTo( SvStream& rOStm ) const;
};
@@ -137,11 +137,11 @@ public:
GfxLink();
GfxLink( const GfxLink& );
GfxLink( const OUString& rPath, GfxLinkType nType );
- GfxLink( sal_uInt8* pBuf, sal_uInt32 nBufSize, GfxLinkType nType, sal_Bool bOwns );
+ GfxLink( sal_uInt8* pBuf, sal_uInt32 nBufSize, GfxLinkType nType, bool bOwns );
~GfxLink();
GfxLink& operator=( const GfxLink& );
- sal_Bool IsEqual( const GfxLink& ) const;
+ bool IsEqual( const GfxLink& ) const;
GfxLinkType GetType() const;
@@ -149,7 +149,7 @@ public:
sal_uInt32 GetUserId() const { return mnUserId; }
sal_uInt32 GetDataSize() const;
- void SetData( sal_uInt8* pBuf, sal_uInt32 nSize, GfxLinkType nType, sal_Bool bOwns );
+ void SetData( sal_uInt8* pBuf, sal_uInt32 nSize, GfxLinkType nType, bool bOwns );
const sal_uInt8* GetData() const;
const Size& GetPrefSize() const;
@@ -160,16 +160,16 @@ public:
void SetPrefMapMode( const MapMode& rPrefMapMode );
bool IsPrefMapModeValid();
- sal_Bool IsNative() const;
- sal_Bool IsUser() const { return( GFX_LINK_TYPE_USER == meType ); }
+ bool IsNative() const;
+ bool IsUser() const { return( GFX_LINK_TYPE_USER == meType ); }
- sal_Bool LoadNative( Graphic& rGraphic );
+ bool LoadNative( Graphic& rGraphic );
- sal_Bool ExportNative( SvStream& rOStream ) const;
+ bool ExportNative( SvStream& rOStream ) const;
void SwapOut();
void SwapIn();
- sal_Bool IsSwappedOut() const { return( mpSwap != NULL ); }
+ bool IsSwappedOut() const { return( mpSwap != NULL ); }
public:
diff --git a/include/vcl/gradient.hxx b/include/vcl/gradient.hxx
index 3a10dc083ee3..9b044f0f103d 100644
--- a/include/vcl/gradient.hxx
+++ b/include/vcl/gradient.hxx
@@ -103,10 +103,10 @@ public:
void GetBoundRect( const Rectangle& rRect, Rectangle &rBoundRect, Point& rCenter ) const;
Gradient& operator=( const Gradient& rGradient );
- sal_Bool operator==( const Gradient& rGradient ) const;
- sal_Bool operator!=( const Gradient& rGradient ) const
+ bool operator==( const Gradient& rGradient ) const;
+ bool operator!=( const Gradient& rGradient ) const
{ return !(Gradient::operator==( rGradient )); }
- sal_Bool IsSameInstance( const Gradient& rGradient ) const
+ bool IsSameInstance( const Gradient& rGradient ) const
{ return (mpImplGradient == rGradient.mpImplGradient); }
friend VCL_DLLPUBLIC SvStream& ReadGradient( SvStream& rIStm, Gradient& rGradient );
diff --git a/include/vcl/graph.h b/include/vcl/graph.h
index abc7aa50275a..30f4230a11d4 100644
--- a/include/vcl/graph.h
+++ b/include/vcl/graph.h
@@ -39,7 +39,7 @@ protected:
OUString maUpperName;
ReaderData* mpReaderData;
- sal_Bool mbIsReading;
+ bool mbIsReading;
GraphicReader() :
mpReaderData( NULL ),
@@ -51,7 +51,7 @@ public:
const OUString& GetUpperFilterName() const { return maUpperName; }
ReaderData* GetReaderData() const { return mpReaderData; }
- sal_Bool IsReading() const { return mbIsReading; }
+ bool IsReading() const { return mbIsReading; }
// TODO: when incompatible changes are possible again
// the preview size hint should be redone
diff --git a/include/vcl/graph.hxx b/include/vcl/graph.hxx
index ec04cd7dcf57..3d19705f0aa0 100644
--- a/include/vcl/graph.hxx
+++ b/include/vcl/graph.hxx
@@ -103,20 +103,20 @@ public:
virtual ~Graphic();
Graphic& operator=( const Graphic& rGraphic );
- sal_Bool operator==( const Graphic& rGraphic ) const;
- sal_Bool operator!=( const Graphic& rGraphic ) const;
- sal_Bool operator!() const;
+ bool operator==( const Graphic& rGraphic ) const;
+ bool operator!=( const Graphic& rGraphic ) const;
+ bool operator!() const;
void Clear();
GraphicType GetType() const;
void SetDefaultType();
- sal_Bool IsSupportedGraphic() const;
+ bool IsSupportedGraphic() const;
- sal_Bool IsTransparent() const;
- sal_Bool IsAlpha() const;
- sal_Bool IsAnimated() const;
- sal_Bool IsEPS() const;
+ bool IsTransparent() const;
+ bool IsAlpha() const;
+ bool IsAnimated() const;
+ bool IsEPS() const;
// #i102089# Access of Bitmap potentially will have to rasterconvert the Graphic
// if it is a MetaFile. To be able to control this conversion it is necessary to
@@ -176,17 +176,17 @@ public:
const OUString& GetDocFileName() const;
sal_uLong GetDocFilePos() const;
- sal_Bool SwapOut();
- sal_Bool SwapOut( SvStream* pOStm );
- sal_Bool SwapIn();
- sal_Bool SwapIn( SvStream* pIStm );
- sal_Bool IsSwapOut() const;
+ bool SwapOut();
+ bool SwapOut( SvStream* pOStm );
+ bool SwapIn();
+ bool SwapIn( SvStream* pIStm );
+ bool IsSwapOut() const;
void SetLink( const GfxLink& );
GfxLink GetLink() const;
- sal_Bool IsLink() const;
+ bool IsLink() const;
- sal_Bool ExportNative( SvStream& rOStream ) const;
+ bool ExportNative( SvStream& rOStream ) const;
friend VCL_DLLPUBLIC SvStream& WriteGraphic( SvStream& rOStream, const Graphic& rGraphic );
friend VCL_DLLPUBLIC SvStream& ReadGraphic( SvStream& rIStream, Graphic& rGraphic );
diff --git a/include/vcl/graphicfilter.hxx b/include/vcl/graphicfilter.hxx
index 24d7057d62cc..d62cf40a3f69 100644
--- a/include/vcl/graphicfilter.hxx
+++ b/include/vcl/graphicfilter.hxx
@@ -132,37 +132,37 @@ class VCL_DLLPUBLIC GraphicDescriptor
sal_uInt16 nBitsPerPixel;
sal_uInt16 nPlanes;
sal_uInt16 nFormat;
- sal_Bool bCompressed;
- sal_Bool bOwnStream;
+ bool bCompressed;
+ bool bOwnStream;
void ImpConstruct();
- sal_Bool ImpDetectBMP( SvStream& rStm, sal_Bool bExtendedInfo );
- sal_Bool ImpDetectGIF( SvStream& rStm, sal_Bool bExtendedInfo );
- sal_Bool ImpDetectJPG( SvStream& rStm, sal_Bool bExtendedInfo );
- sal_Bool ImpDetectPCD( SvStream& rStm, sal_Bool bExtendedInfo );
- sal_Bool ImpDetectPCX( SvStream& rStm, sal_Bool bExtendedInfo );
- sal_Bool ImpDetectPNG( SvStream& rStm, sal_Bool bExtendedInfo );
- sal_Bool ImpDetectTIF( SvStream& rStm, sal_Bool bExtendedInfo );
- sal_Bool ImpDetectXBM( SvStream& rStm, sal_Bool bExtendedInfo );
- sal_Bool ImpDetectXPM( SvStream& rStm, sal_Bool bExtendedInfo );
- sal_Bool ImpDetectPBM( SvStream& rStm, sal_Bool bExtendedInfo );
- sal_Bool ImpDetectPGM( SvStream& rStm, sal_Bool bExtendedInfo );
- sal_Bool ImpDetectPPM( SvStream& rStm, sal_Bool bExtendedInfo );
- sal_Bool ImpDetectRAS( SvStream& rStm, sal_Bool bExtendedInfo );
- sal_Bool ImpDetectTGA( SvStream& rStm, sal_Bool bExtendedInfo );
- sal_Bool ImpDetectPSD( SvStream& rStm, sal_Bool bExtendedInfo );
- sal_Bool ImpDetectEPS( SvStream& rStm, sal_Bool bExtendedInfo );
- sal_Bool ImpDetectDXF( SvStream& rStm, sal_Bool bExtendedInfo );
- sal_Bool ImpDetectMET( SvStream& rStm, sal_Bool bExtendedInfo );
- sal_Bool ImpDetectPCT( SvStream& rStm, sal_Bool bExtendedInfo );
- sal_Bool ImpDetectSGF( SvStream& rStm, sal_Bool bExtendedInfo );
- sal_Bool ImpDetectSVM( SvStream& rStm, sal_Bool bExtendedInfo );
- sal_Bool ImpDetectWMF( SvStream& rStm, sal_Bool bExtendedInfo );
- sal_Bool ImpDetectSGV( SvStream& rStm, sal_Bool bExtendedInfo );
- sal_Bool ImpDetectEMF( SvStream& rStm, sal_Bool bExtendedInfo );
- sal_Bool ImpDetectSVG( SvStream& rStm, sal_Bool bExtendedInfo );
- sal_Bool ImpDetectMOV( SvStream& rStm, sal_Bool bExtendedInfo );
+ bool ImpDetectBMP( SvStream& rStm, bool bExtendedInfo );
+ bool ImpDetectGIF( SvStream& rStm, bool bExtendedInfo );
+ bool ImpDetectJPG( SvStream& rStm, bool bExtendedInfo );
+ bool ImpDetectPCD( SvStream& rStm, bool bExtendedInfo );
+ bool ImpDetectPCX( SvStream& rStm, bool bExtendedInfo );
+ bool ImpDetectPNG( SvStream& rStm, bool bExtendedInfo );
+ bool ImpDetectTIF( SvStream& rStm, bool bExtendedInfo );
+ bool ImpDetectXBM( SvStream& rStm, bool bExtendedInfo );
+ bool ImpDetectXPM( SvStream& rStm, bool bExtendedInfo );
+ bool ImpDetectPBM( SvStream& rStm, bool bExtendedInfo );
+ bool ImpDetectPGM( SvStream& rStm, bool bExtendedInfo );
+ bool ImpDetectPPM( SvStream& rStm, bool bExtendedInfo );
+ bool ImpDetectRAS( SvStream& rStm, bool bExtendedInfo );
+ bool ImpDetectTGA( SvStream& rStm, bool bExtendedInfo );
+ bool ImpDetectPSD( SvStream& rStm, bool bExtendedInfo );
+ bool ImpDetectEPS( SvStream& rStm, bool bExtendedInfo );
+ bool ImpDetectDXF( SvStream& rStm, bool bExtendedInfo );
+ bool ImpDetectMET( SvStream& rStm, bool bExtendedInfo );
+ bool ImpDetectPCT( SvStream& rStm, bool bExtendedInfo );
+ bool ImpDetectSGF( SvStream& rStm, bool bExtendedInfo );
+ bool ImpDetectSVM( SvStream& rStm, bool bExtendedInfo );
+ bool ImpDetectWMF( SvStream& rStm, bool bExtendedInfo );
+ bool ImpDetectSGV( SvStream& rStm, bool bExtendedInfo );
+ bool ImpDetectEMF( SvStream& rStm, bool bExtendedInfo );
+ bool ImpDetectSVG( SvStream& rStm, bool bExtendedInfo );
+ bool ImpDetectMOV( SvStream& rStm, bool bExtendedInfo );
GraphicDescriptor( const GraphicDescriptor& );
GraphicDescriptor& operator=( const GraphicDescriptor& );
@@ -189,7 +189,7 @@ public:
if bExtendedInfo == sal_True the file header is used to derive
as many properties as possible (size, color, etc.) */
- virtual sal_Bool Detect( sal_Bool bExtendedInfo = sal_False );
+ virtual bool Detect( sal_Bool bExtendedInfo = sal_False );
/** @return the file format, GFF_NOT if no format was recognized */
sal_uInt16 GetFileFormat() const { return nFormat; }
@@ -207,7 +207,7 @@ public:
sal_uInt16 GetPlanes() const { return nPlanes; }
/** @return true if the graphic is compressed */
- sal_Bool IsCompressed() const { return bCompressed; }
+ bool IsCompressed() const { return bCompressed; }
/** @return filter number that is needed by the GraphFilter to read this format */
static OUString GetImportFormatShortName( sal_uInt16 nFormat );
@@ -238,13 +238,13 @@ protected:
OUString aFilterPath;
FilterConfigCache* pConfig;
FilterErrorEx* pErrorEx;
- sal_Bool bAbort;
- sal_Bool bUseConfig;
+ bool bAbort;
+ bool bUseConfig;
long nExpGraphHint;
public:
- GraphicFilter( sal_Bool bUseConfig = sal_True );
+ GraphicFilter( bool bUseConfig = true );
~GraphicFilter();
void SetFilterPath( const OUString& rFilterPath ) { aFilterPath = rFilterPath; };
@@ -260,7 +260,7 @@ public:
OUString GetImportFormatShortName( sal_uInt16 nFormat );
OUString GetImportOSFileType( sal_uInt16 nFormat );
OUString GetImportWildcard( sal_uInt16 nFormat, sal_Int32 nEntry = 0 );
- sal_Bool IsImportPixelFormat( sal_uInt16 nFormat );
+ bool IsImportPixelFormat( sal_uInt16 nFormat );
sal_uInt16 GetExportFormatCount();
sal_uInt16 GetExportFormatNumber( const OUString& rFormatName );
@@ -274,7 +274,7 @@ public:
OUString GetExportFormatShortName( sal_uInt16 nFormat );
OUString GetExportOSFileType( sal_uInt16 nFormat );
OUString GetExportWildcard( sal_uInt16 nFormat, sal_Int32 nEntry = 0 );
- sal_Bool IsExportPixelFormat( sal_uInt16 nFormat );
+ bool IsExportPixelFormat( sal_uInt16 nFormat );
sal_uInt16 ExportGraphic( const Graphic& rGraphic, const INetURLObject& rPath,
sal_uInt16 nFormat = GRFILTER_FORMAT_DONTKNOW,
@@ -309,7 +309,7 @@ public:
com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >* pFilterData,
WMF_EXTERNALHEADER *pExtHeader = NULL );
- void Abort() { bAbort = sal_True; }
+ void Abort() { bAbort = true; }
const FilterErrorEx& GetLastError() const;
void ResetLastError();
diff --git a/include/vcl/group.hxx b/include/vcl/group.hxx
index 1da4aa461173..6deb4978d913 100644
--- a/include/vcl/group.hxx
+++ b/include/vcl/group.hxx
@@ -35,7 +35,7 @@ private:
using Window::ImplInit;
SAL_DLLPRIVATE void ImplInit( Window* pParent, WinBits nStyle );
SAL_DLLPRIVATE WinBits ImplInitStyle( WinBits nStyle );
- SAL_DLLPRIVATE void ImplInitSettings( sal_Bool bFont, sal_Bool bForeground, sal_Bool bBackground );
+ SAL_DLLPRIVATE void ImplInitSettings( bool bFont, bool bForeground, bool bBackground );
SAL_DLLPRIVATE void ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags,
const Point& rPos, const Size& rSize, bool bLayout = false );
diff --git a/include/vcl/hatch.hxx b/include/vcl/hatch.hxx
index 7ba89eb46598..3b9b578b92d0 100644
--- a/include/vcl/hatch.hxx
+++ b/include/vcl/hatch.hxx
@@ -65,9 +65,9 @@ public:
~Hatch();
Hatch& operator=( const Hatch& rHatch );
- sal_Bool operator==( const Hatch& rHatch ) const;
- sal_Bool operator!=( const Hatch& rHatch ) const { return !(Hatch::operator==( rHatch ) ); }
- sal_Bool IsSameInstance( const Hatch& rHatch ) const { return( mpImplHatch == rHatch.mpImplHatch ); }
+ bool operator==( const Hatch& rHatch ) const;
+ bool operator!=( const Hatch& rHatch ) const { return !(Hatch::operator==( rHatch ) ); }
+ bool IsSameInstance( const Hatch& rHatch ) const { return( mpImplHatch == rHatch.mpImplHatch ); }
HatchStyle GetStyle() const { return mpImplHatch->meStyle; }
diff --git a/include/vcl/help.hxx b/include/vcl/help.hxx
index 10ebd520fbe3..fee319685088 100644
--- a/