[Libreoffice-commits] core.git: 13 commits - accessibility/source avmedia/source basegfx/source basic/source comphelper/source compilerplugins/clang connectivity/source cppcanvas/source cppu/source drawinglayer/source editeng/source framework/source i18nlangtag/source i18nutil/source jvmfwk/plugins linguistic/source sax/source sfx2/source sot/source svl/source svtools/source svx/source toolkit/source tools/source ucbhelper/source unodevtools/source unotools/source vcl/generic vcl/source vcl/unx xmloff/source

Noel Grandin noel at peralex.com
Tue Aug 11 00:49:23 PDT 2015


 accessibility/source/extended/AccessibleBrowseBoxHeaderBar.cxx             |    2 
 accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx             |    2 
 accessibility/source/extended/accessiblelistbox.cxx                        |    4 -
 accessibility/source/extended/accessiblelistboxentry.cxx                   |    4 -
 accessibility/source/standard/vclxaccessiblelist.cxx                       |    4 -
 accessibility/source/standard/vclxaccessibleradiobutton.cxx                |    2 
 avmedia/source/framework/mediacontrol.cxx                                  |    6 -
 basegfx/source/polygon/b2dpolygontools.cxx                                 |    2 
 basegfx/source/polygon/b2dpolypolygoncutter.cxx                            |    6 -
 basegfx/source/polygon/b3dpolygontools.cxx                                 |    2 
 basegfx/source/tools/b2dclipstate.cxx                                      |    6 -
 basegfx/source/tools/stringconversiontools.cxx                             |    2 
 basic/source/basmgr/basmgr.cxx                                             |    4 -
 basic/source/classes/sb.cxx                                                |    2 
 basic/source/classes/sbxmod.cxx                                            |    2 
 basic/source/comp/dim.cxx                                                  |    2 
 basic/source/comp/exprgen.cxx                                              |    2 
 basic/source/runtime/inputbox.cxx                                          |    2 
 basic/source/runtime/iosys.cxx                                             |    2 
 basic/source/runtime/methods1.cxx                                          |    2 
 basic/source/runtime/runtime.cxx                                           |    6 -
 basic/source/sbx/sbxscan.cxx                                               |    2 
 comphelper/source/misc/accessiblewrapper.cxx                               |    2 
 compilerplugins/clang/defaultparams.cxx                                    |    4 -
 connectivity/source/commontools/predicateinput.cxx                         |    8 +-
 connectivity/source/parse/sqliterator.cxx                                  |    4 -
 connectivity/source/parse/sqlnode.cxx                                      |    2 
 cppcanvas/source/mtfrenderer/emfplus.cxx                                   |    2 
 cppu/source/uno/lbenv.cxx                                                  |    2 
 drawinglayer/source/processor3d/cutfindprocessor3d.cxx                     |    2 
 editeng/source/editeng/editview.cxx                                        |    4 -
 editeng/source/editeng/eertfpar.cxx                                        |    4 -
 editeng/source/editeng/impedit.cxx                                         |    4 -
 editeng/source/editeng/impedit2.cxx                                        |   32 ++++----
 editeng/source/editeng/impedit3.cxx                                        |    2 
 editeng/source/editeng/impedit5.cxx                                        |    8 +-
 editeng/source/misc/acorrcfg.cxx                                           |    2 
 editeng/source/misc/svxacorr.cxx                                           |   20 ++---
 editeng/source/outliner/outlin2.cxx                                        |    2 
 editeng/source/outliner/outlvw.cxx                                         |   12 +--
 editeng/source/rtf/rtfitem.cxx                                             |   10 +-
 editeng/source/rtf/svxrtf.cxx                                              |   36 ++++-----
 editeng/source/uno/unoedhlp.cxx                                            |    4 -
 editeng/source/uno/unofdesc.cxx                                            |   14 +--
 editeng/source/uno/unofored.cxx                                            |    6 -
 editeng/source/uno/unoforou.cxx                                            |    6 -
 editeng/source/uno/unotext.cxx                                             |   14 +--
 framework/source/fwe/helper/undomanagerhelper.cxx                          |    8 +-
 framework/source/jobs/joburl.cxx                                           |    4 -
 framework/source/layoutmanager/layoutmanager.cxx                           |    2 
 framework/source/layoutmanager/toolbarlayoutmanager.cxx                    |   10 +-
 framework/source/services/autorecovery.cxx                                 |    2 
 framework/source/uielement/addonstoolbarwrapper.cxx                        |    2 
 framework/source/uielement/complextoolbarcontroller.cxx                    |   10 +-
 framework/source/uielement/generictoolbarcontroller.cxx                    |    8 +-
 framework/source/uielement/menubarmanager.cxx                              |    6 -
 framework/source/uielement/menubarmerger.cxx                               |    2 
 framework/source/uielement/recentfilesmenucontroller.cxx                   |    2 
 framework/source/uielement/togglebuttontoolbarcontroller.cxx               |    2 
 framework/source/uielement/toolbarmanager.cxx                              |    6 -
 framework/source/uielement/toolbarmerger.cxx                               |    2 
 framework/source/uielement/toolbarwrapper.cxx                              |    4 -
 i18nlangtag/source/isolang/isolang.cxx                                     |    2 
 i18nlangtag/source/languagetag/languagetag.cxx                             |   10 +-
 i18nutil/source/utility/scripttypedetector.cxx                             |    2 
 jvmfwk/plugins/sunmajor/pluginlib/util.cxx                                 |    2 
 linguistic/source/convdiclist.cxx                                          |    3 
 linguistic/source/dlistimp.cxx                                             |    5 -
 sax/source/tools/converter.cxx                                             |    2 
 sax/source/tools/fshelper.cxx                                              |    2 
 sfx2/source/appl/app.cxx                                                   |    4 -
 sfx2/source/appl/appinit.cxx                                               |    2 
 sfx2/source/appl/appopen.cxx                                               |    2 
 sfx2/source/appl/appserv.cxx                                               |    4 -
 sfx2/source/appl/macroloader.cxx                                           |    2 
 sfx2/source/appl/newhelp.cxx                                               |    4 -
 sfx2/source/appl/sfxpicklist.cxx                                           |    2 
 sfx2/source/appl/workwin.cxx                                               |    4 -
 sfx2/source/bastyp/fltfnc.cxx                                              |    2 
 sfx2/source/bastyp/helper.cxx                                              |    4 -
 sfx2/source/control/dispatch.cxx                                           |    4 -
 sfx2/source/control/shell.cxx                                              |    2 
 sfx2/source/dialog/basedlgs.cxx                                            |    2 
 sfx2/source/dialog/dinfdlg.cxx                                             |   12 +--
 sfx2/source/dialog/newstyle.cxx                                            |    2 
 sfx2/source/dialog/printopt.cxx                                            |   18 ++--
 sfx2/source/dialog/securitypage.cxx                                        |    2 
 sfx2/source/dialog/splitwin.cxx                                            |   26 +++---
 sfx2/source/dialog/srchdlg.cxx                                             |    2 
 sfx2/source/dialog/styledlg.cxx                                            |    2 
 sfx2/source/dialog/taskpane.cxx                                            |    4 -
 sfx2/source/dialog/templateinfodlg.cxx                                     |    2 
 sfx2/source/dialog/templdlg.cxx                                            |   34 ++++----
 sfx2/source/dialog/versdlg.cxx                                             |    6 -
 sfx2/source/doc/SfxDocumentMetaData.cxx                                    |    3 
 sfx2/source/doc/docfile.cxx                                                |   18 ++--
 sfx2/source/doc/guisaveas.cxx                                              |    2 
 sfx2/source/doc/new.cxx                                                    |    2 
 sfx2/source/doc/objcont.cxx                                                |   12 +--
 sfx2/source/doc/objembed.cxx                                               |    4 -
 sfx2/source/doc/objmisc.cxx                                                |   12 +--
 sfx2/source/doc/objserv.cxx                                                |   14 +--
 sfx2/source/doc/objstor.cxx                                                |   16 ++--
 sfx2/source/doc/objxtor.cxx                                                |    4 -
 sfx2/source/doc/printhelper.cxx                                            |    2 
 sfx2/source/doc/sfxbasemodel.cxx                                           |   18 ++--
 sfx2/source/doc/templatedlg.cxx                                            |    2 
 sfx2/source/explorer/nochaos.cxx                                           |    2 
 sfx2/source/menu/virtmenu.cxx                                              |    2 
 sfx2/source/notify/eventsupplier.cxx                                       |    2 
 sfx2/source/sidebar/AccessibleTitleBar.cxx                                 |    2 
 sfx2/source/sidebar/SidebarController.cxx                                  |    6 -
 sfx2/source/sidebar/TabBar.cxx                                             |    2 
 sfx2/source/sidebar/TitleBar.cxx                                           |    2 
 sfx2/source/styles/StyleManager.cxx                                        |    2 
 sfx2/source/view/frmload.cxx                                               |    2 
 sfx2/source/view/ipclient.cxx                                              |    2 
 sfx2/source/view/sfxbasecontroller.cxx                                     |    2 
 sfx2/source/view/viewfrm.cxx                                               |   14 +--
 sfx2/source/view/viewprn.cxx                                               |    4 -
 sfx2/source/view/viewsh.cxx                                                |   14 +--
 sot/source/sdstor/stgstrms.cxx                                             |    8 +-
 sot/source/sdstor/ucbstorage.cxx                                           |    6 -
 svl/source/items/cntwall.cxx                                               |    4 -
 svl/source/items/itemset.cxx                                               |   12 +--
 svl/source/items/poolio.cxx                                                |   12 +--
 svl/source/items/style.cxx                                                 |    6 -
 svl/source/numbers/zforfind.cxx                                            |    4 -
 svl/source/numbers/zforlist.cxx                                            |    8 +-
 svl/source/undo/undo.cxx                                                   |    2 
 svtools/source/brwbox/brwbox1.cxx                                          |    6 -
 svtools/source/brwbox/brwbox2.cxx                                          |   18 ++--
 svtools/source/brwbox/datwin.cxx                                           |    8 +-
 svtools/source/brwbox/editbrowsebox.cxx                                    |    4 -
 svtools/source/contnr/fileview.cxx                                         |    6 -
 svtools/source/contnr/imivctl1.cxx                                         |    4 -
 svtools/source/contnr/svimpbox.cxx                                         |   40 +++++-----
 svtools/source/contnr/treelistbox.cxx                                      |    6 -
 svtools/source/control/breadcrumb.cxx                                      |    2 
 svtools/source/control/calendar.cxx                                        |    4 -
 svtools/source/control/ctrlbox.cxx                                         |   10 +-
 svtools/source/control/roadmap.cxx                                         |    2 
 svtools/source/control/ruler.cxx                                           |    2 
 svtools/source/control/stdmenu.cxx                                         |    4 -
 svtools/source/control/tabbar.cxx                                          |    4 -
 svtools/source/control/toolbarmenu.cxx                                     |    2 
 svtools/source/control/valueset.cxx                                        |    2 
 svtools/source/dialogs/PlaceEditDialog.cxx                                 |    2 
 svtools/source/dialogs/ServerDetailsControls.cxx                           |    2 
 svtools/source/dialogs/addresstemplate.cxx                                 |    4 -
 svtools/source/dialogs/restartdialog.cxx                                   |    2 
 svtools/source/dialogs/roadmapwizard.cxx                                   |    2 
 svtools/source/edit/editsyntaxhighlighter.cxx                              |   14 +--
 svtools/source/edit/svmedit2.cxx                                           |    2 
 svtools/source/filter/exportdialog.cxx                                     |    2 
 svtools/source/graphic/grfmgr.cxx                                          |    2 
 svtools/source/graphic/grfmgr2.cxx                                         |    2 
 svtools/source/misc/embedtransfer.cxx                                      |    2 
 svtools/source/misc/langtab.cxx                                            |    4 -
 svtools/source/misc/templatefoldercache.cxx                                |    2 
 svtools/source/svhtml/parhtml.cxx                                          |    4 -
 svtools/source/svrtf/parrtf.cxx                                            |    2 
 svtools/source/toolpanel/drawerlayouter.cxx                                |    2 
 svtools/source/toolpanel/tablayouter.cxx                                   |    2 
 svtools/source/uno/popupwindowcontroller.cxx                               |    2 
 svtools/source/uno/svtxgridcontrol.cxx                                     |    2 
 svtools/source/uno/treecontrolpeer.cxx                                     |    8 +-
 svtools/source/uno/wizard/wizardpagecontroller.cxx                         |    2 
 svx/source/accessibility/AccessibleFrameSelector.cxx                       |    2 
 svx/source/accessibility/AccessibleShape.cxx                               |    2 
 svx/source/accessibility/svxpixelctlaccessiblecontext.cxx                  |    2 
 svx/source/customshapes/EnhancedCustomShape2d.cxx                          |    4 -
 svx/source/customshapes/EnhancedCustomShapeFontWork.cxx                    |    2 
 svx/source/dialog/_bmpmask.cxx                                             |   18 ++--
 svx/source/dialog/_contdlg.cxx                                             |   18 ++--
 svx/source/dialog/charmap.cxx                                              |    4 -
 svx/source/dialog/checklbx.cxx                                             |    2 
 svx/source/dialog/contimp.hxx                                              |    2 
 svx/source/dialog/contwnd.cxx                                              |    2 
 svx/source/dialog/dialcontrol.cxx                                          |    2 
 svx/source/dialog/dlgctrl.cxx                                              |    2 
 svx/source/dialog/docrecovery.cxx                                          |    6 -
 svx/source/dialog/fntctrl.cxx                                              |    2 
 svx/source/dialog/fontlb.cxx                                               |    2 
 svx/source/dialog/fontwork.cxx                                             |    2 
 svx/source/dialog/frmsel.cxx                                               |    2 
 svx/source/dialog/graphctl.cxx                                             |    8 +-
 svx/source/dialog/hdft.cxx                                                 |    6 -
 svx/source/dialog/imapdlg.cxx                                              |   24 +++---
 svx/source/dialog/imapwnd.cxx                                              |   30 +++----
 svx/source/dialog/srchdlg.cxx                                              |    5 -
 svx/source/dialog/svxruler.cxx                                             |    4 -
 svx/source/engine3d/dragmt3d.cxx                                           |    2 
 svx/source/engine3d/view3d.cxx                                             |    4 -
 svx/source/fmcomp/fmgridif.cxx                                             |    4 -
 svx/source/fmcomp/gridcell.cxx                                             |   12 +--
 svx/source/fmcomp/gridctrl.cxx                                             |   18 ++--
 svx/source/form/datanavi.cxx                                               |   16 ++--
 svx/source/form/filtnav.cxx                                                |    6 -
 svx/source/form/fmmodel.cxx                                                |    4 -
 svx/source/form/fmobj.cxx                                                  |    4 -
 svx/source/form/fmpgeimp.cxx                                               |    2 
 svx/source/form/fmshell.cxx                                                |    2 
 svx/source/form/fmshimp.cxx                                                |    4 -
 svx/source/form/fmundo.cxx                                                 |    4 -
 svx/source/form/fmview.cxx                                                 |   10 +-
 svx/source/form/navigatortree.cxx                                          |   18 ++--
 svx/source/form/navigatortreemodel.cxx                                     |    8 +-
 svx/source/gallery2/galbrws2.cxx                                           |   26 +++---
 svx/source/gallery2/galexpl.cxx                                            |    2 
 svx/source/items/chrtitem.cxx                                              |    2 
 svx/source/sdr/contact/viewcontactofgraphic.cxx                            |    6 -
 svx/source/sdr/overlay/overlaymanagerbuffered.cxx                          |    2 
 svx/source/sidebar/line/LineWidthValueSet.cxx                              |    2 
 svx/source/sidebar/paragraph/ParaPropertyPanel.cxx                         |    6 -
 svx/source/sidebar/possize/PosSizePropertyPanel.cxx                        |    8 +-
 svx/source/sidebar/text/TextUnderlineControl.cxx                           |    2 
 svx/source/sidebar/tools/PopupControl.cxx                                  |    2 
 svx/source/sidebar/tools/ValueSetWithTextControl.cxx                       |    4 -
 svx/source/stbctrls/selctrl.cxx                                            |    2 
 svx/source/svdraw/sdrundomanager.cxx                                       |    8 +-
 svx/source/svdraw/svdattr.cxx                                              |    2 
 svx/source/svdraw/svddrgmt.cxx                                             |   24 +++---
 svx/source/svdraw/svddrgv.cxx                                              |    8 +-
 svx/source/svdraw/svdedtv1.cxx                                             |    4 -
 svx/source/svdraw/svdedxv.cxx                                              |    6 -
 svx/source/svdraw/svdmodel.cxx                                             |    6 -
 svx/source/svdraw/svdoashp.cxx                                             |    4 -
 svx/source/svdraw/svdocapt.cxx                                             |    4 -
 svx/source/svdraw/svdocirc.cxx                                             |    6 -
 svx/source/svdraw/svdoedge.cxx                                             |    8 +-
 svx/source/svdraw/svdoole2.cxx                                             |    6 -
 svx/source/svdraw/svdotext.cxx                                             |    2 
 svx/source/svdraw/svdouno.cxx                                              |    2 
 svx/source/svdraw/svdoutl.cxx                                              |    2 
 svx/source/svdraw/svdpage.cxx                                              |   16 ++--
 svx/source/svdraw/svdpagv.cxx                                              |    2 
 svx/source/svdraw/svdundo.cxx                                              |   24 +++---
 svx/source/svdraw/svdview.cxx                                              |    8 +-
 svx/source/svdraw/svdxcgv.cxx                                              |    5 -
 svx/source/table/accessiblecell.cxx                                        |    2 
 svx/source/table/svdotable.cxx                                             |    4 -
 svx/source/table/tablecontroller.cxx                                       |    4 -
 svx/source/table/tablertfexporter.cxx                                      |    2 
 svx/source/table/viewcontactoftableobj.cxx                                 |    8 +-
 svx/source/tbxctrls/colrctrl.cxx                                           |    2 
 svx/source/tbxctrls/extrusioncontrols.cxx                                  |    6 -
 svx/source/tbxctrls/itemwin.cxx                                            |    4 -
 svx/source/tbxctrls/tbcontrl.cxx                                           |    8 +-
 svx/source/tbxctrls/tbunocontroller.cxx                                    |    2 
 svx/source/tbxctrls/tbunosearchcontrollers.cxx                             |    4 -
 svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.cxx |    2 
 svx/source/unodraw/unomtabl.cxx                                            |    2 
 svx/source/unodraw/unopage.cxx                                             |    4 -
 svx/source/unodraw/unoshap2.cxx                                            |    2 
 svx/source/unodraw/unoshape.cxx                                            |    2 
 svx/source/xml/xmlgrhlp.cxx                                                |    4 -
 svx/source/xoutdev/xtabdash.cxx                                            |    2 
 toolkit/source/awt/vclxcontainer.cxx                                       |    2 
 toolkit/source/awt/vclxtoolkit.cxx                                         |    4 -
 toolkit/source/awt/vclxwindow.cxx                                          |    6 -
 toolkit/source/awt/vclxwindows.cxx                                         |    2 
 toolkit/source/controls/unocontrol.cxx                                     |    2 
 toolkit/source/helper/vclunohelper.cxx                                     |    2 
 tools/source/fsys/urlobj.cxx                                               |    4 -
 tools/source/generic/poly.cxx                                              |    4 -
 tools/source/inet/inetstrm.cxx                                             |    4 -
 ucbhelper/source/provider/contentidentifier.cxx                            |    2 
 unodevtools/source/skeletonmaker/cppcompskeleton.cxx                       |    4 -
 unodevtools/source/skeletonmaker/cpptypemaker.cxx                          |    2 
 unodevtools/source/skeletonmaker/javacompskeleton.cxx                      |    4 -
 unodevtools/source/skeletonmaker/javatypemaker.cxx                         |    2 
 unotools/source/ucbhelper/ucbhelper.cxx                                    |    2 
 unotools/source/ucbhelper/xtempfile.cxx                                    |    2 
 vcl/generic/print/genprnpsp.cxx                                            |    4 -
 vcl/generic/print/prtsetup.cxx                                             |    4 -
 vcl/source/app/dbggui.cxx                                                  |   12 +--
 vcl/source/app/help.cxx                                                    |    2 
 vcl/source/app/svapp.cxx                                                   |    4 -
 vcl/source/control/button.cxx                                              |   28 +++----
 vcl/source/control/combobox.cxx                                            |    6 -
 vcl/source/control/edit.cxx                                                |    4 -
 vcl/source/control/field2.cxx                                              |    4 -
 vcl/source/control/fixed.cxx                                               |   18 ++--
 vcl/source/control/group.cxx                                               |    4 -
 vcl/source/control/ilstbox.cxx                                             |   28 +++----
 vcl/source/control/lstbox.cxx                                              |    2 
 vcl/source/control/morebtn.cxx                                             |    2 
 vcl/source/control/prgsbar.cxx                                             |    2 
 vcl/source/control/scrbar.cxx                                              |    2 
 vcl/source/control/slider.cxx                                              |    6 -
 vcl/source/control/tabctrl.cxx                                             |   10 +-
 vcl/source/edit/texteng.cxx                                                |    4 -
 vcl/source/edit/textview.cxx                                               |    6 -
 vcl/source/edit/xtextedt.cxx                                               |    4 -
 vcl/source/filter/graphicfilter.cxx                                        |    2 
 vcl/source/filter/ixpm/xpmread.cxx                                         |    2 
 vcl/source/filter/wmf/emfwr.cxx                                            |    2 
 vcl/source/filter/wmf/enhwmf.cxx                                           |    2 
 vcl/source/filter/wmf/winmtf.cxx                                           |   18 ++--
 vcl/source/fontsubset/cff.cxx                                              |    2 
 vcl/source/gdi/metaact.cxx                                                 |   32 ++++----
 vcl/source/gdi/pdfwriter_impl.cxx                                          |    8 +-
 vcl/source/gdi/pdfwriter_impl2.cxx                                         |    4 -
 vcl/source/gdi/pngwrite.cxx                                                |    2 
 vcl/source/gdi/print2.cxx                                                  |    2 
 vcl/source/gdi/print3.cxx                                                  |    4 -
 vcl/source/gdi/wall.cxx                                                    |    4 -
 vcl/source/opengl/OpenGLHelper.cxx                                         |    2 
 vcl/source/outdev/transparent.cxx                                          |    2 
 vcl/source/window/accessibility.cxx                                        |    2 
 vcl/source/window/brdwin.cxx                                               |    4 -
 vcl/source/window/dialog.cxx                                               |   10 +-
 vcl/source/window/dlgctrl.cxx                                              |    2 
 vcl/source/window/dockingarea.cxx                                          |    2 
 vcl/source/window/dockmgr.cxx                                              |    2 
 vcl/source/window/dockwin.cxx                                              |    2 
 vcl/source/window/menu.cxx                                                 |    8 +-
 vcl/source/window/menubarwindow.cxx                                        |    4 -
 vcl/source/window/printdlg.cxx                                             |   10 +-
 vcl/source/window/settings.cxx                                             |    2 
 vcl/source/window/status.cxx                                               |    2 
 vcl/source/window/tabpage.cxx                                              |    6 -
 vcl/source/window/taskpanelist.cxx                                         |    4 -
 vcl/source/window/toolbox.cxx                                              |   12 +--
 vcl/source/window/toolbox2.cxx                                             |    2 
 vcl/source/window/window.cxx                                               |    6 -
 vcl/source/window/window2.cxx                                              |    3 
 vcl/unx/generic/printer/jobdata.cxx                                        |    4 -
 xmloff/source/chart/SchXMLExport.cxx                                       |    4 -
 xmloff/source/core/xmlexp.cxx                                              |    6 -
 xmloff/source/draw/eventimp.cxx                                            |    3 
 xmloff/source/draw/shapeexport.cxx                                         |    2 
 xmloff/source/forms/handler/vcl_date_handler.cxx                           |    2 
 xmloff/source/style/XMLFontAutoStylePool.cxx                               |    2 
 xmloff/source/style/xmlnumfe.cxx                                           |   14 +--
 xmloff/source/style/xmlnumfi.cxx                                           |    4 -
 xmloff/source/style/xmlnumi.cxx                                            |    4 -
 xmloff/source/text/XMLAutoTextEventExport.cxx                              |    2 
 xmloff/source/text/txtflde.cxx                                             |   13 +--
 340 files changed, 954 insertions(+), 966 deletions(-)

New commits:
commit 05457f3bf8fdfef2e334515424a9d6151e02b244
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Aug 11 08:43:02 2015 +0200

    loplugin: defaultparams
    
    Change-Id: I7989a91d8d67a15d3fef13391c5dbf06233f75e9

diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx
index e50c783..4d60557 100644
--- a/xmloff/source/chart/SchXMLExport.cxx
+++ b/xmloff/source/chart/SchXMLExport.cxx
@@ -1125,7 +1125,7 @@ static OUString lcl_GetStringFromNumberSequence( const ::com::sun::star::uno::Se
         {
             if(bHasPredecessor)
                 aBuf.append( ' ' );
-            aBuf.append( nIndex, 10 );
+            aBuf.append( nIndex );
             bHasPredecessor = true;
         }
     }
@@ -1779,7 +1779,7 @@ void SchXMLExportHelper_Impl::exportTable()
                 mrExport.AddAttribute( XML_NAMESPACE_OFFICE, XML_VALUE_TYPE, XML_FLOAT );
                 mrExport.AddAttribute( XML_NAMESPACE_OFFICE, XML_VALUE, msString );
                 SvXMLElementExport aCell( mrExport, XML_NAMESPACE_TABLE, XML_TABLE_CELL, true, true );
-                exportText( msString, false ); // do not convert tabs and lfs
+                exportText( msString ); // do not convert tabs and lfs
                 if( ( !bHasOwnData && aDataRangeIter != aDataRangeEndIter ) &&
                     ( mbRowSourceColumns || (aColIt == aRowIt->begin()) ) )
                 {
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx
index a1fdce6..61c1c28 100644
--- a/xmloff/source/core/xmlexp.cxx
+++ b/xmloff/source/core/xmlexp.cxx
@@ -671,7 +671,7 @@ void SAL_CALL SvXMLExport::setSourceDocument( const uno::Reference< lang::XCompo
                     for( nIndex = 0; nIndex < nCount; ++nIndex, ++pPrefix )
                     {
                         if( xNamespaceMap->getByName( *pPrefix ) >>= aURL )
-                            _GetNamespaceMap().Add( *pPrefix, aURL, XML_NAMESPACE_UNKNOWN );
+                            _GetNamespaceMap().Add( *pPrefix, aURL );
                     }
                 }
             }
@@ -1608,7 +1608,7 @@ void SvXMLExport::_ExportScripts()
 
     // export document events
     Reference< document::XEventsSupplier > xEvents( GetModel(), UNO_QUERY );
-    GetEventExport().Export( xEvents, true );
+    GetEventExport().Export( xEvents );
 }
 
 void SvXMLExport::_ExportFontDecls()
@@ -2232,7 +2232,7 @@ OUString SvXMLExport::GetRelativeReference(const OUString& rValue)
         if( xUriRef->getScheme() == mpImpl->msPackageURIScheme )
         {
             sValue = INetURLObject::GetRelURL( msOrigFileName, sValue,
-                INetURLObject::WAS_ENCODED, INetURLObject::DECODE_TO_IURI, RTL_TEXTENCODING_UTF8, INetURLObject::FSYS_DETECT);
+                INetURLObject::WAS_ENCODED, INetURLObject::DECODE_TO_IURI, RTL_TEXTENCODING_UTF8);
         }
     }
     return sValue;
diff --git a/xmloff/source/draw/eventimp.cxx b/xmloff/source/draw/eventimp.cxx
index 49d6cdb..5280d82 100644
--- a/xmloff/source/draw/eventimp.cxx
+++ b/xmloff/source/draw/eventimp.cxx
@@ -257,8 +257,7 @@ SdXMLEventContext::SdXMLEventContext( SvXMLImport& rImp,  sal_uInt16 nPrfx, cons
                     const OUString &rTmp =
                         rImp.GetAbsoluteReference(sValue);
                     INetURLObject::translateToInternal( rTmp, msBookmark,
-                        INetURLObject::DECODE_UNAMBIGUOUS,
-                        RTL_TEXTENCODING_UTF8 );
+                        INetURLObject::DECODE_UNAMBIGUOUS );
                 }
             }
             break;
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index 2852245..b1b7da3 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -2279,7 +2279,7 @@ void XMLShapeExport::ImpExportGraphicObjectShape(
 
                 // trying to preserve the filename for embedded images which already have its stream inside the package
                 bool bIsEmbeddedImageWithExistingStreamInPackage = false;
-                if ( aStreamURL.match( sPackageURL, 0 ) )
+                if ( aStreamURL.match( sPackageURL ) )
                 {
                     bIsEmbeddedImageWithExistingStreamInPackage = true;
 
diff --git a/xmloff/source/forms/handler/vcl_date_handler.cxx b/xmloff/source/forms/handler/vcl_date_handler.cxx
index 3d3826c..0df8f14 100644
--- a/xmloff/source/forms/handler/vcl_date_handler.cxx
+++ b/xmloff/source/forms/handler/vcl_date_handler.cxx
@@ -59,7 +59,7 @@ namespace xmloff
         aDateTime.Year = aDate.Year;
 
         OUStringBuffer aBuffer;
-        ::sax::Converter::convertDateTime( aBuffer, aDateTime, 0, false );
+        ::sax::Converter::convertDateTime( aBuffer, aDateTime, 0 );
         return aBuffer.makeStringAndClear();
     }
 
diff --git a/xmloff/source/style/XMLFontAutoStylePool.cxx b/xmloff/source/style/XMLFontAutoStylePool.cxx
index 0441001..6f94383 100644
--- a/xmloff/source/style/XMLFontAutoStylePool.cxx
+++ b/xmloff/source/style/XMLFontAutoStylePool.cxx
@@ -164,7 +164,7 @@ OUString XMLFontAutoStylePool::Add(
     else
     {
         OUString sName;
-        sal_Int32 nLen = rFamilyName.indexOf( ';', 0 );
+        sal_Int32 nLen = rFamilyName.indexOf( ';' );
         if( -1 == nLen )
         {
             sName = rFamilyName;
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx
index 535d136..9730adb 100644
--- a/xmloff/source/style/xmlnumfe.cxx
+++ b/xmloff/source/style/xmlnumfe.cxx
@@ -925,7 +925,7 @@ static bool lcl_IsDefaultDateFormat( const SvNumberformat& rFormat, bool bSystem
     short nLastType = 0;
     while (!bEnd)
     {
-        short nElemType = rFormat.GetNumForType( 0, nPos, false );
+        short nElemType = rFormat.GetNumForType( 0, nPos );
         switch ( nElemType )
         {
             case 0:
@@ -1190,8 +1190,8 @@ void SvXMLNumFmtExport::ExportPart_Impl( const SvNumberformat& rFormat, sal_uInt
         bool bEnd = false;
         while (!bEnd)
         {
-            short nElemType = rFormat.GetNumForType( nPart, nPos, false );
-            const OUString* pElemStr = rFormat.GetNumForString( nPart, nPos, false );
+            short nElemType = rFormat.GetNumForType( nPart, nPos );
+            const OUString* pElemStr = rFormat.GetNumForString( nPart, nPos );
 
             switch ( nElemType )
             {
@@ -1260,8 +1260,8 @@ void SvXMLNumFmtExport::ExportPart_Impl( const SvNumberformat& rFormat, sal_uInt
             bEnd = false;
             while (!bEnd)
             {
-                short nElemType = rFormat.GetNumForType( nPart, nPos, false );
-                const OUString* pElemStr = rFormat.GetNumForString( nPart, nPos, false );
+                short nElemType = rFormat.GetNumForType( nPart, nPos );
+                const OUString* pElemStr = rFormat.GetNumForString( nPart, nPos );
 
                 switch ( nElemType )
                 {
@@ -1308,8 +1308,8 @@ void SvXMLNumFmtExport::ExportPart_Impl( const SvNumberformat& rFormat, sal_uInt
         bEnd = false;
         while (!bEnd)
         {
-            short nElemType = rFormat.GetNumForType( nPart, nPos, false );
-            const OUString* pElemStr = rFormat.GetNumForString( nPart, nPos, false );
+            short nElemType = rFormat.GetNumForType( nPart, nPos );
+            const OUString* pElemStr = rFormat.GetNumForString( nPart, nPos );
 
             switch ( nElemType )
             {
diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx
index 49ad1aa..12ea77d 100644
--- a/xmloff/source/style/xmlnumfi.cxx
+++ b/xmloff/source/style/xmlnumfi.cxx
@@ -1408,7 +1408,7 @@ SvXMLNumFormatContext::SvXMLNumFormatContext( SvXMLImport& rImport,
 
             sal_Int32 nNatNum = pFormatter->GetNatNum()->convertFromXmlAttributes( aNatNumAttr );
             aFormatCode.append( "[NatNum" );
-            aFormatCode.append( nNatNum, 10 );
+            aFormatCode.append( nNatNum );
 
             LanguageType eLang = aLanguageTag.getLanguageType( false);
             if ( eLang == LANGUAGE_DONTKNOW )
@@ -1591,7 +1591,7 @@ sal_Int32 SvXMLNumFormatContext::CreateAndInsert(SvNumberFormatter* pFormatter)
     for (size_t i = 0; i < aMyConditions.size(); i++)
     {
         SvXMLNumFormatContext* pStyle = const_cast<SvXMLNumFormatContext*>( static_cast<const SvXMLNumFormatContext *>(pStyles->FindStyleChildContext(
-            XML_STYLE_FAMILY_DATA_STYLE, aMyConditions[i].sMapName, false)));
+            XML_STYLE_FAMILY_DATA_STYLE, aMyConditions[i].sMapName)));
         if (pStyle)
         {
             if ((pStyle->PrivateGetKey() > -1))     // don't reset pStyle's bRemoveAfterUse flag
diff --git a/xmloff/source/style/xmlnumi.cxx b/xmloff/source/style/xmlnumi.cxx
index 4fbd4f4..492bf80 100644
--- a/xmloff/source/style/xmlnumi.cxx
+++ b/xmloff/source/style/xmlnumi.cxx
@@ -729,11 +729,11 @@ SvxXMLListLevelStyleAttrContext_Impl::SvxXMLListLevelStyleAttrContext_Impl(
             sVerticalRel = rValue;
             break;
         case XML_TOK_STYLE_ATTRIBUTES_ATTR_WIDTH:
-            if (rUnitConv.convertMeasureToCore(nVal, rValue, 0, SAL_MAX_INT32))
+            if (rUnitConv.convertMeasureToCore(nVal, rValue))
                 rListLevel.SetImageWidth( nVal );
             break;
         case XML_TOK_STYLE_ATTRIBUTES_ATTR_HEIGHT:
-            if (rUnitConv.convertMeasureToCore(nVal, rValue, 0, SAL_MAX_INT32))
+            if (rUnitConv.convertMeasureToCore(nVal, rValue))
                 rListLevel.SetImageHeight( nVal );
             break;
         case XML_TOK_STYLE_ATTRIBUTES_ATTR_COLOR:
diff --git a/xmloff/source/text/XMLAutoTextEventExport.cxx b/xmloff/source/text/XMLAutoTextEventExport.cxx
index c560bb1..1497327 100644
--- a/xmloff/source/text/XMLAutoTextEventExport.cxx
+++ b/xmloff/source/text/XMLAutoTextEventExport.cxx
@@ -190,7 +190,7 @@ void XMLAutoTextEventExport::exportEvents()
 {
     DBG_ASSERT(hasEvents(), "no events to export!");
 
-    GetEventExport().Export(xEvents, true);
+    GetEventExport().Export(xEvents);
 }
 
 
diff --git a/xmloff/source/text/txtflde.cxx b/xmloff/source/text/txtflde.cxx
index a369b26..c20f226 100644
--- a/xmloff/source/text/txtflde.cxx
+++ b/xmloff/source/text/txtflde.cxx
@@ -1263,15 +1263,13 @@ void XMLTextFieldExport::ExportFieldHelper(
             // no value -> current time
             ProcessTimeOrDateTime(XML_TIME_VALUE,
                             GetDateTimeProperty(sPropertyDateTimeValue,
-                                                rPropSet),
-                            XML_NAMESPACE_TEXT);
+                                                rPropSet));
         }
         if (xPropSetInfo->hasPropertyByName(sPropertyDateTime))
         {
             // no value -> current time
             ProcessTimeOrDateTime(XML_TIME_VALUE,
-                            GetDateTimeProperty(sPropertyDateTime,rPropSet),
-                            XML_NAMESPACE_TEXT);
+                            GetDateTimeProperty(sPropertyDateTime,rPropSet));
         }
         if (xPropSetInfo->hasPropertyByName(sPropertyIsFixed))
         {
@@ -1817,13 +1815,12 @@ void XMLTextFieldExport::ExportFieldHelper(
         ProcessString( XML_FORMULA,  XML_NAMESPACE_OOOW,
                        GetStringProperty(sPropertyContent, rPropSet) );
         ProcessDisplay( true,
-                        GetBoolProperty(sPropertyIsShowFormula, rPropSet),
-                        true );
+                        GetBoolProperty(sPropertyIsShowFormula, rPropSet) );
         ProcessValueAndType( false,
                              GetIntProperty(sPropertyNumberFormat, rPropSet),
                              sEmpty, sEmpty, 0.0f,
                              false, false, true,
-                             false, false );
+                             false );
         ExportElement( XML_TABLE_FORMULA, sPresentation );
         break;
 
@@ -2347,7 +2344,7 @@ void XMLTextFieldExport::ExportMetaField(
         ProcessValueAndType(false,
             GetIntProperty(sPropertyNumberFormat, i_xMeta),
             sEmpty, sEmpty, 0.0, false, false, true,
-            false, false /*, sal_False*/ );
+            false  );
 
         // text:meta-field without xml:id is invalid
         xMeta->ensureMetadataReference();
commit 8dc5f89346fa0f6820d5fd0b1ad4092168967f12
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Aug 11 08:42:56 2015 +0200

    loplugin: defaultparams
    
    Change-Id: I79a889c68e91712d2abdacc559c78813f730e623

diff --git a/vcl/generic/print/genprnpsp.cxx b/vcl/generic/print/genprnpsp.cxx
index 1a18c80..0442066 100644
--- a/vcl/generic/print/genprnpsp.cxx
+++ b/vcl/generic/print/genprnpsp.cxx
@@ -137,7 +137,7 @@ namespace
             EndDialog( 1 );
         }
         else
-            EndDialog(0);
+            EndDialog();
         return 0;
     }
 
@@ -639,7 +639,7 @@ bool PspSalInfoPrinter::SetData(
                 pValue = pKey->getValueCaseInsensitive( aPaper );
             }
 
-            if( ! ( pKey && pValue && aData.m_aContext.setValue( pKey, pValue, false ) == pValue ) )
+            if( ! ( pKey && pValue && aData.m_aContext.setValue( pKey, pValue ) == pValue ) )
                 return false;
         }
 
diff --git a/vcl/generic/print/prtsetup.cxx b/vcl/generic/print/prtsetup.cxx
index 0a7ab60..8e2799c 100644
--- a/vcl/generic/print/prtsetup.cxx
+++ b/vcl/generic/print/prtsetup.cxx
@@ -47,7 +47,7 @@ void RTSDialog::insertAllPPDValues( ListBox& rBox, const PPDParser* pParser, con
         {
             if( rBox.GetEntryPos( static_cast<void const *>(pValue) ) == LISTBOX_ENTRY_NOTFOUND )
             {
-                nPos = rBox.InsertEntry( aOptionText, LISTBOX_APPEND );
+                nPos = rBox.InsertEntry( aOptionText );
                     rBox.SetEntryData( nPos, const_cast<PPDValue *>(pValue) );
             }
         }
@@ -154,7 +154,7 @@ IMPL_LINK( RTSDialog, ClickButton, Button*, pButton )
         EndDialog( 1 );
     }
     else if( pButton == m_pCancelButton )
-        EndDialog( 0 );
+        EndDialog();
 
     return 0;
 }
diff --git a/vcl/source/app/dbggui.cxx b/vcl/source/app/dbggui.cxx
index f696bd3..dbd122b 100644
--- a/vcl/source/app/dbggui.cxx
+++ b/vcl/source/app/dbggui.cxx
@@ -260,7 +260,7 @@ DbgDialog::DbgDialog() :
     maRes->Show();
     maRes->SetText("~Resourcen");
     if ( pData->nTestFlags & DBG_TEST_RESOURCE )
-        maRes->Check( true );
+        maRes->Check();
     maRes->SetPosSizePixel( LogicToPixel( Point( 75, 95 ), aAppMap ),
                            aButtonSize );
     }
@@ -269,7 +269,7 @@ DbgDialog::DbgDialog() :
     maDialog->Show();
     maDialog->SetText("~Dialog");
     if ( pData->nTestFlags & DBG_TEST_DIALOG )
-        maDialog->Check( true );
+        maDialog->Check();
     maDialog->SetPosSizePixel( LogicToPixel( Point( 140, 95 ), aAppMap ),
                               aButtonSize );
     }
@@ -278,7 +278,7 @@ DbgDialog::DbgDialog() :
     maBoldAppFont->Show();
     maBoldAppFont->SetText("~Bold AppFont");
     if ( pData->nTestFlags & DBG_TEST_BOLDAPPFONT )
-        maBoldAppFont->Check( true );
+        maBoldAppFont->Check();
     maBoldAppFont->SetPosSizePixel( LogicToPixel( Point( 205, 95 ), aAppMap ),
                                    aButtonSize );
     maBoldAppFont->SaveValue();
@@ -587,14 +587,14 @@ void DbgDialogTest( vcl::Window* pWindow )
                     switch( pChild->GetType() )
                     {
                         case WINDOW_RADIOBUTTON:
-                            aWidth = static_cast<RadioButton*>(pChild)->CalcMinimumSize(0).Width();
+                            aWidth = static_cast<RadioButton*>(pChild)->CalcMinimumSize().Width();
                             break;
                         case WINDOW_CHECKBOX:
                         case WINDOW_TRISTATEBOX:
-                            aWidth = static_cast<CheckBox*>(pChild)->CalcMinimumSize(0).Width();
+                            aWidth = static_cast<CheckBox*>(pChild)->CalcMinimumSize().Width();
                             break;
                         case WINDOW_PUSHBUTTON:
-                            aWidth = static_cast<PushButton*>(pChild)->CalcMinimumSize(0).Width();
+                            aWidth = static_cast<PushButton*>(pChild)->CalcMinimumSize().Width();
                             break;
                         default: break;
                     }
diff --git a/vcl/source/app/help.cxx b/vcl/source/app/help.cxx
index c41ff9f..f8702df 100644
--- a/vcl/source/app/help.cxx
+++ b/vcl/source/app/help.cxx
@@ -278,7 +278,7 @@ void HelpTextWindow::ApplySettings(vcl::RenderContext& rRenderContext)
 
     if (rRenderContext.IsNativeControlSupported(CTRL_TOOLTIP, PART_ENTIRE_CONTROL))
     {
-        EnableChildTransparentMode(true);
+        EnableChildTransparentMode();
         SetParentClipMode(ParentClipMode::NoClip);
         SetPaintTransparent(true);
         rRenderContext.SetBackground();
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index c7dff0b..265d0b2 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -1332,7 +1332,7 @@ SystemWindowFlags Application::GetSystemWindowMode()
 ::com::sun::star::uno::Reference< ::com::sun::star::awt::XToolkit > Application::GetVCLToolkit()
 {
     ::com::sun::star::uno::Reference< ::com::sun::star::awt::XToolkit > xT;
-    UnoWrapperBase* pWrapper = Application::GetUnoWrapper( true );
+    UnoWrapperBase* pWrapper = Application::GetUnoWrapper();
     if ( pWrapper )
         xT = pWrapper->GetVCLToolkit();
     return xT;
@@ -1357,7 +1357,7 @@ UnoWrapperBase* Application::GetUnoWrapper( bool bCreateIfNotExist )
 #ifndef DISABLE_DYNLOADING
         osl::Module aTkLib;
         OUString aLibName(TK_DLL_NAME);
-        aTkLib.loadRelative(&thisModule, aLibName, SAL_LOADMODULE_DEFAULT);
+        aTkLib.loadRelative(&thisModule, aLibName);
         if (aTkLib.is())
         {
             FN_TkCreateUnoWrapper fnCreateWrapper = reinterpret_cast<FN_TkCreateUnoWrapper>(aTkLib.getFunctionSymbol("CreateUnoWrapper"));
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index f5dd84c..dadb241f 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -697,7 +697,7 @@ void PushButton::ImplInitSettings( bool bFont,
         if ( IsNativeControlSupported( CTRL_PUSHBUTTON, PART_ENTIRE_CONTROL ) ||
              (GetStyle() & WB_FLATBUTTON) != 0 )
         {
-            EnableChildTransparentMode( true );
+            EnableChildTransparentMode();
             SetParentClipMode( ParentClipMode::NoClip );
             SetPaintTransparent( true );
 
@@ -709,7 +709,7 @@ void PushButton::ImplInitSettings( bool bFont,
         else
         {
             EnableChildTransparentMode( false );
-            SetParentClipMode( ParentClipMode::NONE );
+            SetParentClipMode();
             SetPaintTransparent( false );
         }
     }
@@ -1167,7 +1167,7 @@ void PushButton::ImplSetDefButton( bool bSet )
         ImplGetButtonState() &= ~DrawButtonFlags::Default;
     }
     if( bSetPos )
-        setPosSizePixel( aPos.X(), aPos.Y(), aSize.Width(), aSize.Height(), PosSizeFlags::All );
+        setPosSizePixel( aPos.X(), aPos.Y(), aSize.Width(), aSize.Height() );
 
     Invalidate();
 }
@@ -1243,7 +1243,7 @@ void PushButton::Tracking( const TrackingEvent& rTEvt )
                         ImplGetButtonState() &= ~DrawButtonFlags::Pressed;
                     }
                     else
-                        Check( true );
+                        Check();
                 }
             }
             else
@@ -1328,7 +1328,7 @@ void PushButton::KeyUp( const KeyEvent& rKEvt )
                 ImplGetButtonState() &= ~DrawButtonFlags::Pressed;
             }
             else
-                Check( true );
+                Check();
 
             Toggle();
         }
@@ -1755,7 +1755,7 @@ void CancelButton::Click()
             if ( pParent->IsDialog() )
             {
                 if ( static_cast<Dialog*>(pParent)->IsInExecute() )
-                    static_cast<Dialog*>(pParent)->EndDialog( RET_CANCEL );
+                    static_cast<Dialog*>(pParent)->EndDialog();
                 // prevent recursive calls
                 else if ( !static_cast<Dialog*>(pParent)->IsInClose() )
                 {
@@ -1862,7 +1862,7 @@ void RadioButton::ImplInitSettings( bool bFont,
         if ( !IsControlBackground() &&
             (pParent->IsChildTransparentModeEnabled() || IsNativeControlSupported( CTRL_RADIOBUTTON, PART_ENTIRE_CONTROL ) ) )
         {
-            EnableChildTransparentMode( true );
+            EnableChildTransparentMode();
             SetParentClipMode( ParentClipMode::NoClip );
             SetPaintTransparent( true );
             SetBackground();
@@ -1872,7 +1872,7 @@ void RadioButton::ImplInitSettings( bool bFont,
         else
         {
             EnableChildTransparentMode( false );
-            SetParentClipMode( ParentClipMode::NONE );
+            SetParentClipMode();
             SetPaintTransparent( false );
 
             if ( IsControlBackground() )
@@ -3000,7 +3000,7 @@ void CheckBox::ImplInitSettings( bool bFont,
         if ( !IsControlBackground() &&
             (pParent->IsChildTransparentModeEnabled() || IsNativeControlSupported( CTRL_CHECKBOX, PART_ENTIRE_CONTROL ) ) )
         {
-            EnableChildTransparentMode( true );
+            EnableChildTransparentMode();
             SetParentClipMode( ParentClipMode::NoClip );
             SetPaintTransparent( true );
             SetBackground();
@@ -3010,7 +3010,7 @@ void CheckBox::ImplInitSettings( bool bFont,
         else
         {
             EnableChildTransparentMode( false );
-            SetParentClipMode( ParentClipMode::NONE );
+            SetParentClipMode();
             SetPaintTransparent( false );
 
             if ( IsControlBackground() )
@@ -3028,7 +3028,7 @@ void CheckBox::ImplLoadRes( const ResId& rResId )
     sal_uInt16 nChecked = ReadShortRes();
     //anderer Wert als Default ?
     if( nChecked )
-        Check( true );
+        Check();
 }
 
 void CheckBox::ImplDrawCheckBoxState(vcl::RenderContext& rRenderContext)
@@ -3470,7 +3470,7 @@ void CheckBox::GetFocus()
         aPos.Move(-1,-1);
         aSize.Height() += 2;
         aSize.Width() += 2;
-        setPosSizePixel( aPos.X(), aPos.Y(), aSize.Width(), aSize.Height(), PosSizeFlags::All );
+        setPosSizePixel( aPos.X(), aPos.Y(), aSize.Width(), aSize.Height() );
         Invalidate();
     }
     else
@@ -3501,7 +3501,7 @@ void CheckBox::LoseFocus()
         aPos.Move(1,1);
         aSize.Height() -= 2;
         aSize.Width() -= 2;
-        setPosSizePixel( aPos.X(), aPos.Y(), aSize.Width(), aSize.Height(), PosSizeFlags::All );
+        setPosSizePixel( aPos.X(), aPos.Y(), aSize.Width(), aSize.Height() );
         Invalidate();
     }
 }
@@ -3859,7 +3859,7 @@ ImageRadioButton::ImageRadioButton( vcl::Window* pParent, WinBits nStyle ) :
 TriStateBox::TriStateBox( vcl::Window* pParent, WinBits nStyle ) :
     CheckBox( pParent, nStyle )
 {
-    EnableTriState( true );
+    EnableTriState();
 }
 
 DisclosureButton::DisclosureButton( vcl::Window* pParent, WinBits nStyle ) :
diff --git a/vcl/source/control/combobox.cxx b/vcl/source/control/combobox.cxx
index bc041ea..e13bfdc 100644
--- a/vcl/source/control/combobox.cxx
+++ b/vcl/source/control/combobox.cxx
@@ -281,7 +281,7 @@ void ComboBox::ImplLoadRes( const ResId& rResId )
     {
         for( sal_Int32 i = 0; i < nNumber; i++ )
         {
-            InsertEntry( ReadStringRes(), LISTBOX_APPEND );
+            InsertEntry( ReadStringRes() );
         }
     }
 }
@@ -385,12 +385,12 @@ void ComboBox::Impl::ImplAutocompleteHandler( Edit* pEdit )
         if (!m_isMatchCase)
         {
             // Try match case insensitive from current position
-            nPos = m_pImplLB->GetEntryList()->FindMatchingEntry( aStartText, nStart, bForward, true );
+            nPos = m_pImplLB->GetEntryList()->FindMatchingEntry( aStartText, nStart, bForward );
             if ( nPos == LISTBOX_ENTRY_NOTFOUND )
                 // Try match case insensitive, but from start
                 nPos = m_pImplLB->GetEntryList()->FindMatchingEntry( aStartText,
                     bForward ? 0 : (m_pImplLB->GetEntryList()->GetEntryCount()-1),
-                    bForward, true );
+                    bForward );
         }
 
         if ( nPos == LISTBOX_ENTRY_NOTFOUND )
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index 39f5bf0..b4e56f4 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -2294,7 +2294,7 @@ void Edit::StateChanged( StateChangedType nType )
     {
         if (!mpSubEdit)
         {
-            ImplShowCursor(true);
+            ImplShowCursor();
             Invalidate();
         }
     }
@@ -2333,7 +2333,7 @@ void Edit::DataChanged( const DataChangedEvent& rDCEvt )
     {
         if ( !mpSubEdit )
         {
-            ImplShowCursor( true );
+            ImplShowCursor();
             Invalidate();
         }
     }
diff --git a/vcl/source/control/field2.cxx b/vcl/source/control/field2.cxx
index d35a4e7..dbda25e 100644
--- a/vcl/source/control/field2.cxx
+++ b/vcl/source/control/field2.cxx
@@ -2497,7 +2497,7 @@ TimeField::TimeField( vcl::Window* pParent, WinBits nWinStyle ) :
     maLast( GetMax() )
 {
     SetField( this );
-    SetText( ImplGetLocaleDataWrapper().getTime( maFieldTime, false, false ) );
+    SetText( ImplGetLocaleDataWrapper().getTime( maFieldTime, false ) );
     Reformat();
 }
 
@@ -2634,7 +2634,7 @@ TimeBox::TimeBox( vcl::Window* pParent, WinBits nWinStyle ) :
     ComboBox( pParent, nWinStyle )
 {
     SetField( this );
-    SetText( ImplGetLocaleDataWrapper().getTime( maFieldTime, false, false ) );
+    SetText( ImplGetLocaleDataWrapper().getTime( maFieldTime, false ) );
     Reformat();
 }
 
diff --git a/vcl/source/control/fixed.cxx b/vcl/source/control/fixed.cxx
index bdbff17..990f1a6 100644
--- a/vcl/source/control/fixed.cxx
+++ b/vcl/source/control/fixed.cxx
@@ -210,7 +210,7 @@ void FixedText::ApplySettings(vcl::RenderContext& rRenderContext)
     vcl::Window* pParent = GetParent();
     if (pParent->IsChildTransparentModeEnabled() && !IsControlBackground())
     {
-        EnableChildTransparentMode(true);
+        EnableChildTransparentMode();
         SetParentClipMode(ParentClipMode::NoClip);
         SetPaintTransparent(true);
         rRenderContext.SetBackground();
@@ -218,7 +218,7 @@ void FixedText::ApplySettings(vcl::RenderContext& rRenderContext)
     else
     {
         EnableChildTransparentMode(false);
-        SetParentClipMode(ParentClipMode::NONE);
+        SetParentClipMode();
         SetPaintTransparent(false);
 
         if (IsControlBackground())
@@ -621,7 +621,7 @@ void FixedLine::ApplySettings(vcl::RenderContext& rRenderContext)
     vcl::Window* pParent = GetParent();
     if (pParent->IsChildTransparentModeEnabled() && !IsControlBackground())
     {
-        EnableChildTransparentMode(true);
+        EnableChildTransparentMode();
         SetParentClipMode(ParentClipMode::NoClip);
         SetPaintTransparent(true);
         rRenderContext.SetBackground();
@@ -629,7 +629,7 @@ void FixedLine::ApplySettings(vcl::RenderContext& rRenderContext)
     else
     {
         EnableChildTransparentMode(false);
-        SetParentClipMode(ParentClipMode::NONE);
+        SetParentClipMode();
         SetPaintTransparent(false);
 
         if (IsControlBackground())
@@ -707,7 +707,7 @@ void FixedLine::DataChanged( const DataChangedEvent& rDCEvt )
 
 Size FixedLine::GetOptimalSize() const
 {
-    return CalcWindowSize( FixedText::CalcMinimumTextSize ( this, 0x7fffffff ) );
+    return CalcWindowSize( FixedText::CalcMinimumTextSize ( this ) );
 }
 
 void FixedBitmap::ImplInit( vcl::Window* pParent, WinBits nStyle )
@@ -753,7 +753,7 @@ void FixedBitmap::ApplySettings(vcl::RenderContext& rRenderContext)
     vcl::Window* pParent = GetParent();
     if (pParent->IsChildTransparentModeEnabled() && !IsControlBackground())
     {
-        EnableChildTransparentMode(true);
+        EnableChildTransparentMode();
         SetParentClipMode(ParentClipMode::NoClip);
         SetPaintTransparent(true);
         rRenderContext.SetBackground();
@@ -761,7 +761,7 @@ void FixedBitmap::ApplySettings(vcl::RenderContext& rRenderContext)
     else
     {
         EnableChildTransparentMode(false);
-        SetParentClipMode(ParentClipMode::NONE);
+        SetParentClipMode();
         SetPaintTransparent(false);
 
         if (IsControlBackground())
@@ -923,7 +923,7 @@ void FixedImage::ApplySettings(vcl::RenderContext& rRenderContext)
     vcl::Window* pParent = GetParent();
     if (pParent && pParent->IsChildTransparentModeEnabled() && !IsControlBackground())
     {
-        EnableChildTransparentMode(true);
+        EnableChildTransparentMode();
         SetParentClipMode(ParentClipMode::NoClip);
         SetPaintTransparent(true);
         rRenderContext.SetBackground();
@@ -931,7 +931,7 @@ void FixedImage::ApplySettings(vcl::RenderContext& rRenderContext)
     else
     {
         EnableChildTransparentMode(false);
-        SetParentClipMode(ParentClipMode::NONE);
+        SetParentClipMode();
         SetPaintTransparent(false);
 
         if (IsControlBackground())
diff --git a/vcl/source/control/group.cxx b/vcl/source/control/group.cxx
index 1c2ca0c..18906a5 100644
--- a/vcl/source/control/group.cxx
+++ b/vcl/source/control/group.cxx
@@ -67,7 +67,7 @@ void GroupBox::ImplInitSettings( bool bFont,
               !(pParent->GetStyle() & WB_CLIPCHILDREN) ) &&
              !IsControlBackground() )
         {
-            EnableChildTransparentMode( true );
+            EnableChildTransparentMode();
             SetParentClipMode( ParentClipMode::NoClip );
             SetPaintTransparent( true );
             SetBackground();
@@ -75,7 +75,7 @@ void GroupBox::ImplInitSettings( bool bFont,
         else
         {
             EnableChildTransparentMode( false );
-            SetParentClipMode( ParentClipMode::NONE );
+            SetParentClipMode();
             SetPaintTransparent( false );
 
             if ( IsControlBackground() )
diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx
index 78145cf..59051a1 100644
--- a/vcl/source/control/ilstbox.cxx
+++ b/vcl/source/control/ilstbox.cxx
@@ -1149,7 +1149,7 @@ bool ImplListBoxWindow::SelectEntries( sal_Int32 nSelect, LB_EVENT_TYPE eLET, bo
 
         if( bFocusChanged )
         {
-            long nHeightDiff = mpEntryList->GetAddedHeight( nSelect, mnTop, 0 );
+            long nHeightDiff = mpEntryList->GetAddedHeight( nSelect, mnTop );
             maFocusRect.SetPos( Point( 0, nHeightDiff ) );
             Size aSz( maFocusRect.GetWidth(),
                       mpEntryList->GetEntryHeight( nSelect ) );
@@ -1189,7 +1189,7 @@ void ImplListBoxWindow::Tracking( const TrackingEvent& rTEvt )
                 mbTrackingSelect = false;
                 if ( mnTrackingSaveSelection != LISTBOX_ENTRY_NOTFOUND )
                 {
-                    long nHeightDiff = mpEntryList->GetAddedHeight( mnCurrentPos, mnTop, 0 );
+                    long nHeightDiff = mpEntryList->GetAddedHeight( mnCurrentPos, mnTop );
                     maFocusRect.SetPos( Point( 0, nHeightDiff ) );
                     Size aSz( maFocusRect.GetWidth(),
                               mpEntryList->GetEntryHeight( mnCurrentPos ) );
@@ -1322,7 +1322,7 @@ void ImplListBoxWindow::Tracking( const TrackingEvent& rTEvt )
             }
             else
             {
-                long nHeightDiff = mpEntryList->GetAddedHeight( mnCurrentPos, mnTop, 0 );
+                long nHeightDiff = mpEntryList->GetAddedHeight( mnCurrentPos, mnTop );
                 maFocusRect.SetPos( Point( 0, nHeightDiff ) );
                 Size aSz( maFocusRect.GetWidth(), mpEntryList->GetEntryHeight( mnCurrentPos ) );
                 maFocusRect.SetSize( aSz );
@@ -1365,7 +1365,7 @@ bool ImplListBoxWindow::ProcessKeyInput( const KeyEvent& rKEvt )
             {
                 if( mnCurrentPos == LISTBOX_ENTRY_NOTFOUND )
                 {
-                    nSelect = mpEntryList->FindFirstSelectable( 0, true );
+                    nSelect = mpEntryList->FindFirstSelectable( 0 );
                 }
                 else if ( mnCurrentPos )
                 {
@@ -1392,12 +1392,12 @@ bool ImplListBoxWindow::ProcessKeyInput( const KeyEvent& rKEvt )
             {
                 if( mnCurrentPos == LISTBOX_ENTRY_NOTFOUND )
                 {
-                    nSelect = mpEntryList->FindFirstSelectable( 0, true );
+                    nSelect = mpEntryList->FindFirstSelectable( 0 );
                 }
                 else if ( (mnCurrentPos+1) < mpEntryList->GetEntryCount() )
                 {
                     // search first selectable below the current position
-                    nSelect = mpEntryList->FindFirstSelectable( mnCurrentPos + 1, true );
+                    nSelect = mpEntryList->FindFirstSelectable( mnCurrentPos + 1 );
                 }
 
                 if( ( nSelect != LISTBOX_ENTRY_NOTFOUND ) && ( nSelect >= GetLastVisibleEntry() ) )
@@ -1421,7 +1421,7 @@ bool ImplListBoxWindow::ProcessKeyInput( const KeyEvent& rKEvt )
             {
                 if( mnCurrentPos == LISTBOX_ENTRY_NOTFOUND )
                 {
-                    nSelect = mpEntryList->FindFirstSelectable( 0, true );
+                    nSelect = mpEntryList->FindFirstSelectable( 0 );
                 }
                 else if ( mnCurrentPos )
                 {
@@ -1432,7 +1432,7 @@ bool ImplListBoxWindow::ProcessKeyInput( const KeyEvent& rKEvt )
                     }
 
                     // find first selectable starting from mnTop looking forward
-                    nSelect = mpEntryList->FindFirstSelectable( mnTop, true );
+                    nSelect = mpEntryList->FindFirstSelectable( mnTop );
                 }
                 bDone = true;
             }
@@ -1450,7 +1450,7 @@ bool ImplListBoxWindow::ProcessKeyInput( const KeyEvent& rKEvt )
             {
                 if( mnCurrentPos == LISTBOX_ENTRY_NOTFOUND )
                 {
-                    nSelect = mpEntryList->FindFirstSelectable( 0, true );
+                    nSelect = mpEntryList->FindFirstSelectable( 0 );
                 }
                 else if ( (mnCurrentPos+1) < mpEntryList->GetEntryCount() )
                 {
@@ -1484,7 +1484,7 @@ bool ImplListBoxWindow::ProcessKeyInput( const KeyEvent& rKEvt )
             {
                 if ( mnCurrentPos )
                 {
-                    nSelect = mpEntryList->FindFirstSelectable( mpEntryList->GetEntryCount() ? 0 : LISTBOX_ENTRY_NOTFOUND, true );
+                    nSelect = mpEntryList->FindFirstSelectable( mpEntryList->GetEntryCount() ? 0 : LISTBOX_ENTRY_NOTFOUND );
                     if( mnTop != 0 )
                         SetTopEntry( 0 );
 
@@ -1505,7 +1505,7 @@ bool ImplListBoxWindow::ProcessKeyInput( const KeyEvent& rKEvt )
             {
                 if( mnCurrentPos == LISTBOX_ENTRY_NOTFOUND )
                 {
-                    nSelect = mpEntryList->FindFirstSelectable( 0, true );
+                    nSelect = mpEntryList->FindFirstSelectable( 0 );
                 }
                 else if ( (mnCurrentPos+1) < mpEntryList->GetEntryCount() )
                 {
@@ -1893,7 +1893,7 @@ void ImplListBoxWindow::ImplDoPaint(vcl::RenderContext& rRenderContext, const Re
         nY += pEntry->mnHeight;
     }
 
-    long nHeightDiff = mpEntryList->GetAddedHeight(mnCurrentPos, mnTop, 0);
+    long nHeightDiff = mpEntryList->GetAddedHeight(mnCurrentPos, mnTop);
     maFocusRect.SetPos(Point(0, nHeightDiff));
     Size aSz(maFocusRect.GetWidth(), mpEntryList->GetEntryHeight(mnCurrentPos));
     maFocusRect.SetSize(aSz);
@@ -1944,7 +1944,7 @@ void ImplListBoxWindow::GetFocus()
     sal_Int32 nPos = mnCurrentPos;
     if ( nPos == LISTBOX_ENTRY_NOTFOUND )
         nPos = 0;
-    long nHeightDiff = mpEntryList->GetAddedHeight( nPos, mnTop, 0 );
+    long nHeightDiff = mpEntryList->GetAddedHeight( nPos, mnTop );
     maFocusRect.SetPos( Point( 0, nHeightDiff ) );
     Size aSz( maFocusRect.GetWidth(), mpEntryList->GetEntryHeight( nPos ) );
     maFocusRect.SetSize( aSz );
@@ -1975,7 +1975,7 @@ void ImplListBoxWindow::SetTopEntry( sal_Int32 nTop )
     if ( nTop != mnTop )
     {
         ImplClearLayoutData();
-        long nDiff = mpEntryList->GetAddedHeight( mnTop, nTop, 0 );
+        long nDiff = mpEntryList->GetAddedHeight( mnTop, nTop );
         Update();
         ImplHideFocusRect();
         mnTop = nTop;
diff --git a/vcl/source/control/lstbox.cxx b/vcl/source/control/lstbox.cxx
index 315e405..ba085d7 100644
--- a/vcl/source/control/lstbox.cxx
+++ b/vcl/source/control/lstbox.cxx
@@ -199,7 +199,7 @@ void ListBox::ImplLoadRes( const ResId& rResId )
 
     for( sal_Int32 i = 0; i < nNumber; i++ )
     {
-        sal_Int32 nPos = InsertEntry( ReadStringRes(), LISTBOX_APPEND );
+        sal_Int32 nPos = InsertEntry( ReadStringRes() );
 
         sal_IntPtr nId = ReadLongRes();
         if( nId )
diff --git a/vcl/source/control/morebtn.cxx b/vcl/source/control/morebtn.cxx
index 5e7e104..2ae1e52 100644
--- a/vcl/source/control/morebtn.cxx
+++ b/vcl/source/control/morebtn.cxx
@@ -47,7 +47,7 @@ void MoreButton::ImplInit( vcl::Window* pParent, WinBits nStyle )
 
     SetSymbolAlign(SymbolAlign::RIGHT);
     SetImageAlign(ImageAlign::Right); //Resoves: fdo#31849 ensure button remains vertically centered
-    SetSmallSymbol(true);
+    SetSmallSymbol();
 
     if ( ! ( nStyle & ( WB_RIGHT | WB_LEFT ) ) )
     {
diff --git a/vcl/source/control/prgsbar.cxx b/vcl/source/control/prgsbar.cxx
index f069b43..2e1dce5 100644
--- a/vcl/source/control/prgsbar.cxx
+++ b/vcl/source/control/prgsbar.cxx
@@ -80,7 +80,7 @@ void ProgressBar::ImplInitSettings( bool bFont,
         {
             if( (GetStyle() & WB_BORDER) )
                 SetBorderStyle( WindowBorderStyle::REMOVEBORDER );
-            EnableChildTransparentMode( true );
+            EnableChildTransparentMode();
             SetPaintTransparent( true );
             SetBackground();
             SetParentClipMode( ParentClipMode::NoClip );
diff --git a/vcl/source/control/scrbar.cxx b/vcl/source/control/scrbar.cxx
index b786ddd..8a4345f 100644
--- a/vcl/source/control/scrbar.cxx
+++ b/vcl/source/control/scrbar.cxx
@@ -1195,7 +1195,7 @@ void ScrollBar::StateChanged( StateChangedType nType )
     else if ( nType == StateChangedType::Data )
     {
         if ( IsReallyVisible() && IsUpdateMode() )
-            ImplCalc( true );
+            ImplCalc();
     }
     else if ( nType == StateChangedType::UpdateMode )
     {
diff --git a/vcl/source/control/slider.cxx b/vcl/source/control/slider.cxx
index 02fa450..c1c9a34 100644
--- a/vcl/source/control/slider.cxx
+++ b/vcl/source/control/slider.cxx
@@ -98,7 +98,7 @@ void Slider::ImplInitSettings()
     vcl::Window* pParent = GetParent();
     if ( pParent->IsChildTransparentModeEnabled() && !IsControlBackground() )
     {
-        EnableChildTransparentMode( true );
+        EnableChildTransparentMode();
         SetParentClipMode( ParentClipMode::NoClip );
         SetPaintTransparent( true );
         SetBackground();
@@ -106,7 +106,7 @@ void Slider::ImplInitSettings()
     else
     {
         EnableChildTransparentMode( false );
-        SetParentClipMode( ParentClipMode::NONE );
+        SetParentClipMode();
         SetPaintTransparent( false );
 
         if ( IsControlBackground() )
@@ -901,7 +901,7 @@ void Slider::StateChanged( StateChangedType nType )
     else if ( nType == StateChangedType::Data )
     {
         if ( IsReallyVisible() && IsUpdateMode() )
-            ImplCalc( true );
+            ImplCalc();
     }
     else if ( nType == StateChangedType::UpdateMode )
     {
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx
index d8053c4..2cda79c 100644
--- a/vcl/source/control/tabctrl.cxx
+++ b/vcl/source/control/tabctrl.cxx
@@ -112,7 +112,7 @@ void TabControl::ImplInit( vcl::Window* pParent, WinBits nStyle )
     // if the tabcontrol is drawn (ie filled) by a native widget, make sure all contols will have transparent background
     // otherwise they will paint with a wrong background
     if( IsNativeControlSupported(CTRL_TAB_PANE, PART_ENTIRE_CONTROL) )
-        EnableChildTransparentMode( true );
+        EnableChildTransparentMode();
 
     if (pParent && pParent->IsDialog())
         pParent->AddChildEventListener( LINK( this, TabControl, ImplWindowEventListener ) );
@@ -144,7 +144,7 @@ void TabControl::ImplInitSettings( bool bFont,
         {
             // set transparent mode for NWF tabcontrols to have
             // the background always cleared properly
-            EnableChildTransparentMode( true );
+            EnableChildTransparentMode();
             SetParentClipMode( ParentClipMode::NoClip );
             SetPaintTransparent( true );
             SetBackground();
@@ -153,7 +153,7 @@ void TabControl::ImplInitSettings( bool bFont,
         else
         {
             EnableChildTransparentMode( false );
-            SetParentClipMode( ParentClipMode::NONE );
+            SetParentClipMode();
             SetPaintTransparent( false );
 
             if ( IsControlBackground() )
@@ -1059,7 +1059,7 @@ void TabControl::KeyInput( const KeyEvent& rKEvt )
 void TabControl::Paint( vcl::RenderContext& rRenderContext, const Rectangle& rRect)
 {
     if (!(GetStyle() & WB_NOBORDER))
-        ImplPaint(rRenderContext, rRect, false);
+        ImplPaint(rRenderContext, rRect);
 }
 
 void TabControl::ImplPaint(vcl::RenderContext& rRenderContext, const Rectangle& rRect, bool bLayout)
@@ -1231,7 +1231,7 @@ void TabControl::ImplPaint(vcl::RenderContext& rRenderContext, const Rectangle&
                 if (bLayout || !aClipRgn.IsEmpty())
                 {
                     ImplDrawItem(rRenderContext, pItem, aCurRect, bLayout,
-                                 pItem == pFirstTab, pItem == pLastTab, false);
+                                 pItem == pFirstTab, pItem == pLastTab);
                 }
             }
 
diff --git a/vcl/source/edit/texteng.cxx b/vcl/source/edit/texteng.cxx
index 69af627..dc09eb3 100644
--- a/vcl/source/edit/texteng.cxx
+++ b/vcl/source/edit/texteng.cxx
@@ -656,7 +656,7 @@ bool TextEngine::IsInputSequenceCheckingRequired( sal_Unicode c, const TextSelec
 
 TextPaM TextEngine::ImpInsertText( const TextSelection& rCurSel, sal_Unicode c, bool bOverwrite )
 {
-    return ImpInsertText( c, rCurSel, bOverwrite, false );
+    return ImpInsertText( c, rCurSel, bOverwrite  );
 }
 
 TextPaM TextEngine::ImpInsertText( sal_Unicode c, const TextSelection& rCurSel, bool bOverwrite, bool bIsUserInput )
@@ -3092,7 +3092,7 @@ long TextEngine::ImpGetOutputOffset( sal_uLong nPara, TextLine* pLine, sal_uInt1
         nX = ImpGetXPos( nPara, pLine, nIndex, nIndex == nPortionStart );
         if ( nIndex2 != nIndex )
         {
-            long nX2 = ImpGetXPos( nPara, pLine, nIndex2, false );
+            long nX2 = ImpGetXPos( nPara, pLine, nIndex2 );
             if ( ( !IsRightToLeft() && ( nX2 < nX ) ) ||
                  ( IsRightToLeft() && ( nX2 > nX ) ) )
             {
diff --git a/vcl/source/edit/textview.cxx b/vcl/source/edit/textview.cxx
index f680f23..6c65020 100644
--- a/vcl/source/edit/textview.cxx
+++ b/vcl/source/edit/textview.cxx
@@ -880,7 +880,7 @@ void TextView::MouseButtonDown( const MouseEvent& rMouseEvent )
                 }
                 ImpSetSelection( aNewSel );
                 ShowSelection();
-                ShowCursor( true, true );
+                ShowCursor();
             }
         }
         else if ( rMouseEvent.GetClicks() == 3 )
@@ -894,7 +894,7 @@ void TextView::MouseButtonDown( const MouseEvent& rMouseEvent )
                 aNewSel.GetEnd().GetIndex() = mpImpl->mpTextEngine->mpDoc->GetNodes()[ mpImpl->maSelection.GetEnd().GetPara() ]->GetText().getLength();
                 ImpSetSelection( aNewSel );
                 ShowSelection();
-                ShowCursor( true, true );
+                ShowCursor();
             }
         }
     }
@@ -1175,7 +1175,7 @@ void TextView::Paste( uno::Reference< datatransfer::clipboard::XClipboard >& rxC
                     bool bWasTruncated = false;
                     if( mpImpl->mpTextEngine->GetMaxTextLen() != 0 )
                         bWasTruncated = ImplTruncateNewText( aText );
-                    InsertText( aText, false );
+                    InsertText( aText );
                     mpImpl->mpTextEngine->Broadcast( TextHint( TEXT_HINT_MODIFIED ) );
 
                     if( bWasTruncated )
diff --git a/vcl/source/edit/xtextedt.cxx b/vcl/source/edit/xtextedt.cxx
index de773e2..222cbe4 100644
--- a/vcl/source/edit/xtextedt.cxx
+++ b/vcl/source/edit/xtextedt.cxx
@@ -307,7 +307,7 @@ sal_uInt16 ExtTextView::Replace( const util::SearchOptions& rSearchOptions, bool
 
         TextSelection aSearchSel( aSel );
 
-        bool bFound = pTextEngine->Search( aSel, rSearchOptions, true );
+        bool bFound = pTextEngine->Search( aSel, rSearchOptions );
         if ( bFound )
             pTextEngine->UndoActionStart();
         while ( bFound )
@@ -317,7 +317,7 @@ sal_uInt16 ExtTextView::Replace( const util::SearchOptions& rSearchOptions, bool
             TextPaM aNewStart = pTextEngine->ImpInsertText( aSel, rSearchOptions.replaceString );
             aSel = aSearchSel;
             aSel.GetStart() = aNewStart;
-            bFound = pTextEngine->Search( aSel, rSearchOptions, true );
+            bFound = pTextEngine->Search( aSel, rSearchOptions );
         }
         if ( nFound )
         {
diff --git a/vcl/source/filter/graphicfilter.cxx b/vcl/source/filter/graphicfilter.cxx
index 18997c1..5bf303e 100644
--- a/vcl/source/filter/graphicfilter.cxx
+++ b/vcl/source/filter/graphicfilter.cxx
@@ -266,7 +266,7 @@ static bool ImpPeekGraphicFormat( SvStream& rStream, OUString& rFormatExtension,
     {
         SvLockBytes* pLockBytes = rStream.GetLockBytes();
         if ( pLockBytes  )
-            pLockBytes->SetSynchronMode( true );
+            pLockBytes->SetSynchronMode();
 
         rStream.Seek( STREAM_SEEK_TO_END );
         nStreamLen = rStream.Tell() - nStreamPos;
diff --git a/vcl/source/filter/ixpm/xpmread.cxx b/vcl/source/filter/ixpm/xpmread.cxx
index 6d7646c..a421b75 100644
--- a/vcl/source/filter/ixpm/xpmread.cxx
+++ b/vcl/source/filter/ixpm/xpmread.cxx
@@ -342,7 +342,7 @@ bool XPMReader::ImplGetColSub( sal_uInt8* pDest )
                         pRGBTable[ i ].name[ mnParaSize ] == 0 )
                 {
                     if ( ImplCompare ( reinterpret_cast<unsigned char const *>(pRGBTable[ i ].name),
-                            mpPara, mnParaSize, XPMCASENONSENSITIVE ) )
+                            mpPara, mnParaSize ) )
                     {
                         bColStatus = true;
                         *pDest++ = 0;
diff --git a/vcl/source/filter/wmf/emfwr.cxx b/vcl/source/filter/wmf/emfwr.cxx
index 8b44559..16b3d60 100644
--- a/vcl/source/filter/wmf/emfwr.cxx
+++ b/vcl/source/filter/wmf/emfwr.cxx
@@ -1262,7 +1262,7 @@ void EMFWriter::ImplWrite( const GDIMetaFile& rMtf )
                     const MetaAction* pSubstAct = aSubstitute.GetAction( i );
                     if( pSubstAct->GetType() == MetaActionType::BMPSCALE )
                     {
-                        maVDev->Push( PushFlags::ALL );
+                        maVDev->Push();
                         ImplBeginRecord( WIN_EMR_SAVEDC );
                         ImplEndRecord();
 
diff --git a/vcl/source/filter/wmf/enhwmf.cxx b/vcl/source/filter/wmf/enhwmf.cxx
index 81b8b7b..ac4caa0 100644
--- a/vcl/source/filter/wmf/enhwmf.cxx
+++ b/vcl/source/filter/wmf/enhwmf.cxx
@@ -1549,7 +1549,7 @@ bool EnhWMFReader::ReadEnhWMF()
                     {
                         pOut->Push();
                         pOut->SelectObject( nIndex );
-                        pOut->DrawPolyPolygon( aPolyPoly, false );
+                        pOut->DrawPolyPolygon( aPolyPoly );
                         pOut->Pop();
                     }
                 }
diff --git a/vcl/source/filter/wmf/winmtf.cxx b/vcl/source/filter/wmf/winmtf.cxx
index f63ebac..d4bdaa8 100644
--- a/vcl/source/filter/wmf/winmtf.cxx
+++ b/vcl/source/filter/wmf/winmtf.cxx
@@ -97,16 +97,16 @@ basegfx::B2DPolyPolygon WinMtfClipPath::getClipPath() const
 void WinMtfPathObj::AddPoint( const Point& rPoint )
 {
     if ( bClosed )
-        Insert( Polygon(), POLYPOLY_APPEND );
+        Insert( Polygon() );
     Polygon& rPoly = ((tools::PolyPolygon&)*this)[ Count() - 1 ];
-    rPoly.Insert( rPoly.GetSize(), rPoint, POLY_NORMAL );
+    rPoly.Insert( rPoly.GetSize(), rPoint );
     bClosed = false;
 }
 
 void WinMtfPathObj::AddPolyLine( const Polygon& rPolyLine )
 {
     if ( bClosed )
-        Insert( Polygon(), POLYPOLY_APPEND );
+        Insert( Polygon() );
     Polygon& rPoly = ((tools::PolyPolygon&)*this)[ Count() - 1 ];
     rPoly.Insert( rPoly.GetSize(), rPolyLine );
     bClosed = false;
@@ -114,7 +114,7 @@ void WinMtfPathObj::AddPolyLine( const Polygon& rPolyLine )
 
 void WinMtfPathObj::AddPolygon( const Polygon& rPoly )
 {
-    Insert( rPoly, POLYPOLY_APPEND );
+    Insert( rPoly );
     bClosed = true;
 }
 
@@ -122,7 +122,7 @@ void WinMtfPathObj::AddPolyPolygon( const tools::PolyPolygon& rPolyPoly )
 {
     sal_uInt16 i, nCount = rPolyPoly.Count();
     for ( i = 0; i < nCount; i++ )
-        Insert( rPolyPoly[ i ], POLYPOLY_APPEND );
+        Insert( rPolyPoly[ i ] );
     bClosed = true;
 }
 
@@ -135,7 +135,7 @@ void WinMtfPathObj::ClosePath()
         {
             Point aFirst( rPoly[ 0 ] );
             if ( aFirst != rPoly[ rPoly.GetSize() - 1 ] )
-                rPoly.Insert( rPoly.GetSize(), aFirst, POLY_NORMAL );
+                rPoly.Insert( rPoly.GetSize(), aFirst );
         }
     }
     bClosed = true;
@@ -263,7 +263,7 @@ WinMtf::WinMtf( WinMtfOutput* pWinMtfOutput, SvStream& rStreamWMF, FilterConfigI
 {
     SvLockBytes *pLB = pWMF->GetLockBytes();
     if ( pLB )
-        pLB->SetSynchronMode( true );
+        pLB->SetSynchronMode();
 
     nStartPos = pWMF->Tell();
 
@@ -1022,7 +1022,7 @@ void WinMtfOutput::MoveTo( const Point& rPoint, bool bRecordPath )
         // fdo#57353 create new subpath for subsequent moves
         if ( aPathObj.Count() )
             if ( aPathObj[ aPathObj.Count() - 1 ].GetSize() )
-                aPathObj.Insert( Polygon(), POLYPOLY_APPEND );
+                aPathObj.Insert( Polygon() );
         aPathObj.AddPoint( aDest );
     }
     maActPos = aDest;
@@ -2094,7 +2094,7 @@ void WinMtfOutput::Pop()
 
 void WinMtfOutput::AddFromGDIMetaFile( GDIMetaFile& rGDIMetaFile )
 {
-   rGDIMetaFile.Play( *mpGDIMetaFile, 0xFFFFFFFF );
+   rGDIMetaFile.Play( *mpGDIMetaFile );
 }
 
 void WinMtfOutput::PassEMFPlusHeaderInfo()
diff --git a/vcl/source/fontsubset/cff.cxx b/vcl/source/fontsubset/cff.cxx
index 8c3cfd4..a4cbf53 100644
--- a/vcl/source/fontsubset/cff.cxx
+++ b/vcl/source/fontsubset/cff.cxx
@@ -2019,7 +2019,7 @@ bool CffSubsetterContext::emitAsType1( Type1Emitter& rEmitter,
 
     if( mpCffLocal->mfBlueScale) {
         pOut += sprintf( pOut, "/BlueScale ");
-        pOut += dbl2str( pOut, mpCffLocal->mfBlueScale, 6);
+        pOut += dbl2str( pOut, mpCffLocal->mfBlueScale);
         pOut += sprintf( pOut, " def\n");
     }
     if( mpCffLocal->mfBlueShift) {  // default BlueShift==7
diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index 596ab10..0888653 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -308,14 +308,14 @@ void MetaPixelAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
     MetaAction::Write(rOStm, pData);
     VersionCompat aCompat(rOStm, StreamMode::WRITE, 1);
     WritePair( rOStm, maPt );
-    maColor.Write( rOStm, true );
+    maColor.Write( rOStm );
 }
 
 void MetaPixelAction::Read( SvStream& rIStm, ImplMetaReadData* )
 {
     VersionCompat aCompat(rIStm, StreamMode::READ);
     ReadPair( rIStm, maPt );
-    maColor.Read( rIStm, true );
+    maColor.Read( rIStm);
 }
 
 MetaPointAction::MetaPointAction() :
@@ -1984,7 +1984,7 @@ void MetaMaskScalePartAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
         MetaAction::Write(rOStm, pData);
         VersionCompat aCompat(rOStm, StreamMode::WRITE, 1);
         WriteDIB(maBmp, rOStm, false, true);
-        maColor.Write( rOStm, true );
+        maColor.Write( rOStm );
         WritePair( rOStm, maDstPt );
         WritePair( rOStm, maDstSz );
         WritePair( rOStm, maSrcPt );
@@ -1996,7 +1996,7 @@ void MetaMaskScalePartAction::Read( SvStream& rIStm, ImplMetaReadData* )
 {
     VersionCompat aCompat(rIStm, StreamMode::READ);
     ReadDIB(maBmp, rIStm, true);
-    maColor.Read( rIStm, true );
+    maColor.Read( rIStm );
     ReadPair( rIStm, maDstPt );
     ReadPair( rIStm, maDstSz );
     ReadPair( rIStm, maSrcPt );
@@ -2451,14 +2451,14 @@ void MetaLineColorAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
 {
     MetaAction::Write(rOStm, pData);
     VersionCompat aCompat(rOStm, StreamMode::WRITE, 1);
-    maColor.Write( rOStm, true );
+    maColor.Write( rOStm );
     rOStm.WriteBool( mbSet );
 }
 
 void MetaLineColorAction::Read( SvStream& rIStm, ImplMetaReadData* )
 {
     VersionCompat aCompat(rIStm, StreamMode::READ);
-    maColor.Read( rIStm, true );
+    maColor.Read( rIStm );
     rIStm.ReadCharAsBool( mbSet );
 }
 
@@ -2495,14 +2495,14 @@ void MetaFillColorAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
 {
     MetaAction::Write(rOStm, pData);
     VersionCompat aCompat(rOStm, StreamMode::WRITE, 1);
-    maColor.Write( rOStm, true );
+    maColor.Write( rOStm );
     rOStm.WriteBool( mbSet );
 }
 
 void MetaFillColorAction::Read( SvStream& rIStm, ImplMetaReadData* )
 {
     VersionCompat aCompat(rIStm, StreamMode::READ);
-    maColor.Read( rIStm, true );
+    maColor.Read( rIStm );
     rIStm.ReadCharAsBool( mbSet );
 }
 
@@ -2534,13 +2534,13 @@ void MetaTextColorAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
 {
     MetaAction::Write(rOStm, pData);
     VersionCompat aCompat(rOStm, StreamMode::WRITE, 1);
-    maColor.Write( rOStm, true );
+    maColor.Write( rOStm );
 }
 
 void MetaTextColorAction::Read( SvStream& rIStm, ImplMetaReadData* )
 {
     VersionCompat aCompat(rIStm, StreamMode::READ);
-    maColor.Read( rIStm, true );
+    maColor.Read( rIStm );
 }
 
 MetaTextFillColorAction::MetaTextFillColorAction() :
@@ -2576,14 +2576,14 @@ void MetaTextFillColorAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
 {
     MetaAction::Write(rOStm, pData);
     VersionCompat aCompat(rOStm, StreamMode::WRITE, 1);
-    maColor.Write( rOStm, true );
+    maColor.Write( rOStm );
     rOStm.WriteBool( mbSet );
 }
 
 void MetaTextFillColorAction::Read( SvStream& rIStm, ImplMetaReadData* )
 {
     VersionCompat aCompat(rIStm, StreamMode::READ);
-    maColor.Read( rIStm, true );
+    maColor.Read( rIStm );
     rIStm.ReadCharAsBool( mbSet );
 }
 
@@ -2620,14 +2620,14 @@ void MetaTextLineColorAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
 {
     MetaAction::Write(rOStm, pData);
     VersionCompat aCompat(rOStm, StreamMode::WRITE, 1);
-    maColor.Write( rOStm, true );
+    maColor.Write( rOStm );
     rOStm.WriteBool( mbSet );
 }
 
 void MetaTextLineColorAction::Read( SvStream& rIStm, ImplMetaReadData* )
 {
     VersionCompat aCompat(rIStm, StreamMode::READ);
-    maColor.Read( rIStm, true );
+    maColor.Read( rIStm );
     rIStm.ReadCharAsBool( mbSet );
 }
 
@@ -2664,14 +2664,14 @@ void MetaOverlineColorAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
 {
     MetaAction::Write(rOStm, pData);
     VersionCompat aCompat(rOStm, StreamMode::WRITE, 1);
-    maColor.Write( rOStm, true );
+    maColor.Write( rOStm );
     rOStm.WriteBool( mbSet );
 }
 
 void MetaOverlineColorAction::Read( SvStream& rIStm, ImplMetaReadData* )
 {
     VersionCompat aCompat(rIStm, StreamMode::READ);
-    maColor.Read( rIStm, true );
+    maColor.Read( rIStm );
     rIStm.ReadCharAsBool( mbSet );
 }
 
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index cd11091..41775a5 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -1608,7 +1608,7 @@ void PDFWriterImpl::PDFPage::appendMappedLength( sal_Int32 nLength, OStringBuffe
     if( pOutLength )
         *pOutLength = ((nLength < 0 ) ? -nValue : nValue);
 
-    appendFixedInt( nValue, rBuffer, 1 );
+    appendFixedInt( nValue, rBuffer );
 }
 
 void PDFWriterImpl::PDFPage::appendMappedLength( double fLength, OStringBuffer& rBuffer, bool bVertical, sal_Int32* pOutLength, sal_Int32 nPrecision ) const
@@ -5994,9 +5994,9 @@ bool PDFWriterImpl::emitSignature()
     appendLiteralStringEncrypt( m_aCreationDateString, m_nSignatureObject, aLine );
 
     aLine.append( " /ByteRange [ 0 ");
-    aLine.append( m_nSignatureContentOffset - 1, 10 );
+    aLine.append( m_nSignatureContentOffset - 1 );
     aLine.append( " " );
-    aLine.append( m_nSignatureContentOffset + MAX_SIGNATURE_CONTENT_LENGTH + 1, 10 );
+    aLine.append( m_nSignatureContentOffset + MAX_SIGNATURE_CONTENT_LENGTH + 1 );
     aLine.append( " " );
 
     m_nSignatureLastByteRangeNoOffset = nOffset + aLine.getLength();
@@ -6806,7 +6806,7 @@ bool PDFWriterImpl::finalizeSignature()
     sal_uInt64 nWritten = 0;
     CHECK_RETURN( (osl::File::E_None == m_aFile.setPos(osl_Pos_Absolut, m_nSignatureLastByteRangeNoOffset) ) );
     OStringBuffer aByteRangeNo( 256 );
-    aByteRangeNo.append( nLastByteRangeNo, 10);
+    aByteRangeNo.append( nLastByteRangeNo );
     aByteRangeNo.append( " ]" );
 
     if (m_aFile.write(aByteRangeNo.getStr(), aByteRangeNo.getLength(), nWritten) != osl::File::E_None)
diff --git a/vcl/source/gdi/pdfwriter_impl2.cxx b/vcl/source/gdi/pdfwriter_impl2.cxx
index 9c4150f..cf734cc 100644
--- a/vcl/source/gdi/pdfwriter_impl2.cxx
+++ b/vcl/source/gdi/pdfwriter_impl2.cxx
@@ -459,7 +459,7 @@ void PDFWriterImpl::playMetafile( const GDIMetaFile& i_rMtf, vcl::PDFExtOutDevDa
 
                                 xVDev->EnableMapMode( false );
                                 aPaint = xVDev->GetBitmap( aPoint, aDstSizePixel );
-                                xVDev->EnableMapMode( true );
+                                xVDev->EnableMapMode();
 
                                 // create mask bitmap
                                 xVDev->SetLineColor( COL_BLACK );
@@ -472,7 +472,7 @@ void PDFWriterImpl::playMetafile( const GDIMetaFile& i_rMtf, vcl::PDFExtOutDevDa
                                 aTmpMtf.WindStart();
                                 xVDev->EnableMapMode( false );
                                 aMask = xVDev->GetBitmap( aPoint, aDstSizePixel );
-                                xVDev->EnableMapMode( true );
+                                xVDev->EnableMapMode();
 
                                 // create alpha mask from gradient
                                 xVDev->SetDrawMode( DrawModeFlags::GrayGradient );
diff --git a/vcl/source/gdi/pngwrite.cxx b/vcl/source/gdi/pngwrite.cxx
index 898a697..d9336ce 100644
--- a/vcl/source/gdi/pngwrite.cxx
+++ b/vcl/source/gdi/pngwrite.cxx
@@ -454,7 +454,7 @@ void PNGWriterImpl::ImplWriteIDAT()
         {
             for (nY = 1; nY < mnHeight; nY += 2)
             {
-                mpZCodec.Write(aOStm, mpDeflateInBuf, ImplGetFilter (nY, 0, 1));
+                mpZCodec.Write(aOStm, mpDeflateInBuf, ImplGetFilter (nY, 0));
             }
         }
     }
diff --git a/vcl/source/gdi/print2.cxx b/vcl/source/gdi/print2.cxx
index d35e5b3..c07d3eb 100644
--- a/vcl/source/gdi/print2.cxx
+++ b/vcl/source/gdi/print2.cxx
@@ -1198,7 +1198,7 @@ bool OutputDevice::RemoveTransparenciesFromMetaFile( const GDIMetaFile& rInMtf,
                                         // the current aCCList element
                                         // (aCurr)
                                         if( aCCList_MemberMap[nActionNum] == &(*aCurr) )
-                                            aPaintVDev->EnableOutput(true);
+                                            aPaintVDev->EnableOutput();
 
                                         // but process every action
                                         const MetaActionType nType( pCurrAct->GetType() );
diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx
index a8acbe8..2b8b8ad 100644
--- a/vcl/source/gdi/print3.cxx
+++ b/vcl/source/gdi/print3.cxx
@@ -1315,7 +1315,7 @@ void PrinterController::printFilteredPage( int i_nPage )
     GDIMetaFile aCleanedFile;
     DrawModeFlags nRestoreDrawMode = removeTransparencies( aPageFile, aCleanedFile );
 
-    mpImplData->mxPrinter->EnableOutput( true );
+    mpImplData->mxPrinter->EnableOutput();
 
     // actually print the page
     mpImplData->mxPrinter->ImplStartPage();
@@ -1346,7 +1346,7 @@ void PrinterController::abortJob()
     setLastPage( true );
     mpImplData->mpProgress.disposeAndClear();
     GDIMetaFile aMtf;
-    getPageFile( 0, aMtf, false );
+    getPageFile( 0, aMtf );
 }
 
 void PrinterController::setLastPage( bool i_bLastPage )
diff --git a/vcl/source/gdi/wall.cxx b/vcl/source/gdi/wall.cxx
index e462f2d..7fa5f23 100644
--- a/vcl/source/gdi/wall.cxx
+++ b/vcl/source/gdi/wall.cxx
@@ -131,7 +131,7 @@ SvStream& ReadImplWallpaper( SvStream& rIStm, ImplWallpaper& rImplWallpaper )
         // version 3 (new color format)
         if( aCompat.GetVersion() >= 3 )
         {
-            rImplWallpaper.maColor.Read( rIStm, true );
+            rImplWallpaper.maColor.Read( rIStm );
         }
     }
 
@@ -163,7 +163,7 @@ SvStream& WriteImplWallpaper( SvStream& rOStm, const ImplWallpaper& rImplWallpap
         WriteDIBBitmapEx(*rImplWallpaper.mpBitmap, rOStm);
 
     // version 3 (new color format)
-    ( (Color&) rImplWallpaper.maColor ).Write( rOStm, true );
+    ( (Color&) rImplWallpaper.maColor ).Write( rOStm );
 
     return rOStm;
 }
diff --git a/vcl/source/opengl/OpenGLHelper.cxx b/vcl/source/opengl/OpenGLHelper.cxx
index 3ed6bdd..628409a 100644
--- a/vcl/source/opengl/OpenGLHelper.cxx
+++ b/vcl/source/opengl/OpenGLHelper.cxx
@@ -103,7 +103,7 @@ static void addPreamble(OString& rShaderSource, const OString& rPreamble)
         return;
 
     OString aVersionStr("#version");
-    int nVersionStrStartPos = rShaderSource.indexOf(aVersionStr, 0);
+    int nVersionStrStartPos = rShaderSource.indexOf(aVersionStr);
 
     if (nVersionStrStartPos == -1)
     {
diff --git a/vcl/source/outdev/transparent.cxx b/vcl/source/outdev/transparent.cxx
index 07ff067..a47b93c 100644
--- a/vcl/source/outdev/transparent.cxx
+++ b/vcl/source/outdev/transparent.cxx
@@ -198,7 +198,7 @@ void OutputDevice::ImplPrintTransparent( const Bitmap& rBmp, const Bitmap& rMask
             Bitmap aBandBmp(aPaint);
 
             aBandBmp.Crop(*aRectIter);
-            DrawBitmap(aMapPt, aMapSz, Point(), aBandBmp.GetSizePixel(), aBandBmp, MetaActionType::BMPSCALEPART);
+            DrawBitmap(aMapPt, aMapSz, Point(), aBandBmp.GetSizePixel(), aBandBmp);
         }
 
         mbMap = bOldMap;
diff --git a/vcl/source/window/accessibility.cxx b/vcl/source/window/accessibility.cxx
index 39befda..5b79b92 100644
--- a/vcl/source/window/accessibility.cxx
+++ b/vcl/source/window/accessibility.cxx
@@ -146,7 +146,7 @@ namespace vcl {
 
 ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > Window::CreateAccessible()
 {
-    ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > xAcc( GetComponentInterface( true ), ::com::sun::star::uno::UNO_QUERY );
+    ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > xAcc( GetComponentInterface(), ::com::sun::star::uno::UNO_QUERY );
     return xAcc;
 }
 
diff --git a/vcl/source/window/brdwin.cxx b/vcl/source/window/brdwin.cxx
index 75523ef..cdc45bc 100644
--- a/vcl/source/window/brdwin.cxx
+++ b/vcl/source/window/brdwin.cxx
@@ -54,7 +54,7 @@ static void ImplGetPinImage( DrawButtonFlags nStyle, bool bPinIn, Image& rImage
             Color aMaskColor( 0x00, 0x00, 0xFF );
             pSVData->maCtrlData.mpPinImgList->InsertFromHorizontalBitmap
                 ( ResId( SV_RESID_BITMAP_PIN, *pResMgr ), 4,
-                  &aMaskColor, NULL, NULL, 0);
+                  &aMaskColor, NULL, NULL );
         }
     }
 
@@ -1344,7 +1344,7 @@ bool ImplStdBorderWindowView::Tracking( const TrackingEvent& rTEvt )
                     // no move (only resize) if position did not change
                     if( aOldPos != aNewRect.TopLeft() )
                         pBorderWindow->setPosSizePixel( aNewRect.Left(), aNewRect.Top(),
-                                                    aNewRect.GetWidth(), aNewRect.GetHeight(), PosSizeFlags::PosSize );
+                                                    aNewRect.GetWidth(), aNewRect.GetHeight() );
                     else
                         pBorderWindow->setPosSizePixel( aNewRect.Left(), aNewRect.Top(),
                                                     aNewRect.GetWidth(), aNewRect.GetHeight(), PosSizeFlags::Size );
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx
index 5f3acda..62e3fbf 100644
--- a/vcl/source/window/dialog.cxx
+++ b/vcl/source/window/dialog.cxx
@@ -443,7 +443,7 @@ void Dialog::ApplySettings(vcl::RenderContext& rRenderContext)
     {
         // NWF background
         mpWindowImpl->mnNativeBackground = PART_BACKGROUND_DIALOG;
-        EnableChildTransparentMode(true);
+        EnableChildTransparentMode();
     }
     else
     {
@@ -461,7 +461,7 @@ void Dialog::ImplInitSettings()
     else if( IsNativeControlSupported(CTRL_WINDOW_BACKGROUND, PART_BACKGROUND_DIALOG))
     {
         mpWindowImpl->mnNativeBackground = PART_BACKGROUND_DIALOG;
-        EnableChildTransparentMode( true );
+        EnableChildTransparentMode();
     }
     // fallback to settings color
     else
@@ -763,7 +763,7 @@ bool Dialog::Close()
 
     if ( IsInExecute() )
     {
-        EndDialog( RET_CANCEL );
+        EndDialog();
         mbInClose = false;
         return true;
     }
@@ -830,7 +830,7 @@ bool Dialog::ImplStartExecuteModal()
         pSVData->maWinData.mpTrackWin->EndTracking( TrackingEventFlags::Cancel );
     if ( pSVData->maWinData.mpCaptureWin )
         pSVData->maWinData.mpCaptureWin->ReleaseMouse();
-    EnableInput( true, true );
+    EnableInput( true );
 
     if ( GetParent() )
     {
@@ -998,7 +998,7 @@ void Dialog::EndAllDialogs( vcl::Window* pParent )
      pTempModDialog = pModDialog->mpPrevExecuteDlg;
      if(!pParent || pParent->IsWindowOrChild(pModDialog,true))
      {
-        pModDialog->EndDialog( RET_CANCEL );
+        pModDialog->EndDialog();
         pModDialog->PostUserEvent( Link<>() );
      }
      pModDialog = pTempModDialog;
diff --git a/vcl/source/window/dlgctrl.cxx b/vcl/source/window/dlgctrl.cxx
index 3039e78..cf8ac99 100644
--- a/vcl/source/window/dlgctrl.cxx
+++ b/vcl/source/window/dlgctrl.cxx
@@ -564,7 +564,7 @@ namespace
 
     bool nextInGroup(RadioButton *pSourceWindow, bool bBackward)
     {
-        std::vector<VclPtr<RadioButton> > aGroup(pSourceWindow->GetRadioButtonGroup(true));
+        std::vector<VclPtr<RadioButton> > aGroup(pSourceWindow->GetRadioButtonGroup());
 
         if (aGroup.size() == 1) //only one button in group
             return false;
diff --git a/vcl/source/window/dockingarea.cxx b/vcl/source/window/dockingarea.cxx
index 4cb8b00..41330fb 100644
--- a/vcl/source/window/dockingarea.cxx
+++ b/vcl/source/window/dockingarea.cxx
@@ -164,7 +164,7 @@ void DockingAreaWindow::Paint(vcl::RenderContext& rRenderContext, const Rectangl
 {
     const StyleSettings rSetting = rRenderContext.GetSettings().GetStyleSettings();
 
-    EnableNativeWidget(true); // only required because the toolkit currently switches this flag off
+    EnableNativeWidget(); // only required because the toolkit currently switches this flag off
     if (rRenderContext.IsNativeControlSupported(CTRL_TOOLBAR, PART_ENTIRE_CONTROL))
     {
         ToolbarValue aControlValue;
diff --git a/vcl/source/window/dockmgr.cxx b/vcl/source/window/dockmgr.cxx
index d23b08d..be10175 100644
--- a/vcl/source/window/dockmgr.cxx
+++ b/vcl/source/window/dockmgr.cxx
@@ -834,7 +834,7 @@ ImplDockingWindowWrapper::~ImplDockingWindowWrapper()
     if ( IsFloatingMode() )
     {
         GetWindow()->Show( false, ShowFlags::NoFocusChange );
-        SetFloatingMode( false );
+        SetFloatingMode();
     }
 }
 
diff --git a/vcl/source/window/dockwin.cxx b/vcl/source/window/dockwin.cxx
index 953da10..4e91deb 100644
--- a/vcl/source/window/dockwin.cxx
+++ b/vcl/source/window/dockwin.cxx
@@ -477,7 +477,7 @@ void DockingWindow::dispose()
     if ( IsFloatingMode() )
     {
         Show( false, ShowFlags::NoFocusChange );
-        SetFloatingMode( false );
+        SetFloatingMode();
     }
     delete mpImplData;
     mpImplData = NULL;
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx
index 543f259..69d7135 100644
--- a/vcl/source/window/menu.cxx
+++ b/vcl/source/window/menu.cxx
@@ -283,7 +283,7 @@ void Menu::ImplSelect()
         if ( pData->nBits & MenuItemBits::RADIOCHECK )
         {
             if ( !bChecked )
-                CheckItem( nSelectedId, true );
+                CheckItem( nSelectedId );
         }
         else
             CheckItem( nSelectedId, !bChecked );
@@ -608,7 +608,7 @@ void ImplCopyItem( Menu* pThis, const Menu& rMenu, sal_uInt16 nPos, sal_uInt16 n
             pThis->InsertItem( nId, pData->aImage, pData->nBits, pData->sIdent, nNewPos );
 
         if ( rMenu.IsItemChecked( nId ) )
-            pThis->CheckItem( nId, true );
+            pThis->CheckItem( nId );
         if ( !rMenu.IsItemEnabled( nId ) )
             pThis->EnableItem( nId, false );
         pThis->SetHelpId( nId, pData->aHelpId );
@@ -2288,7 +2288,7 @@ bool Menu::HasValidEntries( bool bCheckPopups )
         if ( pItem->bEnabled && ( pItem->eType != MenuItemType::SEPARATOR ) )
         {
             if ( bCheckPopups && pItem->pSubMenu )
-                bValidEntries = pItem->pSubMenu->HasValidEntries( true );
+                bValidEntries = pItem->pSubMenu->HasValidEntries();
             else
                 bValidEntries = true;
         }
@@ -3082,7 +3082,7 @@ sal_uInt16 PopupMenu::ImplExecute( vcl::Window* pW, const Rectangle& rRect, Floa
         SalMenu* pMenu = ImplGetSalMenu();
         if( pMenu && bRealExecute && pMenu->ShowNativePopupMenu( pWin, aRect, nPopupModeFlags | FloatWinPopupFlags::GrabFocus ) )
         {
-            pWin->StopExecute(0);
+            pWin->StopExecute();
             pWin->doShutdown();
             pWindow->doLazyDelete();
             pWindow = NULL;
diff --git a/vcl/source/window/menubarwindow.cxx b/vcl/source/window/menubarwindow.cxx
index 718ffc0..2fcc536 100644
--- a/vcl/source/window/menubarwindow.cxx
+++ b/vcl/source/window/menubarwindow.cxx
@@ -1059,7 +1059,7 @@ void MenuBarWindow::ApplySettings(vcl::RenderContext& rRenderContext)
 
         rRenderContext.SetBackground(aWallpaper);
         SetPaintTransparent(false);
-        SetParentClipMode(ParentClipMode::NONE);
+        SetParentClipMode();
     }
     else if (rRenderContext.IsNativeControlSupported(CTRL_MENUBAR, PART_ENTIRE_CONTROL))
     {
@@ -1071,7 +1071,7 @@ void MenuBarWindow::ApplySettings(vcl::RenderContext& rRenderContext)
         aWallpaper.SetStyle(WallpaperStyle::ApplicationGradient);
         rRenderContext.SetBackground(aWallpaper);
         SetPaintTransparent(false);
-        SetParentClipMode(ParentClipMode::NONE);
+        SetParentClipMode();
     }
 
     rRenderContext.SetTextColor(rStyleSettings.GetMenuBarTextColor());
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index 381489f..05db2cf 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -229,7 +229,7 @@ void PrintDialog::PrintPreviewWindow::setPreview( const GDIMetaFile& i_rNewPrevi
     maReplacementString = i_rReplacement;
     mbGreyscale = i_bGreyscale;
     maPageVDev->SetReferenceDevice( i_nDPIX, i_nDPIY );
-    maPageVDev->EnableOutput( true );
+    maPageVDev->EnableOutput();
 
     // use correct measurements
     const LocaleDataWrapper& rLocWrap( GetSettings().GetLocaleDataWrapper() );
@@ -444,7 +444,7 @@ void PrintDialog::NUpTabPage::showAdvancedControls( bool i_bShow )
 void PrintDialog::NUpTabPage::initFromMultiPageSetup( const vcl::PrinterController::MultiPageSetup& i_rMPS )
 {
     mpNupOrderWin->Show();
-    mpPagesBtn->Check( true );
+    mpPagesBtn->Check();
     mpBrochureBtn->Show( false );
 
     // setup field units for metric fields
@@ -548,7 +548,7 @@ void PrintDialog::OutputOptPage::readFromSettings()
                               OUString( "CollateSingleJobs"  ) );
     if ( aValue.equalsIgnoreAsciiCase("true") )
     {
-        mpCollateSingleJobsBox->Check( true );
+        mpCollateSingleJobsBox->Check();
     }
     else
     {
@@ -1530,7 +1530,7 @@ IMPL_LINK( PrintDialog, SelectHdl, ListBox*, pBox )
         maPController->resetPrinterOptions( maOptionsPage.mpToFileBox->IsChecked() );
         // update text fields
         updatePrinterText();
-        preparePreview( true, false );
+        preparePreview( true );
     }
     else if( pBox == maNUpPage.mpNupOrientationBox || pBox == maNUpPage.mpNupOrderBox )
     {
@@ -1635,7 +1635,7 @@ IMPL_LINK( PrintDialog, ClickHdl, Button*, pButton )
             maPController->setupPrinter( this );
 
             // tdf#63905 don't use cache: page size may change
-            preparePreview( true, false );
+            preparePreview( true );
         }
         checkControlDependencies();
     }
diff --git a/vcl/source/window/settings.cxx b/vcl/source/window/settings.cxx
index 63586e3..d1ccb21 100644
--- a/vcl/source/window/settings.cxx
+++ b/vcl/source/window/settings.cxx
@@ -84,7 +84,7 @@ void Window::UpdateSettings( const AllSettings& rSettings, bool bChild )
 
     if ( mpWindowImpl->mpBorderWindow )
     {
-        mpWindowImpl->mpBorderWindow->UpdateSettings( rSettings, false );
+        mpWindowImpl->mpBorderWindow->UpdateSettings( rSettings );
         if ( (mpWindowImpl->mpBorderWindow->GetType() == WINDOW_BORDERWINDOW) &&
              static_cast<ImplBorderWindow*>(mpWindowImpl->mpBorderWindow.get())->mpMenuBarWindow )
             static_cast<ImplBorderWindow*>(mpWindowImpl->mpBorderWindow.get())->mpMenuBarWindow->UpdateSettings( rSettings, true );
diff --git a/vcl/source/window/status.cxx b/vcl/source/window/status.cxx
index bc1e553..ca48fcd 100644
--- a/vcl/source/window/status.cxx
+++ b/vcl/source/window/status.cxx
@@ -206,7 +206,7 @@ void StatusBar::ApplySettings(vcl::RenderContext& rRenderContext)
           rRenderContext.IsNativeControlSupported(CTRL_WINDOW_BACKGROUND, PART_BACKGROUND_WINDOW))
     {
         ImplGetWindowImpl()->mnNativeBackground = PART_BACKGROUND_WINDOW;
-        EnableChildTransparentMode(true);
+        EnableChildTransparentMode();
     }
 }
 
diff --git a/vcl/source/window/tabpage.cxx b/vcl/source/window/tabpage.cxx
index d4ca13d..e5c4c6c 100644
--- a/vcl/source/window/tabpage.cxx
+++ b/vcl/source/window/tabpage.cxx
@@ -43,7 +43,7 @@ void TabPage::ImplInit( vcl::Window* pParent, WinBits nStyle )
     // if the tabpage is drawn (ie filled) by a native widget, make sure all contols will have transparent background
     // otherwise they will paint with a wrong background
     if( IsNativeControlSupported(CTRL_TAB_BODY, PART_ENTIRE_CONTROL) && GetParent() && (GetParent()->GetType() == WINDOW_TABCONTROL) )
-        EnableChildTransparentMode( true );
+        EnableChildTransparentMode();
 }
 
 void TabPage::ImplInitSettings()
@@ -51,7 +51,7 @@ void TabPage::ImplInitSettings()
     vcl::Window* pParent = GetParent();
     if ( pParent->IsChildTransparentModeEnabled() && !IsControlBackground() )
     {
-        EnableChildTransparentMode( true );
+        EnableChildTransparentMode();
         SetParentClipMode( ParentClipMode::NoClip );
         SetPaintTransparent( true );
         SetBackground();
@@ -59,7 +59,7 @@ void TabPage::ImplInitSettings()
     else
     {
         EnableChildTransparentMode( false );
-        SetParentClipMode( ParentClipMode::NONE );
+        SetParentClipMode();
         SetPaintTransparent( false );
 
         if ( IsControlBackground() )
diff --git a/vcl/source/window/taskpanelist.cxx b/vcl/source/window/taskpanelist.cxx
index cf2a0cb..c9fcb88 100644
--- a/vcl/source/window/taskpanelist.cxx
+++ b/vcl/source/window/taskpanelist.cxx
@@ -186,7 +186,7 @@ bool TaskPaneList::HandleKeyEvent(const KeyEvent& rKeyEvent)
                 vcl::Window *pNextWin = NULL;
 
                 if( bSplitterOnly )
-                    pNextWin = FindNextSplitter( *p, true );
+                    pNextWin = FindNextSplitter( *p );
                 else
                     pNextWin = FindNextFloat( *p, bForward );
 
@@ -218,7 +218,7 @@ bool TaskPaneList::HandleKeyEvent(const KeyEvent& rKeyEvent)
         {
             vcl::Window *pWin;
             if( bSplitterOnly )
-                pWin = FindNextSplitter( NULL, true );
+                pWin = FindNextSplitter( NULL );
             else
                 pWin = FindNextFloat( NULL, bForward );
             if( pWin )
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index 09847f8..89d378d 100644
--- a/vcl/source/window/toolbox.cxx
+++ b/vcl/source/window/toolbox.cxx
@@ -1341,7 +1341,7 @@ IMPL_LINK( ImplTBDragMgr, SelectHdl, Accelerator*, pAccel )
     if ( pAccel->GetCurItemId() == KEY_ESCAPE )
         EndDragging( false );
     else
-        EndDragging( true );
+        EndDragging();
 
     return (long) true;
 }
@@ -1451,7 +1451,7 @@ void ToolBox::ApplySettings(vcl::RenderContext& rRenderContext)
         aColor = GetControlBackground();
         SetBackground( aColor );
         SetPaintTransparent(false);
-        SetParentClipMode( ParentClipMode::NONE );
+        SetParentClipMode();
     }
     else
     {
@@ -1474,7 +1474,7 @@ void ToolBox::ApplySettings(vcl::RenderContext& rRenderContext)
 
             rRenderContext.SetBackground(aColor);
             SetPaintTransparent(false);
-            SetParentClipMode(ParentClipMode::NONE);
+            SetParentClipMode();
         }
     }
 }
@@ -1514,7 +1514,7 @@ void ToolBox::ImplInitSettings(bool bFont, bool bForeground, bool bBackground)
             aColor = GetControlBackground();
             SetBackground( aColor );
             SetPaintTransparent(false);
-            SetParentClipMode( ParentClipMode::NONE );
+            SetParentClipMode();
         }
         else
         {
@@ -1537,7 +1537,7 @@ void ToolBox::ImplInitSettings(bool bFont, bool bForeground, bool bBackground)
 
                 SetBackground(aColor);
                 SetPaintTransparent(false);
-                SetParentClipMode(ParentClipMode::NONE);
+                SetParentClipMode();
             }
         }
     }
@@ -5355,7 +5355,7 @@ void ToolBox::ChangeHighlight( sal_uInt16 nPos )
 {
     if ( nPos < GetItemCount() ) {
         ImplGrabFocus( GetFocusFlags::NONE );
-        ImplChangeHighlight ( ImplGetItem ( GetItemId ( (sal_uInt16) nPos ) ), false );
+        ImplChangeHighlight ( ImplGetItem ( GetItemId ( (sal_uInt16) nPos ) ) );
     }
 }
 
diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx
index 7bd7610..4e1e7b0 100644
--- a/vcl/source/window/toolbox2.cxx
+++ b/vcl/source/window/toolbox2.cxx
@@ -1859,7 +1859,7 @@ IMPL_LINK( ToolBox, ImplCustomMenuListener, VclMenuEvent*, pEvent )
     {
         sal_uInt16 id = GetMenu()->GetItemId( pEvent->GetItemPos() );
         if( id >= TOOLBOX_MENUITEM_START )
-            TriggerItem( id - TOOLBOX_MENUITEM_START, false, false );
+            TriggerItem( id - TOOLBOX_MENUITEM_START, false );
     }
     return 0;
 }
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index a7da050..f3caef5 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -2323,7 +2323,7 @@ void Window::Show(bool bVisible, ShowFlags nFlags)
         else if ( mpWindowImpl->mbFrame )
         {
             mpWindowImpl->mbSuppressAccessibilityEvents = true;
-            mpWindowImpl->mpFrame->Show( false, false );
+            mpWindowImpl->mpFrame->Show( false );
         }
 
         CompatStateChanged( StateChangedType::Visible );
@@ -2588,7 +2588,7 @@ void Window::Enable( bool bEnable, bool bChild )
         mpWindowImpl->mpBorderWindow->Enable( bEnable, false );
         if ( (mpWindowImpl->mpBorderWindow->GetType() == WINDOW_BORDERWINDOW) &&
              static_cast<ImplBorderWindow*>(mpWindowImpl->mpBorderWindow.get())->mpMenuBarWindow )
-            static_cast<ImplBorderWindow*>(mpWindowImpl->mpBorderWindow.get())->mpMenuBarWindow->Enable( bEnable, true );
+            static_cast<ImplBorderWindow*>(mpWindowImpl->mpBorderWindow.get())->mpMenuBarWindow->Enable( bEnable );
     }
 
     // #i56102# restore app focus win in case the
@@ -2650,7 +2650,7 @@ void Window::EnableInput( bool bEnable, bool bChild )
         mpWindowImpl->mpBorderWindow->EnableInput( bEnable, false );
         if ( (mpWindowImpl->mpBorderWindow->GetType() == WINDOW_BORDERWINDOW) &&
              static_cast<ImplBorderWindow*>(mpWindowImpl->mpBorderWindow.get())->mpMenuBarWindow )
-            static_cast<ImplBorderWindow*>(mpWindowImpl->mpBorderWindow.get())->mpMenuBarWindow->EnableInput( bEnable, true );
+            static_cast<ImplBorderWindow*>(mpWindowImpl->mpBorderWindow.get())->mpMenuBarWindow->EnableInput( bEnable );
     }
 
     if ( (! bEnable && mpWindowImpl->meAlwaysInputMode != AlwaysInputEnabled) ||
diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx
index 7ba1c6a..bba4ecd 100644
--- a/vcl/source/window/window2.cxx
+++ b/vcl/source/window/window2.cxx
@@ -1355,8 +1355,7 @@ void Window::SetSizePixel( const Size& rNewSize )
 void Window::SetPosSizePixel( const Point& rNewPos, const Size& rNewSize )
 {
     setPosSizePixel( rNewPos.X(), rNewPos.Y(),
-                     rNewSize.Width(), rNewSize.Height(),
-                     PosSizeFlags::PosSize );
+                     rNewSize.Width(), rNewSize.Height());
 }
 
 void Window::SetOutputSizePixel( const Size& rNewSize )
diff --git a/vcl/unx/generic/printer/jobdata.cxx b/vcl/unx/generic/printer/jobdata.cxx
index bd385db..85f587a 100644
--- a/vcl/unx/generic/printer/jobdata.cxx
+++ b/vcl/unx/generic/printer/jobdata.cxx
@@ -108,7 +108,7 @@ bool JobData::setPaper( int i_nWidth, int i_nHeight )
         const PPDKey*   pKey = m_pParser->getKey( OUString( "PageSize" ) );
         const PPDValue* pValue = pKey ? pKey->getValueCaseInsensitive( aPaper ) : NULL;
 
-        bSuccess = pKey && pValue && m_aContext.setValue( pKey, pValue, false );
+        bSuccess = pKey && pValue && m_aContext.setValue( pKey, pValue );
     }
     return bSuccess;
 }
@@ -121,7 +121,7 @@ bool JobData::setPaperBin( int i_nPaperBin )
         const PPDKey*   pKey = m_pParser->getKey( OUString( "InputSlot" ) );
         const PPDValue* pValue = pKey ? pKey->getValue( i_nPaperBin ) : NULL;
 
-        bSuccess = pKey && pValue && m_aContext.setValue( pKey, pValue, false );
+        bSuccess = pKey && pValue && m_aContext.setValue( pKey, pValue );
     }
     return bSuccess;
 }
commit 286dfc2a720ea8bd6b26c10126202fa25a112e0f
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Aug 11 08:42:49 2015 +0200

    loplugin: defaultparams
    
    Change-Id: I50ba6a836473961d952ed88e56532501469c5368

diff --git a/toolkit/source/awt/vclxcontainer.cxx b/toolkit/source/awt/vclxcontainer.cxx
index 448a09f..ca66dbc 100644
--- a/toolkit/source/awt/vclxcontainer.cxx
+++ b/toolkit/source/awt/vclxcontainer.cxx
@@ -96,7 +96,7 @@ void VCLXContainer::removeVclContainerListener( const ::com::sun::star::uno::Ref
             for ( sal_uInt16 n = 0; n < nChildren; n++ )
             {
                 vcl::Window* pChild = pWindow->GetChild( n );
-                ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >  xWP = pChild->GetComponentInterface( true );
+                ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >  xWP = pChild->GetComponentInterface();
                 ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > xW( xWP, ::com::sun::star::uno::UNO_QUERY );
                 pChildRefs[n] = xW;
             }
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx
index 52a6451..9d5ff01 100644
--- a/toolkit/source/awt/vclxtoolkit.cxx
+++ b/toolkit/source/awt/vclxtoolkit.cxx
@@ -1275,7 +1275,7 @@ css::uno::Reference< css::awt::XWindowPeer > VCLXToolkit::ImplCreateWindow(
         if ( !pNewComp )
         {
             // Default-Interface
-            xRef = pNewWindow->GetComponentInterface( true );
+            xRef = pNewWindow->GetComponentInterface();
         }
         else
         {
@@ -1855,7 +1855,7 @@ void VCLXToolkit::callFocusListeners(::VclSimpleEvent const * pEvent,
                     break;
                 }
             if (pFocus != 0)
-                xNext = pFocus->GetComponentInterface(true);
+                xNext = pFocus->GetComponentInterface();
             css::awt::FocusEvent aAwtEvent(
                 static_cast< css::awt::XWindow * >(pWindow->GetWindowPeer()),
                 static_cast<sal_Int16>(pWindow->GetGetFocusFlags()),
diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx
index c9d4bc6..01c9d65 100644
--- a/toolkit/source/awt/vclxwindow.cxx
+++ b/toolkit/source/awt/vclxwindow.cxx
@@ -617,7 +617,7 @@ void VCLXWindow::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent )
                         if ( pNextC )
                             pNext = pNextC;
 
-                        pNext->GetComponentInterface( true );
+                        pNext->GetComponentInterface();
                         aEvent.NextFocus = static_cast<cppu::OWeakObject*>(pNext->GetWindowPeer());
                     }
                     mpImpl->getFocusListeners().focusLost( aEvent );
@@ -1059,7 +1059,7 @@ void VCLXWindow::addWindowListener( const ::com::sun::star::uno::Reference< ::co
 
     // #100119# Get all resize events, even if height or width 0, or invisible
     if ( GetWindow() )
-        GetWindow()->EnableAllResize( true );
+        GetWindow()->EnableAllResize();
 }
 
 void VCLXWindow::removeWindowListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowListener >& rxListener ) throw(::com::sun::star::uno::RuntimeException, std::exception)
@@ -2338,7 +2338,7 @@ void VCLXWindow::draw( sal_Int32 nX, sal_Int32 nY ) throw(::com::sun::star::uno:
                     pWindow->EnableNativeWidget(false);
                 pWindow->PaintToDevice( pDev, aP, aSz );
                 if( bOldNW )
-                    pWindow->EnableNativeWidget(true);
+                    pWindow->EnableNativeWidget();
             }
         }
     }
diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx
index af22717..f54c046 100644
--- a/toolkit/source/awt/vclxwindows.cxx
+++ b/toolkit/source/awt/vclxwindows.cxx
@@ -2602,7 +2602,7 @@ sal_uInt16 VCLXMultiPage::insertTab( TabPage* pPage, OUString& sTitle )
 {
     TabControl *pTabControl = getTabControl();
     sal_uInt16 id = sal::static_int_cast< sal_uInt16 >( mTabId++ );
-    pTabControl->InsertPage( id, sTitle, TAB_APPEND );
+    pTabControl->InsertPage( id, sTitle );
     pTabControl->SetTabPage( id, pPage );
     return id;
 }
diff --git a/toolkit/source/controls/unocontrol.cxx b/toolkit/source/controls/unocontrol.cxx
index 56e1fc0..0cf63e5 100644
--- a/toolkit/source/controls/unocontrol.cxx
+++ b/toolkit/source/controls/unocontrol.cxx
@@ -189,7 +189,7 @@ Reference< XWindowPeer >    UnoControl::ImplGetCompatiblePeer( bool bAcceptExist
         }
         try
         {
-            xMe->createPeer( NULL, pParentWindow->GetComponentInterface( true ) );
+            xMe->createPeer( NULL, pParentWindow->GetComponentInterface() );
         }
         catch( const Exception& )
         {
diff --git a/toolkit/source/helper/vclunohelper.cxx b/toolkit/source/helper/vclunohelper.cxx
index 273a6cf..8cfb8b3 100644
--- a/toolkit/source/helper/vclunohelper.cxx
+++ b/toolkit/source/helper/vclunohelper.cxx
@@ -189,7 +189,7 @@ Polygon VCLUnoHelper::CreatePolygon( const ::com::sun::star::uno::Sequence< sal_
 
 ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlContainer> VCLUnoHelper::CreateControlContainer( vcl::Window* pWindow )
 {
-    UnoControlContainer* pContainer = new UnoControlContainer( pWindow->GetComponentInterface( true ) );
+    UnoControlContainer* pContainer = new UnoControlContainer( pWindow->GetComponentInterface() );
     ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlContainer > x = pContainer;
 
     UnoControlModel* pContainerModel = new UnoControlContainerModel( ::comphelper::getProcessComponentContext() );
diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx
index 2fdb0d0..78aa4fc 100644
--- a/tools/source/fsys/urlobj.cxx
+++ b/tools/source/fsys/urlobj.cxx
@@ -4961,7 +4961,7 @@ OUString INetURLObject::GetFull() const
 OUString INetURLObject::GetPath() const
 {
     INetURLObject aTemp(*this);
-    aTemp.removeSegment(LAST_SEGMENT, true);
+    aTemp.removeSegment(LAST_SEGMENT);
     aTemp.removeFinalSlash();
     return aTemp.PathToFileName();
 }
@@ -4981,7 +4981,7 @@ void INetURLObject::SetName(OUString const & rTheName,
                             rtl_TextEncoding eCharset)
 {
     INetURLObject aTemp(*this);
-    if (aTemp.removeSegment(LAST_SEGMENT, true)
+    if (aTemp.removeSegment(LAST_SEGMENT)
         && aTemp.insertName(rTheName, false, LAST_SEGMENT, true, eMechanism,
                             eCharset))
         *this = aTemp;
diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx
index e01f72a..7d14d40 100644
--- a/tools/source/generic/poly.cxx
+++ b/tools/source/generic/poly.cxx
@@ -222,7 +222,7 @@ void ImplPolygon::ImplSplit( sal_uInt16 nPos, sal_uInt16 nSpace, ImplPolygon* pI
     {
         // Append at the back
         nPos = mnPoints;
-        ImplSetSize( nNewSize, true );
+        ImplSetSize( nNewSize );
 
         if( pInitPoly )
         {
@@ -1907,7 +1907,7 @@ Polygon::Polygon(const basegfx::B2DPolygon& rPolygon)
 
             if(nArrayInsert != nMaxTargetCount)
             {
-                mpImplPolygon->ImplSetSize(static_cast< sal_uInt16 >(nArrayInsert), true);
+                mpImplPolygon->ImplSetSize(static_cast< sal_uInt16 >(nArrayInsert));
             }
         }
     }
diff --git a/tools/source/inet/inetstrm.cxx b/tools/source/inet/inetstrm.cxx
index 4342c67..9836f39 100644
--- a/tools/source/inet/inetstrm.cxx
+++ b/tools/source/inet/inetstrm.cxx
@@ -1353,7 +1353,7 @@ int INetMIMEMessageStream::PutMsgLine(const sal_Char* pData, sal_uIntPtr nSize)
                     // Encapsulated message.
                     INetMIMEMessage* pNewMessage = new INetMIMEMessage;
                     pNewMessage->SetDocumentLB( new SvAsyncLockBytes(new SvMemoryStream(), false));
-                    pMsg->AttachChild( *pNewMessage, true );
+                    pMsg->AttachChild( *pNewMessage );
 
                     // Encapsulated message body. Create message parser stream.
                     pChildStrm = new INetMIMEMessageStream;
@@ -1467,7 +1467,7 @@ int INetMIMEMessageStream::PutMsgLine(const sal_Char* pData, sal_uIntPtr nSize)
                                     new SvAsyncLockBytes(
                                         new SvMemoryStream(), false));
 
-                                pMsg->AttachChild( *pNewMessage, true );
+                                pMsg->AttachChild( *pNewMessage );
 
                                 // Encapsulated message body. Create message parser stream.
                                 pChildStrm = new INetMIMEMessageStream;
diff --git a/ucbhelper/source/provider/contentidentifier.cxx b/ucbhelper/source/provider/contentidentifier.cxx
index b8f8cbc..29c45d0 100644
--- a/ucbhelper/source/provider/contentidentifier.cxx
+++ b/ucbhelper/source/provider/contentidentifier.cxx
@@ -66,7 +66,7 @@ ContentIdentifier_Impl::ContentIdentifier_Impl(const OUString& rURL )
 
     // The content provider scheme is the part before the first ':'
     // within the content id.
-    sal_Int32 nPos = rURL.indexOf( ':', 0 );
+    sal_Int32 nPos = rURL.indexOf( ':' );
     if ( nPos != -1 )
     {
         OUString aScheme( rURL.copy( 0, nPos ) );
diff --git a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx
index 1a63461..f9137b0 100644
--- a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx
+++ b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx
@@ -607,7 +607,7 @@ void generateMemberDeclaration(std::ostream& o,
          i != members.end(); ++i)
     {
         o << "    ";
-        printType(o, options, manager, i->type, 1, false);
+        printType(o, options, manager, i->type, 1);
         o << " m_" << i->name << ";\n";
     }
 }
@@ -934,7 +934,7 @@ void generateQueryInterface(std::ostream& o,
             o << "::cppu::OPropertySetHelper::queryInterface(type));\n";
         } else {
             o << "::cppu::PropertySetMixin<\n            ";
-            printType(o, options, manager, propertyhelper, 0, false);
+            printType(o, options, manager, propertyhelper, 0);
             o << " >::queryInterface(\n               type));\n";
         }
     }
diff --git a/unodevtools/source/skeletonmaker/cpptypemaker.cxx b/unodevtools/source/skeletonmaker/cpptypemaker.cxx
index 283e477..02c3566 100644
--- a/unodevtools/source/skeletonmaker/cpptypemaker.cxx
+++ b/unodevtools/source/skeletonmaker/cpptypemaker.cxx
@@ -103,7 +103,7 @@ void printType(
             if (i != arguments.begin())
                 o << ", ";
 
-            printType(o, options, manager, *i, 1, false);
+            printType(o, options, manager, *i, 1);
         }
         o << " >";
     }
diff --git a/unodevtools/source/skeletonmaker/javacompskeleton.cxx b/unodevtools/source/skeletonmaker/javacompskeleton.cxx
index 5679163..f51de58 100644
--- a/unodevtools/source/skeletonmaker/javacompskeleton.cxx
+++ b/unodevtools/source/skeletonmaker/javacompskeleton.cxx
@@ -765,7 +765,7 @@ void generateClassDefinition(std::ostream& o,
         o << "    // properties\n";
         while (iter != properties.end()) {
             o << "    protected ";
-            printType(o, options, manager, iter->type, false, false);
+            printType(o, options, manager, iter->type, false);
             o << " m_" << iter->name << ";\n";
             ++iter;
         }
@@ -775,7 +775,7 @@ void generateClassDefinition(std::ostream& o,
         o << "    // attributes\n";
         while (iter != attributes.end()) {
             o << "    private ";
-            printType(o, options, manager, iter->type, false, false);
+            printType(o, options, manager, iter->type, false);
             o << " m_" << iter->name << " = ";
             printType(o, options, manager, iter->type, false, true);
             o <<";\n";
diff --git a/unodevtools/source/skeletonmaker/javatypemaker.cxx b/unodevtools/source/skeletonmaker/javatypemaker.cxx
index a8e2ebf..6a5aaab 100644
--- a/unodevtools/source/skeletonmaker/javatypemaker.cxx
+++ b/unodevtools/source/skeletonmaker/javatypemaker.cxx
@@ -89,7 +89,7 @@ void printType(
             if (i != arguments.begin()) {
                 o << ", ";
             }
-            printType(o, options, manager, *i, true, false);
+            printType(o, options, manager, *i, true);
         }
         o << '>';
     }
diff --git a/unotools/source/ucbhelper/ucbhelper.cxx b/unotools/source/ucbhelper/ucbhelper.cxx
index 1cb9ad6..98c30d0 100644
--- a/unotools/source/ucbhelper/ucbhelper.cxx
+++ b/unotools/source/ucbhelper/ucbhelper.cxx
@@ -88,7 +88,7 @@ std::vector<OUString> getContents(OUString const & url) {
         css::uno::Sequence<OUString> args(1);
         args[0] = "Title";
         css::uno::Reference<css::sdbc::XResultSet> res(
-            c.createCursor(args, ucbhelper::INCLUDE_FOLDERS_AND_DOCUMENTS),
+            c.createCursor(args),
             css::uno::UNO_SET_THROW);
         css::uno::Reference<com::sun::star::ucb::XContentAccess> acc(
             res, css::uno::UNO_QUERY_THROW);
diff --git a/unotools/source/ucbhelper/xtempfile.cxx b/unotools/source/ucbhelper/xtempfile.cxx
index a56347f..0ec6f47 100644
--- a/unotools/source/ucbhelper/xtempfile.cxx
+++ b/unotools/source/ucbhelper/xtempfile.cxx
@@ -39,7 +39,7 @@ OTempFileService::OTempFileService(css::uno::Reference< css::uno::XComponentCont
 
 {
     mpTempFile = new ::utl::TempFile;
-    mpTempFile->EnableKillingFile ( true );
+    mpTempFile->EnableKillingFile();
 }
 
 OTempFileService::~OTempFileService ()
commit 3553a5d3a899954c4db09e264d8faf07e817e564
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Aug 11 08:42:40 2015 +0200

    loplugin: defaultparams
    
    Change-Id: I513643385dc0a04b68c5cf4a5f43aa0804e572e6

diff --git a/svx/source/accessibility/AccessibleFrameSelector.cxx b/svx/source/accessibility/AccessibleFrameSelector.cxx
index c40dfb5..2667be3 100644
--- a/svx/source/accessibility/AccessibleFrameSelector.cxx
+++ b/svx/source/accessibility/AccessibleFrameSelector.cxx
@@ -128,7 +128,7 @@ Reference< XAccessible > AccFrameSelector::getAccessibleParent(  )
     IsValid();
     Reference< XAccessible > xRet;
     if(meBorder == FRAMEBORDER_NONE)
-        xRet = mpFrameSel->GetParent()->GetAccessible( true );
+        xRet = mpFrameSel->GetParent()->GetAccessible();
     else
         xRet = mpFrameSel->CreateAccessible();
     return xRet;
diff --git a/svx/source/accessibility/AccessibleShape.cxx b/svx/source/accessibility/AccessibleShape.cxx
index 773e536..eb4cdfb 100644
--- a/svx/source/accessibility/AccessibleShape.cxx
+++ b/svx/source/accessibility/AccessibleShape.cxx
@@ -267,7 +267,7 @@ bool AccessibleShape::SetState (sal_Int16 aState)
         // Offer FOCUSED state to edit engine and detect whether the state
         // changes.
         bool bIsFocused = mpText->HaveFocus ();
-        mpText->SetFocus (true);
+        mpText->SetFocus();
         bStateHasChanged = (bIsFocused != mpText->HaveFocus ());
     }
     else
diff --git a/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx b/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx
index 70dab35..e5253d9 100644
--- a/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx
+++ b/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx
@@ -96,7 +96,7 @@ uno::Reference< XAccessible > SvxPixelCtlAccessible::getAccessibleParent(  )
     ::osl::MutexGuard   aGuard( m_aMutex );
     vcl::Window *pTabPage = getNonLayoutParent(&mrPixelCtl);
     assert(pTabPage && WINDOW_TABPAGE == pTabPage->GetType());
-    return pTabPage->GetAccessible( true );
+    return pTabPage->GetAccessible();
 }
 
 sal_Int32 SvxPixelCtlAccessible::getAccessibleIndexInParent(  )
diff --git a/svx/source/customshapes/EnhancedCustomShape2d.cxx b/svx/source/customshapes/EnhancedCustomShape2d.cxx
index 7191686..f53e959 100644
--- a/svx/source/customshapes/EnhancedCustomShape2d.cxx
+++ b/svx/source/customshapes/EnhancedCustomShape2d.cxx
@@ -1130,7 +1130,7 @@ bool EnhancedCustomShape2d::GetHandlePosition( const sal_uInt32 nIndex, Point& r
         {
             if ( aHandle.nFlags & HandleFlags::POLAR )
             {

... etc. - the rest is truncated


More information about the Libreoffice-commits mailing list