[Libreoffice-commits] core.git: 35 commits - basctl/source basic/source chart2/source connectivity/source cui/source dbaccess/source desktop/source editeng/source extensions/source filter/source forms/source formula/source fpicker/source framework/source include/svtools lotuswordpro/source oox/source reportdesign/source scaddins/source sc/qa sc/source sd/source sfx2/source sot/source starmath/source stoc/source svl/source svtools/source svx/source sw/source toolkit/source tools/source uui/source vcl/source vcl/unx writerfilter/source xmloff/source xmlsecurity/source

Stephan Bergmann sbergman at redhat.com
Mon Oct 19 08:53:10 PDT 2015


 basctl/source/basicide/baside2b.cxx                         |   10 +-
 basctl/source/basicide/basides1.cxx                         |    4 -
 basctl/source/basicide/basidesh.cxx                         |    8 +-
 basctl/source/basicide/basobj3.cxx                          |    2 
 basctl/source/dlged/dlged.cxx                               |    4 -
 basic/source/runtime/iosys.cxx                              |    2 
 chart2/source/controller/dialogs/dlg_DataSource.cxx         |    2 
 chart2/source/controller/dialogs/tp_ChartType.cxx           |    4 -
 chart2/source/controller/dialogs/tp_DataSource.cxx          |    2 
 chart2/source/controller/dialogs/tp_SeriesToAxis.cxx        |    6 -
 chart2/source/view/axes/VCartesianAxis.cxx                  |    2 
 chart2/source/view/diagram/VDiagram.cxx                     |    2 
 connectivity/source/commontools/predicateinput.cxx          |    8 +-
 connectivity/source/drivers/file/FResultSet.cxx             |    4 -
 connectivity/source/parse/sqliterator.cxx                   |    2 
 cui/source/customize/acccfg.cxx                             |    6 -
 cui/source/customize/cfg.cxx                                |   12 +--
 cui/source/customize/macropg.cxx                            |    2 
 cui/source/customize/selector.cxx                           |    2 
 cui/source/dialogs/SpellDialog.cxx                          |    2 
 cui/source/dialogs/colorpicker.cxx                          |    4 -
 cui/source/dialogs/cuifmsearch.cxx                          |    2 
 cui/source/dialogs/hangulhanjadlg.cxx                       |    4 -
 cui/source/dialogs/hlinettp.cxx                             |    2 
 cui/source/dialogs/hlmailtp.cxx                             |    6 -
 cui/source/dialogs/hltpbase.cxx                             |    2 
 cui/source/dialogs/postdlg.cxx                              |    6 -
 cui/source/options/optasian.cxx                             |    2 
 cui/source/options/optchart.cxx                             |    6 -
 cui/source/options/optgdlg.cxx                              |    6 -
 cui/source/options/optinet2.cxx                             |   36 ++++-----
 cui/source/options/optlingu.cxx                             |    6 -
 cui/source/options/optupdt.cxx                              |    6 -
 cui/source/options/webconninfo.cxx                          |    2 
 cui/source/tabpages/autocdlg.cxx                            |    2 
 cui/source/tabpages/border.cxx                              |    6 -
 cui/source/tabpages/chardlg.cxx                             |   10 +-
 cui/source/tabpages/macroass.cxx                            |    8 +-
 cui/source/tabpages/numfmt.cxx                              |    8 +-
 cui/source/tabpages/numpages.cxx                            |    4 -
 cui/source/tabpages/paragrph.cxx                            |    2 
 cui/source/tabpages/tabstpge.cxx                            |    4 -
 cui/source/tabpages/tparea.cxx                              |    8 +-
 dbaccess/source/ui/app/AppDetailPageHelper.cxx              |    2 
 dbaccess/source/ui/browser/unodatbr.cxx                     |    2 
 dbaccess/source/ui/control/RelationControl.cxx              |    2 
 dbaccess/source/ui/control/tabletree.cxx                    |    2 
 dbaccess/source/ui/dlg/adtabdlg.cxx                         |    4 -
 dbaccess/source/ui/dlg/indexfieldscontrol.cxx               |    6 -
 dbaccess/source/ui/misc/WCPage.cxx                          |    2 
 dbaccess/source/ui/misc/WCopyTable.cxx                      |    6 -
 dbaccess/source/ui/querydesign/JoinController.cxx           |    2 
 dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx       |   14 +--
 dbaccess/source/ui/querydesign/querydlg.cxx                 |    2 
 dbaccess/source/ui/tabledesign/TEditControl.cxx             |   10 +-
 dbaccess/source/ui/tabledesign/TableUndo.cxx                |    4 -
 desktop/source/deployment/gui/dp_gui_dialog2.cxx            |    4 -
 desktop/source/deployment/gui/license_dialog.cxx            |    4 -
 editeng/source/editeng/impedit2.cxx                         |    2 
 editeng/source/misc/svxacorr.cxx                            |    4 -
 editeng/source/outliner/outlvw.cxx                          |    8 +-
 editeng/source/uno/unofored.cxx                             |    2 
 editeng/source/uno/unotext.cxx                              |    4 -
 extensions/source/propctrlr/standardcontrol.cxx             |    4 -
 extensions/source/scanner/sanedlg.cxx                       |   30 +++----
 extensions/source/update/ui/updatecheckui.cxx               |    2 
 filter/source/msfilter/msdffimp.cxx                         |    4 -
 filter/source/pdf/impdialog.cxx                             |   28 +++----
 filter/source/svg/svgwriter.cxx                             |    2 
 forms/source/richtext/richtextviewport.cxx                  |    2 
 formula/source/ui/dlg/formula.cxx                           |    8 +-
 fpicker/source/office/RemoteFilesDialog.cxx                 |   14 +--
 fpicker/source/office/iodlg.cxx                             |    4 -
 framework/source/fwe/classes/addonsoptions.cxx              |    2 
 framework/source/fwe/helper/titlehelper.cxx                 |    2 
 framework/source/fwe/helper/undomanagerhelper.cxx           |    2 
 framework/source/tabwin/tabwindow.cxx                       |    2 
 framework/source/uielement/imagebuttontoolbarcontroller.cxx |    2 
 include/svtools/fileview.hxx                                |    2 
 lotuswordpro/source/filter/lwpfont.cxx                      |    2 
 lotuswordpro/source/filter/lwptools.cxx                     |    2 
 oox/source/export/shapes.cxx                                |   12 +--
 reportdesign/source/ui/dlg/GroupsSorting.cxx                |    6 -
 reportdesign/source/ui/report/ReportWindow.cxx              |    2 
 reportdesign/source/ui/report/StartMarker.cxx               |    2 
 reportdesign/source/ui/report/dlgedfunc.cxx                 |    2 
 sc/qa/unit/subsequent_filters-test.cxx                      |    4 -
 sc/qa/unit/ucalc.cxx                                        |    8 +-
 sc/source/core/data/attarray.cxx                            |    2 
 sc/source/core/data/document.cxx                            |    2 
 sc/source/core/data/patattr.cxx                             |    2 
 sc/source/core/tool/rangeutl.cxx                            |    3 
 sc/source/filter/excel/xechart.cxx                          |    2 
 sc/source/filter/html/htmlexp.cxx                           |    4 -
 sc/source/filter/oox/pagesettings.cxx                       |    8 +-
 sc/source/filter/xml/xmlexprt.cxx                           |    2 
 sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx        |    8 +-
 sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx |    4 -
 sc/source/ui/StatisticsDialogs/SamplingDialog.cxx           |    4 -
 sc/source/ui/app/transobj.cxx                               |    2 
 sc/source/ui/cctrl/checklistmenu.cxx                        |    4 -
 sc/source/ui/condformat/condformatmgr.cxx                   |    2 
 sc/source/ui/dbgui/scuiasciiopt.cxx                         |    2 
 sc/source/ui/dbgui/textimportoptions.cxx                    |    2 
 sc/source/ui/docshell/docfunc.cxx                           |    6 -
 sc/source/ui/drawfunc/drtxtob.cxx                           |    2 
 sc/source/ui/drawfunc/fusel.cxx                             |    2 
 sc/source/ui/drawfunc/futext.cxx                            |    2 
 sc/source/ui/miscdlgs/datafdlg.cxx                          |    8 +-
 sc/source/ui/miscdlgs/highred.cxx                           |    4 -
 sc/source/ui/miscdlgs/mvtabdlg.cxx                          |    6 -
 sc/source/ui/miscdlgs/retypepassdlg.cxx                     |    8 +-
 sc/source/ui/namedlg/namemgrtable.cxx                       |    2 
 sc/source/ui/optdlg/calcoptionsdlg.cxx                      |    2 
 sc/source/ui/pagedlg/tphfedit.cxx                           |    4 -
 sc/source/ui/pagedlg/tptable.cxx                            |    8 +-
 sc/source/ui/undo/undoblk.cxx                               |    4 -
 sc/source/ui/undo/undoblk2.cxx                              |    2 
 sc/source/ui/undo/undoblk3.cxx                              |    4 -
 sc/source/ui/undo/undocell.cxx                              |   10 +-
 sc/source/ui/undo/undodat.cxx                               |    2 
 sc/source/ui/unoobj/chart2uno.cxx                           |    4 -
 sc/source/ui/unoobj/funcuno.cxx                             |    2 
 sc/source/ui/view/cellsh1.cxx                               |    2 
 sc/source/ui/view/editsh.cxx                                |    4 -
 sc/source/ui/view/formatsh.cxx                              |    2 
 sc/source/ui/view/output2.cxx                               |   12 +--
 sc/source/ui/view/select.cxx                                |    2 
 sc/source/ui/view/tabcont.cxx                               |    2 
 sc/source/ui/view/viewfun2.cxx                              |    2 
 sc/source/ui/view/viewfun3.cxx                              |   12 +--
 sc/source/ui/view/viewfun6.cxx                              |    2 
 sc/source/ui/view/viewfunc.cxx                              |   20 ++---
 scaddins/source/analysis/analysishelper.cxx                 |    6 -
 sd/source/core/drawdoc3.cxx                                 |    2 
 sd/source/core/undo/undoobjects.cxx                         |    2 
 sd/source/filter/eppt/epptso.cxx                            |   14 +--
 sd/source/filter/html/htmlex.cxx                            |    2 
 sd/source/filter/ppt/pptin.cxx                              |   12 +--
 sd/source/filter/xml/sdtransform.cxx                        |    2 
 sd/source/ui/animations/CustomAnimationDialog.cxx           |    2 
 sd/source/ui/animations/CustomAnimationPane.cxx             |    4 -
 sd/source/ui/dlg/animobjs.cxx                               |    4 -
 sd/source/ui/dlg/custsdlg.cxx                               |    2 
 sd/source/ui/dlg/dlgass.cxx                                 |    4 -
 sd/source/ui/dlg/dlgolbul.cxx                               |    4 -
 sd/source/ui/dlg/present.cxx                                |    4 -
 sd/source/ui/dlg/sdtreelb.cxx                               |    2 
 sd/source/ui/dlg/tpaction.cxx                               |    2 
 sd/source/ui/docshell/docshel4.cxx                          |    2 
 sd/source/ui/func/fuconstr.cxx                              |    2 
 sd/source/ui/func/fuolbull.cxx                              |    2 
 sd/source/ui/func/fupoor.cxx                                |    2 
 sd/source/ui/func/fusel.cxx                                 |    8 +-
 sd/source/ui/func/futext.cxx                                |    4 -
 sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx         |    2 
 sd/source/ui/sidebar/DocumentHelper.cxx                     |    2 
 sd/source/ui/slideshow/showwin.cxx                          |    2 
 sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx     |    2 
 sd/source/ui/view/drawview.cxx                              |    2 
 sd/source/ui/view/drtxtob.cxx                               |    2 
 sd/source/ui/view/drviews2.cxx                              |    4 -
 sd/source/ui/view/drviewse.cxx                              |    2 
 sd/source/ui/view/drviewsf.cxx                              |    2 
 sd/source/ui/view/viewoverlaymanager.cxx                    |    2 
 sd/source/ui/view/viewshe3.cxx                              |    4 -
 sd/source/ui/view/viewshel.cxx                              |    2 
 sfx2/source/appl/linkmgr2.cxx                               |    2 
 sfx2/source/control/templatelocalview.cxx                   |    4 -
 sfx2/source/dialog/dinfdlg.cxx                              |   16 ++--
 sfx2/source/dialog/itemconnect.cxx                          |    4 -
 sfx2/source/dialog/mgetempl.cxx                             |    4 -
 sfx2/source/dialog/versdlg.cxx                              |    2 
 sfx2/source/doc/docfile.cxx                                 |    2 
 sfx2/source/doc/objstor.cxx                                 |    2 
 sfx2/source/view/viewfrm.cxx                                |    4 -
 sot/source/sdstor/storage.cxx                               |    2 
 starmath/source/accessibility.cxx                           |    2 
 starmath/source/dialog.cxx                                  |    2 
 starmath/source/edit.cxx                                    |    2 
 starmath/source/rect.cxx                                    |    2 
 stoc/source/simpleregistry/simpleregistry.cxx               |    2 
 svl/source/items/sitem.cxx                                  |    2 
 svtools/source/brwbox/brwbox2.cxx                           |   10 +-
 svtools/source/brwbox/datwin.cxx                            |    4 -
 svtools/source/contnr/imivctl1.cxx                          |    8 +-
 svtools/source/contnr/svimpbox.cxx                          |   10 +-
 svtools/source/contnr/treelistbox.cxx                       |    6 -
 svtools/source/control/breadcrumb.cxx                       |    8 +-
 svtools/source/control/ctrlbox.cxx                          |    6 -
 svtools/source/misc/embedhlp.cxx                            |    4 -
 svx/source/customshapes/EnhancedCustomShape2d.cxx           |    4 -
 svx/source/dialog/_contdlg.cxx                              |    6 -
 svx/source/dialog/docrecovery.cxx                           |    4 -
 svx/source/dialog/imapdlg.cxx                               |    4 -
 svx/source/dialog/srchdlg.cxx                               |    4 -
 svx/source/engine3d/view3d.cxx                              |    4 -
 svx/source/fmcomp/gridcell.cxx                              |    6 -
 svx/source/fmcomp/gridctrl.cxx                              |   18 ++--
 svx/source/form/fmshimp.cxx                                 |    6 -
 svx/source/form/fmvwimp.cxx                                 |    2 
 svx/source/form/navigatortreemodel.cxx                      |    8 +-
 svx/source/gallery2/GalleryControl.cxx                      |    6 -
 svx/source/gallery2/galbrws1.cxx                            |    4 -
 svx/source/gallery2/galctrl.cxx                             |    2 
 svx/source/sdr/properties/defaultproperties.cxx             |    2 
 svx/source/sdr/properties/e3dsceneproperties.cxx            |    2 
 svx/source/sidebar/nbdtmg.cxx                               |    4 -
 svx/source/svdraw/svddrgmt.cxx                              |    4 -
 svx/source/svdraw/svdedtv1.cxx                              |    2 
 svx/source/svdraw/svdedxv.cxx                               |    2 
 svx/source/svdraw/svdmrkv.cxx                               |    2 
 svx/source/svdraw/svdotext.cxx                              |    2 
 svx/source/svdraw/svdoutl.cxx                               |    2 
 svx/source/svdraw/svdpntv.cxx                               |    2 
 svx/source/svdraw/svdtext.cxx                               |    2 
 svx/source/svdraw/svdundo.cxx                               |   16 ++--
 svx/source/svdraw/svdview.cxx                               |    2 
 svx/source/unodraw/unoshtxt.cxx                             |    2 
 sw/source/core/access/acccontext.cxx                        |    2 
 sw/source/core/bastyp/calc.cxx                              |    4 -
 sw/source/core/crsr/crsrsh.cxx                              |    2 
 sw/source/core/doc/DocumentFieldsManager.cxx                |    2 
 sw/source/core/doc/docfmt.cxx                               |    4 -
 sw/source/core/doc/doclay.cxx                               |   12 +--
 sw/source/core/doc/docnum.cxx                               |    2 
 sw/source/core/doc/gctable.cxx                              |    2 
 sw/source/core/doc/number.cxx                               |    2 
 sw/source/core/docnode/ndsect.cxx                           |    4 -
 sw/source/core/edit/acorrect.cxx                            |    2 
 sw/source/core/edit/autofmt.cxx                             |   12 +--
 sw/source/core/edit/edattr.cxx                              |    2 
 sw/source/core/fields/expfld.cxx                            |    4 -
 sw/source/core/frmedt/fecopy.cxx                            |    5 -
 sw/source/core/frmedt/fefly1.cxx                            |    5 -
 sw/source/core/frmedt/feshview.cxx                          |    8 --
 sw/source/core/frmedt/fetab.cxx                             |    2 
 sw/source/core/layout/flycnt.cxx                            |    2 
 sw/source/core/layout/ftnfrm.cxx                            |    2 
 sw/source/core/layout/paintfrm.cxx                          |    4 -
 sw/source/core/layout/sectfrm.cxx                           |    2 
 sw/source/core/layout/tabfrm.cxx                            |   11 +-
 sw/source/core/text/atrstck.cxx                             |    2 
 sw/source/core/txtnode/atrftn.cxx                           |    2 
 sw/source/core/txtnode/ndtxt.cxx                            |    6 -
 sw/source/core/txtnode/thints.cxx                           |    6 -
 sw/source/core/txtnode/txtedt.cxx                           |    6 -
 sw/source/core/undo/docundo.cxx                             |    2 
 sw/source/core/undo/undel.cxx                               |    2 
 sw/source/core/undo/undobj.cxx                              |    2 
 sw/source/core/undo/untbl.cxx                               |    2 
 sw/source/filter/html/css1atr.cxx                           |    4 -
 sw/source/filter/html/htmlatr.cxx                           |    2 
 sw/source/filter/html/htmlftn.cxx                           |    2 
 sw/source/filter/html/htmltabw.cxx                          |   18 ++--
 sw/source/filter/html/swhtml.cxx                            |    3 
 sw/source/filter/ww8/writerwordglue.cxx                     |    2 
 sw/source/filter/ww8/wrtww8gr.cxx                           |    4 -
 sw/source/filter/ww8/ww8graf2.cxx                           |    3 
 sw/source/filter/ww8/ww8par.cxx                             |    2 
 sw/source/filter/ww8/ww8par2.cxx                            |    2 
 sw/source/ui/chrdlg/numpara.cxx                             |    2 
 sw/source/ui/config/optpage.cxx                             |    2 
 sw/source/ui/dbui/addresslistdialog.cxx                     |    2 
 sw/source/ui/dbui/createaddresslistdialog.cxx               |    2 
 sw/source/ui/dbui/dbinsdlg.cxx                              |    4 -
 sw/source/ui/dbui/mmaddressblockpage.cxx                    |    4 -
 sw/source/ui/dbui/mmlayoutpage.cxx                          |    2 
 sw/source/ui/dbui/mmoutputpage.cxx                          |    6 -
 sw/source/ui/dialog/ascfldlg.cxx                            |    2 
 sw/source/ui/dialog/uiregionsw.cxx                          |   12 +--
 sw/source/ui/frmdlg/column.cxx                              |    2 
 sw/source/ui/frmdlg/frmpage.cxx                             |    2 
 sw/source/ui/index/cnttab.cxx                               |    6 -
 sw/source/ui/index/swuiidxmrk.cxx                           |    2 
 sw/source/ui/misc/glosbib.cxx                               |    2 
 sw/source/ui/misc/glossary.cxx                              |    3 
 sw/source/ui/misc/insfnote.cxx                              |    2 
 sw/source/ui/misc/num.cxx                                   |    4 -
 sw/source/ui/misc/outline.cxx                               |    8 +-
 sw/source/ui/misc/pggrid.cxx                                |    4 -
 sw/source/ui/misc/srtdlg.cxx                                |    2 
 sw/source/ui/vba/vbatablehelper.cxx                         |    2 
 sw/source/uibase/docvw/HeaderFooterWin.cxx                  |    4 -
 sw/source/uibase/docvw/PostItMgr.cxx                        |    2 
 sw/source/uibase/docvw/edtdd.cxx                            |    3 
 sw/source/uibase/docvw/edtwin.cxx                           |   22 ++---
 sw/source/uibase/docvw/romenu.cxx                           |    2 
 sw/source/uibase/docvw/srcedtw.cxx                          |    2 
 sw/source/uibase/frmdlg/colex.cxx                           |    4 -
 sw/source/uibase/shells/annotsh.cxx                         |    2 
 sw/source/uibase/shells/basesh.cxx                          |    4 -
 sw/source/uibase/shells/drwtxtex.cxx                        |    4 -
 sw/source/uibase/shells/tabsh.cxx                           |    2 
 sw/source/uibase/shells/textsh.cxx                          |    6 -
 sw/source/uibase/shells/textsh1.cxx                         |    8 +-
 sw/source/uibase/shells/txtcrsr.cxx                         |    6 -
 sw/source/uibase/table/tablemgr.cxx                         |    2 
 sw/source/uibase/uiview/scroll.cxx                          |    2 
 sw/source/uibase/uiview/view.cxx                            |    2 
 sw/source/uibase/uiview/view2.cxx                           |    2 
 sw/source/uibase/uiview/viewdraw.cxx                        |    2 
 sw/source/uibase/uno/unotxdoc.cxx                           |    2 
 sw/source/uibase/utlui/content.cxx                          |    2 
 sw/source/uibase/utlui/glbltree.cxx                         |    4 -
 sw/source/uibase/wrtsh/select.cxx                           |    4 -
 sw/source/uibase/wrtsh/wrtsh2.cxx                           |    4 -
 toolkit/source/awt/vclxwindow.cxx                           |    2 
 tools/source/fsys/urlobj.cxx                                |    4 -
 uui/source/authfallbackdlg.cxx                              |    2 
 uui/source/passworddlg.cxx                                  |    4 -
 vcl/source/control/ilstbox.cxx                              |    4 -
 vcl/source/control/spinfld.cxx                              |    2 
 vcl/source/gdi/pdfwriter_impl.cxx                           |   46 ++++++------
 vcl/source/gdi/pngwrite.cxx                                 |    2 
 vcl/source/window/dialog.cxx                                |    2 
 vcl/source/window/menu.cxx                                  |    2 
 vcl/source/window/printdlg.cxx                              |    6 -
 vcl/source/window/stacking.cxx                              |    2 
 vcl/source/window/toolbox2.cxx                              |   12 +--
 vcl/source/window/winproc.cxx                               |    2 
 vcl/unx/generic/app/i18n_status.cxx                         |    4 -
 vcl/unx/generic/window/salframe.cxx                         |    4 -
 writerfilter/source/dmapper/DomainMapper.cxx                |    4 -
 xmloff/source/core/xmlexp.cxx                               |    2 
 xmloff/source/text/txtparae.cxx                             |    2 
 xmloff/source/transform/TransformerBase.cxx                 |    8 +-
 xmlsecurity/source/dialogs/certificatechooser.cxx           |    2 
 xmlsecurity/source/dialogs/macrosecurity.cxx                |    2 
 329 files changed, 728 insertions(+), 744 deletions(-)

New commits:
commit 96dae4cab279d9078f43289e89b03517da08a803
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Oct 19 17:52:21 2015 +0200

    loplugin:defaultparams
    
    Change-Id: I6e9c6d33d472249518d2ab6bc680941092318f92

diff --git a/xmlsecurity/source/dialogs/certificatechooser.cxx b/xmlsecurity/source/dialogs/certificatechooser.cxx
index 20b1dc3..8a9138e 100644
--- a/xmlsecurity/source/dialogs/certificatechooser.cxx
+++ b/xmlsecurity/source/dialogs/certificatechooser.cxx
@@ -115,7 +115,7 @@ short CertificateChooser::Execute()
     pMe->Update();
     ImplInitialize();
     if ( pParent )
-        pParent->EnableInput( true );
+        pParent->EnableInput();
     return ModalDialog::Execute();
 }
 
diff --git a/xmlsecurity/source/dialogs/macrosecurity.cxx b/xmlsecurity/source/dialogs/macrosecurity.cxx
index 6c568da..cc12147 100644
--- a/xmlsecurity/source/dialogs/macrosecurity.cxx
+++ b/xmlsecurity/source/dialogs/macrosecurity.cxx
@@ -160,7 +160,7 @@ MacroSecurityLevelTP::MacroSecurityLevelTP(vcl::Window* _pParent, MacroSecurity*
     }
     if (bReadonly && pImage)
     {
-        pImage->Show(true);
+        pImage->Show();
         m_pVeryHighRB->Enable(false);
         m_pHighRB->Enable(false);
         m_pMediumRB->Enable(false);
commit 9acfbf8294fa971d02927379c7966a3d830b7076
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Oct 19 17:52:17 2015 +0200

    loplugin:defaultparams
    
    Change-Id: I4f0a7baa517c2526dcea4d7fb779df6da32bda0f

diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx
index 0671e34..505e52c 100644
--- a/xmloff/source/core/xmlexp.cxx
+++ b/xmloff/source/core/xmlexp.cxx
@@ -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::WAS_ENCODED, INetURLObject::DECODE_TO_IURI );
         }
     }
     return sValue;
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index be7ea98..dcad869 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -2147,7 +2147,7 @@ void XMLTextParagraphExport::exportParagraph(
         if( bHasContentEnum )
             exportTextContentEnumeration(
                                     xContentEnum, bAutoStyles, xSection,
-                                    bIsProgress, true, 0, true );
+                                    bIsProgress, true, 0 );
         if ( bHasPortions )
             exportTextRangeEnumeration( xTextEnum, bAutoStyles, bIsProgress );
     }
diff --git a/xmloff/source/transform/TransformerBase.cxx b/xmloff/source/transform/TransformerBase.cxx
index 8d8e12e..31a7e8e 100644
--- a/xmloff/source/transform/TransformerBase.cxx
+++ b/xmloff/source/transform/TransformerBase.cxx
@@ -593,7 +593,7 @@ XMLMutableAttributeList *XMLTransformerBase::ProcessAttrList(
                             // convert twips value to inch
                             sal_Int32 nMeasure;
                             if (::sax::Converter::convertMeasure(nMeasure,
-                                    aAttrValue, util::MeasureUnit::MM_100TH))
+                                    aAttrValue))
                             {
 
                                 // #i13778#,#i36248# apply correct twip-to-1/100mm
@@ -756,7 +756,7 @@ XMLMutableAttributeList *XMLTransformerBase::ProcessAttrList(
                             // convert inch value to twips and export as faked inch
                             sal_Int32 nMeasure;
                             if (::sax::Converter::convertMeasure(nMeasure,
-                                    aAttrValue, util::MeasureUnit::MM_100TH))
+                                    aAttrValue))
                             {
 
                                 // #i13778#,#i36248#/ apply correct 1/100mm-to-twip conversion
@@ -784,7 +784,7 @@ XMLMutableAttributeList *XMLTransformerBase::ProcessAttrList(
 
                         sal_Int32 nMeasure;
                         if (::sax::Converter::convertMeasure(nMeasure,
-                                    aAttrValue, util::MeasureUnit::MM_100TH))
+                                    aAttrValue))
                         {
 
                             if( nMeasure > 0 )
@@ -811,7 +811,7 @@ XMLMutableAttributeList *XMLTransformerBase::ProcessAttrList(
 
                         sal_Int32 nMeasure;
                         if (::sax::Converter::convertMeasure(nMeasure,
-                                aAttrValue, util::MeasureUnit::MM_100TH))
+                                aAttrValue))
                         {
 
                             if( nMeasure > 0 )
commit d42652486f66dfd446e4b772afaf4ec230bfb683
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Oct 19 17:52:11 2015 +0200

    loplugin:defaultparams
    
    Change-Id: I55ca691207b73397f58843c64677b2a9a6ce44b0

diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx
index d75e3e4..97259ed 100644
--- a/writerfilter/source/dmapper/DomainMapper.cxx
+++ b/writerfilter/source/dmapper/DomainMapper.cxx
@@ -1266,9 +1266,9 @@ void DomainMapper::sprmWithProps( Sprm& rSprm, PropertyMapPtr rContext )
             default:;
             }
             if( eBorderId )
-                rContext->Insert( eBorderId, uno::makeAny( pBorderHandler->getBorderLine()) , true);
+                rContext->Insert( eBorderId, uno::makeAny( pBorderHandler->getBorderLine()) );
             if(eBorderDistId)
-                rContext->Insert(eBorderDistId, uno::makeAny( pBorderHandler->getLineDistance()), true);
+                rContext->Insert(eBorderDistId, uno::makeAny( pBorderHandler->getLineDistance()));
             if (nSprmId == NS_ooxml::LN_CT_PBdr_right && pBorderHandler->getShadow())
             {
                 table::ShadowFormat aFormat = writerfilter::dmapper::PropertyMap::getShadowFromBorder(pBorderHandler->getBorderLine());
commit 165c643c936dda1a75e084157a03d0f52a5ea381
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Oct 19 17:52:06 2015 +0200

    loplugin:defaultparams
    
    Change-Id: I8db42173f116372b1c849284540c111635c3582e

diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx
index 5d06f46..92ea383 100644
--- a/vcl/source/control/ilstbox.cxx
+++ b/vcl/source/control/ilstbox.cxx
@@ -921,7 +921,7 @@ void ImplListBoxWindow::MouseMove( const MouseEvent& rMEvt )
                     ( ( nSelect != mnCurrentPos ) || !GetEntryList()->GetSelectEntryCount() || ( nSelect != GetEntryList()->GetSelectEntryPos( 0 ) ) ) )
                 {
                     mbTrackingSelect = true;
-                    if ( SelectEntries( nSelect, LET_TRACKING, false, false ) )
+                    if ( SelectEntries( nSelect, LET_TRACKING ) )
                     {
                         if ( mbStackMode )
                         {
@@ -1691,7 +1691,7 @@ void ImplListBoxWindow::SelectEntry( vcl::StringEntryIdentifier _entry )
 
     // actually select
     mnCurrentPos = nSelect;
-    if ( SelectEntries( nSelect, LET_KEYMOVE, false, false ) )
+    if ( SelectEntries( nSelect, LET_KEYMOVE ) )
     {
         mbTravelSelect = true;
         mnSelectModifier = 0;
diff --git a/vcl/source/control/spinfld.cxx b/vcl/source/control/spinfld.cxx
index b541b34..b21c703 100644
--- a/vcl/source/control/spinfld.cxx
+++ b/vcl/source/control/spinfld.cxx
@@ -1044,7 +1044,7 @@ void SpinField::Draw(OutputDevice* pDev, const Point& rPos, const Size& rSize, D
 
         if (GetStyle() & WB_SPIN)
         {
-            ImplDrawSpinButton(*pDev, this, aUp, aDown, false, false, true, true);
+            ImplDrawSpinButton(*pDev, this, aUp, aDown, false, false);
         }
 
         pDev->Pop();
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 3b93fc7..e9ab3b6 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -1437,7 +1437,7 @@ void PDFWriterImpl::PDFPage::appendRect( const Rectangle& rRect, OStringBuffer&
     rBuffer.append( ' ' );
     appendMappedLength( (sal_Int32)rRect.GetWidth(), rBuffer, false );
     rBuffer.append( ' ' );
-    appendMappedLength( (sal_Int32)rRect.GetHeight(), rBuffer, true );
+    appendMappedLength( (sal_Int32)rRect.GetHeight(), rBuffer );
     rBuffer.append( " re" );
 }
 
@@ -1701,31 +1701,31 @@ void PDFWriterImpl::PDFPage::appendWaveLine( sal_Int32 nWidth, sal_Int32 nY, sal
         nDelta = 1;
 
     rBuffer.append( "0 " );
-    appendMappedLength( nY, rBuffer, true );
+    appendMappedLength( nY, rBuffer );
     rBuffer.append( " m\n" );
     for( sal_Int32 n = 0; n < nWidth; )
     {
         n += nDelta;
         appendMappedLength( n, rBuffer, false );
         rBuffer.append( ' ' );
-        appendMappedLength( nDelta+nY, rBuffer, true );
+        appendMappedLength( nDelta+nY, rBuffer );
         rBuffer.append( ' ' );
         n += nDelta;
         appendMappedLength( n, rBuffer, false );
         rBuffer.append( ' ' );
-        appendMappedLength( nY, rBuffer, true );
+        appendMappedLength( nY, rBuffer );
         rBuffer.append( " v " );
         if( n < nWidth )
         {
             n += nDelta;
             appendMappedLength( n, rBuffer, false );
             rBuffer.append( ' ' );
-            appendMappedLength( nY-nDelta, rBuffer, true );
+            appendMappedLength( nY-nDelta, rBuffer );
             rBuffer.append( ' ' );
             n += nDelta;
             appendMappedLength( n, rBuffer, false );
             rBuffer.append( ' ' );
-            appendMappedLength( nY, rBuffer, true );
+            appendMappedLength( nY, rBuffer );
             rBuffer.append( " v\n" );
         }
     }
@@ -8725,7 +8725,7 @@ void PDFWriterImpl::drawVerticalGlyphs(
             rLine.append( " /F" );
             rLine.append( rGlyphs[i].m_nMappedFontId );
             rLine.append( ' ' );
-            m_aPages.back().appendMappedLength( nFontHeight, rLine, true );
+            m_aPages.back().appendMappedLength( nFontHeight, rLine );
             rLine.append( " Tf" );
         }
         rLine.append( "<" );
@@ -8779,7 +8779,7 @@ void PDFWriterImpl::drawHorizontalGlyphs(
         Matrix3 aMat;
         if( nRun == 0 && fAngle == 0.0 && fXScale == 1.0 && fSkew == 0.0 )
         {
-            m_aPages.back().appendPoint( aCurPos, rLine, false );
+            m_aPages.back().appendPoint( aCurPos, rLine );
             rLine.append( " Td " );
         }
         else
@@ -8796,7 +8796,7 @@ void PDFWriterImpl::drawHorizontalGlyphs(
         rLine.append( "/F" );
         rLine.append( rGlyphs[nBeginRun].m_nMappedFontId );
         rLine.append( ' ' );
-        m_aPages.back().appendMappedLength( nFontHeight, rLine, true );
+        m_aPages.back().appendMappedLength( nFontHeight, rLine );
         rLine.append( " Tf" );
 
         // output glyphs using Tj or TJ
@@ -9657,7 +9657,7 @@ void PDFWriterImpl::drawStraightTextLine( OStringBuffer& aLine, long nWidth, Fon
 
     if ( nLineHeight )
     {
-        m_aPages.back().appendMappedLength( (sal_Int32)nLineHeight, aLine, true );
+        m_aPages.back().appendMappedLength( (sal_Int32)nLineHeight, aLine );
         aLine.append( " w " );
         appendStrokingColor( aColor, aLine );
         aLine.append( "\n" );
@@ -9728,20 +9728,20 @@ void PDFWriterImpl::drawStraightTextLine( OStringBuffer& aLine, long nWidth, Fon
         }
 
         aLine.append( "0 " );
-        m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos), aLine, true );
+        m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos), aLine );
         aLine.append( " m " );
         m_aPages.back().appendMappedLength( (sal_Int32)nWidth, aLine, false );
         aLine.append( ' ' );
-        m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos), aLine, true );
+        m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos), aLine );
         aLine.append( " l S\n" );
         if ( eTextLine == UNDERLINE_DOUBLE )
         {
             aLine.append( "0 " );
-            m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos2-nLineHeight), aLine, true );
+            m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos2-nLineHeight), aLine );
             aLine.append( " m " );
             m_aPages.back().appendMappedLength( (sal_Int32)nWidth, aLine, false );
             aLine.append( ' ' );
-            m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos2-nLineHeight), aLine, true );
+            m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos2-nLineHeight), aLine );
             aLine.append( " l S\n" );
         }
     }
@@ -9785,27 +9785,27 @@ void PDFWriterImpl::drawStrikeoutLine( OStringBuffer& aLine, long nWidth, FontSt
 
     if ( nLineHeight )
     {
-        m_aPages.back().appendMappedLength( (sal_Int32)nLineHeight, aLine, true );
+        m_aPages.back().appendMappedLength( (sal_Int32)nLineHeight, aLine );
         aLine.append( " w " );
         appendStrokingColor( aColor, aLine );
         aLine.append( "\n" );
 
         aLine.append( "0 " );
-        m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos), aLine, true );
+        m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos), aLine );
         aLine.append( " m " );
-        m_aPages.back().appendMappedLength( (sal_Int32)nWidth, aLine, true );
+        m_aPages.back().appendMappedLength( (sal_Int32)nWidth, aLine );
         aLine.append( ' ' );
-        m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos), aLine, true );
+        m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos), aLine );
         aLine.append( " l S\n" );
 
         if ( eStrikeout == STRIKEOUT_DOUBLE )
         {
             aLine.append( "0 " );
-            m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos2-nLineHeight), aLine, true );
+            m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos2-nLineHeight), aLine );
             aLine.append( " m " );
-            m_aPages.back().appendMappedLength( (sal_Int32)nWidth, aLine, true );
+            m_aPages.back().appendMappedLength( (sal_Int32)nWidth, aLine );
             aLine.append( ' ' );
-            m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos2-nLineHeight), aLine, true );
+            m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos2-nLineHeight), aLine );
             aLine.append( " l S\n" );
         }
     }
@@ -11738,7 +11738,7 @@ void PDFWriterImpl::drawGradient( const Rectangle& rRect, const Gradient& rGradi
     aLine.append( "0 0 " );
     m_aPages.back().appendMappedLength( (sal_Int32)rRect.GetWidth(), aLine, false );
     aLine.append( ' ' );
-    m_aPages.back().appendMappedLength( (sal_Int32)rRect.GetHeight(), aLine, true );
+    m_aPages.back().appendMappedLength( (sal_Int32)rRect.GetHeight(), aLine );
     aLine.append( " re W n\n" );
 
     aLine.append( "/P" );
@@ -11749,7 +11749,7 @@ void PDFWriterImpl::drawGradient( const Rectangle& rRect, const Gradient& rGradi
         aLine.append( "Q 0 0 " );
         m_aPages.back().appendMappedLength( (sal_Int32)rRect.GetWidth(), aLine, false );
         aLine.append( ' ' );
-        m_aPages.back().appendMappedLength( (sal_Int32)rRect.GetHeight(), aLine, true );
+        m_aPages.back().appendMappedLength( (sal_Int32)rRect.GetHeight(), aLine );
         aLine.append( " re S " );
     }
     aLine.append( "Q\n" );
diff --git a/vcl/source/gdi/pngwrite.cxx b/vcl/source/gdi/pngwrite.cxx
index 63a6565..88ddc05 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));
+                mpZCodec.Write(aOStm, mpDeflateInBuf, ImplGetFilter (nY));
             }
         }
     }
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx
index 04bfe04..ea24882 100644
--- a/vcl/source/window/dialog.cxx
+++ b/vcl/source/window/dialog.cxx
@@ -829,7 +829,7 @@ bool Dialog::ImplStartExecuteModal()
         pSVData->maWinData.mpTrackWin->EndTracking( TrackingEventFlags::Cancel );
     if ( pSVData->maWinData.mpCaptureWin )
         pSVData->maWinData.mpCaptureWin->ReleaseMouse();
-    EnableInput( true );
+    EnableInput();
 
     if ( GetParent() )
     {
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx
index 4f63cb6..6ca2bd3 100644
--- a/vcl/source/window/menu.cxx
+++ b/vcl/source/window/menu.cxx
@@ -2256,7 +2256,7 @@ void Menu::RemoveDisabledEntries( bool bCheckPopups, bool bRemoveEmptyPopups )
 
         if ( bCheckPopups && pItem->pSubMenu )
         {
-            pItem->pSubMenu->RemoveDisabledEntries( true );
+            pItem->pSubMenu->RemoveDisabledEntries();
             if ( bRemoveEmptyPopups && !pItem->pSubMenu->GetItemCount() )
                 bRemove = true;
         }
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index f11cb96..d741dd0 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -1179,7 +1179,7 @@ void PrintDialog::setupOptionalUI()
     if (!maNUpPage.mpBrochureBtn->IsVisible() && maNUpPage.mpPagesBtn->IsVisible())
     {
         maNUpPage.mpPagesBoxTitleTxt->SetText( maNUpPage.mpPagesBtn->GetText() );
-        maNUpPage.mpPagesBoxTitleTxt->Show( true );
+        maNUpPage.mpPagesBoxTitleTxt->Show();
         maNUpPage.mpPagesBtn->Show( false );
     }
 
@@ -1527,7 +1527,7 @@ IMPL_LINK_TYPED( PrintDialog, SelectHdl, ListBox&, rBox, void )
         maPController->resetPrinterOptions( maOptionsPage.mpToFileBox->IsChecked() );
         // update text fields
         updatePrinterText();
-        preparePreview( true );
+        preparePreview();
     }
     else if( &rBox == maNUpPage.mpNupOrientationBox || &rBox == maNUpPage.mpNupOrderBox )
     {
@@ -1640,7 +1640,7 @@ IMPL_LINK_TYPED( PrintDialog, ClickHdl, Button*, pButton, void )
             maPController->setupPrinter( this );
 
             // tdf#63905 don't use cache: page size may change
-            preparePreview( true );
+            preparePreview();
         }
         checkControlDependencies();
     }
diff --git a/vcl/source/window/stacking.cxx b/vcl/source/window/stacking.cxx
index bd1c094..3a3e873 100644
--- a/vcl/source/window/stacking.cxx
+++ b/vcl/source/window/stacking.cxx
@@ -829,7 +829,7 @@ void Window::ImplUpdateOverlapWindowPtr( bool bNewFrame )
     }
 
     if ( bVisible )
-        Show( true );
+        Show();
 }
 
 SystemWindow* Window::GetSystemWindow() const
diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx
index 6b570f9..f0e5008 100644
--- a/vcl/source/window/toolbox2.cxx
+++ b/vcl/source/window/toolbox2.cxx
@@ -657,7 +657,7 @@ void ToolBox::InsertSpace( sal_uInt16 nPos )
     mpData->m_aItems.insert( (nPos < mpData->m_aItems.size()) ? mpData->m_aItems.begin()+nPos : mpData->m_aItems.end(), aItem );
     mpData->ImplClearLayoutData();
 
-    ImplInvalidate( false );
+    ImplInvalidate();
 
     // Notify
     sal_uInt16 nNewPos = sal::static_int_cast<sal_uInt16>(( nPos == TOOLBOX_APPEND ) ? ( mpData->m_aItems.size() - 1 ) : nPos);
@@ -675,7 +675,7 @@ void ToolBox::InsertSeparator( sal_uInt16 nPos, sal_uInt16 nPixSize )
     mpData->m_aItems.insert( (nPos < mpData->m_aItems.size()) ? mpData->m_aItems.begin()+nPos : mpData->m_aItems.end(), aItem );
     mpData->ImplClearLayoutData();
 
-    ImplInvalidate( false );
+    ImplInvalidate();
 
     // Notify
     sal_uInt16 nNewPos = sal::static_int_cast<sal_uInt16>(( nPos == TOOLBOX_APPEND ) ? ( mpData->m_aItems.size() - 1 ) : nPos);
@@ -691,7 +691,7 @@ void ToolBox::InsertBreak( sal_uInt16 nPos )
     mpData->m_aItems.insert( (nPos < mpData->m_aItems.size()) ? mpData->m_aItems.begin()+nPos : mpData->m_aItems.end(), aItem );
     mpData->ImplClearLayoutData();
 
-    ImplInvalidate( false );
+    ImplInvalidate();
 
     // Notify
     sal_uInt16 nNewPos = sal::static_int_cast<sal_uInt16>(( nPos == TOOLBOX_APPEND ) ? ( mpData->m_aItems.size() - 1 ) : nPos);
@@ -750,7 +750,7 @@ void ToolBox::CopyItem( const ToolBox& rToolBox, sal_uInt16 nItemId,
         mpData->m_aItems.insert( (nNewPos < mpData->m_aItems.size()) ? mpData->m_aItems.begin()+nNewPos : mpData->m_aItems.end(), aNewItem );
         mpData->ImplClearLayoutData();
         // redraw ToolBox
-        ImplInvalidate( false );
+        ImplInvalidate();
 
         // Notify
         sal_uInt16 nNewPos2 = sal::static_int_cast<sal_uInt16>(( nNewPos == TOOLBOX_APPEND ) ? ( mpData->m_aItems.size() - 1 ) : nNewPos);
@@ -1520,7 +1520,7 @@ void ToolBox::ShowItem( sal_uInt16 nItemId, bool bVisible )
         if ( pItem->mbVisible != bVisible )
         {
             pItem->mbVisible = bVisible;
-            ImplInvalidate( false );
+            ImplInvalidate();
         }
     }
 }
@@ -1857,7 +1857,7 @@ IMPL_LINK_TYPED( ToolBox, ImplCustomMenuListener, VclMenuEvent&, rEvent, void )
     {
         sal_uInt16 id = GetMenu()->GetItemId( rEvent.GetItemPos() );
         if( id >= TOOLBOX_MENUITEM_START )
-            TriggerItem( id - TOOLBOX_MENUITEM_START, false );
+            TriggerItem( id - TOOLBOX_MENUITEM_START );
     }
 }
 
diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx
index 33aa9fb..1ee1661 100644
--- a/vcl/source/window/winproc.cxx
+++ b/vcl/source/window/winproc.cxx
@@ -1054,7 +1054,7 @@ static bool ImplHandleKey( vcl::Window* pWindow, MouseNotifyEvent nSVEvent,
 
             // ContextMenu
             if ( (nCode == KEY_CONTEXTMENU) || ((nCode == KEY_F10) && aKeyCode.IsShift() && !aKeyCode.IsMod1() && !aKeyCode.IsMod2() ) )
-                bRet = !ImplCallCommand( pChild, CommandEventId::ContextMenu, NULL, false );
+                bRet = !ImplCallCommand( pChild, CommandEventId::ContextMenu, NULL );
             else if ( ( (nCode == KEY_F2) && aKeyCode.IsShift() ) || ( (nCode == KEY_F1) && aKeyCode.IsMod1() ) ||
                 // #101999# no active help when focus in toolbox, simulate BallonHelp instead
                 ( (nCode == KEY_F1) && aKeyCode.IsShift() && bToolboxFocus ) )
diff --git a/vcl/unx/generic/app/i18n_status.cxx b/vcl/unx/generic/app/i18n_status.cxx
index 089f55a..24e3854 100644
--- a/vcl/unx/generic/app/i18n_status.cxx
+++ b/vcl/unx/generic/app/i18n_status.cxx
@@ -154,7 +154,7 @@ void XIMStatusWindow::layout()
 
     m_aStatusText->SetPosSizePixel( Point( 1, 1 ), aControlSize );
     m_aStatusText->SetFont( aFont );
-    m_aStatusText->Show( true );
+    m_aStatusText->Show();
 
     if (m_bAnchoredAtRight && IsVisible())
     {
@@ -340,7 +340,7 @@ IIIMPStatusWindow::IIIMPStatusWindow( SalFrame* pParent, bool bOn ) :
 
     m_aStatusBtn->SetSelectHdl( LINK( this, IIIMPStatusWindow, SelectHdl ) );
     m_aStatusBtn->SetPopupMenu( &m_aMenu );
-    m_aStatusBtn->Show( true );
+    m_aStatusBtn->Show();
 
     const ::std::vector< I18NStatus::ChoiceData >& rChoices( I18NStatus::get().getChoices() );
     int i = 1;
diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx
index 002a058..604ab60 100644
--- a/vcl/unx/generic/window/salframe.cxx
+++ b/vcl/unx/generic/window/salframe.cxx
@@ -736,7 +736,7 @@ void X11SalFrame::Init( SalFrameStyleFlags nSalFrameStyle, SalX11Screen nXScreen
                         SalFrameStyleFlags::INTRO |
                         SalFrameStyleFlags::PARTIAL_FULLSCREEN) )
              == SalFrameStyleFlags::DEFAULT )
-            pDisplay_->getWMAdaptor()->maximizeFrame( this, true );
+            pDisplay_->getWMAdaptor()->maximizeFrame( this );
 
         if( !netwm_icon.empty() && GetDisplay()->getWMAdaptor()->getAtom( WMAdaptor::NET_WM_ICON ))
             XChangeProperty( GetXDisplay(), mhWindow,
@@ -2022,7 +2022,7 @@ void X11SalFrame::Maximize()
         nShowState_ = SHOWSTATE_NORMAL;
     }
 
-    pDisplay_->getWMAdaptor()->maximizeFrame( this, true );
+    pDisplay_->getWMAdaptor()->maximizeFrame( this );
 }
 
 void X11SalFrame::Restore()
commit f2937f2a6f0355005875e1e6409a09b28193b448
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Oct 19 17:52:03 2015 +0200

    loplugin:defaultparams
    
    Change-Id: I60a8925c8f349e12415bda3fa7e5f2d5103234a1

diff --git a/uui/source/authfallbackdlg.cxx b/uui/source/authfallbackdlg.cxx
index 3acbc2f..70ed1e7 100644
--- a/uui/source/authfallbackdlg.cxx
+++ b/uui/source/authfallbackdlg.cxx
@@ -26,7 +26,7 @@ AuthFallbackDlg::AuthFallbackDlg(Window* pParent, const OUString& instructions,
 
     m_pBTOk->SetClickHdl( LINK( this, AuthFallbackDlg, OKHdl) );
     m_pBTCancel->SetClickHdl( LINK( this, AuthFallbackDlg, CancelHdl) );
-    m_pBTOk->Enable( true );
+    m_pBTOk->Enable();
 
     m_pTVInstructions->SetText( instructions );
     m_pEDUrl->SetText( url );
diff --git a/uui/source/passworddlg.cxx b/uui/source/passworddlg.cxx
index c993ac2..3485a3c 100644
--- a/uui/source/passworddlg.cxx
+++ b/uui/source/passworddlg.cxx
@@ -64,8 +64,8 @@ PasswordDialog::PasswordDialog(vcl::Window* _pParent,
 
         m_pFTConfirmPassword->Show();
         m_pEDConfirmPassword->Show();
-        m_pFTConfirmPassword->Enable( true );
-        m_pEDConfirmPassword->Enable( true );
+        m_pFTConfirmPassword->Enable();
+        m_pEDConfirmPassword->Enable();
     }
 
     SetText( aTitle );
commit ca49ea419c5943bd830abd736c4acb239cc1f4bc
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Oct 19 17:51:58 2015 +0200

    loplugin:defaultparams
    
    Change-Id: I3c9be2a7e192fea7c415721872a803659a300282

diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx
index 115d676..d003b9d 100644
--- a/tools/source/fsys/urlobj.cxx
+++ b/tools/source/fsys/urlobj.cxx
@@ -4974,7 +4974,7 @@ OUString INetURLObject::GetFull() const
 OUString INetURLObject::GetPath() const
 {
     INetURLObject aTemp(*this);
-    aTemp.removeSegment(LAST_SEGMENT);
+    aTemp.removeSegment();
     aTemp.removeFinalSlash();
     return aTemp.PathToFileName();
 }
@@ -4994,7 +4994,7 @@ void INetURLObject::SetName(OUString const & rTheName,
                             rtl_TextEncoding eCharset)
 {
     INetURLObject aTemp(*this);
-    if (aTemp.removeSegment(LAST_SEGMENT)
+    if (aTemp.removeSegment()
         && aTemp.insertName(rTheName, false, LAST_SEGMENT, true, eMechanism,
                             eCharset))
         *this = aTemp;
commit ba00a4d2afd6f21ec189743b41d5b4be2add0342
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Oct 19 17:51:54 2015 +0200

    loplugin:defaultparams
    
    Change-Id: If4234ce8e13781bcdba84d689e512a24fef007d0

diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx
index 091e6e2..8fda3a6 100644
--- a/toolkit/source/awt/vclxwindow.cxx
+++ b/toolkit/source/awt/vclxwindow.cxx
@@ -2306,7 +2306,7 @@ void VCLXWindow::draw( sal_Int32 nX, sal_Int32 nY ) throw(::com::sun::star::uno:
 
                 pWindow->SetPosPixel( aOldPos );
                 if ( bWasVisible )
-                    pWindow->Show( true );
+                    pWindow->Show();
             }
         }
         else if ( pDev )
commit 3b7609446ba50b6181843ce05f48c100087f3006
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Oct 19 17:51:46 2015 +0200

    loplugin:defaultparams
    
    Change-Id: Ib5b0e87064b6dcff03f6b77287a80ee2a03b8799

diff --git a/sw/source/core/access/acccontext.cxx b/sw/source/core/access/acccontext.cxx
index 7dae7b6..4d27552 100644
--- a/sw/source/core/access/acccontext.cxx
+++ b/sw/source/core/access/acccontext.cxx
@@ -1365,7 +1365,7 @@ bool SwAccessibleContext::Select( SwPaM *pPaM, SdrObject *pObj,
                          pFEShell->IsObjSelected()) )
         {
             Point aPt( LONG_MIN, LONG_MIN );
-            pFEShell->SelectObj( aPt, 0 );
+            pFEShell->SelectObj( aPt );
             bCallShowCrsr = true;
         }
         pCrsrShell->KillPams();
diff --git a/sw/source/core/bastyp/calc.cxx b/sw/source/core/bastyp/calc.cxx
index 19bd9dd..7473c41 100644
--- a/sw/source/core/bastyp/calc.cxx
+++ b/sw/source/core/bastyp/calc.cxx
@@ -524,7 +524,7 @@ SwCalcExp* SwCalc::VarLook( const OUString& rStr, bool bIns )
         OUString sSourceName(sDBName.getToken(0, DB_DELIM));
         OUString sTableName(sDBName.getToken(0, ';').getToken(1, DB_DELIM));
         if( pMgr && !sSourceName.isEmpty() && !sTableName.isEmpty() &&
-            pMgr->OpenDataSource(sSourceName, sTableName, -1))
+            pMgr->OpenDataSource(sSourceName, sTableName))
         {
             OUString sColumnName( GetColumnName( sTmpName ));
             OSL_ENSURE(!sColumnName.isEmpty(), "Missing DB column name");
@@ -587,7 +587,7 @@ SwCalcExp* SwCalc::VarLook( const OUString& rStr, bool bIns )
         OUString sSourceName(sDBName.getToken(0, DB_DELIM));
         OUString sTableName(sDBName.getToken(0, ';').getToken(1, DB_DELIM));
         if( pMgr && !sSourceName.isEmpty() && !sTableName.isEmpty() &&
-            pMgr->OpenDataSource(sSourceName, sTableName, -1) &&
+            pMgr->OpenDataSource(sSourceName, sTableName) &&
             !pMgr->IsInMerge())
         {
             pNewExp->nValue.PutULong( pMgr->GetSelectedRecordId(sSourceName, sTableName));
diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx
index 4ddf5eb..ca3a46a 100644
--- a/sw/source/core/crsr/crsrsh.cxx
+++ b/sw/source/core/crsr/crsrsh.cxx
@@ -845,7 +845,7 @@ int SwCrsrShell::SetCrsr( const Point &rLPt, bool bOnlyText, bool bBlock )
                 bRet = CRSR_POSOLD;
             else
             {
-                UpdateCrsr( SwCrsrShell::SCROLLWIN | SwCrsrShell::CHKRANGE );
+                UpdateCrsr();
                 bRet &= ~CRSR_POSOLD;
             }
         }
diff --git a/sw/source/core/doc/DocumentFieldsManager.cxx b/sw/source/core/doc/DocumentFieldsManager.cxx
index 5c14836..cec7ded 100644
--- a/sw/source/core/doc/DocumentFieldsManager.cxx
+++ b/sw/source/core/doc/DocumentFieldsManager.cxx
@@ -1656,7 +1656,7 @@ void DocumentFieldsManager::UpdateDBNumFields( SwDBNameInfField& rDBField, SwCal
 
         SwDBData aTmpDBData( rDBField.GetDBData(&m_rDoc) );
 
-        if( pMgr->OpenDataSource( aTmpDBData.sDataSource, aTmpDBData.sCommand, -1 ))
+        if( pMgr->OpenDataSource( aTmpDBData.sDataSource, aTmpDBData.sCommand ))
             rCalc.VarChange( lcl_GetDBVarName( m_rDoc, rDBField),
                         pMgr->GetSelectedRecordId(aTmpDBData.sDataSource, aTmpDBData.sCommand, aTmpDBData.nCommandType) );
     }
diff --git a/sw/source/core/doc/docfmt.cxx b/sw/source/core/doc/docfmt.cxx
index 545f850..4a6d7b3 100644
--- a/sw/source/core/doc/docfmt.cxx
+++ b/sw/source/core/doc/docfmt.cxx
@@ -286,7 +286,7 @@ void SwDoc::ResetAttrs( const SwPaM &rRg,
             {
                 nPtPos = nMkPos = rSt.GetIndex();
                 if( bTextAttr )
-                    pTextNd->DontExpandFormat( rSt, true );
+                    pTextNd->DontExpandFormat( rSt );
             }
         }
 
@@ -1820,7 +1820,7 @@ void SwDoc::SetFormatItemByAutoFormat( const SwPaM& rPam, const SfxItemSet& rSet
     }
     whichIds.push_back(0);
     SfxItemSet currentSet(GetAttrPool(), &whichIds[0]);
-    pTNd->GetAttr(currentSet, nEnd, nEnd, false, true);
+    pTNd->GetAttr(currentSet, nEnd, nEnd);
     for (size_t i = 0; whichIds[i]; i += 2)
     {   // yuk - want to explicitly set the pool defaults too :-/
         currentSet.Put(currentSet.Get(whichIds[i]));
diff --git a/sw/source/core/doc/doclay.cxx b/sw/source/core/doc/doclay.cxx
index eb266f6..7419d87 100644
--- a/sw/source/core/doc/doclay.cxx
+++ b/sw/source/core/doc/doclay.cxx
@@ -225,7 +225,7 @@ SwFlyFrameFormat* SwDoc::_MakeFlySection( const SwPosition& rAnchPos,
         else
         {
             if( eRequestId != aAnch.GetAnchorId() &&
-                SfxItemState::SET != pFormat->GetItemState( RES_ANCHOR, true ) )
+                SfxItemState::SET != pFormat->GetItemState( RES_ANCHOR ) )
             {
                 aAnch.SetType( eRequestId );
             }
@@ -733,7 +733,7 @@ lcl_InsertLabel(SwDoc & rDoc, SwTextFormatColls *const pTextFormatCollTable,
 
                 /* #i6447#: Only the selected items are copied from the old
                    format. */
-                SfxItemSet* pNewSet = pNewFormat->GetAttrSet().Clone( true );
+                SfxItemSet* pNewSet = pNewFormat->GetAttrSet().Clone();
 
                 // Copy only the set attributes.
                 // The others should apply from the Templates.
@@ -755,14 +755,14 @@ lcl_InsertLabel(SwDoc & rDoc, SwTextFormatColls *const pTextFormatCollTable,
                             GetItemState( RES_BOX, true, &pItem ))
                         pNewSet->Put( *pItem );
                     else if( SfxItemState::SET == pNewFormat->GetAttrSet().
-                            GetItemState( RES_BOX, true ))
+                            GetItemState( RES_BOX ))
                         pNewSet->Put( *GetDfltAttr( RES_BOX ) );
 
                     if( SfxItemState::SET == pOldFormat->GetAttrSet().
                             GetItemState( RES_SHADOW, true, &pItem ))
                         pNewSet->Put( *pItem );
                     else if( SfxItemState::SET == pNewFormat->GetAttrSet().
-                            GetItemState( RES_SHADOW, true ))
+                            GetItemState( RES_SHADOW ))
                         pNewSet->Put( *GetDfltAttr( RES_SHADOW ) );
                 }
                 else
@@ -1089,10 +1089,10 @@ lcl_InsertDrawLabel( SwDoc & rDoc, SwTextFormatColls *const pTextFormatCollTable
                  rDoc.getIDocumentStylePoolAccess().GetFrameFormatFromPool( RES_POOLFRM_FRAME ) );
 
     // Set border and shadow to default if the template contains any.
-    if( SfxItemState::SET == pNewFormat->GetAttrSet().GetItemState( RES_BOX, true ))
+    if( SfxItemState::SET == pNewFormat->GetAttrSet().GetItemState( RES_BOX ))
         pNewSet->Put( *GetDfltAttr( RES_BOX ) );
 
-    if( SfxItemState::SET == pNewFormat->GetAttrSet().GetItemState(RES_SHADOW,true))
+    if( SfxItemState::SET == pNewFormat->GetAttrSet().GetItemState(RES_SHADOW))
         pNewSet->Put( *GetDfltAttr( RES_SHADOW ) );
 
     pNewFormat->SetFormatAttr( SwFormatContent( pSttNd ));
diff --git a/sw/source/core/doc/docnum.cxx b/sw/source/core/doc/docnum.cxx
index e3ca08b..3616589 100644
--- a/sw/source/core/doc/docnum.cxx
+++ b/sw/source/core/doc/docnum.cxx
@@ -1944,7 +1944,7 @@ bool SwDoc::MoveParagraph( const SwPaM& rPam, long nOffset, bool bIsOutlMv )
                         pPos->nContent.Assign( pPos->nNode.GetNode().GetContentNode(),0);
                     }
                 }
-                CorrRel( aIdx, aInsPos, 0 );
+                CorrRel( aIdx, aInsPos );
 
                 if (pCNd)
                     pCNd->JoinNext();
diff --git a/sw/source/core/doc/gctable.cxx b/sw/source/core/doc/gctable.cxx
index fa94c9a..206f44f 100644
--- a/sw/source/core/doc/gctable.cxx
+++ b/sw/source/core/doc/gctable.cxx
@@ -402,7 +402,7 @@ static bool lcl_MergeGCLine(SwTableLine* pLn, _GCLinePara* pGCPara)
                 SwTableLines& rBoxLns = pBox->GetTabLines();
                 for( auto pBoxLine : rBoxLns )
                     if( SfxItemState::SET != pBoxLine->GetFrameFormat()->
-                            GetItemState( RES_BACKGROUND, true ))
+                            GetItemState( RES_BACKGROUND ))
                         pGCPara->pShareFormats->SetAttr( *pBoxLine, *pItem );
             }
 
diff --git a/sw/source/core/doc/number.cxx b/sw/source/core/doc/number.cxx
index 14815d9..4688d21 100644
--- a/sw/source/core/doc/number.cxx
+++ b/sw/source/core/doc/number.cxx
@@ -629,7 +629,7 @@ OUString SwNumRule::MakeNumString( const SwNodeNum& rNum, bool bInclStrings,
 {
     if (rNum.IsCounted())
         return MakeNumString(rNum.GetNumberVector(),
-                             bInclStrings, bOnlyArabic, MAXLEVEL);
+                             bInclStrings, bOnlyArabic);
 
     return OUString();
 }
diff --git a/sw/source/core/docnode/ndsect.cxx b/sw/source/core/docnode/ndsect.cxx
index 9a02594..0c09aa9 100644
--- a/sw/source/core/docnode/ndsect.cxx
+++ b/sw/source/core/docnode/ndsect.cxx
@@ -297,7 +297,7 @@ SwDoc::InsertSwSection(SwPaM const& rRange, SwSectionData & rNewData,
         if( !pPos->nContent.GetIndex() )
         {
             pNewSectNode = GetNodes().InsertTextSection(
-                pPos->nNode, *pFormat, rNewData, pTOXBase, 0, true);
+                pPos->nNode, *pFormat, rNewData, pTOXBase, 0);
         }
         else if( pPos->nContent.GetIndex() == pCNd->Len() )
         {
@@ -312,7 +312,7 @@ SwDoc::InsertSwSection(SwPaM const& rRange, SwSectionData & rNewData,
             }
             getIDocumentContentOperations().SplitNode( *pPos, false );
             pNewSectNode = GetNodes().InsertTextSection(
-                pPos->nNode, *pFormat, rNewData, pTOXBase, 0, true);
+                pPos->nNode, *pFormat, rNewData, pTOXBase, 0);
         }
     }
 
diff --git a/sw/source/core/edit/acorrect.cxx b/sw/source/core/edit/acorrect.cxx
index 18c1d19..f0e5e3d 100644
--- a/sw/source/core/edit/acorrect.cxx
+++ b/sw/source/core/edit/acorrect.cxx
@@ -425,7 +425,7 @@ LanguageType SwAutoCorrDoc::GetLanguage( sal_Int32 nPos, bool bPrevPara ) const
                             : rCrsr.GetPoint()->nNode ).GetNode().GetTextNode();
 
     if( pNd )
-        eRet = pNd->GetLang( nPos, 0 );
+        eRet = pNd->GetLang( nPos );
     if(LANGUAGE_SYSTEM == eRet)
         eRet = GetAppLanguage();
     return eRet;
diff --git a/sw/source/core/edit/autofmt.cxx b/sw/source/core/edit/autofmt.cxx
index 85620ba..394e20f 100644
--- a/sw/source/core/edit/autofmt.cxx
+++ b/sw/source/core/edit/autofmt.cxx
@@ -1267,7 +1267,7 @@ void SwAutoFormat::BuildIndent()
                     !CalcLevel( *pNxtNd ) );
         }
     }
-    DeleteCurrentParagraph( true );
+    DeleteCurrentParagraph();
     AutoCorrect();
 }
 
@@ -1305,7 +1305,7 @@ void SwAutoFormat::BuildTextIndent()
             pNxtNd = GetNextNode();
         }
     }
-    DeleteCurrentParagraph( true );
+    DeleteCurrentParagraph();
     AutoCorrect();
 }
 
@@ -1342,7 +1342,7 @@ void SwAutoFormat::BuildText()
                 break;
         }
     }
-    DeleteCurrentParagraph( true );
+    DeleteCurrentParagraph();
     AutoCorrect();
 }
 
@@ -1375,7 +1375,7 @@ void SwAutoFormat::BuildEnum( sal_uInt16 nLvl, sal_uInt16 nDigitLevel )
                     IsBlanksInString( *m_pCurTextNd ) ||
                     IsSentenceAtEnd( *m_pCurTextNd );
     bool bRTL = m_pEditShell->IsInRightToLeftText();
-    DeleteCurrentParagraph( true );
+    DeleteCurrentParagraph();
 
     bool bChgBullet = false, bChgEnum = false;
     sal_Int32 nAutoCorrPos = 0;
@@ -1740,7 +1740,7 @@ void SwAutoFormat::BuildNegIndent( SwTwips nSpaces )
             pNxtNd = GetNextNode();
         }
     }
-    DeleteCurrentParagraph( true );
+    DeleteCurrentParagraph();
     AutoCorrect();
 }
 
@@ -1771,7 +1771,7 @@ void SwAutoFormat::BuildHeadLine( sal_uInt16 nLvl )
     }
     else
     {
-        DeleteCurrentParagraph( true );
+        DeleteCurrentParagraph();
         AutoCorrect();
     }
 }
diff --git a/sw/source/core/edit/edattr.cxx b/sw/source/core/edit/edattr.cxx
index d62793c..b8d64ff 100644
--- a/sw/source/core/edit/edattr.cxx
+++ b/sw/source/core/edit/edattr.cxx
@@ -456,7 +456,7 @@ size_t SwEditShell::GetSeqFootnoteList( SwSeqFieldList& rList, bool bEndNotes )
                 OUString sText( rFootnote.GetViewNumStr( *mpDoc ));
                 if( !sText.isEmpty() )
                     sText += " ";
-                sText += pTextNd->GetExpandText( 0, -1 );
+                sText += pTextNd->GetExpandText();
 
                 _SeqFieldLstElem* pNew = new _SeqFieldLstElem( sText,
                                             pTextFootnote->GetSeqRefNo() );
diff --git a/sw/source/core/fields/expfld.cxx b/sw/source/core/fields/expfld.cxx
index 3978d5a..252f1b9 100644
--- a/sw/source/core/fields/expfld.cxx
+++ b/sw/source/core/fields/expfld.cxx
@@ -245,7 +245,7 @@ const SwTextNode* GetBodyTextNode( const SwDoc& rDoc, SwPosition& rPos,
             {
                 Point aPt( pLayout->Frm().Pos() );
                 aPt.Y()++;      // get out of the header
-                pCntFrm = pPgFrm->GetContentPos( aPt, false, true, false );
+                pCntFrm = pPgFrm->GetContentPos( aPt, false, true );
                 pTextNode = GetFirstTextNode( rDoc, rPos, pCntFrm, aPt );
             }
         }
@@ -594,7 +594,7 @@ size_t SwSetExpFieldType::GetSeqFieldList( SwSeqFieldList& rList )
             pNd->GetNodes().IsDocNodes() )
         {
             _SeqFieldLstElem* pNew = new _SeqFieldLstElem(
-                    pNd->GetExpandText( 0, -1 ),
+                    pNd->GetExpandText(),
                     static_cast<SwSetExpField*>(pF->GetField())->GetSeqNumber() );
             rList.InsertSort( pNew );
         }
diff --git a/sw/source/core/frmedt/fecopy.cxx b/sw/source/core/frmedt/fecopy.cxx
index 4083e31..2847c4f 100644
--- a/sw/source/core/frmedt/fecopy.cxx
+++ b/sw/source/core/frmedt/fecopy.cxx
@@ -192,7 +192,7 @@ bool SwFEShell::Copy( SwDoc* pClpDoc, const OUString* pNewClpText )
                 aSet.Put( aAnchor );
 
                 SdrObject *const pNew =
-                    pClpDoc->CloneSdrObj( *pObj, false );
+                    pClpDoc->CloneSdrObj( *pObj );
 
                 SwPaM aTemp(aPos);
                 pClpDoc->getIDocumentContentOperations().InsertDrawObj(aTemp, *pNew, aSet );
@@ -867,8 +867,7 @@ bool SwFEShell::Paste( SwDoc* pClpDoc, bool bIncludingPageFrames )
                     ::PaMCorrAbs(tmpPaM, aPos);
                 }
 
-                bRet = GetDoc()->InsCopyOfTable( aDestPos, aBoxes, &pSrcNd->GetTable(),
-                                            false );
+                bRet = GetDoc()->InsCopyOfTable( aDestPos, aBoxes, &pSrcNd->GetTable() );
 
                 if( bParkTableCrsr )
                     GetCrsr();
diff --git a/sw/source/core/frmedt/fefly1.cxx b/sw/source/core/frmedt/fefly1.cxx
index e83f3b1..d2b8455 100644
--- a/sw/source/core/frmedt/fefly1.cxx
+++ b/sw/source/core/frmedt/fefly1.cxx
@@ -247,7 +247,7 @@ void SwFEShell::SelectFlyFrm( SwFlyFrm& rFrm, bool bNew )
             pImpl->GetDrawView()->UnmarkAll();
 
         pImpl->GetDrawView()->MarkObj( rFrm.GetVirtDrawObj(),
-                                      pImpl->GetPageView(), false );
+                                      pImpl->GetPageView() );
         KillPams();
         ClearMark();
         SelFlyGrabCrsr();
@@ -912,8 +912,7 @@ void SwFEShell::InsertDrawObj( SdrObject& rDrawObj,
     if ( pFormat )
     {
         // select drawing object
-        Imp()->GetDrawView()->MarkObj( &rDrawObj, Imp()->GetPageView(),
-                                       false );
+        Imp()->GetDrawView()->MarkObj( &rDrawObj, Imp()->GetPageView() );
     }
     else
     {
diff --git a/sw/source/core/frmedt/feshview.cxx b/sw/source/core/frmedt/feshview.cxx
index 2628c7f..dbc3615 100644
--- a/sw/source/core/frmedt/feshview.cxx
+++ b/sw/source/core/frmedt/feshview.cxx
@@ -642,7 +642,7 @@ void SwFEShell::StartCropImage()
             if( bForget )
             {
                 pView->UnmarkAll();
-                pView->MarkObj( pTmpObj, Imp()->GetPageView(), false );
+                pView->MarkObj( pTmpObj, Imp()->GetPageView() );
                 break;
             }
         }
@@ -1868,13 +1868,11 @@ bool SwFEShell::ImpEndCreate()
             SdrObject* pMarkObj = pContact->GetDrawObjectByAnchorFrm( *pAnch );
             if ( pMarkObj )
             {
-                Imp()->GetDrawView()->MarkObj( pMarkObj, Imp()->GetPageView(),
-                                                false );
+                Imp()->GetDrawView()->MarkObj( pMarkObj, Imp()->GetPageView() );
             }
             else
             {
-                Imp()->GetDrawView()->MarkObj( &rSdrObj, Imp()->GetPageView(),
-                                                false );
+                Imp()->GetDrawView()->MarkObj( &rSdrObj, Imp()->GetPageView() );
             }
         }
     }
diff --git a/sw/source/core/frmedt/fetab.cxx b/sw/source/core/frmedt/fetab.cxx
index 8a72d73..bdade3a 100644
--- a/sw/source/core/frmedt/fetab.cxx
+++ b/sw/source/core/frmedt/fetab.cxx
@@ -1825,7 +1825,7 @@ bool SwFEShell::SelTableRowCol( const Point& rPt, const Point* pEnd, bool bRowDr
         *pCrsr->GetPoint() = *ppPos[0];
         pCrsr->GetPtPos() = paPt[0];
 
-        if ( !pCrsr->IsInProtectTable( false ) )
+        if ( !pCrsr->IsInProtectTable() )
         {
             bool bNewSelection = true;
 
diff --git a/sw/source/core/layout/flycnt.cxx b/sw/source/core/layout/flycnt.cxx
index df3527e..8dceb15 100644
--- a/sw/source/core/layout/flycnt.cxx
+++ b/sw/source/core/layout/flycnt.cxx
@@ -1062,7 +1062,7 @@ const SwContentFrm *FindAnchor( const SwFrm *pOldAnch, const Point &rNew,
         // With this we won't run into problems with the columns.
         Point aTmp( aNew );
         const SwContentFrm *pTmp = pCnt->FindPageFrm()->
-                                        GetContentPos( aTmp, false, true, false );
+                                        GetContentPos( aTmp, false, true );
         if ( pTmp && pTmp->Frm().IsInside( aNew ) )
             return pTmp;
     }
diff --git a/sw/source/core/layout/ftnfrm.cxx b/sw/source/core/layout/ftnfrm.cxx
index bdb7bde..ad334db 100644
--- a/sw/source/core/layout/ftnfrm.cxx
+++ b/sw/source/core/layout/ftnfrm.cxx
@@ -208,7 +208,7 @@ void SwFootnoteContFrm::Format( vcl::RenderContext* /*pRenderContext*/, const Sw
                 bGrow = false;
         }
         if( bGrow )
-                Grow( LONG_MAX, false );
+                Grow( LONG_MAX );
         else
         {
             // VarSize is determined based on the content plus the borders
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index f51953c..31b5dae 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -4226,7 +4226,7 @@ void SwFlyFrm::Paint(vcl::RenderContext& rRenderContext, SwRect const& rRect, Sw
                 const SwBorderAttrs &rAttrs = *aAccess.Get();
                 SwRect aPaintRect( aRect );
                 aPaintRect._Intersection( pParentFlyFrm->Frm() );
-                pParentFlyFrm->PaintBackground( aPaintRect, pPage, rAttrs, false, false );
+                pParentFlyFrm->PaintBackground( aPaintRect, pPage, rAttrs );
 
                 gProp.pSRetoucheFly2 = pOldRet;
             }
@@ -7650,7 +7650,7 @@ Graphic SwFlyFrameFormat::MakeGraphic( ImageMap* pMap )
         gProp.pSGlobalShell = pSh;
 
         bool bNoteURL = pMap &&
-            SfxItemState::SET != GetAttrSet().GetItemState( RES_URL, true );
+            SfxItemState::SET != GetAttrSet().GetItemState( RES_URL );
         if( bNoteURL )
         {
             OSL_ENSURE( !pNoteURL, "MakeGraphic: pNoteURL already used? " );
diff --git a/sw/source/core/layout/sectfrm.cxx b/sw/source/core/layout/sectfrm.cxx
index 4a24daa..dd82bac 100644
--- a/sw/source/core/layout/sectfrm.cxx
+++ b/sw/source/core/layout/sectfrm.cxx
@@ -1919,7 +1919,7 @@ SwTwips SwSectionFrm::_Grow( SwTwips nDist, bool bTst )
                 if( bInCalcContent )
                     _InvalidateSize();
                 else if( nSpace < nGrow &&  nDist != nSpace + GetUpper()->
-                         Grow( nGrow - nSpace, false ) )
+                         Grow( nGrow - nSpace ) )
                     InvalidateSize();
                 else
                 {
diff --git a/sw/source/core/layout/tabfrm.cxx b/sw/source/core/layout/tabfrm.cxx
index d25f543..e23ab20 100644
--- a/sw/source/core/layout/tabfrm.cxx
+++ b/sw/source/core/layout/tabfrm.cxx
@@ -1745,7 +1745,7 @@ void SwTabFrm::MakeAll(vcl::RenderContext* pRenderContext)
         SwHTMLTableLayout *pLayout = GetTable()->GetHTMLTableLayout();
         if ( pLayout )
             m_bCalcLowers = pLayout->Resize(
-                            pLayout->GetBrowseWidthByTabFrm( *this ), false );
+                            pLayout->GetBrowseWidthByTabFrm( *this ) );
     }
 
     // as long as bMakePage is true, a new page can be created (exactly once)
@@ -1868,7 +1868,7 @@ void SwTabFrm::MakeAll(vcl::RenderContext* pRenderContext)
                 {
                     delete pAccess;
                     m_bCalcLowers |= pLayout->Resize(
-                        pLayout->GetBrowseWidthByTabFrm( *this ), false );
+                        pLayout->GetBrowseWidthByTabFrm( *this ) );
                     pAccess = new SwBorderAttrAccess( SwFrm::GetCache(), this );
                     pAttrs = pAccess->Get();
                 }
@@ -1912,7 +1912,7 @@ void SwTabFrm::MakeAll(vcl::RenderContext* pRenderContext)
             {
                 delete pAccess;
                 m_bCalcLowers |= pLayout->Resize(
-                    pLayout->GetBrowseWidthByTabFrm( *this ), false );
+                    pLayout->GetBrowseWidthByTabFrm( *this ) );
                 pAccess= new SwBorderAttrAccess( SwFrm::GetCache(), this );
                 pAttrs = pAccess->Get();
             }
@@ -1961,8 +1961,7 @@ void SwTabFrm::MakeAll(vcl::RenderContext* pRenderContext)
                         {
                             delete pAccess;
                             m_bCalcLowers |= pHTMLLayout->Resize(
-                                pHTMLLayout->GetBrowseWidthByTabFrm( *this ),
-                                false );
+                                pHTMLLayout->GetBrowseWidthByTabFrm( *this ) );
 
                             pAccess= new SwBorderAttrAccess( SwFrm::GetCache(), this );
                             pAttrs = pAccess->Get();
@@ -3488,7 +3487,7 @@ void SwTabFrm::Paste( SwFrm* pParent, SwFrm* pSibling )
             const SwPageDesc *pDesc = GetFormat()->GetPageDesc().GetPageDesc();
             if ( (pDesc && pDesc != pPage->GetPageDesc()) ||
                  (!pDesc && pPage->GetPageDesc() != &GetFormat()->GetDoc()->GetPageDesc(0)) )
-                CheckPageDescs( pPage, true );
+                CheckPageDescs( pPage );
         }
     }
 }
diff --git a/sw/source/core/text/atrstck.cxx b/sw/source/core/text/atrstck.cxx
index a91ff2b..3ba82c6 100644
--- a/sw/source/core/text/atrstck.cxx
+++ b/sw/source/core/text/atrstck.cxx
@@ -182,7 +182,7 @@ bool IsItemIncluded( const sal_uInt16 nWhich, const SwTextAttr *pAttr )
 
     const SfxItemSet* pItemSet = CharFormat::GetItemSet( pAttr->GetAttr() );
     if ( pItemSet )
-        bRet = SfxItemState::SET == pItemSet->GetItemState( nWhich, true );
+        bRet = SfxItemState::SET == pItemSet->GetItemState( nWhich );
 
     return bRet;
 }
diff --git a/sw/source/core/txtnode/atrftn.cxx b/sw/source/core/txtnode/atrftn.cxx
index aab92d3..4bcd387 100644
--- a/sw/source/core/txtnode/atrftn.cxx
+++ b/sw/source/core/txtnode/atrftn.cxx
@@ -384,7 +384,7 @@ void SwTextFootnote::CopyFootnote(
         SwNodeIndex aEnd( *aStart.GetNode().EndOfSectionNode() );
         sal_uLong  nDestLen = aEnd.GetIndex() - aStart.GetIndex() - 1;
 
-        m_pTextNode->GetDoc()->GetDocumentContentOperationsManager().CopyWithFlyInFly( aRg, 0, aEnd, NULL, true );
+        m_pTextNode->GetDoc()->GetDocumentContentOperationsManager().CopyWithFlyInFly( aRg, 0, aEnd, NULL );
 
         // in case the destination section was not empty, delete the old nodes
         // before:   Src: SxxxE,  Dst: SnE
diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx
index 934697f..633e638 100644
--- a/sw/source/core/txtnode/ndtxt.cxx
+++ b/sw/source/core/txtnode/ndtxt.cxx
@@ -2622,7 +2622,7 @@ SwContentNode* SwTextNode::AppendNode( const SwPosition & rPos )
 {
     // Position hinter dem eingefuegt wird
     SwNodeIndex aIdx( rPos.nNode, 1 );
-    SwTextNode* pNew = _MakeNewTextNode( aIdx, true );
+    SwTextNode* pNew = _MakeNewTextNode( aIdx );
 
     // reset list attributes at appended text node
     pNew->ResetAttr( RES_PARATR_LIST_ISRESTART );
@@ -3343,7 +3343,7 @@ void SwTextNode::ReplaceText( const SwIndex& rStart, const sal_Int32 nDelLen,
 
         OUString aTmpText( sInserted.copy(1) );
         m_Text = m_Text.replaceAt(rStart.GetIndex(), 0, aTmpText);
-        Update( rStart, aTmpText.getLength(), false );
+        Update( rStart, aTmpText.getLength() );
     }
     else
     {
@@ -3351,7 +3351,7 @@ void SwTextNode::ReplaceText( const SwIndex& rStart, const sal_Int32 nDelLen,
         Update( rStart, nLen, true );
 
         m_Text = m_Text.replaceAt(nStartPos, 0, sInserted);
-        Update( rStart, sInserted.getLength(), false );
+        Update( rStart, sInserted.getLength() );
     }
 
     SetIgnoreDontExpand( bOldExpFlg );
diff --git a/sw/source/core/txtnode/thints.cxx b/sw/source/core/txtnode/thints.cxx
index 5df015f..9c69382 100644
--- a/sw/source/core/txtnode/thints.cxx
+++ b/sw/source/core/txtnode/thints.cxx
@@ -901,7 +901,7 @@ void SwpHints::BuildPortions( SwTextNode& rNode, SwTextAttr& rNewHint,
                             if ( !pCurrentCharFormat || 0 == CharFormat::GetItem( *pCurrentCharFormat, pItem->Which() ) )
                             {
                                 if ( !pNewSet )
-                                    pNewSet = pNewStyle->Clone( true );
+                                    pNewSet = pNewStyle->Clone();
                                 pNewSet->ClearItem( pItem->Which() );
                             }
                         }
@@ -1995,7 +1995,7 @@ static void lcl_MergeAttr( SfxItemSet& rSet, const SfxPoolItem& rAttr )
         {
             if( ( nWhich < RES_CHRATR_END ||
                   RES_TXTATR_UNKNOWN_CONTAINER == nWhich ) &&
-                ( SfxItemState::SET == pCFSet->GetItemState( nWhich, true ) ) )
+                ( SfxItemState::SET == pCFSet->GetItemState( nWhich ) ) )
                 rSet.Put( pCFSet->Get( nWhich ) );
             nWhich = aIter.NextWhich();
         }
@@ -2020,7 +2020,7 @@ static void lcl_MergeAttr_ExpandChrFormat( SfxItemSet& rSet, const SfxPoolItem&
             {
                 if( ( nWhich < RES_CHRATR_END ||
                       ( RES_TXTATR_AUTOFMT == rAttr.Which() && RES_TXTATR_UNKNOWN_CONTAINER == nWhich ) ) &&
-                    ( SfxItemState::SET == pCFSet->GetItemState( nWhich, true ) ) )
+                    ( SfxItemState::SET == pCFSet->GetItemState( nWhich ) ) )
                     rSet.Put( pCFSet->Get( nWhich ) );
                 nWhich = aIter.NextWhich();
             }
diff --git a/sw/source/core/txtnode/txtedt.cxx b/sw/source/core/txtnode/txtedt.cxx
index 3e2d4e1..0b2b156 100644
--- a/sw/source/core/txtnode/txtedt.cxx
+++ b/sw/source/core/txtnode/txtedt.cxx
@@ -313,7 +313,7 @@ static bool lcl_HaveCommonAttributes( IStyleAccess& rStyleAccess,
         OSL_ENSURE( nWhichId, "lcl_HaveCommonAttributes not used correctly" );
         if ( SfxItemState::SET == rSet2.GetItemState( nWhichId, false ) )
         {
-            pNewSet = rSet2.Clone( true );
+            pNewSet = rSet2.Clone();
             pNewSet->ClearItem( nWhichId );
         }
     }
@@ -326,7 +326,7 @@ static bool lcl_HaveCommonAttributes( IStyleAccess& rStyleAccess,
             if ( SfxItemState::SET == rSet2.GetItemState( pItem->Which(), false ) )
             {
                 if ( !pNewSet )
-                    pNewSet = rSet2.Clone( true );
+                    pNewSet = rSet2.Clone();
                 pNewSet->ClearItem( pItem->Which() );
             }
 
@@ -1938,7 +1938,7 @@ void SwTextNode::ReplaceTextOnly( sal_Int32 nPos, sal_Int32 nLen,
             while( nI + nCnt < nTLen && nOff == pOffsets[ nI + nCnt ] )
                 ++nCnt;
 
-            Update( SwIndex( this, nMyOff ), nCnt, false );
+            Update( SwIndex( this, nMyOff ), nCnt );
             nMyOff = nOff;
             //nMyOff -= nCnt;
             nI += nCnt - 1;
diff --git a/sw/source/core/undo/docundo.cxx b/sw/source/core/undo/docundo.cxx
index 8c54261..7eabe1b 100644
--- a/sw/source/core/undo/docundo.cxx
+++ b/sw/source/core/undo/docundo.cxx
@@ -332,7 +332,7 @@ bool UndoManager::GetFirstRedoInfo(OUString *const o_pStr,
         return false;
     }
 
-    SfxUndoAction *const pAction( SdrUndoManager::GetRedoAction(0) );
+    SfxUndoAction *const pAction( SdrUndoManager::GetRedoAction() );
     if ( pAction == NULL )
     {
         return false;
diff --git a/sw/source/core/undo/undel.cxx b/sw/source/core/undo/undel.cxx
index 3d167c3..171ab9c 100644
--- a/sw/source/core/undo/undel.cxx
+++ b/sw/source/core/undo/undel.cxx
@@ -959,7 +959,7 @@ void SwUndoDelete::RedoImpl(::sw::UndoRedoContext & rContext)
 
     if( pRedlSaveData )
     {
-        const bool bSuccess = FillSaveData(rPam, *pRedlSaveData, true);
+        const bool bSuccess = FillSaveData(rPam, *pRedlSaveData);
         OSL_ENSURE(bSuccess,
             "SwUndoDelete::Redo: used to have redline data, but now none?");
         if (!bSuccess)
diff --git a/sw/source/core/undo/undobj.cxx b/sw/source/core/undo/undobj.cxx
index f54130e..fd83a21 100644
--- a/sw/source/core/undo/undobj.cxx
+++ b/sw/source/core/undo/undobj.cxx
@@ -824,7 +824,7 @@ void SwUndoSaveSection::SaveSection(
     }
 
     pRedlSaveData = new SwRedlineSaveDatas;
-    if( !SwUndo::FillSaveData( aPam, *pRedlSaveData, true ))
+    if( !SwUndo::FillSaveData( aPam, *pRedlSaveData ))
         delete pRedlSaveData, pRedlSaveData = 0;
 
     nStartPos = rRange.aStart.GetIndex();
diff --git a/sw/source/core/undo/untbl.cxx b/sw/source/core/undo/untbl.cxx
index 34ff5ca..1473dfa 100644
--- a/sw/source/core/undo/untbl.cxx
+++ b/sw/source/core/undo/untbl.cxx
@@ -3031,7 +3031,7 @@ void SwUndoMergeTable::UndoImpl(::sw::UndoRedoContext & rContext)
     aFndBox.DelFrms( *pTable );
     // ? TL_CHART2: notification or locking of controller required ?
 
-    SwTableNode* pNew = pDoc->GetNodes().SplitTable( rIdx, true );
+    SwTableNode* pNew = pDoc->GetNodes().SplitTable( rIdx );
 
     // update layout
     aFndBox.MakeFrms( *pTable );
diff --git a/sw/source/filter/html/css1atr.cxx b/sw/source/filter/html/css1atr.cxx
index 4881531..70c899a 100644
--- a/sw/source/filter/html/css1atr.cxx
+++ b/sw/source/filter/html/css1atr.cxx
@@ -2126,9 +2126,9 @@ void SwHTMLWriter::OutCSS1_FrameFormatOptions( const SwFrameFormat& rFrameFormat
     {
         const SvxLRSpaceItem *pLRItem = 0;
         const SvxULSpaceItem *pULItem = 0;
-        if( SfxItemState::SET == rItemSet.GetItemState( RES_LR_SPACE, true ) )
+        if( SfxItemState::SET == rItemSet.GetItemState( RES_LR_SPACE ) )
             pLRItem = &aLRItem;
-        if( SfxItemState::SET == rItemSet.GetItemState( RES_UL_SPACE, true ) )
+        if( SfxItemState::SET == rItemSet.GetItemState( RES_UL_SPACE ) )
             pULItem = &aULItem;
         if( pLRItem || pULItem )
             OutCSS1_SvxULSpace_SvxLRSpace( *this, pULItem, pLRItem );
diff --git a/sw/source/filter/html/htmlatr.cxx b/sw/source/filter/html/htmlatr.cxx
index 055255f..9443049 100644
--- a/sw/source/filter/html/htmlatr.cxx
+++ b/sw/source/filter/html/htmlatr.cxx
@@ -135,7 +135,7 @@ void SwHTMLWriter::OutAndSetDefList( sal_uInt16 nNewLvl )
         {
             if( bLFPossible )
                 OutNewLine();
-            HTMLOutFuncs::Out_AsciiTag( Strm(), OOO_STRING_SVTOOLS_HTML_deflist, true );
+            HTMLOutFuncs::Out_AsciiTag( Strm(), OOO_STRING_SVTOOLS_HTML_deflist );
             IncIndentLevel();
             bLFPossible = true;
         }
diff --git a/sw/source/filter/html/htmlftn.cxx b/sw/source/filter/html/htmlftn.cxx
index 8caf83d..9ffbd19 100644
--- a/sw/source/filter/html/htmlftn.cxx
+++ b/sw/source/filter/html/htmlftn.cxx
@@ -308,7 +308,7 @@ Writer& OutHTML_SwFormatFootnote( Writer& rWrt, const SfxPoolItem& rHt )
         sOut.append(' ').append(OOO_STRING_SVTOOLS_HTML_O_sdfixed);
     sOut.append('>');
     rWrt.Strm().WriteCharPtr( sOut.makeStringAndClear().getStr() );
-    HTMLOutFuncs::Out_AsciiTag( rWrt.Strm(), OOO_STRING_SVTOOLS_HTML_superscript, true );
+    HTMLOutFuncs::Out_AsciiTag( rWrt.Strm(), OOO_STRING_SVTOOLS_HTML_superscript );
 
     HTMLOutFuncs::Out_String( rWrt.Strm(), rFormatFootnote.GetViewNumStr(*rWrt.pDoc),
                                  rHTMLWrt.eDestEnc, &rHTMLWrt.aNonConvertableCharacters );
diff --git a/sw/source/filter/html/htmltabw.cxx b/sw/source/filter/html/htmltabw.cxx
index 1ab0bf1..9a1a3c4 100644
--- a/sw/source/filter/html/htmltabw.cxx
+++ b/sw/source/filter/html/htmltabw.cxx
@@ -729,7 +729,7 @@ void SwHTMLWrtTable::Write( SwHTMLWriter& rWrt, sal_Int16 eAlign,
         sOutStr.append(' ').append(OOO_STRING_SVTOOLS_HTML_O_align).append("=\"")
                .append(bTopCaption ? OOO_STRING_SVTOOLS_HTML_VA_top : OOO_STRING_SVTOOLS_HTML_VA_bottom)
                .append("\"");
-        HTMLOutFuncs::Out_AsciiTag( rWrt.Strm(), sOutStr.getStr(), true );
+        HTMLOutFuncs::Out_AsciiTag( rWrt.Strm(), sOutStr.getStr() );
         HTMLOutFuncs::Out_String( rWrt.Strm(), *pCaption, rWrt.eDestEnc, &rWrt.aNonConvertableCharacters );
         HTMLOutFuncs::Out_AsciiTag( rWrt.Strm(), OOO_STRING_SVTOOLS_HTML_caption, false );
     }
@@ -744,7 +744,7 @@ void SwHTMLWrtTable::Write( SwHTMLWriter& rWrt, sal_Int16 eAlign,
         if( bColGroups )
         {
             rWrt.OutNewLine(); // <COLGRP> in neue Zeile
-            HTMLOutFuncs::Out_AsciiTag( rWrt.Strm(), OOO_STRING_SVTOOLS_HTML_colgroup, true );
+            HTMLOutFuncs::Out_AsciiTag( rWrt.Strm(), OOO_STRING_SVTOOLS_HTML_colgroup );
 
             rWrt.IncIndentLevel(); // Inhalt von <COLGRP> einruecken
         }
@@ -787,8 +787,7 @@ void SwHTMLWrtTable::Write( SwHTMLWriter& rWrt, sal_Int16 eAlign,
                 HTMLOutFuncs::Out_AsciiTag( rWrt.Strm(), OOO_STRING_SVTOOLS_HTML_colgroup,
                                             false );
                 rWrt.OutNewLine(); // <COLGRP> in neue Zeile
-                HTMLOutFuncs::Out_AsciiTag( rWrt.Strm(), OOO_STRING_SVTOOLS_HTML_colgroup,
-                                            true );
+                HTMLOutFuncs::Out_AsciiTag( rWrt.Strm(), OOO_STRING_SVTOOLS_HTML_colgroup );
                 rWrt.IncIndentLevel(); // Inhalt von <COLGRP> einruecken
             }
         }
@@ -822,7 +821,7 @@ void SwHTMLWrtTable::Write( SwHTMLWriter& rWrt, sal_Int16 eAlign,
     {
         rWrt.OutNewLine(); // <THEAD>/<TDATA> in neue Zeile
         HTMLOutFuncs::Out_AsciiTag( rWrt.Strm(),
-                            bTHead ? OOO_STRING_SVTOOLS_HTML_thead : OOO_STRING_SVTOOLS_HTML_tbody, true );
+                            bTHead ? OOO_STRING_SVTOOLS_HTML_thead : OOO_STRING_SVTOOLS_HTML_tbody );
 
         rWrt.IncIndentLevel(); // Inhalt von <THEAD>/<TDATA> einr.
     }
@@ -838,8 +837,7 @@ void SwHTMLWrtTable::Write( SwHTMLWriter& rWrt, sal_Int16 eAlign,
             for( auto nCnt = (pRow2->nBottomBorder / DEF_LINE_WIDTH_1) - 1; nCnt; --nCnt )
             {
                 rWrt.OutNewLine();
-                HTMLOutFuncs::Out_AsciiTag( rWrt.Strm(), OOO_STRING_SVTOOLS_HTML_tablerow,
-                                            true );
+                HTMLOutFuncs::Out_AsciiTag( rWrt.Strm(), OOO_STRING_SVTOOLS_HTML_tablerow );
                 HTMLOutFuncs::Out_AsciiTag( rWrt.Strm(), OOO_STRING_SVTOOLS_HTML_tablerow,
                                             false );
             }
@@ -858,7 +856,7 @@ void SwHTMLWrtTable::Write( SwHTMLWriter& rWrt, sal_Int16 eAlign,
                 bTHead = false;
 
             HTMLOutFuncs::Out_AsciiTag( rWrt.Strm(),
-                            bTHead ? OOO_STRING_SVTOOLS_HTML_thead : OOO_STRING_SVTOOLS_HTML_tbody, true );
+                            bTHead ? OOO_STRING_SVTOOLS_HTML_thead : OOO_STRING_SVTOOLS_HTML_tbody );
             rWrt.IncIndentLevel(); // Inhalt von <THEAD>/<TDATA> einr.
         }
     }
@@ -1088,13 +1086,13 @@ Writer& OutHTML_SwTableNode( Writer& rWrt, SwTableNode & rNode,
         if( rHTMLWrt.bLFPossible )
             rHTMLWrt.OutNewLine();  // <CENTER> in neuer Zeile
         if( text::HoriOrientation::CENTER==eDivHoriOri )
-            HTMLOutFuncs::Out_AsciiTag( rWrt.Strm(), OOO_STRING_SVTOOLS_HTML_center, true );
+            HTMLOutFuncs::Out_AsciiTag( rWrt.Strm(), OOO_STRING_SVTOOLS_HTML_center );
         else
         {
             OStringBuffer sOut(OOO_STRING_SVTOOLS_HTML_division);
             sOut.append(' ').append(OOO_STRING_SVTOOLS_HTML_O_align).append("=\"")
                 .append(OOO_STRING_SVTOOLS_HTML_AL_right).append("\"");
-            HTMLOutFuncs::Out_AsciiTag( rWrt.Strm(), sOut.getStr(), true );
+            HTMLOutFuncs::Out_AsciiTag( rWrt.Strm(), sOut.getStr() );
         }
         rHTMLWrt.IncIndentLevel();  // Inhalt von <CENTER> einruecken
         rHTMLWrt.bLFPossible = true;
diff --git a/sw/source/filter/html/swhtml.cxx b/sw/source/filter/html/swhtml.cxx
index a964ca1..7d9dd7d 100644
--- a/sw/source/filter/html/swhtml.cxx
+++ b/sw/source/filter/html/swhtml.cxx
@@ -433,8 +433,7 @@ SwHTMLParser::~SwHTMLParser()
         sal_uInt16 nLinkMode = pDoc->getIDocumentSettingAccess().getLinkUpdateMode( true );
         if( nLinkMode != NEVER && bAsync &&
             SfxObjectCreateMode::INTERNAL!=pDoc->GetDocShell()->GetCreateMode() )
-            pDoc->getIDocumentLinksAdministration().GetLinkManager().UpdateAllLinks( nLinkMode == MANUAL,
-                                                   true, false );
+            pDoc->getIDocumentLinksAdministration().GetLinkManager().UpdateAllLinks( nLinkMode == MANUAL );
 
         if ( pDoc->GetDocShell()->IsLoading() )
         {
diff --git a/sw/source/filter/ww8/writerwordglue.cxx b/sw/source/filter/ww8/writerwordglue.cxx
index a7fe1f0..f9d3fc9 100644
--- a/sw/source/filter/ww8/writerwordglue.cxx
+++ b/sw/source/filter/ww8/writerwordglue.cxx
@@ -75,7 +75,7 @@ namespace myImplHelpers
             nDist += rSz.GetHeight();
         else
         {
-            SwRect aRect(rFormat.FindLayoutRect(false));
+            SwRect aRect(rFormat.FindLayoutRect());
             if (aRect.Height())
                 nDist += aRect.Height();
             else
diff --git a/sw/source/filter/ww8/wrtww8gr.cxx b/sw/source/filter/ww8/wrtww8gr.cxx
index ab7edbb..8f9946a 100644
--- a/sw/source/filter/ww8/wrtww8gr.cxx
+++ b/sw/source/filter/ww8/wrtww8gr.cxx
@@ -169,13 +169,13 @@ bool WW8Export::TestOleNeedsGraphic(const SwAttrSet& rSet,
                 {
                     Graphic aGr1;
                     GraphicFilter& rGF = GraphicFilter::GetGraphicFilter();
-                    if( rGF.ImportGraphic( aGr1, OUString(), *pGraphicStream, GRFILTER_FORMAT_DONTKNOW ) == GRFILTER_OK )
+                    if( rGF.ImportGraphic( aGr1, OUString(), *pGraphicStream ) == GRFILTER_OK )
                     {
                         Graphic aGr2;
                         delete pGraphicStream;
                         pGraphicStream =
                                 ::utl::UcbStreamHelper::CreateStream( aCnt.GetGraphicStream( pRet->GetObjRef() ) );
-                        if( pGraphicStream && rGF.ImportGraphic( aGr2, OUString(), *pGraphicStream, GRFILTER_FORMAT_DONTKNOW ) == GRFILTER_OK )
+                        if( pGraphicStream && rGF.ImportGraphic( aGr2, OUString(), *pGraphicStream ) == GRFILTER_OK )
                         {
                             if ( aGr1 == aGr2 )
                                 bGraphicNeeded = false;
diff --git a/sw/source/filter/ww8/ww8graf2.cxx b/sw/source/filter/ww8/ww8graf2.cxx
index 35e05fe..287d51b 100644
--- a/sw/source/filter/ww8/ww8graf2.cxx
+++ b/sw/source/filter/ww8/ww8graf2.cxx
@@ -242,8 +242,7 @@ extern void WW8PicShadowToReal(  WW8_PIC_SHADOW*  pPicS,  WW8_PIC*  pPic );
 
 bool SwWW8ImplReader::GetPictGrafFromStream(Graphic& rGraphic, SvStream& rSrc)
 {
-    return 0 == GraphicFilter::GetGraphicFilter().ImportGraphic(rGraphic, OUString(), rSrc,
-        GRFILTER_FORMAT_DONTKNOW);
+    return 0 == GraphicFilter::GetGraphicFilter().ImportGraphic(rGraphic, OUString(), rSrc);
 }
 
 bool SwWW8ImplReader::ReadGrafFile(OUString& rFileName, Graphic*& rpGraphic,
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index 2d4e710..f39e0fa 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -2839,7 +2839,7 @@ void SwWW8ImplReader::PostProcessAttrs()
                 m_pCtrlStck->NewAttr(*m_pPostProcessAttrsInfo->mPaM.GetPoint(),
                                    *pItem);
                 m_pCtrlStck->SetAttr(*m_pPostProcessAttrsInfo->mPaM.GetMark(),
-                                   pItem->Which(), true);
+                                   pItem->Which());
             }
             while (!aIter.IsAtEnd() && 0 != (pItem = aIter.NextItem()));
         }
diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx
index 233cc11..0089221 100644
--- a/sw/source/filter/ww8/ww8par2.cxx
+++ b/sw/source/filter/ww8/ww8par2.cxx
@@ -2375,7 +2375,7 @@ void WW8TabDesc::CreateSwTable(SvxULSpaceItem* pULSpaceItem)
     // rows of a band can be duplicated easy.
     pTable = pIo->m_rDoc.InsertTable(
             SwInsertTableOptions( tabopts::HEADLINE_NO_BORDER, 0 ),
-            *pTmpPos, nBands, nDefaultSwCols, eOri, 0, 0, false );
+            *pTmpPos, nBands, nDefaultSwCols, eOri, 0, 0 );
 
     OSL_ENSURE(pTable && pTable->GetFrameFormat(), "insert table failed");
     if (!pTable || !pTable->GetFrameFormat())
diff --git a/sw/source/ui/chrdlg/numpara.cxx b/sw/source/ui/chrdlg/numpara.cxx
index 7427ce3..287dfde 100644
--- a/sw/source/ui/chrdlg/numpara.cxx
+++ b/sw/source/ui/chrdlg/numpara.cxx
@@ -339,7 +339,7 @@ IMPL_LINK_NOARG_TYPED( SwParagraphNumTabPage, EditNumStyleSelectHdl_Impl, ListBo
 IMPL_LINK_NOARG_TYPED(SwParagraphNumTabPage, EditNumStyleHdl_Impl, Button*, void)
 {
     OUString aTemplName(m_pNumberStyleLB->GetSelectEntry());
-    ExecuteEditNumStyle_Impl( SID_STYLE_EDIT, aTemplName, OUString(),SFX_STYLE_FAMILY_PSEUDO, 0 );
+    ExecuteEditNumStyle_Impl( SID_STYLE_EDIT, aTemplName, OUString(),SFX_STYLE_FAMILY_PSEUDO );
 }
 
 // Internal: Perform functions through the Dispatcher
diff --git a/sw/source/ui/config/optpage.cxx b/sw/source/ui/config/optpage.cxx
index 8737086..1ca1d49 100644
--- a/sw/source/ui/config/optpage.cxx
+++ b/sw/source/ui/config/optpage.cxx
@@ -474,7 +474,7 @@ void    SwAddPrinterTabPage::Reset( const SfxItemSet*  )
     }
     if (m_pProspectCB->IsChecked())
     {
-        m_pProspectCB_RTL->Enable(true);
+        m_pProspectCB_RTL->Enable();
         m_pNoRB->Enable( false );
         m_pOnlyRB->Enable( false );
         m_pEndRB->Enable( false );
diff --git a/sw/source/ui/dbui/addresslistdialog.cxx b/sw/source/ui/dbui/addresslistdialog.cxx
index 2e5f5ba..a41b958 100644
--- a/sw/source/ui/dbui/addresslistdialog.cxx
+++ b/sw/source/ui/dbui/addresslistdialog.cxx
@@ -518,7 +518,7 @@ IMPL_LINK_TYPED(SwAddressListDialog, StaticListBoxSelectHdl_Impl, void*, p, void
             m_aDBData.sDataSource = SvTabListBox::GetEntryText(pSelect, ITEMID_NAME - 1);
             m_aDBData.sCommand = SvTabListBox::GetEntryText(pSelect, ITEMID_TABLE - 1);
             m_aDBData.nCommandType = pUserData->nCommandType;
-            m_pOK->Enable(true);
+            m_pOK->Enable();
         }
         if(SvTabListBox::GetEntryText(pSelect, ITEMID_TABLE - 1) == m_sConnecting)
            m_pListLB->SetEntryText(OUString(), pSelect, ITEMID_TABLE - 1);
diff --git a/sw/source/ui/dbui/createaddresslistdialog.cxx b/sw/source/ui/dbui/createaddresslistdialog.cxx
index d108103..9f9fb7f 100644
--- a/sw/source/ui/dbui/createaddresslistdialog.cxx
+++ b/sw/source/ui/dbui/createaddresslistdialog.cxx
@@ -218,7 +218,7 @@ void SwAddressControl_Impl::SetData(SwCSVData& rDBData)
         }
         else
         {
-            m_pScrollBar->Enable(true);
+            m_pScrollBar->Enable();
             m_pScrollBar->SetRange(Range(0, nLines));
             m_pScrollBar->SetThumbPos(0);
             m_pScrollBar->SetVisibleSize(nVisibleLines);
diff --git a/sw/source/ui/dbui/dbinsdlg.cxx b/sw/source/ui/dbui/dbinsdlg.cxx
index c9157bc..5c65f3f 100644
--- a/sw/source/ui/dbui/dbinsdlg.cxx
+++ b/sw/source/ui/dbui/dbinsdlg.cxx
@@ -1743,8 +1743,8 @@ void SwInsertDBColAutoPilot::Load()
                     m_pIbDbcolAllTo->Enable( false );
                     m_pIbDbcolOneTo->Enable( false );
                 }
-                m_pIbDbcolOneFrom->Enable( true );
-                m_pIbDbcolAllFrom->Enable( true );
+                m_pIbDbcolOneFrom->Enable();
+                m_pIbDbcolAllFrom->Enable();
             }
             m_pEdDbText->SetText( pNewData->sEdit );
 
diff --git a/sw/source/ui/dbui/mmaddressblockpage.cxx b/sw/source/ui/dbui/mmaddressblockpage.cxx
index 3a0cf44..fe8c59a 100644
--- a/sw/source/ui/dbui/mmaddressblockpage.cxx
+++ b/sw/source/ui/dbui/mmaddressblockpage.cxx
@@ -705,8 +705,8 @@ IMPL_LINK_TYPED(SwCustomizeAddressBlockDialog, SelectionChangedHdl_Impl, Address
                 m_pFieldCB->InsertEntry(*aIterator);
         }
         m_pFieldCB->SetText(sSelect);
-        m_pFieldCB->Enable(true);
-        m_pFieldFT->Enable(true);
+        m_pFieldCB->Enable();
+        m_pFieldFT->Enable();
     }
     else
     {
diff --git a/sw/source/ui/dbui/mmlayoutpage.cxx b/sw/source/ui/dbui/mmlayoutpage.cxx
index 16dfdd5..b043880 100644
--- a/sw/source/ui/dbui/mmlayoutpage.cxx
+++ b/sw/source/ui/dbui/mmlayoutpage.cxx
@@ -622,7 +622,7 @@ void SwMailMergeLayoutPage::InsertGreeting(SwWrtShell& rShell, SwMailMergeConfig
 
 IMPL_LINK_NOARG_TYPED(SwMailMergeLayoutPage, PreviewLoadedHdl_Impl, SwOneExampleFrame&, void)
 {
-    m_pExampleContainerWIN->Show(true);
+    m_pExampleContainerWIN->Show();
 
     Reference< XModel > & xModel = m_pExampleFrame->GetModel();
     //now the ViewOptions should be set properly
diff --git a/sw/source/ui/dbui/mmoutputpage.cxx b/sw/source/ui/dbui/mmoutputpage.cxx
index 6aad4e4..6f949ae 100644
--- a/sw/source/ui/dbui/mmoutputpage.cxx
+++ b/sw/source/ui/dbui/mmoutputpage.cxx
@@ -432,7 +432,7 @@ IMPL_LINK_TYPED(SwMailMergeOutputPage, OutputTypeHdl_Impl, Button*, pButton, voi
         Control** pSaveMergeControl = aSaveMergedControls;
         do
         {
-            (*pSaveMergeControl)->Show(true);
+            (*pSaveMergeControl)->Show();
 
         } while(*(++pSaveMergeControl));
         if(!m_pFromRB->IsChecked() && !m_pSaveAsOneRB->IsChecked())
@@ -453,7 +453,7 @@ IMPL_LINK_TYPED(SwMailMergeOutputPage, OutputTypeHdl_Impl, Button*, pButton, voi
         Control** pPrinterControl = aPrintControls;
         do
         {
-            (*pPrinterControl)->Show(true);
+            (*pPrinterControl)->Show();
 
         } while(*(++pPrinterControl));
         if(!m_pFromRB->IsChecked())
@@ -475,7 +475,7 @@ IMPL_LINK_TYPED(SwMailMergeOutputPage, OutputTypeHdl_Impl, Button*, pButton, voi
         vcl::Window** pMailControl = aMailControls;
         do
         {
-            (*pMailControl)->Show(true);
+            (*pMailControl)->Show();
 
         } while(*(++pMailControl));
 
diff --git a/sw/source/ui/dialog/ascfldlg.cxx b/sw/source/ui/dialog/ascfldlg.cxx
index e883705..918addc 100644
--- a/sw/source/ui/dialog/ascfldlg.cxx
+++ b/sw/source/ui/dialog/ascfldlg.cxx
@@ -168,7 +168,7 @@ SwAsciiFilterDlg::SwAsciiFilterDlg( vcl::Window* pParent, SwDocShell& rDocSh,
                 }
             }
 
-            m_pLanguageLB->SetLanguageList( SvxLanguageListFlags::ALL, true, false );
+            m_pLanguageLB->SetLanguageList( SvxLanguageListFlags::ALL, true );
             m_pLanguageLB->SelectLanguage( aOpt.GetLanguage() );
         }
 
diff --git a/sw/source/ui/dialog/uiregionsw.cxx b/sw/source/ui/dialog/uiregionsw.cxx
index f4fe433..7c5cc85 100644
--- a/sw/source/ui/dialog/uiregionsw.cxx
+++ b/sw/source/ui/dialog/uiregionsw.cxx
@@ -573,12 +573,12 @@ IMPL_LINK_TYPED( SwEditRegionDlg, GetFirstEntryHdl, SvTreeListBox *, pBox, void
 {
     bDontCheckPasswd = true;
     SvTreeListEntry* pEntry=pBox->FirstSelected();
-    m_pHideCB->Enable(true);
+    m_pHideCB->Enable();
     // edit in readonly sections
-    m_pEditInReadonlyCB->Enable(true);
+    m_pEditInReadonlyCB->Enable();
 
-    m_pProtectCB->Enable(true);
-    m_pFileCB->Enable(true);
+    m_pProtectCB->Enable();
+    m_pFileCB->Enable();
     ::com::sun::star::uno::Sequence <sal_Int8> aCurPasswd;
     if( 1 < pBox->GetSelectionCount() )
     {
@@ -676,8 +676,8 @@ IMPL_LINK_TYPED( SwEditRegionDlg, GetFirstEntryHdl, SvTreeListBox *, pBox, void
     }
     else if (pEntry )
     {
-        m_pCurName->Enable(true);
-        m_pOptionsPB->Enable(true);
+        m_pCurName->Enable();
+        m_pOptionsPB->Enable();
         SectRepr* pRepr=static_cast<SectRepr*>(pEntry->GetUserData());
         SwSectionData const& rData( pRepr->GetSectionData() );
         m_pConditionED->SetText(rData.GetCondition());
diff --git a/sw/source/ui/frmdlg/column.cxx b/sw/source/ui/frmdlg/column.cxx
index 4a5d5b4..1e63bb8 100644
--- a/sw/source/ui/frmdlg/column.cxx
+++ b/sw/source/ui/frmdlg/column.cxx
@@ -1227,7 +1227,7 @@ void SwColumnPage::Update(MetricField *pInteractiveField)
 void SwColumnPage::ActivatePage(const SfxItemSet& rSet)
 {
     bool bVertical = false;
-    if (SfxItemState::DEFAULT <= rSet.GetItemState(RES_FRAMEDIR, true))
+    if (SfxItemState::DEFAULT <= rSet.GetItemState(RES_FRAMEDIR))
     {
         const SvxFrameDirectionItem& rDirItem =
                     static_cast<const SvxFrameDirectionItem&>(rSet.Get(RES_FRAMEDIR));
diff --git a/sw/source/ui/frmdlg/frmpage.cxx b/sw/source/ui/frmdlg/frmpage.cxx
index 63145d2..95b8aee 100644
--- a/sw/source/ui/frmdlg/frmpage.cxx
+++ b/sw/source/ui/frmdlg/frmpage.cxx
@@ -3074,7 +3074,7 @@ void SwFrmAddPage::Reset(const SfxItemSet *rSet )
     if( (!bHtmlMode || (0 != (nHtmlMode&HTMLMODE_SOME_STYLES)))
             && sDlgType != "PictureDialog" && sDlgType != "ObjectDialog" &&
         SfxItemState::UNKNOWN != ( eState = rSet->GetItemState(
-                                        RES_FRAMEDIR, true )) )
+                                        RES_FRAMEDIR )) )
     {
         pTextFlowFT->Show();
         pTextFlowLB->Show();
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index 57b0732..d4cad9b 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -847,7 +847,7 @@ SwTOXSelectTabPage::SwTOXSelectTabPage(vcl::Window* pParent, const SfxItemSet& r
     pIndexEntryWrapper = new IndexEntrySupplierWrapper();
 
     m_pLanguageLB->SetLanguageList( SvxLanguageListFlags::ALL | SvxLanguageListFlags::ONLY_KNOWN,
-                                 false, false );
+                                 false );
 
     //Default mode is arranged to be the tallest mode
     //of alphabetical index, lock that height in now
@@ -4105,7 +4105,7 @@ void SwEntryBrowseBox::ReadEntries(SvStream& rInStr)
     }
     if( pToInsert )
         aEntryArr.push_back(pToInsert);
-    RowInserted(0, aEntryArr.size() + 1, true);
+    RowInserted(0, aEntryArr.size() + 1);
 }
 
 void SwEntryBrowseBox::WriteEntries(SvStream& rOutStr)
@@ -4172,7 +4172,7 @@ SwAutoMarkDlg_Impl::SwAutoMarkDlg_Impl(vcl::Window* pParent, const OUString& rAu
     SetText(GetText() + ": " + sAutoMarkURL);
     bool bError = false;
     if( bCreateMode )
-        m_pEntriesBB->RowInserted(0, 1, true);
+        m_pEntriesBB->RowInserted(0);
     else
     {
         SfxMedium aMed( sAutoMarkURL, STREAM_STD_READ );
diff --git a/sw/source/ui/index/swuiidxmrk.cxx b/sw/source/ui/index/swuiidxmrk.cxx
index 7f5108e..a1726f1 100644
--- a/sw/source/ui/index/swuiidxmrk.cxx
+++ b/sw/source/ui/index/swuiidxmrk.cxx
@@ -1068,7 +1068,7 @@ SwAuthorMarkPane::SwAuthorMarkPane(Dialog &rDialog, bool bNewDlg)
     m_rDialog.get(m_pEntryLB, "entrylb");
     m_rDialog.get(m_pActionBT,
         bNewEntry ? OString("insert") : OString("modify"));
-    m_pActionBT->Show(true);
+    m_pActionBT->Show();
     m_rDialog.get(m_pCloseBT, "close");
     m_rDialog.get(m_pCreateEntryPB, "new");
     m_rDialog.get(m_pEditEntryPB, "edit");
diff --git a/sw/source/ui/misc/glosbib.cxx b/sw/source/ui/misc/glosbib.cxx
index 24cbf3c..59d9bf1 100644
--- a/sw/source/ui/misc/glosbib.cxx
+++ b/sw/source/ui/misc/glosbib.cxx
@@ -91,7 +91,7 @@ SwGlossaryGroupDlg::SwGlossaryGroupDlg(vcl::Window * pParent,
         m_pPathLB->SetEntryData(i, reinterpret_cast<void*>(nCaseReadonly));
     }
     m_pPathLB->SelectEntryPos(0);
-    m_pPathLB->Enable(true);
+    m_pPathLB->Enable();
 
     const size_t nCount = pHdl->GetGroupCnt();
     for( size_t i = 0; i < nCount; ++i)
diff --git a/sw/source/ui/misc/glossary.cxx b/sw/source/ui/misc/glossary.cxx
index 3ab52b9..6f94e2c 100644
--- a/sw/source/ui/misc/glossary.cxx
+++ b/sw/source/ui/misc/glossary.cxx
@@ -446,8 +446,7 @@ IMPL_LINK_TYPED( SwGlossaryDlg, MenuHdl, Menu *, pMn, bool )
     if (sItemIdent == "replace")
     {
         pGlossaryHdl->NewGlossary(m_pNameED->GetText(),
-                                  m_pShortNameEdit->GetText(),
-                                  false);
+                                  m_pShortNameEdit->GetText());
     }
     else if (sItemIdent == "replacetext")
     {
diff --git a/sw/source/ui/misc/insfnote.cxx b/sw/source/ui/misc/insfnote.cxx
index f4b424f..8f0f724 100644
--- a/sw/source/ui/misc/insfnote.cxx
+++ b/sw/source/ui/misc/insfnote.cxx
@@ -96,7 +96,7 @@ IMPL_LINK_NOARG_TYPED(SwInsFootNoteDlg, NumberEditHdl, Edit&, void)
 
 IMPL_LINK_NOARG_TYPED(SwInsFootNoteDlg, NumberAutoBtnHdl, Button*, void)
 {
-    m_pOkBtn->Enable( true );
+    m_pOkBtn->Enable();
 }
 
 IMPL_LINK_NOARG_TYPED(SwInsFootNoteDlg, NumberExtCharHdl, Button*, void)
diff --git a/sw/source/ui/misc/num.cxx b/sw/source/ui/misc/num.cxx
index 569b42e..6b15cf6 100644
--- a/sw/source/ui/misc/num.cxx
+++ b/sw/source/ui/misc/num.cxx
@@ -344,8 +344,8 @@ void SwNumPositionTabPage::InitControls()
 
     if ( aNumFormatArr[nLvl]->GetLabelFollowedBy() == SvxNumberFormat::LISTTAB )
     {
-        m_pListtabFT->Enable( true );
-        m_pListtabMF->Enable( true );
+        m_pListtabFT->Enable();
+        m_pListtabMF->Enable();
         if ( bSameListtab )
         {
             m_pListtabMF->SetValue(m_pListtabMF->Normalize(aNumFormatArr[nLvl]->GetListtabPos()),FUNIT_TWIP);
diff --git a/sw/source/ui/misc/outline.cxx b/sw/source/ui/misc/outline.cxx
index f88b043..5c235f9 100644
--- a/sw/source/ui/misc/outline.cxx
+++ b/sw/source/ui/misc/outline.cxx
@@ -512,8 +512,8 @@ void    SwOutlineSettingsTabPage::Update()
         else
             m_pCharFormatLB->SetNoSelection();
 
-        m_pAllLevelFT->Enable(true);
-        m_pAllLevelNF->Enable(true);
+        m_pAllLevelFT->Enable();
+        m_pAllLevelNF->Enable();
         m_pAllLevelNF->SetMax(MAXLEVEL);
         if(bSameComplete)
         {
@@ -545,8 +545,8 @@ void    SwOutlineSettingsTabPage::Update()
 
         if(nTmpLevel)
         {
-            m_pAllLevelFT->Enable(true);
-            m_pAllLevelNF->Enable(true);
+            m_pAllLevelFT->Enable();
+            m_pAllLevelNF->Enable();
             m_pAllLevelNF->SetMax(nTmpLevel + 1);
             m_pAllLevelNF->SetValue(rFormat.GetIncludeUpperLevels());
         }
diff --git a/sw/source/ui/misc/pggrid.cxx b/sw/source/ui/misc/pggrid.cxx
index 6c3e70d..d4410ca 100644
--- a/sw/source/ui/misc/pggrid.cxx
+++ b/sw/source/ui/misc/pggrid.cxx
@@ -217,7 +217,7 @@ bool SwTextGridPage::FillItemSet(SfxItemSet *rSet)
 
 void    SwTextGridPage::Reset(const SfxItemSet *rSet)
 {
-    if(SfxItemState::DEFAULT <= rSet->GetItemState(RES_TEXTGRID, true))
+    if(SfxItemState::DEFAULT <= rSet->GetItemState(RES_TEXTGRID))
     {
         const SwTextGridItem& rGridItem = static_cast<const SwTextGridItem&>(rSet->Get(RES_TEXTGRID));
         RadioButton* pButton = 0;
@@ -306,7 +306,7 @@ void SwTextGridPage::PutGridItem(SfxItemSet& rSet)
 
 void SwTextGridPage::UpdatePageSize(const SfxItemSet& rSet)
 {
-    if( SfxItemState::UNKNOWN !=  rSet.GetItemState( RES_FRAMEDIR, true ))
+    if( SfxItemState::UNKNOWN !=  rSet.GetItemState( RES_FRAMEDIR ))
     {
         const SvxFrameDirectionItem& rDirItem =
                     static_cast<const SvxFrameDirectionItem&>(rSet.Get(RES_FRAMEDIR));
diff --git a/sw/source/ui/misc/srtdlg.cxx b/sw/source/ui/misc/srtdlg.cxx
index f6cdfa9..a75f465 100644
--- a/sw/source/ui/misc/srtdlg.cxx
+++ b/sw/source/ui/misc/srtdlg.cxx
@@ -205,7 +205,7 @@ SwSortDlg::SwSortDlg(vcl::Window* pParent, SwWrtShell &rShell)
     if( LANGUAGE_NONE == nLang || LANGUAGE_DONTKNOW == nLang )
         nLang = (sal_uInt16)GetAppLanguage();
 
-    m_pLangLB->SetLanguageList( SvxLanguageListFlags::ALL | SvxLanguageListFlags::ONLY_KNOWN, true, false);
+    m_pLangLB->SetLanguageList( SvxLanguageListFlags::ALL | SvxLanguageListFlags::ONLY_KNOWN, true );
     m_pLangLB->SelectLanguage( nLang );
 
     LanguageHdl( 0 );
diff --git a/sw/source/ui/vba/vbatablehelper.cxx b/sw/source/ui/vba/vbatablehelper.cxx
index 84e3463..8ffa710 100644
--- a/sw/source/ui/vba/vbatablehelper.cxx
+++ b/sw/source/ui/vba/vbatablehelper.cxx
@@ -162,7 +162,7 @@ void SwVbaTableHelper::InitTabCols( SwTabCols& rCols, const SwTableBox *pStart,
     rCols.SetLeft    ( 0 );
     rCols.SetRight   ( UNO_TABLE_COLUMN_SUM );
     rCols.SetRightMax( UNO_TABLE_COLUMN_SUM );
-    pTable->GetTabCols( rCols, pStart, false );
+    pTable->GetTabCols( rCols, pStart );
 }
 
 sal_Int32 SwVbaTableHelper::GetColCount( SwTabCols& rCols )
diff --git a/sw/source/uibase/docvw/HeaderFooterWin.cxx b/sw/source/uibase/docvw/HeaderFooterWin.cxx
index a257777..c0ef493 100644
--- a/sw/source/uibase/docvw/HeaderFooterWin.cxx
+++ b/sw/source/uibase/docvw/HeaderFooterWin.cxx
@@ -510,8 +510,8 @@ IMPL_LINK_NOARG_TYPED(SwHeaderFooterWin, FadeHandler, Timer *, void)
 
     if (m_nFadeRate != 100 && !IsVisible())
     {
-        Show(true);
-        m_pLine->Show(true);
+        Show();
+        m_pLine->Show();
     }
     else if (m_nFadeRate == 100 && IsVisible())
     {
diff --git a/sw/source/uibase/docvw/PostItMgr.cxx b/sw/source/uibase/docvw/PostItMgr.cxx
index bfe146a..d06acb2 100644
--- a/sw/source/uibase/docvw/PostItMgr.cxx
+++ b/sw/source/uibase/docvw/PostItMgr.cxx
@@ -321,7 +321,7 @@ void SwPostItMgr::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
             {
                 if (!pField)
                 {
-                    AddPostIts(true);
+                    AddPostIts();
                     break;
                 }
                 // get field to be inserted from hint
diff --git a/sw/source/uibase/docvw/edtdd.cxx b/sw/source/uibase/docvw/edtdd.cxx
index 81ca453..0070dae 100644
--- a/sw/source/uibase/docvw/edtdd.cxx
+++ b/sw/source/uibase/docvw/edtdd.cxx
@@ -108,8 +108,7 @@ void SwEditWin::StartDrag( sal_Int8 /*nAction*/, const Point& rPosPixel )
         {
             SwContentAtPos aSwContentAtPos( SwContentAtPos::SW_INETATTR );
             bStart = rSh.GetContentAtPos( aDocPos,
-                        aSwContentAtPos,
-                        false );
+                        aSwContentAtPos );
         }
 
         if ( bStart && !m_bIsInDrag )
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index b5d36c0..4cbf5d5 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -644,9 +644,9 @@ IMPL_LINK_NOARG_TYPED(SwEditWin, TimerHandler, Timer *, void)
             // take the center point of VisArea to
             // decide in which direction the user want.
             if( aModPt.Y() < ( rVisArea.Top() + rVisArea.Height() / 2 ) )
-                rSh.Up( true, 1 );
+                rSh.Up( true );
             else
-                rSh.Down( true, 1 );
+                rSh.Down( true );
         }
     }
 
@@ -780,7 +780,7 @@ static sal_uInt16 lcl_isNonDefaultLanguage(LanguageType eBufferLanguage, SwView&
             SfxItemSet aLangSet(rView.GetPool(), nWhich, nWhich);
             SwWrtShell& rSh = rView.GetWrtShell();
             rSh.GetCurAttr(aLangSet);
-            if(SfxItemState::DEFAULT <= aLangSet.GetItemState(nWhich, true))
+            if(SfxItemState::DEFAULT <= aLangSet.GetItemState(nWhich))
             {
                 LanguageType eLang = static_cast<const SvxLanguageItem&>(aLangSet.Get(nWhich)).GetLanguage();
                 if ( eLang == eBufferLanguage )
@@ -1833,7 +1833,7 @@ KEYINPUT_CHECKTABLE_INSDEL:
                 case KEY_DELETE:
                     if ( !rSh.HasReadonlySel() || rSh.CrsrInsideInputField())
                     {
-                        if (rSh.IsInFrontOfLabel() && rSh.NumOrNoNum(false))
+                        if (rSh.IsInFrontOfLabel() && rSh.NumOrNoNum())
                             eKeyState = KS_NumOrNoNum;
                     }
                     else
@@ -2259,7 +2259,7 @@ KEYINPUT_CHECKTABLE_INSDEL:
 
                 if( bNormalChar && rSh.IsInFrontOfLabel() )
                 {
-                    rSh.NumOrNoNum(false);
+                    rSh.NumOrNoNum();
                 }
 
                 if( !m_aInBuffer.isEmpty() && ( !bNormalChar || bIsDocReadOnly ))
@@ -3592,7 +3592,7 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt)
                         {
                             SwContentAtPos aContentAtPos( SwContentAtPos::SW_CLICKFIELD |
                                                         SwContentAtPos::SW_INETATTR );
-                            if( rSh.GetContentAtPos( aDocPos, aContentAtPos, false ) &&
+                            if( rSh.GetContentAtPos( aDocPos, aContentAtPos ) &&
                                 !rSh.IsReadOnlyAvailable() &&
                                 aContentAtPos.IsInProtectSect() )
                                 bLockView = true;
@@ -4282,14 +4282,14 @@ void SwEditWin::MouseButtonUp(const MouseEvent& rMEvt)
                 if (aTextBoxShapes.find(pFormat) == aTextBoxShapes.end())
                 {
                     pSdrView->UnmarkAllObj();
-                    pSdrView->MarkObj(pObj,pPV,false);
+                    pSdrView->MarkObj(pObj,pPV);
                 }
                 else
                 {
                     // If the fly frame is a textbox of a shape, then select the shape instead.
                     SdrObject* pShape = aTextBoxShapes[pFormat]->FindSdrObject();
                     pSdrView->UnmarkAllObj();
-                    pSdrView->MarkObj(pShape, pPV, false);
+                    pSdrView->MarkObj(pShape, pPV);
                 }
             }
         }
@@ -4399,7 +4399,7 @@ void SwEditWin::MouseButtonUp(const MouseEvent& rMEvt)
                         if ( aSttPt != aEndPt )
                         {
                             rSh.StartUndo( UNDO_UI_DRAG_AND_COPY );
-                            rSh.Copy(&rSh, aSttPt, aEndPt, false);
+                            rSh.Copy(&rSh, aSttPt, aEndPt);
                             rSh.EndUndo( UNDO_UI_DRAG_AND_COPY );
                         }
                     }
@@ -4525,7 +4525,7 @@ void SwEditWin::MouseButtonUp(const MouseEvent& rMEvt)
                                                     SwContentAtPos::SW_INETATTR |
                                                     SwContentAtPos::SW_SMARTTAG  | SwContentAtPos::SW_FORMCTRL);
 
-                        if( rSh.GetContentAtPos( aDocPt, aContentAtPos, false ) )
+                        if( rSh.GetContentAtPos( aDocPt, aContentAtPos ) )
                         {
                             // Do it again if we're not on a field/hyperlink to update the cursor accordingly
                             if ( SwContentAtPos::SW_FIELD != aContentAtPos.eContentAtPos
@@ -5642,7 +5642,7 @@ bool SwEditWin::SelectMenuPosition(SwWrtShell& rSh, const Point& rMousePos )
 
             bool bUnLockView = !rSh.IsViewLocked();
             rSh.LockView( true );
-            bool bSelObj = rSh.SelectObj( aDocPos, 0);
+            bool bSelObj = rSh.SelectObj( aDocPos );
             if( bUnLockView )
                 rSh.LockView( false );
 
diff --git a/sw/source/uibase/docvw/romenu.cxx b/sw/source/uibase/docvw/romenu.cxx
index 93271ed..0bdf4e4 100644
--- a/sw/source/uibase/docvw/romenu.cxx
+++ b/sw/source/uibase/docvw/romenu.cxx
@@ -94,7 +94,7 @@ SwReadOnlyPopup::SwReadOnlyPopup( const Point &rDPos, SwView &rV ) :
     if ( sURL.isEmpty() )
     {
         SwContentAtPos aContentAtPos( SwContentAtPos::SW_INETATTR );
-        if( rSh.GetContentAtPos( rDocPos, aContentAtPos, false))
+        if( rSh.GetContentAtPos( rDocPos, aContentAtPos))
         {
             const SwFormatINetFormat &rIItem = *static_cast<const SwFormatINetFormat*>(aContentAtPos.aFnd.pAttr);
             sURL = rIItem.GetValue();
diff --git a/sw/source/uibase/docvw/srcedtw.cxx b/sw/source/uibase/docvw/srcedtw.cxx
index 1904858..6ad94fe 100644
--- a/sw/source/uibase/docvw/srcedtw.cxx
+++ b/sw/source/uibase/docvw/srcedtw.cxx
@@ -542,7 +542,7 @@ void SwSrcEditWindow::CreateTextEngine()
     pTextEngine->EnableUndo( true );
     pTextEngine->SetUpdateMode( true );
 
-    pTextView->ShowCursor( true );
+    pTextView->ShowCursor();
     InitScrollBars();
     StartListening( *pTextEngine );
 
diff --git a/sw/source/uibase/frmdlg/colex.cxx b/sw/source/uibase/frmdlg/colex.cxx
index f0f9047..3efc0ca 100644
--- a/sw/source/uibase/frmdlg/colex.cxx
+++ b/sw/source/uibase/frmdlg/colex.cxx
@@ -44,7 +44,7 @@
 // Taking the updated values from the set
 void SwPageExample::UpdateExample( const SfxItemSet& rSet )
 {
-    if (SfxItemState::DEFAULT <= rSet.GetItemState(RES_FRAMEDIR, true))
+    if (SfxItemState::DEFAULT <= rSet.GetItemState(RES_FRAMEDIR))
     {
         const SvxFrameDirectionItem& rDirItem =
                     static_cast<const SvxFrameDirectionItem&>(rSet.Get(RES_FRAMEDIR));
@@ -633,7 +633,7 @@ void SwPageGridExample::UpdateExample( const SfxItemSet& rSet )
 {
     DELETEZ(pGridItem);
     //get the grid information
-    if(SfxItemState::DEFAULT <= rSet.GetItemState(RES_TEXTGRID, true))
+    if(SfxItemState::DEFAULT <= rSet.GetItemState(RES_TEXTGRID))
         pGridItem = static_cast<SwTextGridItem*>(static_cast<const SwTextGridItem&>(rSet.Get(RES_TEXTGRID)).Clone());
     SwPageExample::UpdateExample(rSet);
 }
diff --git a/sw/source/uibase/shells/annotsh.cxx b/sw/source/uibase/shells/annotsh.cxx
index 1c5e235..da00c2b 100644
--- a/sw/source/uibase/shells/annotsh.cxx
+++ b/sw/source/uibase/shells/annotsh.cxx
@@ -855,7 +855,7 @@ void SwAnnotationShell::GetState(SfxItemSet& rSet)
             rSet.Put(aEditAttr.Get(nEEWhich), nWhich);
         if(nEEWhich == EE_CHAR_KERNING)
         {
-            SfxItemState eState = aEditAttr.GetItemState( EE_CHAR_KERNING, true );
+            SfxItemState eState = aEditAttr.GetItemState( EE_CHAR_KERNING );
             if ( eState == SfxItemState::DONTCARE )
             {
                 rSet.InvalidateItem(EE_CHAR_KERNING);
diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx
index 50c2908..cac0318 100644
--- a/sw/source/uibase/shells/basesh.cxx
+++ b/sw/source/uibase/shells/basesh.cxx
@@ -1107,7 +1107,7 @@ void SwBaseShell::Execute(SfxRequest &rReq)
                 {
                     rSh.EnterStdMode();
                     rSh.StartAllAction();
-                    rSh.GetLinkManager().UpdateAllLinks( false, false, false );
+                    rSh.GetLinkManager().UpdateAllLinks( false, false );
                     rSh.EndAllAction();
                 }
             }
@@ -2559,7 +2559,7 @@ void SwBaseShell::InsertTable( SfxRequest& _rRequest )
             rSh.StartUndo(UNDO_INSTABLE);
             bCallEndUndo = true;
 
-            bool bInserted = rSh.TextToTable( aInsTableOpts, '\t', text::HoriOrientation::FULL );
+            bool bInserted = rSh.TextToTable( aInsTableOpts, '\t' );
             rSh.EnterStdMode();
             if (bInserted)
                 rTempView.AutoCaption(TABLE_CAP);
diff --git a/sw/source/uibase/shells/drwtxtex.cxx b/sw/source/uibase/shells/drwtxtex.cxx
index 69b808b..e183734 100644
--- a/sw/source/uibase/shells/drwtxtex.cxx
+++ b/sw/source/uibase/shells/drwtxtex.cxx
@@ -500,7 +500,7 @@ void SwDrawTextShell::Execute( SfxRequest &rReq )
                         : text::WritingMode_TB_RL, SDRATTR_TEXTDIRECTION ) );
                 pTmpView->SetAttributes( aAttr );
 
-                rSh.GetView().BeginTextEdit( pTmpObj, pTmpPV, &rSh.GetView().GetEditWin(), false);
+                rSh.GetView().BeginTextEdit( pTmpObj, pTmpPV, &rSh.GetView().GetEditWin());
                 rSh.GetView().AttrChangedNotify( &rSh );
             }
             return;
@@ -543,7 +543,7 @@ void SwDrawTextShell::Execute( SfxRequest &rReq )
                     aAttr.Put( SvxAdjustItem( SVX_ADJUST_RIGHT, EE_PARA_JUST ) );
             }
             pTmpView->SetAttributes( aAttr );
-            rSh.GetView().BeginTextEdit( pTmpObj, pTmpPV, &rSh.GetView().GetEditWin(), false );
+            rSh.GetView().BeginTextEdit( pTmpObj, pTmpPV, &rSh.GetView().GetEditWin() );
             rSh.GetView().AttrChangedNotify( &rSh );
         }
         return;
diff --git a/sw/source/uibase/shells/tabsh.cxx b/sw/source/uibase/shells/tabsh.cxx
index 641b1f0..0cb89f9 100644
--- a/sw/source/uibase/shells/tabsh.cxx
+++ b/sw/source/uibase/shells/tabsh.cxx
@@ -1015,7 +1015,7 @@ void SwTableShell::Execute(SfxRequest &rReq)
 
         case FN_TABLE_MERGE_TABLE:
         {
-            bool bPrev = rSh.CanMergeTable( true );
+            bool bPrev = rSh.CanMergeTable();
             bool bNext = rSh.CanMergeTable( false );
 
             if( bPrev && bNext )
diff --git a/sw/source/uibase/shells/textsh.cxx b/sw/source/uibase/shells/textsh.cxx
index 525d7cd..d004a73 100644
--- a/sw/source/uibase/shells/textsh.cxx
+++ b/sw/source/uibase/shells/textsh.cxx
@@ -156,7 +156,7 @@ void SwTextShell::ExecInsert(SfxRequest &rReq)
         break;
 
     case FN_INSERT_SOFT_HYPHEN:
-        if( CHAR_SOFTHYPHEN != rSh.SwCrsrShell::GetChar( true ) &&
+        if( CHAR_SOFTHYPHEN != rSh.SwCrsrShell::GetChar() &&
             CHAR_SOFTHYPHEN != rSh.SwCrsrShell::GetChar( true, -1 ))
             rSh.Insert( OUString( CHAR_SOFTHYPHEN ) );
         break;
@@ -473,7 +473,7 @@ void SwTextShell::ExecInsert(SfxRequest &rReq)
             // the suggestion has to be removed before
             GetView().GetEditWin().StopQuickHelp();
             SvGlobalName aGlobalName( SO3_SM_CLASSID );
-            rSh.InsertObject( svt::EmbeddedObjectRef(), &aGlobalName, true );
+            rSh.InsertObject( svt::EmbeddedObjectRef(), &aGlobalName );
         }
         break;
 
@@ -580,7 +580,7 @@ void SwTextShell::ExecInsert(SfxRequest &rReq)
             std::unique_ptr<SfxAbstractTabDialog> pDlg(pFact->CreateFrmTabDialog("FrameDialog",
                                                   GetView().GetViewFrame(),
                                                   &GetView().GetViewFrame()->GetWindow(),
-                                                  aSet, true));
+                                                  aSet));
             OSL_ENSURE(pDlg, "Dialog creation failed!");
             if(pDlg->Execute() == RET_OK && pDlg->GetOutputItemSet())
             {
diff --git a/sw/source/uibase/shells/textsh1.cxx b/sw/source/uibase/shells/textsh1.cxx
index 2e1b8eb..0c042bb 100644
--- a/sw/source/uibase/shells/textsh1.cxx
+++ b/sw/source/uibase/shells/textsh1.cxx
@@ -1370,7 +1370,7 @@ void SwTextShell::Execute(SfxRequest &rReq)
                         RES_TXTATR_INETFMT,
                         RES_TXTATR_INETFMT);
         rWrtSh.GetCurAttr(aSet);
-        if(SfxItemState::SET <= aSet.GetItemState( RES_TXTATR_INETFMT, true ))

... etc. - the rest is truncated


More information about the Libreoffice-commits mailing list