[Libreoffice-commits] core.git: 7 commits - sdext/source shell/source slideshow/source starmath/inc starmath/source stoc/source sw/inc sw/source ucb/source
Noel Grandin
noel at peralex.com
Tue Apr 29 23:45:32 PDT 2014
sdext/source/minimizer/configurationaccess.cxx | 6
sdext/source/minimizer/configurationaccess.hxx | 40
sdext/source/minimizer/fileopendialog.cxx | 7
sdext/source/minimizer/graphiccollector.cxx | 10
sdext/source/minimizer/graphiccollector.hxx | 18
sdext/source/minimizer/impoptimizer.cxx | 58 -
sdext/source/minimizer/impoptimizer.hxx | 32
sdext/source/minimizer/informationdialog.cxx | 18
sdext/source/minimizer/informationdialog.hxx | 7
sdext/source/minimizer/optimizerdialog.cxx | 26
sdext/source/minimizer/optimizerdialog.hxx | 6
sdext/source/minimizer/optimizerdialogcontrols.cxx | 122 +-
sdext/source/minimizer/unodialog.cxx | 6
sdext/source/minimizer/unodialog.hxx | 6
sdext/source/pdfimport/pdfiadaptor.cxx | 2
sdext/source/presenter/PresenterAccessibility.cxx | 4
shell/source/backends/gconfbe/gconfaccess.cxx | 114 +-
shell/source/backends/gconfbe/gconfaccess.hxx | 2
slideshow/source/engine/animationnodes/basecontainernode.cxx | 2
slideshow/source/engine/color.cxx | 8
slideshow/source/engine/shapes/drawinglayeranimation.cxx | 8
slideshow/source/engine/shapes/viewmediashape.cxx | 4
slideshow/source/engine/slide/targetpropertiescreator.cxx | 6
slideshow/source/engine/slideshowimpl.cxx | 14
slideshow/source/engine/tools.cxx | 2
slideshow/source/inc/hslcolor.hxx | 4
slideshow/source/inc/rgbcolor.hxx | 4
starmath/inc/document.hxx | 4
starmath/inc/types.hxx | 4
starmath/source/accessibility.cxx | 6
starmath/source/cfgitem.cxx | 22
starmath/source/cfgitem.hxx | 3
starmath/source/document.cxx | 16
starmath/source/eqnolefilehdr.cxx | 6
starmath/source/eqnolefilehdr.hxx | 2
starmath/source/mathmlexport.cxx | 30
starmath/source/mathmlexport.hxx | 16
starmath/source/mathmlimport.cxx | 8
starmath/source/mathmlimport.hxx | 6
starmath/source/mathtype.cxx | 18
starmath/source/mathtype.hxx | 22
starmath/source/smdetect.cxx | 10
starmath/source/unomodel.cxx | 2
stoc/source/corereflection/base.hxx | 12
stoc/source/corereflection/criface.cxx | 12
stoc/source/corereflection/lrucache.hxx | 4
stoc/source/defaultregistry/defaultregistry.cxx | 14
stoc/source/implementationregistration/implreg.cxx | 66 -
stoc/source/inspect/introspection.cxx | 38
stoc/source/javavm/javavm.cxx | 4
stoc/source/namingservice/namingservice.cxx | 2
stoc/source/servicemanager/servicemanager.cxx | 12
stoc/source/typeconv/convert.cxx | 46
stoc/source/uriproc/UriReference.cxx | 12
stoc/source/uriproc/UriReference.hxx | 12
sw/inc/SidebarWin.hxx | 4
sw/inc/SwAppletImpl.hxx | 6
sw/inc/SwUndoField.hxx | 4
sw/inc/accessibilityoptions.hxx | 24
sw/inc/accmap.hxx | 14
sw/inc/authfld.hxx | 16
sw/inc/authratr.hxx | 2
sw/inc/calbck.hxx | 20
sw/inc/calc.hxx | 12
sw/inc/cellatr.hxx | 20
sw/inc/cellfml.hxx | 6
sw/inc/charatr.hxx | 144 +-
sw/inc/chpfld.hxx | 4
sw/inc/crsrsh.hxx | 322 ++---
sw/inc/crstate.hxx | 84 -
sw/inc/cshtyp.hxx | 8
sw/inc/dbmgr.hxx | 110 -
sw/inc/dcontact.hxx | 4
sw/inc/ddefld.hxx | 12
sw/inc/doc.hxx | 132 +-
sw/inc/docsh.hxx | 12
sw/inc/docstat.hxx | 2
sw/inc/docstyle.hxx | 24
sw/inc/docufld.hxx | 46
sw/inc/dpage.hxx | 4
sw/inc/editsh.hxx | 180 +--
sw/inc/expfld.hxx | 22
sw/inc/extinput.hxx | 10
sw/inc/fesh.hxx | 194 +--
sw/inc/fldbas.hxx | 16
sw/inc/flddat.hxx | 6
sw/inc/flddropdown.hxx | 2
sw/inc/fmtanchr.hxx | 4
sw/inc/fmtclbl.hxx | 6
sw/inc/fmtclds.hxx | 16
sw/inc/fmtcnct.hxx | 4
sw/inc/fmtcntnt.hxx | 4
sw/inc/fmteiro.hxx | 6
sw/inc/fmtfld.hxx | 2
sw/inc/fmtfollowtextflow.hxx | 6
sw/inc/fmtfordr.hxx | 4
sw/inc/fmtfsize.hxx | 4
sw/inc/fmtftn.hxx | 2
sw/inc/fmtftntx.hxx | 10
sw/inc/fmthdft.hxx | 24
sw/inc/fmtline.hxx | 8
sw/inc/fmtlsplt.hxx | 6
sw/inc/fmtornt.hxx | 16
sw/inc/fmtpdsc.hxx | 6
sw/inc/fmtrowsplt.hxx | 6
sw/inc/fmtsrnd.hxx | 22
sw/inc/fmturl.hxx | 4
sw/inc/fmtwrapinfluenceonobjpos.hxx | 4
sw/inc/format.hxx | 248 ++--
sw/inc/frmatr.hxx | 54
sw/inc/frmfmt.hxx | 12
sw/inc/grfatr.hxx | 58 -
sw/inc/hfspacingitem.hxx | 6
sw/inc/hints.hxx | 6
sw/inc/htmltbl.hxx | 48
sw/inc/iodetect.hxx | 6
sw/inc/lineinfo.hxx | 24
sw/inc/mdiexp.hxx | 6
sw/inc/modcfg.hxx | 106 -
sw/inc/ndarr.hxx | 34
sw/inc/ndindex.hxx | 50
sw/inc/ndnotxt.hxx | 22
sw/inc/ndole.hxx | 18
sw/inc/ndtxt.hxx | 8
sw/inc/node.hxx | 84 -
sw/inc/numrule.hxx | 58 -
sw/inc/pagedesc.hxx | 44
sw/inc/paratr.hxx | 78 -
sw/inc/poolfmt.hxx | 4
sw/inc/printdata.hxx | 78 -
sw/inc/prtopt.hxx | 6
sw/inc/pvprtdat.hxx | 6
sw/inc/redline.hxx | 26
sw/inc/section.hxx | 12
sw/inc/shellio.hxx | 148 +-
sw/inc/swabstdlg.hxx | 44
sw/inc/swatrset.hxx | 220 +--
sw/inc/swcli.hxx | 8
sw/inc/swcrsr.hxx | 144 +-
sw/inc/swdbdata.hxx | 4
sw/inc/swddetbl.hxx | 4
sw/inc/swevent.hxx | 2
sw/inc/swmodule.hxx | 40
sw/inc/swrect.hxx | 26
sw/inc/swscanner.hxx | 6
sw/inc/swserv.hxx | 4
sw/inc/swtable.hxx | 38
sw/inc/swunohelper.hxx | 14
sw/inc/tabcol.hxx | 10
sw/inc/tblafmt.hxx | 62 -
sw/inc/tblsel.hxx | 20
sw/inc/tgrditem.hxx | 46
sw/inc/tox.hxx | 64 -
sw/inc/toxwrap.hxx | 4
sw/inc/txtftn.hxx | 2
sw/inc/txtinet.hxx | 2
sw/inc/unobrushitemhelper.hxx | 2
sw/inc/unochart.hxx | 22
sw/inc/unocoll.hxx | 8
sw/inc/unocrsr.hxx | 24
sw/inc/unocrsrhelper.hxx | 6
sw/inc/unodraw.hxx | 2
sw/inc/unofieldcoll.hxx | 2
sw/inc/unosett.hxx | 10
sw/inc/unosrch.hxx | 22
sw/inc/unostyle.hxx | 12
sw/inc/unotbl.hxx | 16
sw/inc/unotxdoc.hxx | 8
sw/inc/viewopt.hxx | 304 ++---
sw/inc/viewsh.hxx | 90 -
sw/source/core/access/acccell.cxx | 32
sw/source/core/access/acccell.hxx | 12
sw/source/core/access/acccontext.cxx | 138 +-
sw/source/core/access/acccontext.hxx | 46
sw/source/core/access/accdoc.cxx | 18
sw/source/core/access/accdoc.hxx | 2
sw/source/core/access/accfield.cxx | 2
sw/source/core/access/accfootnote.cxx | 4
sw/source/core/access/accfootnote.hxx | 4
sw/source/core/access/accframe.cxx | 54
sw/source/core/access/accframe.hxx | 44
sw/source/core/access/accframebase.cxx | 42
sw/source/core/access/accframebase.hxx | 12
sw/source/core/access/accfrmobj.cxx | 4
sw/source/core/access/accfrmobj.hxx | 4
sw/source/core/access/accfrmobjmap.cxx | 2
sw/source/core/access/accfrmobjslist.cxx | 4
sw/source/core/access/acchyperlink.cxx | 4
sw/source/core/access/accmap.cxx | 86 -
sw/source/core/access/accnotextframe.cxx | 2
sw/source/core/access/accnotextframe.hxx | 2
sw/source/core/access/accnotexthyperlink.cxx | 8
sw/source/core/access/accpage.cxx | 12
sw/source/core/access/accpage.hxx | 6
sw/source/core/access/accpara.cxx | 132 +-
sw/source/core/access/accpara.hxx | 38
sw/source/core/access/accportions.cxx | 44
sw/source/core/access/accportions.hxx | 24
sw/source/core/access/accpreview.cxx | 2
sw/source/core/access/accselectionhelper.cxx | 24
sw/source/core/access/accselectionhelper.hxx | 2
sw/source/core/access/acctable.cxx | 98 -
sw/source/core/access/acctable.hxx | 10
sw/source/core/attr/calbck.cxx | 30
sw/source/core/attr/cellatr.cxx | 6
sw/source/core/attr/format.cxx | 46
sw/source/core/attr/hints.cxx | 6
sw/source/core/attr/swatrset.cxx | 2
sw/source/core/bastyp/calc.cxx | 20
sw/source/core/bastyp/init.cxx | 2
sw/source/core/bastyp/swcache.cxx | 12
sw/source/core/bastyp/swrect.cxx | 16
sw/source/core/bastyp/tabcol.cxx | 4
sw/source/core/crsr/crsrsh.cxx | 310 ++---
sw/source/core/crsr/crstrvl.cxx | 174 +--
sw/source/core/crsr/crstrvl1.cxx | 28
sw/source/core/crsr/findattr.cxx | 74 -
sw/source/core/crsr/findcoll.cxx | 8
sw/source/core/crsr/findfmt.cxx | 4
sw/source/core/crsr/findtxt.cxx | 20
sw/source/core/crsr/pam.cxx | 70 -
sw/source/core/crsr/swcrsr.cxx | 234 ++--
sw/source/core/crsr/trvlcol.cxx | 8
sw/source/core/crsr/trvlfnfl.cxx | 46
sw/source/core/crsr/trvlreg.cxx | 42
sw/source/core/crsr/trvlreg.hxx | 8
sw/source/core/crsr/trvltbl.cxx | 78 -
sw/source/core/crsr/trvltbl.hxx | 6
sw/source/core/crsr/unocrsr.cxx | 18
sw/source/core/doc/DocumentDeviceManager.cxx | 2
sw/source/core/doc/DocumentSettingManager.cxx | 2
sw/source/core/doc/acmplwrd.cxx | 2
sw/source/core/doc/doc.cxx | 26
sw/source/core/doc/docchart.cxx | 4
sw/source/core/doc/doccomp.cxx | 16
sw/source/core/doc/doccorr.cxx | 16
sw/source/core/doc/docdesc.cxx | 16
sw/source/core/doc/docdraw.cxx | 4
sw/source/core/doc/docedt.cxx | 56 -
sw/source/core/doc/docfld.cxx | 42
sw/source/core/doc/docfly.cxx | 4
sw/source/core/doc/docfmt.cxx | 24
sw/source/core/doc/docglbl.cxx | 12
sw/source/core/doc/doclay.cxx | 38
sw/source/core/doc/docnum.cxx | 26
sw/source/core/doc/docredln.cxx | 100 -
sw/source/core/doc/docruby.cxx | 4
sw/source/core/doc/docstat.cxx | 4
sw/source/core/doc/doctxm.cxx | 24
sw/source/core/doc/extinput.cxx | 6
sw/source/core/doc/fmtcol.cxx | 20
sw/source/core/doc/ftnidx.cxx | 2
sw/source/core/doc/gctable.cxx | 12
sw/source/core/doc/htmltbl.cxx | 54
sw/source/core/doc/lineinfo.cxx | 8
sw/source/core/doc/notxtfrm.cxx | 18
sw/source/core/doc/number.cxx | 76 -
sw/source/core/doc/poolfmt.cxx | 34
sw/source/core/doc/swserv.cxx | 14
sw/source/core/doc/tblafmt.cxx | 68 -
sw/source/core/doc/tblcpy.cxx | 46
sw/source/core/doc/tblrwcl.cxx | 26
sw/source/core/doc/visiturl.cxx | 4
sw/source/core/docnode/ndcopy.cxx | 30
sw/source/core/docnode/ndnotxt.cxx | 34
sw/source/core/docnode/ndsect.cxx | 20
sw/source/core/docnode/ndtbl.cxx | 210 +--
sw/source/core/docnode/ndtbl1.cxx | 102 -
sw/source/core/docnode/node.cxx | 112 +-
sw/source/core/docnode/node2lay.cxx | 10
sw/source/core/docnode/nodedump.cxx | 2
sw/source/core/docnode/nodes.cxx | 86 -
sw/source/core/docnode/retrievedinputstreamdata.cxx | 2
sw/source/core/docnode/section.cxx | 50
sw/source/core/docnode/swbaslnk.cxx | 4
sw/source/core/draw/dcontact.cxx | 18
sw/source/core/draw/dflyobj.cxx | 2
sw/source/core/draw/dpage.cxx | 10
sw/source/core/draw/dview.cxx | 20
sw/source/core/edit/acorrect.cxx | 12
sw/source/core/edit/autofmt.cxx | 56 -
sw/source/core/edit/edatmisc.cxx | 4
sw/source/core/edit/edattr.cxx | 22
sw/source/core/edit/eddel.cxx | 18
sw/source/core/edit/edfcol.cxx | 2
sw/source/core/edit/edfld.cxx | 22
sw/source/core/edit/edfldexp.cxx | 6
sw/source/core/edit/edfmt.cxx | 2
sw/source/core/edit/edglbldc.cxx | 40
sw/source/core/edit/edglss.cxx | 32
sw/source/core/edit/editsh.cxx | 52
sw/source/core/edit/edlingu.cxx | 46
sw/source/core/edit/ednumber.cxx | 48
sw/source/core/edit/edredln.cxx | 14
sw/source/core/edit/edsect.cxx | 14
sw/source/core/edit/edtab.cxx | 54
sw/source/core/edit/edtox.cxx | 30
sw/source/core/edit/edws.cxx | 30
sw/source/core/fields/authfld.cxx | 16
sw/source/core/fields/cellfml.cxx | 24
sw/source/core/fields/chpfld.cxx | 6
sw/source/core/fields/dbfld.cxx | 12
sw/source/core/fields/ddefld.cxx | 4
sw/source/core/fields/ddetbl.cxx | 10
sw/source/core/fields/docufld.cxx | 34
sw/source/core/fields/expfld.cxx | 18
sw/source/core/fields/fldbas.cxx | 18
sw/source/core/fields/flddat.cxx | 4
sw/source/core/fields/flddropdown.cxx | 2
sw/source/core/fields/fldlst.cxx | 4
sw/source/core/fields/macrofld.cxx | 8
sw/source/core/fields/reffld.cxx | 6
sw/source/core/fields/scrptfld.cxx | 2
sw/source/core/fields/usrfld.cxx | 8
sw/source/core/frmedt/fecopy.cxx | 98 -
sw/source/core/frmedt/fedesc.cxx | 4
sw/source/core/frmedt/fefly1.cxx | 88 -
sw/source/core/frmedt/feflyole.cxx | 6
sw/source/core/frmedt/feshview.cxx | 166 +--
sw/source/core/frmedt/fetab.cxx | 154 +-
sw/source/core/frmedt/fews.cxx | 62 -
sw/source/core/frmedt/tblsel.cxx | 66 -
sw/source/core/graphic/grfatr.cxx | 18
sw/source/core/graphic/ndgrf.cxx | 2
sw/source/core/inc/SwUndoFmt.hxx | 6
sw/source/core/inc/SwXMLBlockImport.hxx | 4
sw/source/core/inc/SwXMLTextBlocks.hxx | 27
sw/source/core/inc/UndoAttribute.hxx | 4
sw/source/core/inc/UndoDelete.hxx | 32
sw/source/core/inc/UndoDraw.hxx | 6
sw/source/core/inc/UndoInsert.hxx | 22
sw/source/core/inc/UndoNumbering.hxx | 14
sw/source/core/inc/UndoOverwrite.hxx | 8
sw/source/core/inc/UndoRedline.hxx | 14
sw/source/core/inc/UndoSplitMove.hxx | 14
sw/source/core/inc/UndoTable.hxx | 32
sw/source/core/inc/acorrect.hxx | 8
sw/source/core/inc/cntfrm.hxx | 26
sw/source/core/inc/dbg_lay.hxx | 4
sw/source/core/inc/drawfont.hxx | 66 -
sw/source/core/inc/dview.hxx | 2
sw/source/core/inc/flowfrm.hxx | 58 -
sw/source/core/inc/flyfrm.hxx | 104 -
sw/source/core/inc/flyfrms.hxx | 18
sw/source/core/inc/fntcache.hxx | 12
sw/source/core/inc/frame.hxx | 236 ++--
sw/source/core/inc/frmtool.hxx | 96 -
sw/source/core/inc/ftnboss.hxx | 12
sw/source/core/inc/ftnfrm.hxx | 22
sw/source/core/inc/hffrm.hxx | 6
sw/source/core/inc/layact.hxx | 114 +-
sw/source/core/inc/laycache.hxx | 4
sw/source/core/inc/layfrm.hxx | 24
sw/source/core/inc/layouter.hxx | 6
sw/source/core/inc/mvsave.hxx | 2
sw/source/core/inc/node2lay.hxx | 2
sw/source/core/inc/noteurl.hxx | 2
sw/source/core/inc/notxtfrm.hxx | 4
sw/source/core/inc/pagefrm.hxx | 108 -
sw/source/core/inc/pamtyp.hxx | 26
sw/source/core/inc/retrievedinputstreamdata.hxx | 8
sw/source/core/inc/rootfrm.hxx | 82 -
sw/source/core/inc/rowfrm.hxx | 6
sw/source/core/inc/sectfrm.hxx | 42
sw/source/core/inc/swblocks.hxx | 30
sw/source/core/inc/swcache.hxx | 16
sw/source/core/inc/swfont.hxx | 200 +--
sw/source/core/inc/tabfrm.hxx | 70 -
sw/source/core/inc/unofield.hxx | 2
sw/source/core/inc/unoflatpara.hxx | 6
sw/source/core/inc/unoport.hxx | 6
sw/source/core/layout/anchoreddrawobject.cxx | 2
sw/source/core/layout/atrfrm.cxx | 104 -
sw/source/core/layout/calcmove.cxx | 127 +-
sw/source/core/layout/colfrm.cxx | 40
sw/source/core/layout/dbg_lay.cxx | 10
sw/source/core/layout/dumpfilter.cxx | 4
sw/source/core/layout/findfrm.cxx | 38
sw/source/core/layout/flowfrm.cxx | 210 +--
sw/source/core/layout/fly.cxx | 148 +-
sw/source/core/layout/flycnt.cxx | 28
sw/source/core/layout/flyincnt.cxx | 16
sw/source/core/layout/flylay.cxx | 46
sw/source/core/layout/frmtool.cxx | 117 +-
sw/source/core/layout/ftnfrm.cxx | 156 +-
sw/source/core/layout/hffrm.cxx | 38
sw/source/core/layout/layact.cxx | 276 ++---
sw/source/core/layout/laycache.cxx | 30
sw/source/core/layout/layhelp.hxx | 4
sw/source/core/layout/layouter.cxx | 16
sw/source/core/layout/newfrm.cxx | 14
sw/source/core/layout/pagechg.cxx | 128 +-
sw/source/core/layout/pagedesc.cxx | 22
sw/source/core/layout/paintfrm.cxx | 150 +-
sw/source/core/layout/sectfrm.cxx | 206 +--
sw/source/core/layout/softpagebreak.cxx | 4
sw/source/core/layout/ssfrm.cxx | 50
sw/source/core/layout/tabfrm.cxx | 224 ++--
sw/source/core/layout/trvlfrm.cxx | 108 -
sw/source/core/layout/virtoutp.cxx | 24
sw/source/core/layout/virtoutp.hxx | 6
sw/source/core/layout/wsfrm.cxx | 122 +-
sw/source/core/objectpositioning/anchoredobjectposition.cxx | 2
sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx | 14
sw/source/core/ole/ndole.cxx | 40
sw/source/core/para/paratr.cxx | 2
sw/source/core/sw3io/swacorr.cxx | 2
sw/source/core/swg/SwXMLBlockImport.cxx | 2
sw/source/core/swg/SwXMLBlockListContext.cxx | 4
sw/source/core/swg/SwXMLTextBlocks.cxx | 68 -
sw/source/core/swg/SwXMLTextBlocks1.cxx | 24
sw/source/core/swg/swblocks.cxx | 94 -
sw/source/core/table/swnewtable.cxx | 14
sw/source/core/table/swtable.cxx | 112 +-
sw/source/core/text/itrcrsr.cxx | 10
sw/source/core/tox/tox.cxx | 30
sw/source/core/tox/toxhlp.cxx | 6
sw/source/core/txtnode/atrfld.cxx | 4
sw/source/core/txtnode/atrftn.cxx | 6
sw/source/core/txtnode/fmtatr2.cxx | 2
sw/source/core/txtnode/fntcache.cxx | 36
sw/source/core/txtnode/fntcap.cxx | 30
sw/source/core/txtnode/ndtxt.cxx | 52
sw/source/core/txtnode/swfntcch.cxx | 2
sw/source/core/txtnode/swfont.cxx | 62 -
sw/source/core/txtnode/thints.cxx | 8
sw/source/core/txtnode/txtatr2.cxx | 2
sw/source/core/txtnode/txtedt.cxx | 18
sw/source/core/uibase/app/appenv.cxx | 34
sw/source/core/uibase/app/apphdl.cxx | 18
sw/source/core/uibase/app/applab.cxx | 38
sw/source/core/uibase/app/appopt.cxx | 12
sw/source/core/uibase/app/docsh.cxx | 68 -
sw/source/core/uibase/app/docsh2.cxx | 52
sw/source/core/uibase/app/docshini.cxx | 22
sw/source/core/uibase/app/docst.cxx | 22
sw/source/core/uibase/app/docstyle.cxx | 68 -
sw/source/core/uibase/app/swmodul1.cxx | 76 -
sw/source/core/uibase/app/swmodule.cxx | 4
sw/source/core/uibase/cctrl/swlbox.cxx | 8
sw/source/core/uibase/chrdlg/ccoll.cxx | 4
sw/source/core/uibase/config/caption.cxx | 4
sw/source/core/uibase/config/cfgitems.cxx | 18
sw/source/core/uibase/config/modcfg.cxx | 52
sw/source/core/uibase/config/prtopt.cxx | 6
sw/source/core/uibase/config/uinums.cxx | 28
sw/source/core/uibase/config/usrpref.cxx | 74 -
sw/source/core/uibase/config/viewopt.cxx | 30
sw/source/core/uibase/dbui/dbmgr.cxx | 218 +--
sw/source/core/uibase/dbui/dbtree.cxx | 6
sw/source/core/uibase/dbui/mailmergehelper.cxx | 2
sw/source/core/uibase/dbui/mmconfigitem.cxx | 170 +--
sw/source/core/uibase/dialog/SwSpellDialogChildWindow.cxx | 4
sw/source/core/uibase/dialog/regionsw.cxx | 15
sw/source/core/uibase/dochdl/gloshdl.cxx | 100 -
sw/source/core/uibase/dochdl/swdtflvr.cxx | 226 ++--
sw/source/core/uibase/docvw/PageBreakWin.cxx | 6
sw/source/core/uibase/docvw/PostItMgr.cxx | 4
sw/source/core/uibase/docvw/SidebarWin.cxx | 8
sw/source/core/uibase/docvw/SidebarWinAcc.cxx | 2
sw/source/core/uibase/docvw/edtdd.cxx | 42
sw/source/core/uibase/docvw/edtwin.cxx | 300 ++---
sw/source/core/uibase/docvw/edtwin2.cxx | 14
sw/source/core/uibase/docvw/edtwin3.cxx | 16
sw/source/core/uibase/docvw/romenu.cxx | 24
sw/source/core/uibase/docvw/romenu.hxx | 2
sw/source/core/uibase/docvw/srcedtw.cxx | 12
sw/source/core/uibase/envelp/envimg.cxx | 4
sw/source/core/uibase/envelp/labelcfg.cxx | 2
sw/source/core/uibase/envelp/labimg.cxx | 8
sw/source/core/uibase/envelp/labimp.hxx | 2
sw/source/core/uibase/fldui/fldmgr.cxx | 58 -
sw/source/core/uibase/fldui/fldwrap.cxx | 18
sw/source/core/uibase/fldui/xfldui.cxx | 8
sw/source/core/uibase/frmdlg/colex.cxx | 2
sw/source/core/uibase/frmdlg/frmmgr.cxx | 34
sw/source/core/uibase/inc/DropDownFieldDialog.hxx | 2
sw/source/core/uibase/inc/SwXFilterOptions.hxx | 2
sw/source/core/uibase/inc/annotsh.hxx | 2
sw/source/core/uibase/inc/bmpwin.hxx | 10
sw/source/core/uibase/inc/break.hxx | 2
sw/source/core/uibase/inc/caption.hxx | 12
sw/source/core/uibase/inc/cfgitems.hxx | 60 -
sw/source/core/uibase/inc/chldwrap.hxx | 2
sw/source/core/uibase/inc/colmgr.hxx | 8
sw/source/core/uibase/inc/column.hxx | 14
sw/source/core/uibase/inc/conarc.hxx | 4
sw/source/core/uibase/inc/concustomshape.hxx | 4
sw/source/core/uibase/inc/conform.hxx | 2
sw/source/core/uibase/inc/conpoly.hxx | 6
sw/source/core/uibase/inc/conrect.hxx | 4
sw/source/core/uibase/inc/content.hxx | 12
sw/source/core/uibase/inc/conttree.hxx | 10
sw/source/core/uibase/inc/dbinsdlg.hxx | 10
sw/source/core/uibase/inc/dbtree.hxx | 4
sw/source/core/uibase/inc/drawbase.hxx | 8
sw/source/core/uibase/inc/drpcps.hxx | 10
sw/source/core/uibase/inc/drwbassh.hxx | 2
sw/source/core/uibase/inc/drwtxtsh.hxx | 2
sw/source/core/uibase/inc/dselect.hxx | 2
sw/source/core/uibase/inc/edtwin.hxx | 44
sw/source/core/uibase/inc/envimg.hxx | 4
sw/source/core/uibase/inc/envlop.hxx | 2
sw/source/core/uibase/inc/fldedt.hxx | 2
sw/source/core/uibase/inc/fldmgr.hxx | 32
sw/source/core/uibase/inc/fldtdlg.hxx | 8
sw/source/core/uibase/inc/fldwrap.hxx | 4
sw/source/core/uibase/inc/formedt.hxx | 2
sw/source/core/uibase/inc/frmmgr.hxx | 14
sw/source/core/uibase/inc/frmpage.hxx | 36
sw/source/core/uibase/inc/glosbib.hxx | 2
sw/source/core/uibase/inc/glosdoc.hxx | 20
sw/source/core/uibase/inc/gloshdl.hxx | 38
sw/source/core/uibase/inc/gloslst.hxx | 6
sw/source/core/uibase/inc/glossary.hxx | 18
sw/source/core/uibase/inc/glshell.hxx | 2
sw/source/core/uibase/inc/hyp.hxx | 8
sw/source/core/uibase/inc/inpdlg.hxx | 2
sw/source/core/uibase/inc/inputwin.hxx | 14
sw/source/core/uibase/inc/insfnote.hxx | 10
sw/source/core/uibase/inc/javaedit.hxx | 8
sw/source/core/uibase/inc/label.hxx | 4
sw/source/core/uibase/inc/labelcfg.hxx | 2
sw/source/core/uibase/inc/labimg.hxx | 12
sw/source/core/uibase/inc/mailmergewizard.hxx | 2
sw/source/core/uibase/inc/mergetbl.hxx | 4
sw/source/core/uibase/inc/mmconfigitem.hxx | 42
sw/source/core/uibase/inc/navicfg.hxx | 12
sw/source/core/uibase/inc/navicont.hxx | 2
sw/source/core/uibase/inc/navipi.hxx | 20
sw/source/core/uibase/inc/num.hxx | 8
sw/source/core/uibase/inc/numberingtypelistbox.hxx | 2
sw/source/core/uibase/inc/numfmtlb.hxx | 16
sw/source/core/uibase/inc/numpara.hxx | 4
sw/source/core/uibase/inc/numprevw.hxx | 8
sw/source/core/uibase/inc/optpage.hxx | 38
sw/source/core/uibase/inc/outline.hxx | 2
sw/source/core/uibase/inc/pggrid.hxx | 8
sw/source/core/uibase/inc/pview.hxx | 20
sw/source/core/uibase/inc/redlndlg.hxx | 20
sw/source/core/uibase/inc/regionsw.hxx | 10
sw/source/core/uibase/inc/scroll.hxx | 20
sw/source/core/uibase/inc/srcedtw.hxx | 12
sw/source/core/uibase/inc/srcview.hxx | 14
sw/source/core/uibase/inc/swcont.hxx | 8
sw/source/core/uibase/inc/swdtflvr.hxx | 46
sw/source/core/uibase/inc/swlbox.hxx | 4
sw/source/core/uibase/inc/swmodalredlineacceptdlg.hxx | 2
sw/source/core/uibase/inc/swtablerep.hxx | 20
sw/source/core/uibase/inc/swuiccoll.hxx | 4
sw/source/core/uibase/inc/swuicnttab.hxx | 22
sw/source/core/uibase/inc/swuiidxmrk.hxx | 38
sw/source/core/uibase/inc/swuipardlg.hxx | 4
sw/source/core/uibase/inc/tablemgr.hxx | 10
sw/source/core/uibase/inc/tautofmt.hxx | 8
sw/source/core/uibase/inc/tmpdlg.hxx | 2
sw/source/core/uibase/inc/toxmgr.hxx | 62 -
sw/source/core/uibase/inc/uinums.hxx | 4
sw/source/core/uibase/inc/uitool.hxx | 8
sw/source/core/uibase/inc/uivwimp.hxx | 8
sw/source/core/uibase/inc/unodispatch.hxx | 4
sw/source/core/uibase/inc/unomailmerge.hxx | 14
sw/source/core/uibase/inc/unomod.hxx | 12
sw/source/core/uibase/inc/unotools.hxx | 10
sw/source/core/uibase/inc/unotxvw.hxx | 2
sw/source/core/uibase/inc/usrpref.hxx | 62 -
sw/source/core/uibase/inc/view.hxx | 118 +-
sw/source/core/uibase/inc/workctrl.hxx | 6
sw/source/core/uibase/inc/wrap.hxx | 14
sw/source/core/uibase/inc/wrtsh.hxx | 278 ++---
sw/source/core/uibase/index/toxmgr.cxx | 14
sw/source/core/uibase/lingu/hhcwrp.cxx | 10
sw/source/core/uibase/lingu/hyp.cxx | 6
sw/source/core/uibase/lingu/olmenu.cxx | 18
sw/source/core/uibase/misc/glosdoc.cxx | 58 -
sw/source/core/uibase/misc/glshell.cxx | 6
sw/source/core/uibase/misc/numberingtypelistbox.cxx | 2
sw/source/core/uibase/misc/redlndlg.cxx | 56 -
sw/source/core/uibase/ribbar/conarc.cxx | 14
sw/source/core/uibase/ribbar/concustomshape.cxx | 6
sw/source/core/uibase/ribbar/conform.cxx | 6
sw/source/core/uibase/ribbar/conpoly.cxx | 16
sw/source/core/uibase/ribbar/conrect.cxx | 10
sw/source/core/uibase/ribbar/drawbase.cxx | 64 -
sw/source/core/uibase/ribbar/dselect.cxx | 8
sw/source/core/uibase/ribbar/inputwin.cxx | 24
sw/source/core/uibase/ribbar/workctrl.cxx | 8
sw/source/core/uibase/shells/annotsh.cxx | 14
sw/source/core/uibase/shells/basesh.cxx | 128 +-
sw/source/core/uibase/shells/beziersh.cxx | 4
sw/source/core/uibase/shells/drawdlg.cxx | 10
sw/source/core/uibase/shells/drawsh.cxx | 6
sw/source/core/uibase/shells/drwbassh.cxx | 32
sw/source/core/uibase/shells/drwtxtex.cxx | 12
sw/source/core/uibase/shells/drwtxtsh.cxx | 12
sw/source/core/uibase/shells/frmsh.cxx | 18
sw/source/core/uibase/shells/grfsh.cxx | 6
sw/source/core/uibase/shells/langhelper.cxx | 6
sw/source/core/uibase/shells/listsh.cxx | 10
sw/source/core/uibase/shells/mediash.cxx | 2
sw/source/core/uibase/shells/navsh.cxx | 2
sw/source/core/uibase/shells/tabsh.cxx | 68 -
sw/source/core/uibase/shells/textfld.cxx | 52
sw/source/core/uibase/shells/textglos.cxx | 8
sw/source/core/uibase/shells/textidx.cxx | 6
sw/source/core/uibase/shells/textsh.cxx | 32
sw/source/core/uibase/shells/textsh1.cxx | 62 -
sw/source/core/uibase/shells/textsh2.cxx | 2
sw/source/core/uibase/shells/txtattr.cxx | 4
sw/source/core/uibase/shells/txtcrsr.cxx | 62 -
sw/source/core/uibase/shells/txtnum.cxx | 14
sw/source/core/uibase/sidebar/PageMarginControl.cxx | 2
sw/source/core/uibase/sidebar/PageMarginControl.hxx | 2
sw/source/core/uibase/sidebar/PageOrientationControl.cxx | 4
sw/source/core/uibase/sidebar/PageOrientationControl.hxx | 4
sw/source/core/uibase/sidebar/PagePropertyPanel.cxx | 2
sw/source/core/uibase/sidebar/PagePropertyPanel.hxx | 2
sw/source/core/uibase/sidebar/PageSizeControl.cxx | 2
sw/source/core/uibase/sidebar/PageSizeControl.hxx | 2
sw/source/core/uibase/table/chartins.cxx | 4
sw/source/core/uibase/table/swtablerep.cxx | 18
sw/source/core/uibase/table/tablemgr.cxx | 10
sw/source/core/uibase/table/tablepg.hxx | 20
sw/source/core/uibase/uiview/formatclipboard.cxx | 8
sw/source/core/uibase/uiview/pview.cxx | 90 -
sw/source/core/uibase/uiview/scroll.cxx | 16
sw/source/core/uibase/uiview/srcview.cxx | 30
sw/source/core/uibase/uiview/swcli.cxx | 6
sw/source/core/uibase/uiview/uivwimp.cxx | 10
sw/source/core/uibase/uiview/view.cxx | 195 +--
sw/source/core/uibase/uiview/view0.cxx | 38
sw/source/core/uibase/uiview/view1.cxx | 6
sw/source/core/uibase/uiview/view2.cxx | 134 +-
sw/source/core/uibase/uiview/viewcoll.cxx | 2
sw/source/core/uibase/uiview/viewdlg.cxx | 2
sw/source/core/uibase/uiview/viewdlg2.cxx | 8
sw/source/core/uibase/uiview/viewdraw.cxx | 46
sw/source/core/uibase/uiview/viewfunc.hxx | 6
sw/source/core/uibase/uiview/viewling.cxx | 84 -
sw/source/core/uibase/uiview/viewmdi.cxx | 50
sw/source/core/uibase/uiview/viewport.cxx | 150 +-
sw/source/core/uibase/uiview/viewprt.cxx | 22
sw/source/core/uibase/uiview/viewsrch.cxx | 50
sw/source/core/uibase/uiview/viewstat.cxx | 6
sw/source/core/uibase/uiview/viewtab.cxx | 68 -
sw/source/core/uibase/uno/SwXDocumentSettings.cxx | 88 -
sw/source/core/uibase/uno/SwXFilterOptions.cxx | 6
sw/source/core/uibase/uno/unoatxt.cxx | 26
sw/source/core/uibase/uno/unodispatch.cxx | 14
sw/source/core/uibase/uno/unomailmerge.cxx | 38
sw/source/core/uibase/uno/unomod.cxx | 62 -
sw/source/core/uibase/uno/unotxdoc.cxx | 141 +-
sw/source/core/uibase/uno/unotxvw.cxx | 86 -
sw/source/core/uibase/utlui/content.cxx | 108 -
sw/source/core/uibase/utlui/glbltree.cxx | 40
sw/source/core/uibase/utlui/gloslst.cxx | 12
sw/source/core/uibase/utlui/navicfg.cxx | 4
sw/source/core/uibase/utlui/navipi.cxx | 56 -
sw/source/core/uibase/utlui/numfmtlb.cxx | 10
sw/source/core/uibase/utlui/uitool.cxx | 30
sw/source/core/uibase/utlui/unotools.cxx | 12
sw/source/core/uibase/web/wview.cxx | 2
sw/source/core/uibase/wrtsh/delete.cxx | 20
sw/source/core/uibase/wrtsh/move.cxx | 172 +--
sw/source/core/uibase/wrtsh/select.cxx | 208 +--
sw/source/core/uibase/wrtsh/wrtsh1.cxx | 80 -
sw/source/core/uibase/wrtsh/wrtsh2.cxx | 30
sw/source/core/uibase/wrtsh/wrtsh3.cxx | 22
sw/source/core/uibase/wrtsh/wrtsh4.cxx | 60 -
sw/source/core/uibase/wrtsh/wrtundo.cxx | 6
sw/source/core/undo/SwUndoField.cxx | 2
sw/source/core/undo/SwUndoFmt.cxx | 2
sw/source/core/undo/docundo.cxx | 2
sw/source/core/undo/rolbck.cxx | 4
sw/source/core/undo/unattr.cxx | 6
sw/source/core/undo/undel.cxx | 68 -
sw/source/core/undo/undobj.cxx | 14
sw/source/core/undo/undobj1.cxx | 2
sw/source/core/undo/undraw.cxx | 18
sw/source/core/undo/unins.cxx | 28
sw/source/core/undo/unmove.cxx | 8
sw/source/core/undo/unnum.cxx | 10
sw/source/core/undo/unovwr.cxx | 22
sw/source/core/undo/unredln.cxx | 24
sw/source/core/undo/unsect.cxx | 2
sw/source/core/undo/unspnd.cxx | 4
sw/source/core/undo/untbl.cxx | 68 -
sw/source/core/unocore/swunohelper.cxx | 34
sw/source/core/unocore/unobkm.cxx | 2
sw/source/core/unocore/unobrushitemhelper.cxx | 6
sw/source/core/unocore/unochart.cxx | 80 -
sw/source/core/unocore/unocoll.cxx | 12
sw/source/core/unocore/unodraw.cxx | 26
sw/source/core/unocore/unofield.cxx | 44
sw/source/core/unocore/unoflatpara.cxx | 4
sw/source/core/unocore/unoframe.cxx | 2
sw/source/core/unocore/unoidx.cxx | 36
sw/source/core/unocore/unoobj.cxx | 148 +-
sw/source/core/unocore/unoobj2.cxx | 12
sw/source/core/unocore/unoparagraph.cxx | 12
sw/source/core/unocore/unoport.cxx | 14
sw/source/core/unocore/unoportenum.cxx | 28
sw/source/core/unocore/unoredline.cxx | 4
sw/source/core/unocore/unosect.cxx | 29
sw/source/core/unocore/unosett.cxx | 32
sw/source/core/unocore/unosrch.cxx | 36
sw/source/core/unocore/unostyle.cxx | 86 -
sw/source/core/unocore/unotbl.cxx | 130 +-
sw/source/core/unocore/unotext.cxx | 14
sw/source/core/view/printdata.cxx | 6
sw/source/core/view/vdraw.cxx | 4
sw/source/core/view/viewsh.cxx | 180 +--
sw/source/core/view/vnew.cxx | 20
sw/source/core/view/vprint.cxx | 48
sw/source/filter/basflt/fltini.cxx | 38
sw/source/filter/basflt/iodetect.cxx | 16
sw/source/filter/basflt/shellio.cxx | 92 -
sw/source/filter/html/SwAppletImpl.cxx | 16
sw/source/filter/html/css1atr.cxx | 112 +-
sw/source/filter/html/htmlatr.cxx | 292 ++---
sw/source/filter/html/htmlbas.cxx | 10
sw/source/filter/html/htmlcss1.cxx | 212 +--
sw/source/filter/html/htmlctxt.cxx | 70 -
sw/source/filter/html/htmldrawreader.cxx | 20
sw/source/filter/html/htmldrawwriter.cxx | 4
sw/source/filter/html/htmlfld.cxx | 36
sw/source/filter/html/htmlfldw.cxx | 32
sw/source/filter/html/htmlflywriter.cxx | 128 +-
sw/source/filter/html/htmlform.cxx | 154 +-
sw/source/filter/html/htmlforw.cxx | 58 -
sw/source/filter/html/htmlftn.cxx | 36
sw/source/filter/html/htmlgrin.cxx | 106 -
sw/source/filter/html/htmlnum.cxx | 2
sw/source/filter/html/htmlnum.hxx | 16
sw/source/filter/html/htmlnumreader.cxx | 52
sw/source/filter/html/htmlnumwriter.cxx | 12
sw/source/filter/html/htmlplug.cxx | 50
sw/source/filter/html/htmlsect.cxx | 86 -
sw/source/filter/html/htmltab.cxx | 552 +++++-----
sw/source/filter/html/htmltabw.cxx | 150 +-
sw/source/filter/html/parcss1.cxx | 118 +-
sw/source/filter/html/parcss1.hxx | 18
sw/source/filter/html/svxcss1.cxx | 240 ++--
sw/source/filter/html/svxcss1.hxx | 40
sw/source/filter/html/swcss1.hxx | 80 -
sw/source/filter/html/swhtml.cxx | 250 ++--
sw/source/filter/html/swhtml.hxx | 152 +-
sw/source/filter/html/wrthtml.cxx | 108 -
sw/source/filter/html/wrthtml.hxx | 108 -
sw/source/filter/inc/fltini.hxx | 2
sw/source/filter/inc/fltshell.hxx | 62 -
sw/source/filter/inc/msfilter.hxx | 4
sw/source/filter/inc/rtf.hxx | 8
sw/source/filter/inc/wrt_fn.hxx | 2
sw/source/filter/inc/wrtswtbl.hxx | 4
sw/source/filter/writer/writer.cxx | 12
sw/source/filter/writer/wrt_fn.cxx | 4
sw/source/filter/writer/wrtswtbl.cxx | 16
sw/source/filter/ww1/fltshell.cxx | 98 -
sw/source/filter/ww1/w1class.cxx | 74 -
sw/source/filter/ww1/w1class.hxx | 166 +--
sw/source/filter/ww1/w1filter.cxx | 26
sw/source/filter/ww1/w1par.cxx | 4
sw/source/filter/ww1/w1par.hxx | 2
sw/source/filter/ww1/w1sprm.cxx | 4
sw/source/filter/ww1/w1struct.hxx | 112 +-
sw/source/filter/ww8/attributeoutputbase.hxx | 2
sw/source/filter/ww8/docxattributeoutput.cxx | 8
sw/source/filter/ww8/rtfattributeoutput.cxx | 6
sw/source/filter/ww8/writerwordglue.cxx | 4
sw/source/filter/ww8/wrtw8esh.cxx | 6
sw/source/filter/ww8/wrtw8nds.cxx | 4
sw/source/filter/ww8/wrtww8.cxx | 6
sw/source/filter/ww8/ww8atr.cxx | 4
sw/source/filter/ww8/ww8graf.cxx | 4
sw/source/filter/ww8/ww8par.cxx | 12
sw/source/filter/ww8/ww8par.hxx | 22
sw/source/filter/ww8/ww8par2.cxx | 4
sw/source/filter/ww8/ww8par3.cxx | 34
sw/source/filter/ww8/ww8par5.cxx | 2
sw/source/filter/ww8/ww8par6.cxx | 10
sw/source/filter/xml/XMLRedlineImportHelper.cxx | 24
sw/source/filter/xml/XMLRedlineImportHelper.hxx | 16
sw/source/filter/xml/swxml.cxx | 14
sw/source/filter/xml/xmlexp.cxx | 16
sw/source/filter/xml/xmlexp.hxx | 14
sw/source/filter/xml/xmlfmt.cxx | 30
sw/source/filter/xml/xmlimp.cxx | 28
sw/source/filter/xml/xmlimp.hxx | 8
sw/source/filter/xml/xmltble.cxx | 14
sw/source/filter/xml/xmltbli.cxx | 130 +-
sw/source/filter/xml/xmltbli.hxx | 10
sw/source/filter/xml/xmltexte.cxx | 12
sw/source/filter/xml/xmltexti.cxx | 14
sw/source/filter/xml/xmltexti.hxx | 2
sw/source/ui/chrdlg/break.cxx | 18
sw/source/ui/chrdlg/drpcps.cxx | 16
sw/source/ui/chrdlg/numpara.cxx | 16
sw/source/ui/chrdlg/pardlg.cxx | 8
sw/source/ui/chrdlg/swuiccoll.cxx | 12
sw/source/ui/config/mailconfigpage.cxx | 10
sw/source/ui/config/optcomp.cxx | 28
sw/source/ui/config/optload.cxx | 38
sw/source/ui/config/optpage.cxx | 104 -
sw/source/ui/dbui/addresslistdialog.cxx | 6
sw/source/ui/dbui/customizeaddresslistdialog.cxx | 4
sw/source/ui/dbui/dbinsdlg.cxx | 54
sw/source/ui/dbui/mailmergewizard.cxx | 8
sw/source/ui/dbui/mmaddressblockpage.cxx | 10
sw/source/ui/dbui/mmaddressblockpage.hxx | 6
sw/source/ui/dbui/mmgreetingspage.cxx | 34
sw/source/ui/dbui/mmgreetingspage.hxx | 2
sw/source/ui/dbui/mmlayoutpage.cxx | 32
sw/source/ui/dbui/mmoutputpage.cxx | 38
sw/source/ui/dialog/docstdlg.cxx | 2
sw/source/ui/dialog/swdlgfact.cxx | 44
sw/source/ui/dialog/swdlgfact.hxx | 50
sw/source/ui/dialog/uiregionsw.cxx | 80 -
sw/source/ui/envelp/envfmt.cxx | 2
sw/source/ui/envelp/envlop1.cxx | 4
sw/source/ui/envelp/envprt.cxx | 2
sw/source/ui/envelp/label1.cxx | 10
sw/source/ui/envelp/labelexp.cxx | 2
sw/source/ui/envelp/labfmt.cxx | 2
sw/source/ui/envelp/mailmrge.cxx | 8
sw/source/ui/envelp/swuilabimp.hxx | 2
sw/source/ui/fldui/DropDownFieldDialog.cxx | 4
sw/source/ui/fldui/changedb.cxx | 4
sw/source/ui/fldui/flddb.cxx | 20
sw/source/ui/fldui/flddinf.cxx | 16
sw/source/ui/fldui/flddok.cxx | 26
sw/source/ui/fldui/fldedt.cxx | 12
sw/source/ui/fldui/fldfunc.cxx | 36
sw/source/ui/fldui/fldpage.cxx | 18
sw/source/ui/fldui/fldpage.hxx | 20
sw/source/ui/fldui/fldref.cxx | 20
sw/source/ui/fldui/fldtdlg.cxx | 12
sw/source/ui/fldui/fldvar.cxx | 68 -
sw/source/ui/fldui/fldvar.hxx | 2
sw/source/ui/fldui/inpdlg.cxx | 4
sw/source/ui/fldui/javaedit.cxx | 16
sw/source/ui/fmtui/tmpdlg.cxx | 14
sw/source/ui/frmdlg/column.cxx | 40
sw/source/ui/frmdlg/cption.cxx | 4
sw/source/ui/frmdlg/frmdlg.cxx | 4
sw/source/ui/frmdlg/frmpage.cxx | 125 +-
sw/source/ui/frmdlg/wrap.cxx | 28
sw/source/ui/index/cntex.cxx | 10
sw/source/ui/index/cnttab.cxx | 72 -
sw/source/ui/index/swuiidxmrk.cxx | 144 +-
sw/source/ui/misc/bookmark.cxx | 2
sw/source/ui/misc/docfnote.cxx | 6
sw/source/ui/misc/glosbib.cxx | 14
sw/source/ui/misc/glossary.cxx | 16
sw/source/ui/misc/insfnote.cxx | 34
sw/source/ui/misc/num.cxx | 18
sw/source/ui/misc/outline.cxx | 2
sw/source/ui/misc/pgfnote.cxx | 2
sw/source/ui/misc/pggrid.cxx | 30
sw/source/ui/misc/srtdlg.cxx | 22
sw/source/ui/misc/swmodalredlineacceptdlg.cxx | 8
sw/source/ui/misc/titlepage.cxx | 6
sw/source/ui/table/colwd.cxx | 7
sw/source/ui/table/convert.cxx | 6
sw/source/ui/table/instable.cxx | 4
sw/source/ui/table/mergetbl.cxx | 2
sw/source/ui/table/tabledlg.cxx | 102 -
sw/source/ui/table/tautofmt.cxx | 46
sw/source/ui/uno/swdetect.cxx | 14
sw/source/ui/vba/vbaaddin.cxx | 4
sw/source/ui/vba/vbaaddin.hxx | 6
sw/source/ui/vba/vbaaddins.cxx | 2
sw/source/ui/vba/vbaautotextentry.cxx | 2
sw/source/ui/vba/vbabookmarks.cxx | 2
sw/source/ui/vba/vbadocument.cxx | 4
sw/source/ui/vba/vbadocumentproperties.cxx | 2
sw/source/ui/vba/vbafind.cxx | 28
sw/source/ui/vba/vbafind.hxx | 2
sw/source/ui/vba/vbafont.cxx | 12
sw/source/ui/vba/vbaheaderfooter.cxx | 2
sw/source/ui/vba/vbaheaderfooter.hxx | 4
sw/source/ui/vba/vbaheaderfooterhelper.cxx | 52
sw/source/ui/vba/vbaheaderfooterhelper.hxx | 20
sw/source/ui/vba/vbaheadersfooters.cxx | 6
sw/source/ui/vba/vbaheadersfooters.hxx | 4
sw/source/ui/vba/vbalistformat.cxx | 8
sw/source/ui/vba/vbapagesetup.cxx | 10
sw/source/ui/vba/vbaparagraph.cxx | 2
sw/source/ui/vba/vbaparagraphformat.cxx | 24
sw/source/ui/vba/vbarange.cxx | 8
sw/source/ui/vba/vbarange.hxx | 8
sw/source/ui/vba/vbarangehelper.cxx | 6
sw/source/ui/vba/vbarangehelper.hxx | 2
sw/source/ui/vba/vbarow.cxx | 4
sw/source/ui/vba/vbarows.cxx | 6
sw/source/ui/vba/vbasection.cxx | 4
sw/source/ui/vba/vbaselection.cxx | 10
sw/source/ui/vba/vbastyle.cxx | 2
sw/source/ui/vba/vbatablehelper.cxx | 4
sw/source/ui/vba/vbatableofcontents.cxx | 4
sw/source/ui/vba/vbatablesofcontents.cxx | 6
sw/source/ui/vba/vbaview.cxx | 10
sw/source/ui/vba/vbawrapformat.cxx | 2
ucb/source/cacher/cachedcontentresultset.cxx | 168 +--
ucb/source/cacher/cachedcontentresultset.hxx | 28
ucb/source/cacher/cachedcontentresultsetstub.cxx | 38
ucb/source/cacher/cachedcontentresultsetstub.hxx | 10
ucb/source/cacher/contentresultsetwrapper.cxx | 16
ucb/source/cacher/contentresultsetwrapper.hxx | 6
ucb/source/cacher/dynamicresultsetwrapper.cxx | 20
ucb/source/cacher/dynamicresultsetwrapper.hxx | 8
ucb/source/core/FileAccess.cxx | 20
ucb/source/core/provprox.cxx | 8
ucb/source/core/provprox.hxx | 4
ucb/source/core/ucb.cxx | 12
ucb/source/core/ucb.hxx | 2
ucb/source/core/ucbcmds.cxx | 34
ucb/source/core/ucbprops.cxx | 6
ucb/source/core/ucbprops.hxx | 2
ucb/source/core/ucbstore.cxx | 12
ucb/source/sorter/sortdynres.cxx | 28
ucb/source/sorter/sortdynres.hxx | 6
ucb/source/sorter/sortresult.cxx | 42
ucb/source/sorter/sortresult.hxx | 4
ucb/source/ucp/cmis/cmis_content.cxx | 24
ucb/source/ucp/cmis/cmis_content.hxx | 6
ucb/source/ucp/ext/ucpext_content.cxx | 2
ucb/source/ucp/file/bc.cxx | 20
ucb/source/ucp/file/bc.hxx | 4
ucb/source/ucp/file/filglob.cxx | 8
ucb/source/ucp/file/filglob.hxx | 6
ucb/source/ucp/file/filid.cxx | 2
ucb/source/ucp/file/filid.hxx | 2
ucb/source/ucp/file/filinl.hxx | 2
ucb/source/ucp/file/filinpstr.cxx | 2
ucb/source/ucp/file/filinpstr.hxx | 4
ucb/source/ucp/file/filrec.cxx | 16
ucb/source/ucp/file/filrec.hxx | 10
ucb/source/ucp/file/filrow.cxx | 14
ucb/source/ucp/file/filrow.hxx | 2
ucb/source/ucp/file/filrset.cxx | 12
ucb/source/ucp/file/filrset.hxx | 10
ucb/source/ucp/file/filstr.cxx | 2
ucb/source/ucp/file/filstr.hxx | 4
ucb/source/ucp/file/prov.cxx | 8
ucb/source/ucp/file/shell.cxx | 126 +-
ucb/source/ucp/file/shell.hxx | 52
ucb/source/ucp/ftp/ftpcontent.cxx | 8
ucb/source/ucp/ftp/ftpdirp.cxx | 154 +-
ucb/source/ucp/ftp/ftpdirp.hxx | 20
ucb/source/ucp/ftp/ftpresultsetI.cxx | 12
ucb/source/ucp/ftp/ftpresultsetbase.cxx | 2
ucb/source/ucp/ftp/ftpresultsetbase.hxx | 4
ucb/source/ucp/ftp/ftpurl.cxx | 3
ucb/source/ucp/gio/gio_content.cxx | 32
ucb/source/ucp/gio/gio_content.hxx | 10
ucb/source/ucp/hierarchy/hierarchycontent.cxx | 58 -
ucb/source/ucp/hierarchy/hierarchycontent.hxx | 22
ucb/source/ucp/hierarchy/hierarchydata.cxx | 112 +-
ucb/source/ucp/hierarchy/hierarchydata.hxx | 16
ucb/source/ucp/hierarchy/hierarchydatasupplier.cxx | 16
ucb/source/ucp/hierarchy/hierarchydatasupplier.hxx | 2
ucb/source/ucp/hierarchy/hierarchyuri.hxx | 6
ucb/source/ucp/package/pkgcontent.cxx | 198 +--
ucb/source/ucp/package/pkgcontent.hxx | 38
ucb/source/ucp/package/pkgdatasupplier.cxx | 16
ucb/source/ucp/package/pkgprovider.cxx | 6
ucb/source/ucp/package/pkgprovider.hxx | 2
ucb/source/ucp/package/pkguri.hxx | 6
ucb/source/ucp/tdoc/tdoc_content.cxx | 36
ucb/source/ucp/tdoc/tdoc_content.hxx | 4
ucb/source/ucp/tdoc/tdoc_docmgr.cxx | 2
ucb/source/ucp/tdoc/tdoc_uri.hxx | 14
ucb/source/ucp/webdav-neon/ContentProperties.cxx | 28
ucb/source/ucp/webdav-neon/ContentProperties.hxx | 2
ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx | 26
ucb/source/ucp/webdav-neon/DAVResourceAccess.hxx | 8
ucb/source/ucp/webdav-neon/DAVSession.hxx | 4
ucb/source/ucp/webdav-neon/NeonSession.cxx | 20
ucb/source/ucp/webdav-neon/NeonSession.hxx | 8
ucb/source/ucp/webdav-neon/UCBDeadPropertyValue.cxx | 6
ucb/source/ucp/webdav-neon/webdavcontent.cxx | 84 -
ucb/source/ucp/webdav-neon/webdavcontent.hxx | 14
ucb/source/ucp/webdav-neon/webdavcontentcaps.cxx | 64 -
ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx | 16
ucb/source/ucp/webdav-neon/webdavdatasupplier.hxx | 2
986 files changed, 15710 insertions(+), 15723 deletions(-)
New commits:
commit 4d8e3aa060ca3612c337b52db0df4548cba68873
Author: Noel Grandin <noel at peralex.com>
Date: Wed Apr 30 08:36:18 2014 +0200
ucb: sal_Bool->bool
Change-Id: If79913653f22387ab6d5a376d9cf26751525168a
diff --git a/ucb/source/cacher/cachedcontentresultset.cxx b/ucb/source/cacher/cachedcontentresultset.cxx
index bed708c..5d43109 100644
--- a/ucb/source/cacher/cachedcontentresultset.cxx
+++ b/ucb/source/cacher/cachedcontentresultset.cxx
@@ -71,7 +71,7 @@ template<typename T> T CachedContentResultSet::rowOriginGet(
aGuard.reacquire();
if( !m_aCache.hasRow( nRow ) )
{
- m_bLastReadWasFromCache = sal_False;
+ m_bLastReadWasFromCache = false;
aGuard.clear();
applyPositionToOrigin( nRow );
impl_init_xRowOrigin();
@@ -80,7 +80,7 @@ template<typename T> T CachedContentResultSet::rowOriginGet(
}
const Any& rValue = m_aCache.getAny( nRow, columnIndex );
T aRet = T();
- m_bLastReadWasFromCache = sal_True;
+ m_bLastReadWasFromCache = true;
m_bLastCachedReadWasNull = !( rValue >>= aRet );
/* Last chance. Try type converter service... */
if ( m_bLastCachedReadWasNull && rValue.hasValue() )
@@ -144,11 +144,11 @@ void SAL_CALL CachedContentResultSet::CCRS_Cache
m_pResult = new FetchResult( rResult );
}
-sal_Bool SAL_CALL CachedContentResultSet::CCRS_Cache
+bool SAL_CALL CachedContentResultSet::CCRS_Cache
::hasRow( sal_Int32 row )
{
if( !m_pResult )
- return sal_False;
+ return false;
long nStart = m_pResult->StartIndex;
long nEnd = nStart;
if( m_pResult->Orientation )
@@ -171,27 +171,27 @@ sal_Int32 SAL_CALL CachedContentResultSet::CCRS_Cache
return nEnd;
}
-sal_Bool SAL_CALL CachedContentResultSet::CCRS_Cache
+bool SAL_CALL CachedContentResultSet::CCRS_Cache
::hasKnownLast()
{
if( !m_pResult )
- return sal_False;
+ return false;
if( ( m_pResult->FetchError & FetchError::ENDOFDATA )
&& m_pResult->Orientation
&& m_pResult->Rows.getLength() )
- return sal_True;
+ return true;
- return sal_False;
+ return false;
}
-sal_Bool SAL_CALL CachedContentResultSet::CCRS_Cache
+bool SAL_CALL CachedContentResultSet::CCRS_Cache
::hasCausedException( sal_Int32 nRow )
{
if( !m_pResult )
- return sal_False;
+ return false;
if( !( m_pResult->FetchError & FetchError::EXCEPTION ) )
- return sal_False;
+ return false;
long nEnd = m_pResult->StartIndex;
if( m_pResult->Orientation )
@@ -233,17 +233,17 @@ void SAL_CALL CachedContentResultSet::CCRS_Cache
(*pMappedReminder)[nDiff] = sal_True;
}
-sal_Bool SAL_CALL CachedContentResultSet::CCRS_Cache
+bool SAL_CALL CachedContentResultSet::CCRS_Cache
::isRowMapped( sal_Int32 nRow )
{
if( !m_pMappedReminder || !m_pResult )
- return sal_False;
+ return false;
long nDiff = nRow - m_pResult->StartIndex;
if( nDiff < 0 )
nDiff *= -1;
if( nDiff < m_pMappedReminder->getLength() )
return (*m_pMappedReminder)[nDiff];
- return sal_False;
+ return false;
}
void SAL_CALL CachedContentResultSet::CCRS_Cache
@@ -394,14 +394,14 @@ private:
sal_Int32 SAL_CALL
impl_getRemainedHandle() const;
- sal_Bool SAL_CALL
+ bool SAL_CALL
impl_queryProperty(
const OUString& rName
, com::sun::star::beans::Property& rProp ) const;
sal_Int32 SAL_CALL
impl_getPos( const OUString& rName ) const;
- static sal_Bool SAL_CALL
+ static bool SAL_CALL
impl_isMyPropertyName( const OUString& rName );
public:
@@ -602,7 +602,7 @@ sal_Int32 SAL_CALL CCRS_PropertySetInfo
return -1;
}
-sal_Bool SAL_CALL CCRS_PropertySetInfo
+bool SAL_CALL CCRS_PropertySetInfo
::impl_queryProperty( const OUString& rName, Property& rProp ) const
{
for( sal_Int32 nN = m_pProperties->getLength(); nN--; )
@@ -615,14 +615,14 @@ sal_Bool SAL_CALL CCRS_PropertySetInfo
rProp.Type = rMyProp.Type;
rProp.Attributes = rMyProp.Attributes;
- return sal_True;
+ return true;
}
}
- return sal_False;
+ return false;
}
//static
-sal_Bool SAL_CALL CCRS_PropertySetInfo
+bool SAL_CALL CCRS_PropertySetInfo
::impl_isMyPropertyName( const OUString& rPropertyName )
{
return ( rPropertyName == m_aPropertyNameForCount
@@ -641,15 +641,15 @@ sal_Int32 SAL_CALL CCRS_PropertySetInfo
OSL_FAIL( "Properties not initialized yet" );
return nHandle;
}
- sal_Bool bFound = sal_True;
+ bool bFound = true;
while( bFound )
{
- bFound = sal_False;
+ bFound = false;
for( sal_Int32 nN = m_pProperties->getLength(); nN--; )
{
if( nHandle == (*m_pProperties)[nN].Handle )
{
- bFound = sal_True;
+ bFound = true;
nHandle++;
break;
}
@@ -680,23 +680,23 @@ CachedContentResultSet::CachedContentResultSet(
, m_xContentIdentifierMapping( xContentIdentifierMapping )
, m_nRow( 0 ) // Position is one-based. Zero means: before first element.
- , m_bAfterLast( sal_False )
+ , m_bAfterLast( false )
, m_nLastAppliedPos( 0 )
- , m_bAfterLastApplied( sal_False )
+ , m_bAfterLastApplied( false )
, m_nKnownCount( 0 )
- , m_bFinalCount( sal_False )
+ , m_bFinalCount( false )
, m_nFetchSize(
COMSUNSTARUCBCCRS_DEFAULT_FETCH_SIZE )
, m_nFetchDirection(
COMSUNSTARUCBCCRS_DEFAULT_FETCH_DIRECTION )
- , m_bLastReadWasFromCache( sal_False )
- , m_bLastCachedReadWasNull( sal_True )
+ , m_bLastReadWasFromCache( false )
+ , m_bLastCachedReadWasNull( true )
, m_aCache( m_xContentIdentifierMapping )
, m_aCacheContentIdentifierString( m_xContentIdentifierMapping )
, m_aCacheContentIdentifier( m_xContentIdentifierMapping )
, m_aCacheContent( m_xContentIdentifierMapping )
- , m_bTriedToGetTypeConverter( sal_False )
+ , m_bTriedToGetTypeConverter( false )
, m_xTypeConverter( NULL )
{
m_xFetchProvider = Reference< XFetchProvider >( m_xResultSetOrigin, UNO_QUERY );
@@ -718,7 +718,7 @@ CachedContentResultSet::~CachedContentResultSet()
// impl_ methods.
-sal_Bool SAL_CALL CachedContentResultSet
+bool SAL_CALL CachedContentResultSet
::applyPositionToOrigin( sal_Int32 nRow )
throw( SQLException,
RuntimeException )
@@ -736,13 +736,13 @@ sal_Bool SAL_CALL CachedContentResultSet
if( !m_xResultSetOrigin.is() )
{
OSL_FAIL( "broadcaster was disposed already" );
- return sal_False;
+ return false;
}
// OSL_ENSURE( nRow <= m_nKnownCount, "don't step into regions you don't know with this method" );
sal_Int32 nLastAppliedPos = m_nLastAppliedPos;
- sal_Bool bAfterLastApplied = m_bAfterLastApplied;
- sal_Bool bAfterLast = m_bAfterLast;
+ bool bAfterLastApplied = m_bAfterLastApplied;
+ bool bAfterLast = m_bAfterLast;
sal_Int32 nForwardOnly = m_nForwardOnly;
aGuard.clear();
@@ -774,8 +774,8 @@ sal_Bool SAL_CALL CachedContentResultSet
aGuard.reacquire();
m_nLastAppliedPos = 0;
- m_bAfterLastApplied = sal_False;
- return sal_False;
+ m_bAfterLastApplied = false;
+ return false;
}
try
{
@@ -783,7 +783,7 @@ sal_Bool SAL_CALL CachedContentResultSet
//because move relative would throw exception
if( !nLastAppliedPos || bAfterLast || bAfterLastApplied )
{
- sal_Bool bValid = m_xResultSetOrigin->absolute( nRow );
+ bool bValid = m_xResultSetOrigin->absolute( nRow );
aGuard.reacquire();
m_nLastAppliedPos = nRow;
@@ -792,7 +792,7 @@ sal_Bool SAL_CALL CachedContentResultSet
}
else
{
- sal_Bool bValid = m_xResultSetOrigin->relative( nRow - nLastAppliedPos );
+ bool bValid = m_xResultSetOrigin->relative( nRow - nLastAppliedPos );
aGuard.reacquire();
m_nLastAppliedPos += ( nRow - nLastAppliedPos );
@@ -822,7 +822,7 @@ sal_Bool SAL_CALL CachedContentResultSet
return nRow == m_nLastAppliedPos;
}
- return sal_True;
+ return true;
};
@@ -832,7 +832,7 @@ sal_Bool SAL_CALL CachedContentResultSet
#define FETCH_XXX( aCache, fetchInterface, fetchMethod ) \
-sal_Bool bDirection = !!( \
+bool bDirection = !!( \
nFetchDirection != FetchDirection::REVERSE ); \
FetchResult aResult = \
fetchInterface->fetchMethod( nRow, nFetchSize, bDirection ); \
@@ -840,8 +840,8 @@ osl::ClearableGuard< osl::Mutex > aGuard2( m_aMutex ); \
aCache.loadData( aResult ); \
sal_Int32 nMax = aCache.getMaxRow(); \
sal_Int32 nCurCount = m_nKnownCount; \
-sal_Bool bIsFinalCount = aCache.hasKnownLast(); \
-sal_Bool bCurIsFinalCount = m_bFinalCount; \
+bool bIsFinalCount = aCache.hasKnownLast(); \
+bool bCurIsFinalCount = m_bFinalCount; \
aGuard2.clear(); \
if( nMax > nCurCount ) \
impl_changeRowCount( nCurCount, nMax ); \
@@ -880,7 +880,7 @@ void SAL_CALL CachedContentResultSet
}
void SAL_CALL CachedContentResultSet
- ::impl_changeIsRowCountFinal( sal_Bool bOld, sal_Bool bNew )
+ ::impl_changeIsRowCountFinal( bool bOld, bool bNew )
{
OSL_ENSURE( !bOld && bNew, "This change is not allowed for IsRowCountFinal" );
if( ! (!bOld && bNew ) )
@@ -902,20 +902,20 @@ void SAL_CALL CachedContentResultSet
impl_notifyPropertyChangeListeners( aEvt );
}
-sal_Bool SAL_CALL CachedContentResultSet
+bool SAL_CALL CachedContentResultSet
::impl_isKnownValidPosition( sal_Int32 nRow )
{
return m_nKnownCount && nRow
&& nRow <= m_nKnownCount;
}
-sal_Bool SAL_CALL CachedContentResultSet
+bool SAL_CALL CachedContentResultSet
::impl_isKnownInvalidPosition( sal_Int32 nRow )
{
if( !nRow )
- return sal_True;
+ return true;
if( !m_bFinalCount )
- return sal_False;
+ return false;
return nRow > m_nKnownCount;
}
@@ -1232,7 +1232,7 @@ void SAL_CALL CachedContentResultSet
{//IsRowCountFinal changed
//check value
- sal_Bool bNew = sal_False;
+ bool bNew = false;
if( !( aEvt.NewValue >>= bNew ) )
{
OSL_FAIL( "PropertyChangeEvent contains wrong data" );
@@ -1358,7 +1358,7 @@ sal_Bool SAL_CALL CachedContentResultSet
{
aGuard.reacquire();
m_nRow++;
- m_bAfterLast = sal_True;
+ m_bAfterLast = true;
return sal_False;
}
aGuard.reacquire();
@@ -1373,7 +1373,7 @@ sal_Bool SAL_CALL CachedContentResultSet
sal_Int32 nRow = m_nRow;
aGuard.clear();
- sal_Bool bValid = applyPositionToOrigin( nRow + 1 );
+ bool bValid = applyPositionToOrigin( nRow + 1 );
aGuard.reacquire();
m_nRow = nRow + 1;
@@ -1400,25 +1400,25 @@ sal_Bool SAL_CALL CachedContentResultSet
if( !m_bAfterLast && m_nKnownCount && m_nRow == 1 )
{
m_nRow--;
- m_bAfterLast = sal_False;
+ m_bAfterLast = false;
return sal_False;
}
//known valid position ?:
if( impl_isKnownValidPosition( m_nRow - 1 ) )
{
m_nRow--;
- m_bAfterLast = sal_False;
+ m_bAfterLast = false;
return sal_True;
}
//unknown position:
sal_Int32 nRow = m_nRow;
aGuard.clear();
- sal_Bool bValid = applyPositionToOrigin( nRow - 1 );
+ bool bValid = applyPositionToOrigin( nRow - 1 );
aGuard.reacquire();
m_nRow = nRow - 1;
- m_bAfterLast = sal_False;
+ m_bAfterLast = false;
return bValid;
}
@@ -1448,14 +1448,14 @@ sal_Bool SAL_CALL CachedContentResultSet
if( m_bFinalCount )
{
sal_Int32 nNewRow = m_nKnownCount + 1 + row;
- sal_Bool bValid = sal_True;
+ bool bValid = true;
if( nNewRow <= 0 )
{
nNewRow = 0;
- bValid = sal_False;
+ bValid = false;
}
m_nRow = nNewRow;
- m_bAfterLast = sal_False;
+ m_bAfterLast = false;
return bValid;
}
//unknown final count:
@@ -1464,7 +1464,7 @@ sal_Bool SAL_CALL CachedContentResultSet
// Solaris has problems catching or propagating derived exceptions
// when only the base class is known, so make ResultSetException
// (derived from SQLException) known here:
- sal_Bool bValid;
+ bool bValid;
try
{
bValid = m_xResultSetOrigin->absolute( row );
@@ -1482,7 +1482,7 @@ sal_Bool SAL_CALL CachedContentResultSet
nNewRow = 0;
m_nLastAppliedPos = nNewRow;
m_nRow = nNewRow;
- m_bAfterLastApplied = m_bAfterLast = sal_False;
+ m_bAfterLastApplied = m_bAfterLast = false;
return bValid;
}
aGuard.clear();
@@ -1492,7 +1492,7 @@ sal_Bool SAL_CALL CachedContentResultSet
aGuard.reacquire();
m_nLastAppliedPos = nCurRow;
m_nRow = nCurRow;
- m_bAfterLast = sal_False;
+ m_bAfterLast = false;
return nCurRow != 0;
}
//row > 0:
@@ -1501,17 +1501,17 @@ sal_Bool SAL_CALL CachedContentResultSet
if( row > m_nKnownCount )
{
m_nRow = m_nKnownCount + 1;
- m_bAfterLast = sal_True;
+ m_bAfterLast = true;
return sal_False;
}
m_nRow = row;
- m_bAfterLast = sal_False;
+ m_bAfterLast = false;
return sal_True;
}
//unknown new position:
aGuard.clear();
- sal_Bool bValid = m_xResultSetOrigin->absolute( row );
+ bool bValid = m_xResultSetOrigin->absolute( row );
aGuard.reacquire();
if( m_bFinalCount )
@@ -1520,10 +1520,10 @@ sal_Bool SAL_CALL CachedContentResultSet
if( nNewRow > m_nKnownCount )
{
nNewRow = m_nKnownCount + 1;
- m_bAfterLastApplied = m_bAfterLast = sal_True;
+ m_bAfterLastApplied = m_bAfterLast = true;
}
else
- m_bAfterLastApplied = m_bAfterLast = sal_False;
+ m_bAfterLastApplied = m_bAfterLast = false;
m_nLastAppliedPos = nNewRow;
m_nRow = nNewRow;
@@ -1532,7 +1532,7 @@ sal_Bool SAL_CALL CachedContentResultSet
aGuard.clear();
sal_Int32 nCurRow = m_xResultSetOrigin->getRow();
- sal_Bool bIsAfterLast = m_xResultSetOrigin->isAfterLast();
+ bool bIsAfterLast = m_xResultSetOrigin->isAfterLast();
aGuard.reacquire();
m_nLastAppliedPos = nCurRow;
@@ -1566,7 +1566,7 @@ sal_Bool SAL_CALL CachedContentResultSet
if( impl_isKnownValidPosition( nNewRow ) )
{
m_nRow = nNewRow;
- m_bAfterLast = sal_False;
+ m_bAfterLast = false;
return sal_True;
}
else
@@ -1574,19 +1574,19 @@ sal_Bool SAL_CALL CachedContentResultSet
//known invalid new position:
if( nNewRow == 0 )
{
- m_bAfterLast = sal_False;
+ m_bAfterLast = false;
m_nRow = 0;
return sal_False;
}
if( m_bFinalCount && nNewRow > m_nKnownCount )
{
- m_bAfterLast = sal_True;
+ m_bAfterLast = true;
m_nRow = m_nKnownCount + 1;
return sal_False;
}
//unknown new position:
aGuard.clear();
- sal_Bool bValid = applyPositionToOrigin( nNewRow );
+ bool bValid = applyPositionToOrigin( nNewRow );
aGuard.reacquire();
m_nRow = nNewRow;
@@ -1611,23 +1611,23 @@ sal_Bool SAL_CALL CachedContentResultSet
if( impl_isKnownValidPosition( 1 ) )
{
m_nRow = 1;
- m_bAfterLast = sal_False;
+ m_bAfterLast = false;
return sal_True;
}
if( impl_isKnownInvalidPosition( 1 ) )
{
m_nRow = 1;
- m_bAfterLast = sal_False;
+ m_bAfterLast = false;
return sal_False;
}
//unknown position
aGuard.clear();
- sal_Bool bValid = applyPositionToOrigin( 1 );
+ bool bValid = applyPositionToOrigin( 1 );
aGuard.reacquire();
m_nRow = 1;
- m_bAfterLast = sal_False;
+ m_bAfterLast = false;
return bValid;
}
@@ -1646,7 +1646,7 @@ sal_Bool SAL_CALL CachedContentResultSet
if( m_bFinalCount )
{
m_nRow = m_nKnownCount;
- m_bAfterLast = sal_False;
+ m_bAfterLast = false;
return m_nKnownCount != 0;
}
//unknown position
@@ -1657,10 +1657,10 @@ sal_Bool SAL_CALL CachedContentResultSet
}
aGuard.clear();
- sal_Bool bValid = m_xResultSetOrigin->last();
+ bool bValid = m_xResultSetOrigin->last();
aGuard.reacquire();
- m_bAfterLastApplied = m_bAfterLast = sal_False;
+ m_bAfterLastApplied = m_bAfterLast = false;
if( m_bFinalCount )
{
m_nLastAppliedPos = m_nKnownCount;
@@ -1676,7 +1676,7 @@ sal_Bool SAL_CALL CachedContentResultSet
m_nRow = nCurRow;
OSL_ENSURE( nCurRow >= m_nKnownCount, "position of last row < known Count, that could not be" );
m_nKnownCount = nCurRow;
- m_bFinalCount = sal_True;
+ m_bFinalCount = true;
return nCurRow != 0;
}
@@ -1693,7 +1693,7 @@ void SAL_CALL CachedContentResultSet
osl::Guard< osl::Mutex > aGuard( m_aMutex );
m_nRow = 0;
- m_bAfterLast = sal_False;
+ m_bAfterLast = false;
}
//virtual
@@ -1709,7 +1709,7 @@ void SAL_CALL CachedContentResultSet
osl::Guard< osl::Mutex > aGuard( m_aMutex );
m_nRow = 1;
- m_bAfterLast = sal_True;
+ m_bAfterLast = true;
}
//virtual
@@ -1739,7 +1739,7 @@ sal_Bool SAL_CALL CachedContentResultSet
m_xResultSetOrigin->afterLast();
aGuard.reacquire();
- m_bAfterLastApplied = sal_True;
+ m_bAfterLastApplied = true;
aGuard.clear();
return m_xResultSetOrigin->isAfterLast();
@@ -1774,7 +1774,7 @@ sal_Bool SAL_CALL CachedContentResultSet
m_xResultSetOrigin->beforeFirst();
aGuard.reacquire();
- m_bAfterLastApplied = sal_False;
+ m_bAfterLastApplied = false;
m_nLastAppliedPos = 0;
aGuard.clear();
@@ -2111,7 +2111,7 @@ Any SAL_CALL CachedContentResultSet
aGuard.reacquire();
if( !m_aCache.hasRow( nRow ) )
{
- m_bLastReadWasFromCache = sal_False;
+ m_bLastReadWasFromCache = false;
aGuard.clear();
applyPositionToOrigin( nRow );
impl_init_xRowOrigin();
@@ -2121,7 +2121,7 @@ Any SAL_CALL CachedContentResultSet
//@todo: pay attention to typeMap
const Any& rValue = m_aCache.getAny( nRow, columnIndex );
Any aRet;
- m_bLastReadWasFromCache = sal_True;
+ m_bLastReadWasFromCache = true;
m_bLastCachedReadWasNull = !( rValue >>= aRet );
return aRet;
}
@@ -2176,7 +2176,7 @@ const Reference< XTypeConverter >& CachedContentResultSet::getTypeConverter()
if ( !m_bTriedToGetTypeConverter && !m_xTypeConverter.is() )
{
- m_bTriedToGetTypeConverter = sal_True;
+ m_bTriedToGetTypeConverter = true;
m_xTypeConverter = Reference< XTypeConverter >( Converter::create(m_xContext) );
OSL_ENSURE( m_xTypeConverter.is(),
diff --git a/ucb/source/cacher/cachedcontentresultset.hxx b/ucb/source/cacher/cachedcontentresultset.hxx
index 7d0d69b..d4de269 100644
--- a/ucb/source/cacher/cachedcontentresultset.hxx
+++ b/ucb/source/cacher/cachedcontentresultset.hxx
@@ -66,7 +66,7 @@ class CachedContentResultSet
void SAL_CALL remindMapped( sal_Int32 nRow );
- sal_Bool SAL_CALL isRowMapped( sal_Int32 nRow );
+ bool SAL_CALL isRowMapped( sal_Int32 nRow );
void SAL_CALL clearMappedReminder();
com::sun::star::uno::Sequence< sal_Bool >* SAL_CALL getMappedReminder();
@@ -78,16 +78,16 @@ class CachedContentResultSet
void SAL_CALL loadData(
const com::sun::star::ucb::FetchResult& rResult );
- sal_Bool SAL_CALL
+ bool SAL_CALL
hasRow( sal_Int32 nRow );
- sal_Bool SAL_CALL
+ bool SAL_CALL
hasCausedException( sal_Int32 nRow );
sal_Int32 SAL_CALL
getMaxRow();
- sal_Bool SAL_CALL
+ bool SAL_CALL
hasKnownLast();
@@ -135,19 +135,19 @@ class CachedContentResultSet
//some Properties and helping variables
sal_Int32 m_nRow;
- sal_Bool m_bAfterLast; // TRUE, if m_nRow is after final count; can be TRUE without knowing the exact final count
+ bool m_bAfterLast; // TRUE, if m_nRow is after final count; can be TRUE without knowing the exact final count
sal_Int32 m_nLastAppliedPos;
- sal_Bool m_bAfterLastApplied;
+ bool m_bAfterLastApplied;
sal_Int32 m_nKnownCount; // count we know from the Origin
- sal_Bool m_bFinalCount; // TRUE if the Origin has reached final count and we got that count in m_nKnownCount
+ bool m_bFinalCount; // TRUE if the Origin has reached final count and we got that count in m_nKnownCount
sal_Int32 m_nFetchSize;
sal_Int32 m_nFetchDirection;
- sal_Bool m_bLastReadWasFromCache;
- sal_Bool m_bLastCachedReadWasNull;
+ bool m_bLastReadWasFromCache;
+ bool m_bLastCachedReadWasNull;
//cache:
CCRS_Cache m_aCache;
@@ -163,7 +163,7 @@ private:
- sal_Bool SAL_CALL
+ bool SAL_CALL
applyPositionToOrigin( sal_Int32 nRow )
throw( com::sun::star::sdbc::SQLException,
com::sun::star::uno::RuntimeException );
@@ -173,17 +173,17 @@ private:
, sal_Int32 nFetchDirection )
throw( com::sun::star::uno::RuntimeException );
- sal_Bool SAL_CALL
+ bool SAL_CALL
impl_isKnownValidPosition( sal_Int32 nRow );
- sal_Bool SAL_CALL
+ bool SAL_CALL
impl_isKnownInvalidPosition( sal_Int32 nRow );
void SAL_CALL
impl_changeRowCount( sal_Int32 nOld, sal_Int32 nNew );
void SAL_CALL
- impl_changeIsRowCountFinal( sal_Bool bOld, sal_Bool bNew );
+ impl_changeIsRowCountFinal( bool bOld, bool bNew );
public:
CachedContentResultSet(
@@ -469,7 +469,7 @@ public:
private:
- sal_Bool m_bTriedToGetTypeConverter;
+ bool m_bTriedToGetTypeConverter;
com::sun::star::uno::Reference<
com::sun::star::script::XTypeConverter > m_xTypeConverter;
diff --git a/ucb/source/cacher/cachedcontentresultsetstub.cxx b/ucb/source/cacher/cachedcontentresultsetstub.cxx
index ea830d3..03f66fc 100644
--- a/ucb/source/cacher/cachedcontentresultsetstub.cxx
+++ b/ucb/source/cacher/cachedcontentresultsetstub.cxx
@@ -35,11 +35,11 @@ using namespace cppu;
CachedContentResultSetStub::CachedContentResultSetStub( Reference< XResultSet > xOrigin )
: ContentResultSetWrapper( xOrigin )
, m_nColumnCount( 0 )
- , m_bColumnCountCached( sal_False )
- , m_bNeedToPropagateFetchSize( sal_True )
- , m_bFirstFetchSizePropagationDone( sal_False )
+ , m_bColumnCountCached( false )
+ , m_bNeedToPropagateFetchSize( true )
+ , m_bFirstFetchSizePropagationDone( false )
, m_nLastFetchSize( 1 )//this value is not important at all
- , m_bLastFetchDirection( sal_True )//this value is not important at all
+ , m_bLastFetchDirection( true )//this value is not important at all
, m_aPropertyNameForFetchSize( OUString("FetchSize") )
, m_aPropertyNameForFetchDirection( OUString("FetchDirection") )
{
@@ -217,11 +217,11 @@ if( impl_isForwardOnly() ) \
return aRet; \
} \
aRet.Rows.realloc( nRowCount ); \
-sal_Bool bOldOriginal_AfterLast = sal_False; \
+bool bOldOriginal_AfterLast = false; \
if( !nOldOriginal_Pos ) \
bOldOriginal_AfterLast = m_xResultSetOrigin->isAfterLast(); \
sal_Int32 nN = 1; \
-sal_Bool bValidNewPos = sal_False; \
+bool bValidNewPos = false; \
try \
{ \
try \
@@ -304,7 +304,7 @@ sal_Int32 SAL_CALL CachedContentResultSetStub
::impl_getColumnCount()
{
sal_Int32 nCount;
- sal_Bool bCached;
+ bool bCached;
{
osl::Guard< osl::Mutex > aGuard( m_aMutex );
nCount = m_nColumnCount;
@@ -326,7 +326,7 @@ sal_Int32 SAL_CALL CachedContentResultSetStub
}
osl::Guard< osl::Mutex > aGuard( m_aMutex );
m_nColumnCount = nCount;
- m_bColumnCountCached = sal_True;
+ m_bColumnCountCached = true;
return m_nColumnCount;
}
@@ -347,7 +347,7 @@ void SAL_CALL CachedContentResultSetStub
}
void SAL_CALL CachedContentResultSetStub
- ::impl_propagateFetchSizeAndDirection( sal_Int32 nFetchSize, sal_Bool bFetchDirection )
+ ::impl_propagateFetchSizeAndDirection( sal_Int32 nFetchSize, bool bFetchDirection )
throw ( RuntimeException )
{
//this is done only for the case, that there is another CachedContentResultSet in the chain of underlying ResulSets
@@ -360,10 +360,10 @@ void SAL_CALL CachedContentResultSetStub
if( !m_bNeedToPropagateFetchSize )
return;
- sal_Bool bNeedAction;
+ bool bNeedAction;
sal_Int32 nLastSize;
- sal_Bool bLastDirection;
- sal_Bool bFirstPropagationDone;
+ bool bLastDirection;
+ bool bFirstPropagationDone;
{
osl::Guard< osl::Mutex > aGuard( m_aMutex );
bNeedAction = m_bNeedToPropagateFetchSize;
@@ -375,7 +375,7 @@ void SAL_CALL CachedContentResultSetStub
{
if( nLastSize == nFetchSize
&& bLastDirection == bFetchDirection
- && bFirstPropagationDone == sal_True )
+ && bFirstPropagationDone )
return;
if(!bFirstPropagationDone)
@@ -383,23 +383,23 @@ void SAL_CALL CachedContentResultSetStub
//check whether the properties 'FetchSize' and 'FetchDirection' do exist
Reference< XPropertySetInfo > xPropertySetInfo = getPropertySetInfo();
- sal_Bool bHasSize = xPropertySetInfo->hasPropertyByName( m_aPropertyNameForFetchSize );
- sal_Bool bHasDirection = xPropertySetInfo->hasPropertyByName( m_aPropertyNameForFetchDirection );
+ bool bHasSize = xPropertySetInfo->hasPropertyByName( m_aPropertyNameForFetchSize );
+ bool bHasDirection = xPropertySetInfo->hasPropertyByName( m_aPropertyNameForFetchDirection );
if(!bHasSize || !bHasDirection)
{
osl::Guard< osl::Mutex > aGuard( m_aMutex );
- m_bNeedToPropagateFetchSize = sal_False;
+ m_bNeedToPropagateFetchSize = false;
return;
}
}
- sal_Bool bSetSize = ( nLastSize !=nFetchSize ) || !bFirstPropagationDone;
- sal_Bool bSetDirection = ( bLastDirection !=bFetchDirection ) || !bFirstPropagationDone;
+ bool bSetSize = ( nLastSize !=nFetchSize ) || !bFirstPropagationDone;
+ bool bSetDirection = ( bLastDirection !=bFetchDirection ) || !bFirstPropagationDone;
{
osl::Guard< osl::Mutex > aGuard( m_aMutex );
- m_bFirstFetchSizePropagationDone = sal_True;
+ m_bFirstFetchSizePropagationDone = true;
m_nLastFetchSize = nFetchSize;
m_bLastFetchDirection = bFetchDirection;
}
diff --git a/ucb/source/cacher/cachedcontentresultsetstub.hxx b/ucb/source/cacher/cachedcontentresultsetstub.hxx
index 18aa30a..f99b1af 100644
--- a/ucb/source/cacher/cachedcontentresultsetstub.hxx
+++ b/ucb/source/cacher/cachedcontentresultsetstub.hxx
@@ -41,13 +41,13 @@ class CachedContentResultSetStub
{
private:
sal_Int32 m_nColumnCount;
- sal_Bool m_bColumnCountCached;
+ bool m_bColumnCountCached;
//members to propagate fetchsize and direction:
- sal_Bool m_bNeedToPropagateFetchSize;
- sal_Bool m_bFirstFetchSizePropagationDone;
+ bool m_bNeedToPropagateFetchSize;
+ bool m_bFirstFetchSizePropagationDone;
sal_Int32 m_nLastFetchSize;
- sal_Bool m_bLastFetchDirection;
+ bool m_bLastFetchDirection;
const OUString m_aPropertyNameForFetchSize;
const OUString m_aPropertyNameForFetchDirection;
@@ -85,7 +85,7 @@ private:
throw ( com::sun::star::uno::RuntimeException );
void SAL_CALL
- impl_propagateFetchSizeAndDirection( sal_Int32 nFetchSize, sal_Bool bFetchDirection )
+ impl_propagateFetchSizeAndDirection( sal_Int32 nFetchSize, bool bFetchDirection )
throw ( com::sun::star::uno::RuntimeException );
public:
diff --git a/ucb/source/cacher/contentresultsetwrapper.cxx b/ucb/source/cacher/contentresultsetwrapper.cxx
index aca8dc3..17eeb09 100644
--- a/ucb/source/cacher/contentresultsetwrapper.cxx
+++ b/ucb/source/cacher/contentresultsetwrapper.cxx
@@ -51,8 +51,8 @@ ContentResultSetWrapper::ContentResultSetWrapper(
, m_xPropertySetInfo( NULL )
, m_nForwardOnly( 2 )
, m_xMetaDataFromOrigin( NULL )
- , m_bDisposed( sal_False )
- , m_bInDispose( sal_False )
+ , m_bDisposed( false )
+ , m_bInDispose( false )
, m_pDisposeEventListeners( NULL )
, m_pPropertyChangeListeners( NULL )
, m_pVetoableChangeListeners( NULL )
@@ -283,7 +283,7 @@ void SAL_CALL ContentResultSetWrapper
}
}
-sal_Bool SAL_CALL ContentResultSetWrapper
+bool SAL_CALL ContentResultSetWrapper
::impl_isForwardOnly()
{
//m_nForwardOnly == 2 -> don't know
@@ -365,7 +365,7 @@ void SAL_CALL ContentResultSetWrapper
ReacquireableGuard aGuard( m_aMutex );
if( m_bInDispose || m_bDisposed )
return;
- m_bInDispose = sal_True;
+ m_bInDispose = true;
if( m_xPropertySetOrigin.is() )
{
@@ -425,8 +425,8 @@ void SAL_CALL ContentResultSetWrapper
}
aGuard.reacquire();
- m_bDisposed = sal_True;
- m_bInDispose = sal_False;
+ m_bDisposed = true;
+ m_bInDispose = false;
}
@@ -583,7 +583,7 @@ void SAL_CALL ContentResultSetWrapper
}
impl_getPropertyChangeListenerContainer();
- sal_Bool bNeedRegister = !m_pPropertyChangeListeners->
+ bool bNeedRegister = !m_pPropertyChangeListeners->
getContainedTypes().getLength();
m_pPropertyChangeListeners->addInterface( aPropertyName, xListener );
if( bNeedRegister )
@@ -634,7 +634,7 @@ void SAL_CALL ContentResultSetWrapper
}
impl_getVetoableChangeListenerContainer();
- sal_Bool bNeedRegister = !m_pVetoableChangeListeners->
+ bool bNeedRegister = !m_pVetoableChangeListeners->
getContainedTypes().getLength();
m_pVetoableChangeListeners->addInterface( rPropertyName, xListener );
if( bNeedRegister )
diff --git a/ucb/source/cacher/contentresultsetwrapper.hxx b/ucb/source/cacher/contentresultsetwrapper.hxx
index 23accd8..73a1fba 100644
--- a/ucb/source/cacher/contentresultsetwrapper.hxx
+++ b/ucb/source/cacher/contentresultsetwrapper.hxx
@@ -129,8 +129,8 @@ private:
m_xMetaDataFromOrigin; //XResultSetMetaData from m_xOrigin
//management of listeners
- sal_Bool m_bDisposed; ///Dispose call ready.
- sal_Bool m_bInDispose;///In dispose call
+ bool m_bDisposed; ///Dispose call ready.
+ bool m_bInDispose;///In dispose call
osl::Mutex m_aContainerMutex;
cppu::OInterfaceContainerHelper*
m_pDisposeEventListeners;
@@ -184,7 +184,7 @@ protected:
throw( com::sun::star::beans::PropertyVetoException,
com::sun::star::uno::RuntimeException );
- sal_Bool SAL_CALL impl_isForwardOnly();
+ bool SAL_CALL impl_isForwardOnly();
public:
diff --git a/ucb/source/cacher/dynamicresultsetwrapper.cxx b/ucb/source/cacher/dynamicresultsetwrapper.cxx
index b0c510b..aa4e7d9 100644
--- a/ucb/source/cacher/dynamicresultsetwrapper.cxx
+++ b/ucb/source/cacher/dynamicresultsetwrapper.cxx
@@ -43,12 +43,12 @@ DynamicResultSetWrapper::DynamicResultSetWrapper(
Reference< XDynamicResultSet > xOrigin
, const Reference< XComponentContext > & rxContext )
- : m_bDisposed( sal_False )
- , m_bInDispose( sal_False )
+ : m_bDisposed( false )
+ , m_bInDispose( false )
, m_pDisposeEventListeners( NULL )
, m_xContext( rxContext )
- , m_bStatic( sal_False )
- , m_bGotWelcome( sal_False )
+ , m_bStatic( false )
+ , m_bGotWelcome( false )
, m_xSource( xOrigin )
, m_xSourceResultOne( NULL )
, m_xSourceResultTwo( NULL )
@@ -147,7 +147,7 @@ void SAL_CALL DynamicResultSetWrapper
osl::ClearableGuard< osl::Mutex > aGuard( m_aMutex );
if( m_bInDispose || m_bDisposed )
return;
- m_bInDispose = sal_True;
+ m_bInDispose = true;
xSourceComponent = Reference< XComponent >(m_xSource, UNO_QUERY);
@@ -167,8 +167,8 @@ void SAL_CALL DynamicResultSetWrapper
*/
osl::Guard< osl::Mutex > aGuard( m_aMutex );
- m_bDisposed = sal_True;
- m_bInDispose = sal_False;
+ m_bDisposed = true;
+ m_bInDispose = false;
}
@@ -257,7 +257,7 @@ void SAL_CALL DynamicResultSetWrapper
{
impl_InitResultSetOne( aWelcome.Old );
impl_InitResultSetTwo( aWelcome.New );
- m_bGotWelcome = sal_True;
+ m_bGotWelcome = true;
aWelcome.Old = m_xMyResultOne;
aWelcome.New = m_xMyResultTwo;
@@ -313,7 +313,7 @@ void SAL_CALL DynamicResultSetWrapper
Reference< XDynamicResultSetListener > xListener = NULL;
Reference< XDynamicResultSetListener > xMyListenerImpl = NULL;
- sal_Bool bStatic = sal_False;
+ bool bStatic = false;
{
osl::Guard< osl::Mutex > aGuard( m_aMutex );
m_xSource = xSourceDynamic;
@@ -349,7 +349,7 @@ Reference< XResultSet > SAL_CALL DynamicResultSetWrapper
throw ListenerAlreadySetException();
xSource = m_xSource;
- m_bStatic = sal_True;
+ m_bStatic = true;
xMyListenerImpl = Reference< XEventListener > ::query( m_xMyListenerImpl );
}
diff --git a/ucb/source/cacher/dynamicresultsetwrapper.hxx b/ucb/source/cacher/dynamicresultsetwrapper.hxx
index 798a545..6108673 100644
--- a/ucb/source/cacher/dynamicresultsetwrapper.hxx
+++ b/ucb/source/cacher/dynamicresultsetwrapper.hxx
@@ -46,8 +46,8 @@ class DynamicResultSetWrapper
{
private:
//management of listeners
- sal_Bool m_bDisposed; ///Dispose call ready.
- sal_Bool m_bInDispose;///In dispose call
+ bool m_bDisposed; ///Dispose call ready.
+ bool m_bInDispose;///In dispose call
osl::Mutex m_aContainerMutex;
cppu::OInterfaceContainerHelper*
m_pDisposeEventListeners;
@@ -61,8 +61,8 @@ protected:
m_xContext;
osl::Mutex m_aMutex;
- sal_Bool m_bStatic;
- sal_Bool m_bGotWelcome;
+ bool m_bStatic;
+ bool m_bGotWelcome;
//different Interfaces from Origin:
com::sun::star::uno::Reference< com::sun::star::ucb::XDynamicResultSet >
diff --git a/ucb/source/core/FileAccess.cxx b/ucb/source/core/FileAccess.cxx
index e0a998e..158caeb 100644
--- a/ucb/source/core/FileAccess.cxx
+++ b/ucb/source/core/FileAccess.cxx
@@ -83,7 +83,7 @@ class OFileAccess : public FileAccessHelper
Reference< XCommandEnvironment > mxEnvironment;
OCommandEnvironment* mpEnvironment;
- void transferImpl( const OUString& rSource, const OUString& rDest, sal_Bool bMoveData )
+ void transferImpl( const OUString& rSource, const OUString& rDest, bool bMoveData )
throw(CommandAbortedException, Exception, RuntimeException);
bool createNewFile( const OUString & rParentURL,
const OUString & rTitle,
@@ -206,7 +206,7 @@ Reference< XProgressHandler > OCommandEnvironment::getProgressHandler()
void OFileAccess::transferImpl( const OUString& rSource,
const OUString& rDest,
- sal_Bool bMoveData )
+ bool bMoveData )
throw(CommandAbortedException, Exception, RuntimeException)
{
// SfxContentHelper::Transfer_Impl
@@ -282,13 +282,13 @@ void OFileAccess::transferImpl( const OUString& rSource,
void OFileAccess::copy( const OUString& SourceURL, const OUString& DestURL )
throw(CommandAbortedException, Exception, RuntimeException, std::exception)
{
- transferImpl( SourceURL, DestURL, sal_False );
+ transferImpl( SourceURL, DestURL, false );
}
void OFileAccess::move( const OUString& SourceURL, const OUString& DestURL )
throw(CommandAbortedException, Exception, RuntimeException, std::exception)
{
- transferImpl( SourceURL, DestURL, sal_True );
+ transferImpl( SourceURL, DestURL, true );
}
void OFileAccess::kill( const OUString& FileURL )
@@ -299,7 +299,7 @@ void OFileAccess::kill( const OUString& FileURL )
ucbhelper::Content aCnt( aDeleteObj.GetMainURL( INetURLObject::NO_DECODE ), mxEnvironment, comphelper::getProcessComponentContext() );
try
{
- aCnt.executeCommand( OUString("delete" ), makeAny( sal_Bool( sal_True ) ) );
+ aCnt.executeCommand( OUString("delete" ), makeAny( true ) );
}
catch ( ::com::sun::star::ucb::CommandFailedException const & )
{
@@ -310,7 +310,7 @@ void OFileAccess::kill( const OUString& FileURL )
sal_Bool OFileAccess::isFolder( const OUString& FileURL )
throw(CommandAbortedException, Exception, RuntimeException, std::exception)
{
- sal_Bool bRet = sal_False;
+ bool bRet = false;
try
{
INetURLObject aURLObj( FileURL, INET_PROT_FILE );
@@ -327,7 +327,7 @@ sal_Bool OFileAccess::isReadOnly( const OUString& FileURL )
INetURLObject aURLObj( FileURL, INET_PROT_FILE );
ucbhelper::Content aCnt( aURLObj.GetMainURL( INetURLObject::NO_DECODE ), mxEnvironment, comphelper::getProcessComponentContext() );
Any aRetAny = aCnt.getPropertyValue("IsReadOnly");
- sal_Bool bRet = sal_False;
+ bool bRet = false;
aRetAny >>= bRet;
return bRet;
}
@@ -507,7 +507,7 @@ Sequence< OUString > OFileAccess::getFolderContents( const OUString& FolderURL,
sal_Bool OFileAccess::exists( const OUString& FileURL )
throw(CommandAbortedException, Exception, RuntimeException, std::exception)
{
- sal_Bool bRet = sal_False;
+ bool bRet = false;
try
{
bRet = isFolder( FileURL );
@@ -534,7 +534,7 @@ Reference< XInputStream > OFileAccess::openFileRead( const OUString& FileURL )
try
{
- sal_Bool bRet = aCnt.openStream( xSink );
+ bool bRet = aCnt.openStream( xSink );
if( bRet )
xRet = xSink->getInputStream();
}
@@ -743,7 +743,7 @@ sal_Bool OFileAccess::isHidden( const OUString& FileURL )
INetURLObject aURLObj( FileURL, INET_PROT_FILE );
ucbhelper::Content aCnt( aURLObj.GetMainURL( INetURLObject::NO_DECODE ), mxEnvironment, comphelper::getProcessComponentContext() );
Any aRetAny = aCnt.getPropertyValue("IsHidden");
- sal_Bool bRet = sal_False;
+ bool bRet = false;
aRetAny >>= bRet;
return bRet;
}
diff --git a/ucb/source/core/provprox.cxx b/ucb/source/core/provprox.cxx
index 746b52f..63fd79f 100644
--- a/ucb/source/core/provprox.cxx
+++ b/ucb/source/core/provprox.cxx
@@ -92,8 +92,8 @@ UcbContentProviderProxy::UcbContentProviderProxy(
const Reference< XMultiServiceFactory >& rxSMgr,
const OUString& Service )
: m_aService( Service ),
- m_bReplace( sal_False ),
- m_bRegister( sal_False ),
+ m_bReplace( false ),
+ m_bRegister( false ),
m_xSMgr( rxSMgr )
{
}
@@ -255,7 +255,7 @@ UcbContentProviderProxy::registerInstance( const OUString& Template,
m_aArguments = Arguments;
m_bReplace = ReplaceExisting;
- m_bRegister = sal_True;
+ m_bRegister = true;
}
return this;
}
@@ -273,7 +273,7 @@ UcbContentProviderProxy::deregisterInstance( const OUString& Template,
// registerInstance called at proxy and at original?
if ( m_bRegister && m_xTargetProvider.is() )
{
- m_bRegister = sal_False;
+ m_bRegister = false;
m_xTargetProvider = 0;
Reference< XParameterizedContentProvider >
diff --git a/ucb/source/core/provprox.hxx b/ucb/source/core/provprox.hxx
index eafe22a..88cf5c1 100644
--- a/ucb/source/core/provprox.hxx
+++ b/ucb/source/core/provprox.hxx
@@ -98,8 +98,8 @@ class UcbContentProviderProxy :
OUString m_aService;
OUString m_aTemplate;
OUString m_aArguments;
- sal_Bool m_bReplace;
- sal_Bool m_bRegister;
+ bool m_bReplace;
+ bool m_bRegister;
com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory >
m_xSMgr;
diff --git a/ucb/source/core/ucb.cxx b/ucb/source/core/ucb.cxx
index 0f3308f..e6a3427 100644
--- a/ucb/source/core/ucb.cxx
+++ b/ucb/source/core/ucb.cxx
@@ -526,7 +526,7 @@ Reference< XContentProvider > SAL_CALL
Identifier )
throw( com::sun::star::uno::RuntimeException, std::exception )
{
- return queryContentProvider( Identifier, sal_False );
+ return queryContentProvider( Identifier, false );
}
@@ -549,7 +549,7 @@ Reference< XContent > SAL_CALL UniversalContentBroker::queryContent(
return Reference< XContent >();
Reference< XContentProvider > xProv =
- queryContentProvider( Identifier->getContentIdentifier(), sal_True );
+ queryContentProvider( Identifier->getContentIdentifier(), true );
if ( xProv.is() )
return xProv->queryContent( Identifier );
@@ -567,9 +567,9 @@ sal_Int32 SAL_CALL UniversalContentBroker::compareContentIds(
OUString aURI2( Id2->getContentIdentifier() );
Reference< XContentProvider > xProv1
- = queryContentProvider( aURI1, sal_True );
+ = queryContentProvider( aURI1, true );
Reference< XContentProvider > xProv2
- = queryContentProvider( aURI2, sal_True );
+ = queryContentProvider( aURI2, true );
// When both identifiers belong to the same provider, let that provider
// compare them; otherwise, simply compare the URI strings (which must
@@ -602,7 +602,7 @@ Reference< XContentIdentifier > SAL_CALL
Reference< XContentIdentifier > xIdentifier;
Reference< XContentProvider > xProv
- = queryContentProvider( ContentId, sal_True );
+ = queryContentProvider( ContentId, true );
if ( xProv.is() )
{
Reference< XContentIdentifierFactory > xFac( xProv, UNO_QUERY );
@@ -812,7 +812,7 @@ void SAL_CALL UniversalContentBroker::disposing(const lang::EventObject&)
Reference< XContentProvider > UniversalContentBroker::queryContentProvider(
const OUString& Identifier,
- sal_Bool bResolved )
+ bool bResolved )
{
osl::MutexGuard aGuard( m_aMutex );
diff --git a/ucb/source/core/ucb.hxx b/ucb/source/core/ucb.hxx
index 1cb32e9..fb3d1d0 100644
--- a/ucb/source/core/ucb.hxx
+++ b/ucb/source/core/ucb.hxx
@@ -190,7 +190,7 @@ public:
private:
com::sun::star::uno::Reference< com::sun::star::ucb::XContentProvider >
queryContentProvider( const OUString& Identifier,
- sal_Bool bResolved );
+ bool bResolved );
com::sun::star::uno::Reference< com::sun::star::ucb::XCommandInfo >
getCommandInfo();
diff --git a/ucb/source/core/ucbcmds.cxx b/ucb/source/core/ucbcmds.cxx
index 86caca9..0a73f7c 100644
--- a/ucb/source/core/ucbcmds.cxx
+++ b/ucb/source/core/ucbcmds.cxx
@@ -525,9 +525,9 @@ bool setTitle(
uno::Reference< ucb::XContent > createNew(
const TransferCommandContext & rContext,
const uno::Reference< ucb::XContent > & xTarget,
- sal_Bool bSourceIsFolder,
- sal_Bool bSourceIsDocument,
- sal_Bool bSourceIsLink )
+ bool bSourceIsFolder,
+ bool bSourceIsDocument,
+ bool bSourceIsLink )
throw( uno::Exception )
{
@@ -640,7 +640,7 @@ uno::Reference< ucb::XContent > createNew(
for ( sal_Int32 n = 0; n < nCount; ++n )
{
sal_Int32 nAttribs = aTypesInfo[ n ].Attributes;
- sal_Bool bMatch = sal_False;
+ bool bMatch = false;
if ( rContext.aArg.Operation == ucb::TransferCommandOperation_LINK )
{
@@ -649,7 +649,7 @@ uno::Reference< ucb::XContent > createNew(
if ( nAttribs & ucb::ContentInfoAttribute::KIND_LINK )
{
// Match!
- bMatch = sal_True;
+ bMatch = true;
}
}
else if ( ( rContext.aArg.Operation
@@ -665,7 +665,7 @@ uno::Reference< ucb::XContent > createNew(
if ( nAttribs & ucb::ContentInfoAttribute::KIND_LINK )
{
// Match!
- bMatch = sal_True;
+ bMatch = true;
}
}
else
@@ -683,7 +683,7 @@ uno::Reference< ucb::XContent > createNew(
)
{
// Match!
- bMatch = sal_True;
+ bMatch = true;
}
}
}
@@ -817,8 +817,8 @@ void transferProperties(
uno::Sequence< beans::PropertyValue > aPropValues(
aAllProps.getLength() + 2 );
- sal_Bool bHasTitle = rContext.aArg.NewTitle.isEmpty();
- sal_Bool bHasTargetURL = ( rContext.aArg.Operation
+ bool bHasTitle = rContext.aArg.NewTitle.isEmpty();
+ bool bHasTargetURL = ( rContext.aArg.Operation
!= ucb::TransferCommandOperation_LINK );
sal_Int32 nWritePos = 0;
@@ -834,7 +834,7 @@ void transferProperties(
// Supply new title, if given.
if ( !bHasTitle )
{
- bHasTitle = sal_True;
+ bHasTitle = true;
aValue <<= rContext.aArg.NewTitle;
}
}
@@ -843,7 +843,7 @@ void transferProperties(
// Supply source URL as link target for the new link to create.
if ( !bHasTargetURL )
{
- bHasTargetURL = sal_True;
+ bHasTargetURL = true;
aValue <<= rContext.aArg.SourceURL;
}
}
@@ -1108,7 +1108,7 @@ void handleNameClashRename(
if ( nPos > 0 )
aOldTitlePre += "_";
- sal_Bool bContinue = sal_True;
+ bool bContinue = true;
do
{
nTry++;
@@ -1185,7 +1185,7 @@ void handleNameClashRename(
xCommandProcessorN->execute( aInsertCommand, 0, rContext.xEnv );
// Success!
- bContinue = sal_False;
+ bContinue = false;
}
catch ( uno::RuntimeException const & )
{
@@ -1219,7 +1219,7 @@ void globalTransfer_(
throw( uno::Exception )
{
// IsFolder: property is required.
- sal_Bool bSourceIsFolder = xSourceProps->getBoolean( 1 );
+ bool bSourceIsFolder = xSourceProps->getBoolean( 1 );
if ( !bSourceIsFolder && xSourceProps->wasNull() )
{
ucbhelper::cancelCommandExecution(
@@ -1232,7 +1232,7 @@ void globalTransfer_(
}
// IsDocument: property is required.
- sal_Bool bSourceIsDocument = xSourceProps->getBoolean( 2 );
+ bool bSourceIsDocument = xSourceProps->getBoolean( 2 );
if ( !bSourceIsDocument && xSourceProps->wasNull() )
{
ucbhelper::cancelCommandExecution(
@@ -1245,7 +1245,7 @@ void globalTransfer_(
}
// TargetURL: property is optional.
- sal_Bool bSourceIsLink = !xSourceProps->getString( 3 ).isEmpty();
+ bool bSourceIsLink = !xSourceProps->getString( 3 ).isEmpty();
@@ -2017,7 +2017,7 @@ void UniversalContentBroker::globalTransfer(
ucb::Command aCommand(
OUString("delete"), // Name
-1, // Handle
- uno::makeAny( sal_Bool( sal_True ) ) ); // Argument
+ uno::makeAny( true ) ); // Argument
xCommandProcessor->execute( aCommand, 0, xLocalEnv );
}
diff --git a/ucb/source/core/ucbprops.cxx b/ucb/source/core/ucbprops.cxx
index 6bb31ff..120c6b8 100644
--- a/ucb/source/core/ucbprops.cxx
+++ b/ucb/source/core/ucbprops.cxx
@@ -406,7 +406,7 @@ sal_Bool SAL_CALL UcbPropertiesManager::hasPropertyByName( const OUString& Name
-sal_Bool UcbPropertiesManager::queryProperty(
+bool UcbPropertiesManager::queryProperty(
const OUString& rName, Property& rProp )
{
osl::Guard< osl::Mutex > aGuard( m_aMutex );
@@ -421,11 +421,11 @@ sal_Bool UcbPropertiesManager::queryProperty(
if ( rCurrProp.Name == rName )
{
rProp = rCurrProp;
- return sal_True;
+ return true;
}
}
- return sal_False;
+ return false;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/ucb/source/core/ucbprops.hxx b/ucb/source/core/ucbprops.hxx
index d0c1461..3708f06 100644
--- a/ucb/source/core/ucbprops.hxx
+++ b/ucb/source/core/ucbprops.hxx
@@ -47,7 +47,7 @@ class UcbPropertiesManager : public cppu::WeakImplHelper2 <
osl::Mutex m_aMutex;
private:
- sal_Bool queryProperty( const OUString& rName,
+ bool queryProperty( const OUString& rName,
com::sun::star::beans::Property& rProp );
public:
diff --git a/ucb/source/core/ucbstore.cxx b/ucb/source/core/ucbstore.cxx
index d6ba6e7..a4fad5a 100644
--- a/ucb/source/core/ucbstore.cxx
+++ b/ucb/source/core/ucbstore.cxx
@@ -251,13 +251,13 @@ struct PropertySetRegistry_Impl
Reference< XInterface > m_xRootReadAccess;
Reference< XInterface > m_xRootWriteAccess;
osl::Mutex m_aMutex;
- sal_Bool m_bTriedToGetRootReadAccess; // #82494#
- sal_Bool m_bTriedToGetRootWriteAccess; // #82494#
+ bool m_bTriedToGetRootReadAccess; // #82494#
+ bool m_bTriedToGetRootWriteAccess; // #82494#
PropertySetRegistry_Impl( const Sequence< Any > &rInitArgs )
: m_aInitArgs( rInitArgs ),
- m_bTriedToGetRootReadAccess( sal_False ),
- m_bTriedToGetRootWriteAccess( sal_False )
+ m_bTriedToGetRootReadAccess( false ),
+ m_bTriedToGetRootWriteAccess( false )
{
}
};
@@ -1000,7 +1000,7 @@ Reference< XInterface > PropertySetRegistry::getRootConfigReadAccess()
<<= OUString( STORE_CONTENTPROPERTIES_KEY );
aArguments[ 0 ] <<= aProperty;
- m_pImpl->m_bTriedToGetRootReadAccess = sal_True;
+ m_pImpl->m_bTriedToGetRootReadAccess = true;
m_pImpl->m_xRootReadAccess =
m_pImpl->m_xConfigProvider->createInstanceWithArguments(
@@ -1062,7 +1062,7 @@ Reference< XInterface > PropertySetRegistry::getConfigWriteAccess(
aProperty.Value <<= sal_True;
aArguments[ 1 ] <<= aProperty;
- m_pImpl->m_bTriedToGetRootWriteAccess = sal_True;
+ m_pImpl->m_bTriedToGetRootWriteAccess = true;
m_pImpl->m_xRootWriteAccess =
m_pImpl->m_xConfigProvider->createInstanceWithArguments(
diff --git a/ucb/source/sorter/sortdynres.cxx b/ucb/source/sorter/sortdynres.cxx
index c222638..66457ef 100644
--- a/ucb/source/sorter/sortdynres.cxx
+++ b/ucb/source/sorter/sortdynres.cxx
@@ -75,9 +75,9 @@ SortedDynamicResultSet::SortedDynamicResultSet(
mpOne = NULL;
mpTwo = NULL;
- mbGotWelcome = sal_False;
- mbUseOne = sal_True;
- mbStatic = sal_False;
+ mbGotWelcome = false;
+ mbUseOne = true;
+ mbStatic = false;
}
@@ -148,7 +148,7 @@ void SAL_CALL SortedDynamicResultSet::dispose()
mpOne = NULL;
mpTwo = NULL;
- mbUseOne = sal_True;
+ mbUseOne = true;
}
void SAL_CALL SortedDynamicResultSet::addEventListener(
@@ -186,7 +186,7 @@ SortedDynamicResultSet::getStaticResultSet()
if ( mxListener.is() )
throw ListenerAlreadySetException();
- mbStatic = sal_True;
+ mbStatic = true;
if ( mxOriginal.is() )
{
@@ -292,8 +292,8 @@ void SortedDynamicResultSet::impl_notify( const ListEvent& Changes )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
- sal_Bool bHasNew = sal_False;
- sal_Bool bHasModified = sal_False;
+ bool bHasNew = false;
+ bool bHasModified = false;
SortedResultSet *pCurSet = NULL;
@@ -303,13 +303,13 @@ void SortedDynamicResultSet::impl_notify( const ListEvent& Changes )
{
if ( mbUseOne )
{
- mbUseOne = sal_False;
+ mbUseOne = false;
mpTwo->CopyData( mpOne );
pCurSet = mpTwo;
}
else
{
- mbUseOne = sal_True;
+ mbUseOne = true;
mpOne->CopyData( mpTwo );
pCurSet = mpOne;
}
@@ -327,7 +327,7 @@ void SortedDynamicResultSet::impl_notify( const ListEvent& Changes )
catch (const WrappedTargetException&) {}
long nOldCount = pCurSet->GetCount();
- sal_Bool bWasFinal = false;
+ bool bWasFinal = false;
aRet >>= bWasFinal;
@@ -347,8 +347,8 @@ void SortedDynamicResultSet::impl_notify( const ListEvent& Changes )
mpOne = new SortedResultSet( aWelcome.New );
mxOne = mpOne;
mpOne->Initialize( maOptions, mxCompFac );
- mbGotWelcome = sal_True;
- mbUseOne = sal_True;
+ mbGotWelcome = true;
+ mbUseOne = true;
pCurSet = mpOne;
aWelcome.Old = mxTwo;
@@ -371,7 +371,7 @@ void SortedDynamicResultSet::impl_notify( const ListEvent& Changes )
case ListActionType::INSERTED:
{
pCurSet->InsertNew( aAction.Position, aAction.Count );
- bHasNew = sal_True;
+ bHasNew = true;
break;
}
case ListActionType::REMOVED:
@@ -395,7 +395,7 @@ void SortedDynamicResultSet::impl_notify( const ListEvent& Changes )
case ListActionType::PROPERTIES_CHANGED:
{
pCurSet->SetChanged( aAction.Position, aAction.Count );
- bHasModified = sal_True;
+ bHasModified = true;
break;
}
default: break;
diff --git a/ucb/source/sorter/sortdynres.hxx b/ucb/source/sorter/sortdynres.hxx
index 659defc..718719f 100644
--- a/ucb/source/sorter/sortdynres.hxx
+++ b/ucb/source/sorter/sortdynres.hxx
@@ -63,9 +63,9 @@ class SortedDynamicResultSet: public cppu::WeakImplHelper2 <
EventList maActions;
osl::Mutex maMutex;
- sal_Bool mbGotWelcome:1;
- sal_Bool mbUseOne:1;
- sal_Bool mbStatic:1;
+ bool mbGotWelcome:1;
+ bool mbUseOne:1;
+ bool mbStatic:1;
private:
void SendNotify();
diff --git a/ucb/source/sorter/sortresult.cxx b/ucb/source/sorter/sortresult.cxx
index 85eb0e8..ac46685 100644
--- a/ucb/source/sorter/sortresult.cxx
+++ b/ucb/source/sorter/sortresult.cxx
@@ -65,9 +65,9 @@ static osl::Mutex& getContainerMutex()
struct SortInfo
{
- sal_Bool mbUseOwnCompare;
- sal_Bool mbAscending;
- sal_Bool mbCaseSensitive;
+ bool mbUseOwnCompare;
+ bool mbAscending;
+ bool mbCaseSensitive;
sal_Int32 mnColumn;
sal_Int32 mnType;
SortInfo* mpNext;
@@ -78,11 +78,11 @@ struct SortInfo
struct SortListData
{
- sal_Bool mbModified;
+ bool mbModified;
sal_IntPtr mnCurPos;
sal_IntPtr mnOldPos;
- SortListData( sal_IntPtr nPos, sal_Bool bModified = sal_False );
+ SortListData( sal_IntPtr nPos, bool bModified = false );
};
@@ -134,7 +134,7 @@ SortedResultSet::SortedResultSet( Reference< XResultSet > aResult )
mnLastSort = 0;
mnCurEntry = 0;
mnCount = 0;
- mbIsCopy = sal_False;
+ mbIsCopy = false;
}
@@ -881,10 +881,10 @@ Any SAL_CALL SortedResultSet::getPropertyValue( const OUString& PropertyName )
}
else if ( PropertyName.equalsAscii( "IsRowCountFinal" ) )
{
- sal_Bool bOrgFinal = false;
+ bool bOrgFinal = false;
Any aOrgRet;
- aRet <<= (sal_Bool) sal_False;
+ aRet <<= false;
aOrgRet = Reference< XPropertySet >::query(mxOriginal)->
getPropertyValue( PropertyName );
@@ -897,7 +897,7 @@ Any SAL_CALL SortedResultSet::getPropertyValue( const OUString& PropertyName )
sal_uInt32 nOrgCount = 0;
aOrgRet >>= nOrgCount;
if ( nOrgCount == maS2O.Count() )
- aRet <<= (sal_Bool) sal_True;
+ aRet <<= true;
}
}
else
@@ -1373,7 +1373,7 @@ void SortedResultSet::CopyData( SortedResultSet *pSource )
if ( !mpSortInfo )
{
mpSortInfo = pSource->GetSortInfo();
- mbIsCopy = sal_True;
+ mbIsCopy = true;
}
}
@@ -1426,7 +1426,7 @@ void SortedResultSet::Initialize(
}
-void SortedResultSet::CheckProperties( sal_IntPtr nOldCount, sal_Bool bWasFinal )
+void SortedResultSet::CheckProperties( sal_IntPtr nOldCount, bool bWasFinal )
{
osl::Guard< osl::Mutex > aGuard( maMutex );
@@ -1437,7 +1437,7 @@ void SortedResultSet::CheckProperties( sal_IntPtr nOldCount, sal_Bool bWasFinal
// check for propertyChangeEvents
if ( nOldCount != GetCount() )
{
- sal_Bool bIsFinal = sal_False;
+ bool bIsFinal = false;
PropertyChangeEvent aEvt;
aEvt.PropertyName = "RowCount";
@@ -1455,8 +1455,8 @@ void SortedResultSet::CheckProperties( sal_IntPtr nOldCount, sal_Bool bWasFinal
aEvt.PropertyName = aName;
aEvt.Further = sal_False;
aEvt.PropertyHandle = -1;
- aEvt.OldValue <<= (sal_Bool) bWasFinal;
- aEvt.NewValue <<= (sal_Bool) bIsFinal;
+ aEvt.OldValue <<= bWasFinal;
+ aEvt.NewValue <<= bIsFinal;
PropertyChanged( aEvt );
}
}
@@ -1662,12 +1662,12 @@ void SortedResultSet::BuildSortInfo(
if ( pInfo->mxCompareFunction.is() )
{
- pInfo->mbUseOwnCompare = sal_False;
+ pInfo->mbUseOwnCompare = false;
pInfo->mnType = 0;
}
else
{
- pInfo->mbUseOwnCompare = sal_True;
+ pInfo->mbUseOwnCompare = true;
pInfo->mnType = xData->getColumnType( nColumn );
}
@@ -1690,7 +1690,7 @@ void SortedResultSet::SetChanged( sal_IntPtr nPos, sal_IntPtr nCount )
SortListData *pData = maS2O.GetData( nSortPos );
if ( ! pData->mbModified )
{
- pData->mbModified = sal_True;
+ pData->mbModified = true;
maModList.Append( pData );
}
}
@@ -1713,7 +1713,7 @@ void SortedResultSet::ResortModified( EventList* pList )
pData = (SortListData*) maModList.GetObject( i );
nCompare = CompareImpl( mxOther, mxOriginal,
pData->mnOldPos, pData->mnCurPos );
- pData->mbModified = sal_False;
+ pData->mbModified = false;
if ( nCompare != 0 )
{
nCurPos = (sal_IntPtr) maO2S.GetObject( (sal_uInt32) pData->mnCurPos );
@@ -1808,7 +1808,7 @@ void SortedResultSet::ResortNew( EventList* pList )
// SortListData
-SortListData::SortListData( sal_IntPtr nPos, sal_Bool bModified )
+SortListData::SortListData( sal_IntPtr nPos, bool bModified )
{
mbModified = bModified;
mnCurPos = nPos;
@@ -1905,14 +1905,14 @@ void SimpleList::Remove( sal_uInt32 nPos )
void SimpleList::Remove( void* pData )
{
- sal_Bool bFound = sal_False;
+ bool bFound = false;
sal_uInt32 i;
for ( i = 0; i < (sal_uInt32) maData.size(); i++ )
{
if ( maData[ i ] == pData )
{
- bFound = sal_True;
+ bFound = true;
break;
}
}
diff --git a/ucb/source/sorter/sortresult.hxx b/ucb/source/sorter/sortresult.hxx
index 3ed794e..43c9f45 100644
--- a/ucb/source/sorter/sortresult.hxx
+++ b/ucb/source/sorter/sortresult.hxx
@@ -139,7 +139,7 @@ class SortedResultSet: public cppu::WeakImplHelper8 <
sal_IntPtr mnLastSort; // index of the last sorted entry;
sal_IntPtr mnCurEntry; // index of the current entry
sal_IntPtr mnCount; // total count of the elements
- sal_Bool mbIsCopy;
+ bool mbIsCopy;
private:
@@ -176,7 +176,7 @@ public:
void CopyData( SortedResultSet* pSource );
void Initialize( const css::uno::Sequence < css::ucb::NumberedSortingInfo > &xSortInfo,
const css::uno::Reference< css::ucb::XAnyCompareFactory > &xCompFac );
- void CheckProperties( sal_IntPtr nOldCount, sal_Bool bWasFinal );
+ void CheckProperties( sal_IntPtr nOldCount, bool bWasFinal );
void InsertNew( sal_IntPtr nPos, sal_IntPtr nCount );
void SetChanged( sal_IntPtr nPos, sal_IntPtr nCount );
diff --git a/ucb/source/ucp/cmis/cmis_content.cxx b/ucb/source/ucp/cmis/cmis_content.cxx
index a7c2d94..a37606c 100644
--- a/ucb/source/ucp/cmis/cmis_content.cxx
+++ b/ucb/source/ucp/cmis/cmis_content.cxx
@@ -233,7 +233,7 @@ namespace cmis
Content::Content( const uno::Reference< uno::XComponentContext >& rxContext, ContentProvider *pProvider,
const uno::Reference< ucb::XContentIdentifier >& Identifier,
- sal_Bool bIsFolder )
+ bool bIsFolder )
throw ( ucb::ContentCreationException )
: ContentImplHelper( rxContext, pProvider, Identifier ),
m_pProvider( pProvider ),
@@ -621,10 +621,10 @@ namespace cmis
else if ( rProp.Name == "IsReadOnly" )
{
boost::shared_ptr< libcmis::AllowableActions > allowableActions = getObject( xEnv )->getAllowableActions( );
- sal_Bool bReadOnly = sal_False;
+ bool bReadOnly = false;
if ( !allowableActions->isAllowed( libcmis::ObjectAction::SetContentStream ) &&
!allowableActions->isAllowed( libcmis::ObjectAction::CheckIn ) )
- bReadOnly = sal_True;
+ bReadOnly = true;
xRow->appendBoolean( rProp, bReadOnly );
}
@@ -763,7 +763,7 @@ namespace cmis
try
{
libcmis::ObjectPtr object = getObject( xEnv );
- sal_Bool bIsVersionable = object->getTypeDescription( )->isVersionable( );
+ bool bIsVersionable = object->getTypeDescription( )->isVersionable( );
xRow->appendBoolean( rProp, bIsVersionable );
}
catch ( const libcmis::Exception& )
@@ -859,7 +859,7 @@ namespace cmis
uno::Any aRet;
- sal_Bool bOpenFolder = (
+ bool bOpenFolder = (
( rOpenCommand.Mode == ucb::OpenMode::ALL ) ||
( rOpenCommand.Mode == ucb::OpenMode::FOLDERS ) ||
( rOpenCommand.Mode == ucb::OpenMode::DOCUMENTS )
@@ -1135,7 +1135,7 @@ namespace cmis
}
void Content::insert( const uno::Reference< io::XInputStream > & xInputStream,
- sal_Bool bReplaceExisting, const OUString& rMimeType,
+ bool bReplaceExisting, const OUString& rMimeType,
const uno::Reference< ucb::XCommandEnvironment >& xEnv )
throw( uno::Exception )
{
@@ -1389,18 +1389,18 @@ namespace cmis
return aRet;
}
- sal_Bool Content::feedSink( uno::Reference< uno::XInterface> xSink,
+ bool Content::feedSink( uno::Reference< uno::XInterface> xSink,
const uno::Reference< ucb::XCommandEnvironment >& xEnv )
{
if ( !xSink.is() )
- return sal_False;
+ return false;
uno::Reference< io::XOutputStream > xOut = uno::Reference< io::XOutputStream >(xSink, uno::UNO_QUERY );
uno::Reference< io::XActiveDataSink > xDataSink = uno::Reference< io::XActiveDataSink >(xSink, uno::UNO_QUERY );
uno::Reference< io::XActiveDataStreamer > xDataStreamer = uno::Reference< io::XActiveDataStreamer >( xSink, uno::UNO_QUERY );
if ( !xOut.is() && !xDataSink.is() && ( !xDataStreamer.is() || !xDataStreamer->getStream().is() ) )
- return sal_False;
+ return false;
if ( xDataStreamer.is() && !xOut.is() )
xOut = xDataStreamer->getStream()->getOutputStream();
@@ -1410,13 +1410,13 @@ namespace cmis
libcmis::Document* document = dynamic_cast< libcmis::Document* >( getObject( xEnv ).get() );
if (!document)
- return sal_False;
+ return false;
boost::shared_ptr< istream > aIn = document->getContentStream( );
uno::Reference< io::XInputStream > xIn = new ucbhelper::StdInputStream( aIn );
if( !xIn.is( ) )
- return sal_False;
+ return false;
if ( xDataSink.is() )
xDataSink->setInputStream( xIn );
@@ -1433,7 +1433,7 @@ namespace cmis
OUString::createFromAscii( e.what() ) );
}
- return sal_True;
+ return true;
}
uno::Sequence< beans::Property > Content::getProperties(
diff --git a/ucb/source/ucp/cmis/cmis_content.hxx b/ucb/source/ucp/cmis/cmis_content.hxx
index e596842..f7430bd 100644
--- a/ucb/source/ucp/cmis/cmis_content.hxx
+++ b/ucb/source/ucp/cmis/cmis_content.hxx
@@ -94,7 +94,7 @@ private:
throw( com::sun::star::uno::Exception );
void insert( const com::sun::star::uno::Reference< com::sun::star::io::XInputStream > & xInputStream,
- sal_Bool bReplaceExisting, const OUString & rMimeType,
+ bool bReplaceExisting, const OUString & rMimeType,
const com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment >& xEnv )
throw( com::sun::star::uno::Exception );
@@ -124,7 +124,7 @@ private:
throw(com::sun::star::uno::Exception,
std::exception);
- sal_Bool feedSink( com::sun::star::uno::Reference< com::sun::star::uno::XInterface> aSink,
+ bool feedSink( com::sun::star::uno::Reference< com::sun::star::uno::XInterface> aSink,
const com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment >& xEnv );
public:
@@ -137,7 +137,7 @@ public:
Content( const com::sun::star::uno::Reference<
com::sun::star::uno::XComponentContext >& rxContext, ContentProvider *pProvider,
const com::sun::star::uno::Reference< com::sun::star::ucb::XContentIdentifier >& Identifier,
- sal_Bool bIsFolder)
+ bool bIsFolder)
throw ( com::sun::star::ucb::ContentCreationException );
virtual ~Content();
diff --git a/ucb/source/ucp/ext/ucpext_content.cxx b/ucb/source/ucp/ext/ucpext_content.cxx
index 081ee06..d5fa68e 100644
--- a/ucb/source/ucp/ext/ucpext_content.cxx
+++ b/ucb/source/ucp/ext/ucpext_content.cxx
@@ -257,7 +257,7 @@ namespace ucb { namespace ucp { namespace ext
// unreachable
}
- sal_Bool bOpenFolder =
+ bool bOpenFolder =
( ( aOpenCommand.Mode == OpenMode::ALL ) ||
( aOpenCommand.Mode == OpenMode::FOLDERS ) ||
( aOpenCommand.Mode == OpenMode::DOCUMENTS ) );
diff --git a/ucb/source/ucp/file/bc.cxx b/ucb/source/ucp/file/bc.cxx
index de2f777..e444d31 100644
--- a/ucb/source/ucp/file/bc.cxx
+++ b/ucb/source/ucp/file/bc.cxx
@@ -79,7 +79,7 @@ public:
BaseContent::BaseContent( shell* pMyShell,
const OUString& parentName,
- sal_Bool bFolder )
+ bool bFolder )
: m_pMyShell( pMyShell ),
m_xContentIdentifier( 0 ),
m_aUncPath( parentName ),
@@ -510,7 +510,7 @@ BaseContent::getContentType()
getCppuType( static_cast< sal_Bool* >(0) ),
0 );
Reference< sdbc::XRow > xRow = getPropertyValues( -1,seq );
- sal_Bool IsDocument = xRow->getBoolean( 1 );
+ bool IsDocument = xRow->getBoolean( 1 );
if ( !xRow->wasNull() )
{
@@ -625,7 +625,7 @@ BaseContent::createNewContent(
if ( Info.Type.isEmpty() )
return Reference< XContent >();
- sal_Bool bFolder
+ bool bFolder
= ( Info.Type.compareTo( m_pMyShell->FolderContentType ) == 0 );
if ( !bFolder )
{
@@ -637,7 +637,7 @@ BaseContent::createNewContent(
}
// Who am I ?
- sal_Bool IsDocument = false;
+ bool IsDocument = false;
try
{
@@ -720,7 +720,7 @@ BaseContent::getParent(
OUString ParentUrl;
- sal_Bool err = m_pMyShell->getUrlFromUnq( ParentUnq, ParentUrl );
+ bool err = m_pMyShell->getUrlFromUnq( ParentUnq, ParentUrl );
if( err )
return Reference< XInterface >( 0 );
@@ -817,7 +817,7 @@ BaseContent::getPropertyValues(
}
else if ( rProp.Name == "IsDocument" )
{
- rValue <<= sal_Bool( !m_bFolder );
+ rValue <<= !m_bFolder;
}
}
@@ -1000,7 +1000,7 @@ BaseContent::open(
outputStream );
}
- sal_Bool bLock = ( aCommandArgument.Mode != OpenMode::DOCUMENT_SHARE_DENY_NONE );
+ bool bLock = ( aCommandArgument.Mode != OpenMode::DOCUMENT_SHARE_DENY_NONE );
Reference< io::XActiveDataSink > activeDataSink( aCommandArgument.Sink,UNO_QUERY );
if( activeDataSink.is() )
@@ -1104,7 +1104,7 @@ BaseContent::transfer( sal_Int32 nMyCommandIdentifier,
getCppuType( static_cast< sal_Bool* >(0) ),
0 );
Reference< sdbc::XRow > xRow = getPropertyValues( nMyCommandIdentifier,seq );
- sal_Bool IsDocument = xRow->getBoolean( 1 );
+ bool IsDocument = xRow->getBoolean( 1 );
if( xRow->wasNull() )
{ // Destination file type could not be determined
m_pMyShell->installError( nMyCommandIdentifier,
@@ -1165,7 +1165,7 @@ void SAL_CALL BaseContent::insert( sal_Int32 nMyCommandIdentifier,
}
// Inserting a document or a file?
- sal_Bool bDocument = false;
+ bool bDocument = false;
Sequence< beans::Property > seq(1);
seq[0] = beans::Property( OUString("IsDocument"),
@@ -1197,7 +1197,7 @@ void SAL_CALL BaseContent::insert( sal_Int32 nMyCommandIdentifier,
}
- sal_Bool success = false;
+ bool success = false;
if( bDocument )
success = m_pMyShell->mkfil( nMyCommandIdentifier,
m_aUncPath,
diff --git a/ucb/source/ucp/file/bc.hxx b/ucb/source/ucp/file/bc.hxx
index 01e54b3..824827c 100644
--- a/ucb/source/ucp/file/bc.hxx
+++ b/ucb/source/ucp/file/bc.hxx
@@ -76,7 +76,7 @@ namespace fileaccess {
// A special creator for inserted contents; Creates an ugly object
BaseContent( shell* pMyShell,
const OUString& parentName,
- sal_Bool bFolder );
+ bool bFolder );
public:
BaseContent(
@@ -277,7 +277,7 @@ namespace fileaccess {
Deleted = 4,
FullFeatured = 8,
Connected = 16 };
- sal_Bool m_bFolder;
+ bool m_bFolder;
sal_uInt16 m_nState;
osl::Mutex m_aMutex;
diff --git a/ucb/source/ucp/file/filglob.cxx b/ucb/source/ucp/file/filglob.cxx
index bc19533..5111594 100644
--- a/ucb/source/ucp/file/filglob.cxx
+++ b/ucb/source/ucp/file/filglob.cxx
@@ -62,7 +62,7 @@ namespace {
{
OUString aResourceName;
OUString aResourceType;
- sal_Bool bRemovable;
+ bool bRemovable;
bool bResourceName = false;
bool bResourceType = false;
bool bRemoveProperty = false;
@@ -153,7 +153,7 @@ namespace {
namespace fileaccess {
- sal_Bool isChild( const OUString& srcUnqPath,
+ bool isChild( const OUString& srcUnqPath,
const OUString& dstUnqPath )
{
static sal_Unicode slash = '/';
@@ -211,7 +211,7 @@ namespace fileaccess {
osl::FileBase::RC osl_File_copy( const OUString& strPath,
const OUString& strDestPath,
- sal_Bool test )
+ bool test )
{
if( test )
{
@@ -226,7 +226,7 @@ namespace fileaccess {
osl::FileBase::RC osl_File_move( const OUString& strPath,
const OUString& strDestPath,
- sal_Bool test )
+ bool test )
{
if( test )
{
diff --git a/ucb/source/ucp/file/filglob.hxx b/ucb/source/ucp/file/filglob.hxx
index 025db75..2792e74 100644
--- a/ucb/source/ucp/file/filglob.hxx
+++ b/ucb/source/ucp/file/filglob.hxx
@@ -37,7 +37,7 @@ namespace fileaccess {
// Returns true if dstUnqPath is a child from srcUnqPath or both are equal
- extern sal_Bool isChild( const OUString& srcUnqPath,
+ extern bool isChild( const OUString& srcUnqPath,
const OUString& dstUnqPath );
@@ -63,7 +63,7 @@ namespace fileaccess {
extern osl::FileBase::RC osl_File_copy( const OUString& strPath,
const OUString& strDestPath,
- sal_Bool test = false );
+ bool test = false );
/**
* special move:
@@ -74,7 +74,7 @@ namespace fileaccess {
extern osl::FileBase::RC osl_File_move( const OUString& strPath,
const OUString& strDestPath,
- sal_Bool test = false );
+ bool test = false );
// This function implements the global exception handler of the file_ucp;
// It never returns;
diff --git a/ucb/source/ucp/file/filid.cxx b/ucb/source/ucp/file/filid.cxx
index b33c63b..383589e 100644
--- a/ucb/source/ucp/file/filid.cxx
+++ b/ucb/source/ucp/file/filid.cxx
@@ -28,7 +28,7 @@ using namespace com::sun::star::ucb;
FileContentIdentifier::FileContentIdentifier(
shell* pMyShell,
const OUString& aUnqPath,
- sal_Bool IsNormalized )
+ bool IsNormalized )
: m_pMyShell( pMyShell )
{
if( IsNormalized )
diff --git a/ucb/source/ucp/file/filid.hxx b/ucb/source/ucp/file/filid.hxx
index 0be43e9..8c2ba15 100644
--- a/ucb/source/ucp/file/filid.hxx
+++ b/ucb/source/ucp/file/filid.hxx
@@ -38,7 +38,7 @@ namespace fileaccess {
public:
FileContentIdentifier( shell* pMyShell,
const OUString& aUnqPath,
- sal_Bool IsNormalized = true );
+ bool IsNormalized = true );
virtual ~FileContentIdentifier();
diff --git a/ucb/source/ucp/file/filinl.hxx b/ucb/source/ucp/file/filinl.hxx
index 9dad70f..4ad0a66 100644
--- a/ucb/source/ucp/file/filinl.hxx
+++ b/ucb/source/ucp/file/filinl.hxx
@@ -19,7 +19,7 @@
#ifndef INCLUDED_UCB_SOURCE_UCP_FILE_FILINL_HXX
#define INCLUDED_UCB_SOURCE_UCP_FILE_FILINL_HXX
-inline const sal_Bool& SAL_CALL shell::MyProperty::IsNative() const
+inline const bool& SAL_CALL shell::MyProperty::IsNative() const
{
return isNative;
}
diff --git a/ucb/source/ucp/file/filinpstr.cxx b/ucb/source/ucp/file/filinpstr.cxx
index 376bbe9..ee9fdd7 100644
--- a/ucb/source/ucp/file/filinpstr.cxx
+++ b/ucb/source/ucp/file/filinpstr.cxx
@@ -32,7 +32,7 @@ using namespace com::sun::star::ucb;
#define THROW_WHERE ""
#endif
-XInputStream_impl::XInputStream_impl( shell* pMyShell,const OUString& aUncPath, sal_Bool bLock )
+XInputStream_impl::XInputStream_impl( shell* pMyShell,const OUString& aUncPath, bool bLock )
: m_xProvider( pMyShell->m_pProvider ),
m_aFile( aUncPath ),
m_nErrorCode( TASKHANDLER_NO_ERROR ),
diff --git a/ucb/source/ucp/file/filinpstr.hxx b/ucb/source/ucp/file/filinpstr.hxx
index da99a44..5acb3bc 100644
--- a/ucb/source/ucp/file/filinpstr.hxx
+++ b/ucb/source/ucp/file/filinpstr.hxx
@@ -45,7 +45,7 @@ namespace fileaccess {
{
public:
- XInputStream_impl( shell* pMyShell,const OUString& aUncPath, sal_Bool bLock );
+ XInputStream_impl( shell* pMyShell,const OUString& aUncPath, bool bLock );
virtual ~XInputStream_impl();
@@ -142,7 +142,7 @@ namespace fileaccess {
com::sun::star::uno::Reference<
com::sun::star::ucb::XContentProvider > m_xProvider;
- sal_Bool m_nIsOpen;
+ bool m_nIsOpen;
ReconnectingFile m_aFile;
diff --git a/ucb/source/ucp/file/filrec.cxx b/ucb/source/ucp/file/filrec.cxx
index 5526a79..5af520b 100644
--- a/ucb/source/ucp/file/filrec.cxx
+++ b/ucb/source/ucp/file/filrec.cxx
@@ -25,20 +25,20 @@ namespace fileaccess {
void ReconnectingFile::disconnect()
{
m_aFile.close();
- m_bDisconnect = sal_True;
+ m_bDisconnect = true;
}
-sal_Bool ReconnectingFile::reconnect()
+bool ReconnectingFile::reconnect()
{
- sal_Bool bResult = sal_False;
+ bool bResult = false;
if ( m_bFlagsSet )
{
disconnect();
if ( m_aFile.open( m_nFlags ) == ::osl::FileBase::E_None
|| m_aFile.open( osl_File_OpenFlag_Read ) == ::osl::FileBase::E_None )
{
- m_bDisconnect = sal_False;
- bResult = sal_True;
+ m_bDisconnect = false;
+ bResult = true;
}
}
@@ -55,7 +55,7 @@ sal_Bool ReconnectingFile::reconnect()
else
m_nFlags = uFlags;
- m_bFlagsSet = sal_True;
+ m_bFlagsSet = true;
}
return nResult;
@@ -64,8 +64,8 @@ sal_Bool ReconnectingFile::reconnect()
::osl::FileBase::RC ReconnectingFile::close()
{
m_nFlags = 0;
- m_bFlagsSet = sal_False;
- m_bDisconnect = sal_False;
+ m_bFlagsSet = false;
+ m_bDisconnect = false;
return m_aFile.close();
}
diff --git a/ucb/source/ucp/file/filrec.hxx b/ucb/source/ucp/file/filrec.hxx
index 29fe74b..6591ca9 100644
--- a/ucb/source/ucp/file/filrec.hxx
+++ b/ucb/source/ucp/file/filrec.hxx
@@ -29,9 +29,9 @@ class ReconnectingFile
::osl::File m_aFile;
sal_uInt32 m_nFlags;
- sal_Bool m_bFlagsSet;
+ bool m_bFlagsSet;
- sal_Bool m_bDisconnect;
+ bool m_bDisconnect;
ReconnectingFile( ReconnectingFile& );
@@ -42,8 +42,8 @@ public:
ReconnectingFile( const OUString& aFileURL )
: m_aFile( aFileURL )
, m_nFlags( 0 )
- , m_bFlagsSet( sal_False )
- , m_bDisconnect( sal_False )
+ , m_bFlagsSet( false )
+ , m_bDisconnect( false )
{}
~ReconnectingFile()
@@ -52,7 +52,7 @@ public:
}
void disconnect();
- sal_Bool reconnect();
+ bool reconnect();
::osl::FileBase::RC open( sal_uInt32 uFlags );
diff --git a/ucb/source/ucp/file/filrow.cxx b/ucb/source/ucp/file/filrow.cxx
index e779c60..cccd504 100644
--- a/ucb/source/ucp/file/filrow.cxx
+++ b/ucb/source/ucp/file/filrow.cxx
@@ -36,13 +36,13 @@ using namespace com::sun::star::uno;
// Function for TypeConverting
template< class _type_ >
-sal_Bool convert( shell* pShell,
+bool convert( shell* pShell,
uno::Reference< script::XTypeConverter >& xConverter,
uno::Any& rValue,
_type_& aReturn )
{
// Try first without converting
- sal_Bool no_success = ! ( rValue >>= aReturn );
+ bool no_success = ! ( rValue >>= aReturn );
if ( no_success )
{
@@ -60,15 +60,15 @@ sal_Bool convert( shell* pShell,
no_success = ! ( aConvertedValue >>= aReturn );
}
else
- no_success = sal_True;
+ no_success = true;
}
catch (const lang::IllegalArgumentException&)
{
- no_success = sal_True;
+ no_success = true;
}
catch (const script::CannotConvertException&)
{
- no_success = sal_True;
+ no_success = true;
}
}
return no_success;
@@ -121,9 +121,9 @@ XRow_impl::getBoolean(
{
if( columnIndex < 1 || columnIndex > m_aValueMap.getLength() )
throw sdbc::SQLException( OUString(THROW_WHERE), uno::Reference< uno::XInterface >(), OUString(), 0, uno::Any() );
- sal_Bool Value( false );
+ bool Value( false );
osl::MutexGuard aGuard( m_aMutex );
- m_nWasNull = ::convert<sal_Bool>( m_pMyShell,m_xTypeConverter,m_aValueMap[ --columnIndex ],Value );
+ m_nWasNull = ::convert<bool>( m_pMyShell,m_xTypeConverter,m_aValueMap[ --columnIndex ],Value );
return Value;
}
diff --git a/ucb/source/ucp/file/filrow.hxx b/ucb/source/ucp/file/filrow.hxx
index 4ded726..1807661 100644
--- a/ucb/source/ucp/file/filrow.hxx
+++ b/ucb/source/ucp/file/filrow.hxx
@@ -160,7 +160,7 @@ namespace fileaccess {
private:
osl::Mutex m_aMutex;
com::sun::star::uno::Sequence< com::sun::star::uno::Any > m_aValueMap;
- sal_Bool m_nWasNull;
+ bool m_nWasNull;
shell* m_pMyShell;
com::sun::star::uno::Reference< com::sun::star::ucb::XContentProvider > m_xProvider;
com::sun::star::uno::Reference< com::sun::star::script::XTypeConverter > m_xTypeConverter;
diff --git a/ucb/source/ucp/file/filrset.cxx b/ucb/source/ucp/file/filrset.cxx
index e49f5d9..cdc6682 100644
--- a/ucb/source/ucp/file/filrset.cxx
+++ b/ucb/source/ucp/file/filrset.cxx
@@ -207,8 +207,8 @@ void XResultSet_impl::isFinalChanged()
aEv.PropertyName = "IsRowCountFinal";
aEv.Further = false;
aEv.PropertyHandle = -1;
- sal_Bool fval = false;
- sal_Bool tval = true;
+ bool fval = false;
+ bool tval = true;
aEv.OldValue <<= fval;
aEv.NewValue <<= tval;
for( sal_Int32 i = 0; i < seq.getLength(); ++i )
@@ -221,7 +221,7 @@ void XResultSet_impl::isFinalChanged()
}
-sal_Bool SAL_CALL
+bool SAL_CALL
XResultSet_impl::OneMore(
void )
throw( sdbc::SQLException,
@@ -231,7 +231,7 @@ XResultSet_impl::OneMore(
return false;
osl::FileBase::RC err;
- sal_Bool IsRegular;
+ bool IsRegular;
OUString aUnqPath;
osl::DirectoryItem m_aDirIte;
uno::Reference< sdbc::XRow > aRow;
@@ -308,7 +308,7 @@ XResultSet_impl::next(
throw( sdbc::SQLException,
uno::RuntimeException, std::exception )
{
- sal_Bool test;
+ bool test;
if( ++m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) ) test = true;
else
test = OneMore();
@@ -712,7 +712,7 @@ XResultSet_impl::getMetaData(
== 0 )
{
// @@@ #82177# - Determine correct value!
- sal_Bool bCaseSensitiveChildren = sal_False;
+ bool bCaseSensitiveChildren = false;
std::vector< ::ucbhelper::ResultSetColumnData >
aColumnData( m_sProperty.getLength() );
diff --git a/ucb/source/ucp/file/filrset.hxx b/ucb/source/ucp/file/filrset.hxx
index 0dcb2ff..531f95c 100644
--- a/ucb/source/ucp/file/filrset.hxx
+++ b/ucb/source/ucp/file/filrset.hxx
@@ -595,11 +595,11 @@ class XResultSet_impl : public Notifier,
shell* m_pMyShell;
com::sun::star::uno::Reference< com::sun::star::ucb::XContentProvider > m_xProvider;
- sal_Bool m_nIsOpen;
+ bool m_nIsOpen;
sal_Int32 m_nRow;
- sal_Bool m_nWasNull;
+ bool m_nWasNull;
sal_Int32 m_nOpenMode;
- sal_Bool m_bRowCountFinal;
+ bool m_bRowCountFinal;
typedef std::vector< com::sun::star::uno::Reference< com::sun::star::ucb::XContentIdentifier > > IdentSet;
typedef std::vector< com::sun::star::uno::Reference< com::sun::star::sdbc::XRow > > ItemSet;
@@ -622,13 +622,13 @@ class XResultSet_impl : public Notifier,
cppu::OInterfaceContainerHelper* m_pIsFinalListeners;
com::sun::star::uno::Reference< com::sun::star::ucb::XDynamicResultSetListener > m_xListener;
- sal_Bool m_bStatic;
+ bool m_bStatic;
sal_Int32 m_nErrorCode;
sal_Int32 m_nMinorErrorCode;
// Methods
- sal_Bool SAL_CALL OneMore( void )
+ bool SAL_CALL OneMore( void )
throw( com::sun::star::sdbc::SQLException,
com::sun::star::uno::RuntimeException );
diff --git a/ucb/source/ucp/file/filstr.cxx b/ucb/source/ucp/file/filstr.cxx
index dd439e7..effcc9a 100644
--- a/ucb/source/ucp/file/filstr.cxx
+++ b/ucb/source/ucp/file/filstr.cxx
@@ -40,7 +40,7 @@ using namespace com::sun::star::ucb;
/* */
/******************************************************************************/
-XStream_impl::XStream_impl( shell* pMyShell,const OUString& aUncPath, sal_Bool bLock )
+XStream_impl::XStream_impl( shell* pMyShell,const OUString& aUncPath, bool bLock )
: m_bInputStreamCalled( false ),
m_bOutputStreamCalled( false ),
m_pMyShell( pMyShell ),
diff --git a/ucb/source/ucp/file/filstr.hxx b/ucb/source/ucp/file/filstr.hxx
index ccfd3ae..12968c9 100644
--- a/ucb/source/ucp/file/filstr.hxx
+++ b/ucb/source/ucp/file/filstr.hxx
@@ -49,7 +49,7 @@ class XStream_impl : public cppu::WeakImplHelper6<
public:
- XStream_impl( shell* pMyShell,const OUString& aUncPath, sal_Bool bLock );
+ XStream_impl( shell* pMyShell,const OUString& aUncPath, bool bLock );
/**
* Returns an error code as given by filerror.hxx
@@ -181,7 +181,7 @@ class XStream_impl : public cppu::WeakImplHelper6<
shell* m_pMyShell;
com::sun::star::uno::Reference< com::sun::star::ucb::XContentProvider > m_xProvider;
- sal_Bool m_nIsOpen;
+ bool m_nIsOpen;
ReconnectingFile m_aFile;
diff --git a/ucb/source/ucp/file/prov.cxx b/ucb/source/ucp/file/prov.cxx
index 0a1ebf1..223d4c8 100644
--- a/ucb/source/ucp/file/prov.cxx
+++ b/ucb/source/ucp/file/prov.cxx
@@ -101,7 +101,7 @@ FileProvider::~FileProvider()
void SAL_CALL FileProvider::init()
{
if( ! m_pMyShell )
- m_pMyShell = new shell( m_xContext, this, sal_True );
+ m_pMyShell = new shell( m_xContext, this, true );
}
@@ -115,9 +115,9 @@ FileProvider::initialize(
if( aArguments.getLength() > 0 &&
(aArguments[0] >>= config) &&
config.equalsAscii("NoConfig") )
- m_pMyShell = new shell( m_xContext, this, sal_False );
+ m_pMyShell = new shell( m_xContext, this, false );
else
- m_pMyShell = new shell( m_xContext, this, sal_True );
+ m_pMyShell = new shell( m_xContext, this, true );
}
}
@@ -201,7 +201,7 @@ FileProvider::queryContent(
{
init();
OUString aUnc;
- sal_Bool err = m_pMyShell->getUnqFromUrl( xIdentifier->getContentIdentifier(),
+ bool err = m_pMyShell->getUnqFromUrl( xIdentifier->getContentIdentifier(),
aUnc );
if( err )
diff --git a/ucb/source/ucp/file/shell.cxx b/ucb/source/ucp/file/shell.cxx
index 906278e..87b9f5a 100644
--- a/ucb/source/ucp/file/shell.cxx
+++ b/ucb/source/ucp/file/shell.cxx
@@ -121,8 +121,8 @@ shell::MyProperty::MyProperty( const OUString& __Propert
// empty
}
-shell::MyProperty::MyProperty( const sal_Bool& __isNative,
- const OUString& __PropertyName,
+shell::MyProperty::MyProperty( const bool& __isNative,
+ const OUString& __PropertyName,
const sal_Int32& __Handle,
const com::sun::star::uno::Type& __Typ,
const com::sun::star::uno::Any& __Value,
@@ -149,7 +149,7 @@ shell::MyProperty::~MyProperty()
shell::shell( const uno::Reference< uno::XComponentContext >& rxContext,
- FileProvider* pProvider, sal_Bool bWithConfig )
+ FileProvider* pProvider, bool bWithConfig )
: TaskManager(),
m_bWithConfig( bWithConfig ),
m_pProvider( pProvider ),
@@ -660,7 +660,7 @@ void SAL_CALL shell::page( sal_Int32 CommandId,
uno::Reference< io::XInputStream > SAL_CALL
shell::open( sal_Int32 CommandId,
const OUString& aUnqPath,
- sal_Bool bLock )
+ bool bLock )
throw()
{
XInputStream_impl* xInputStream = new XInputStream_impl( this, aUnqPath, bLock ); // from filinpstr.hxx
@@ -697,7 +697,7 @@ shell::open( sal_Int32 CommandId,
uno::Reference< io::XStream > SAL_CALL
shell::open_rw( sal_Int32 CommandId,
const OUString& aUnqPath,
- sal_Bool bLock )
+ bool bLock )
throw()
{
XStream_impl* xStream = new XStream_impl( this, aUnqPath, bLock ); // from filstr.hxx
@@ -912,7 +912,7 @@ shell::setv( const OUString& aUnqPath,
else if(values[i].Name == IsReadOnly ||
values[i].Name == IsHidden)
{
- sal_Bool value = sal_False;
+ bool value = false;
if( values[i].Value >>= value )
{
osl::DirectoryItem aDirItem;
@@ -1266,7 +1266,7 @@ shell::move( sal_Int32 CommandId,
nError );
return;
}
- sal_Bool isDocument = ( aStatus.getFileType() == osl::FileStatus::Regular );
+ bool isDocument = ( aStatus.getFileType() == osl::FileStatus::Regular );
copyPersistentSet( srcUnqPath,dstUnqPath,!isDocument );
@@ -1355,7 +1355,7 @@ shell::copy(
rslvdSrcUnqPath = srcUnqPath;
}
- sal_Bool isDocument
+ bool isDocument
= type != osl::FileStatus::Directory && type != osl::FileStatus::Volume;
sal_Int32 IsWhat = isDocument ? -1 : 1;
@@ -1376,7 +1376,7 @@ shell::copy(
case NameClash::OVERWRITE:
{
// remove (..., MustExist = sal_False).
- remove( CommandId, dstUnqPath, IsWhat, sal_False );
+ remove( CommandId, dstUnqPath, IsWhat, false );
// copy.
nError = copy_recursive( rslvdSrcUnqPath,dstUnqPath,IsWhat,false );
@@ -1492,11 +1492,11 @@ shell::copy(
-sal_Bool SAL_CALL
+bool SAL_CALL
shell::remove( sal_Int32 CommandId,
const OUString& aUnqPath,
sal_Int32 IsWhat,
- sal_Bool MustExist )
+ bool MustExist )
throw()
{
sal_Int32 nMask = osl_FileStatus_Mask_Type | osl_FileStatus_Mask_FileURL;
@@ -1525,7 +1525,7 @@ shell::remove( sal_Int32 CommandId,
installError( CommandId,
TASKHANDLING_VALIDFILESTATUS_FOR_REMOVE,
nError != osl::FileBase::E_None ? nError : TASKHANDLER_NO_ERROR );
- return sal_False;
+ return false;
}
if( aStatus.getFileType() == osl::FileStatus::Regular ||
@@ -1572,7 +1572,7 @@ shell::remove( sal_Int32 CommandId,
return (!MustExist);
}
- sal_Bool whileSuccess = sal_True;
+ bool whileSuccess = true;
sal_Int32 recurse = 0;
OUString name;
@@ -1585,7 +1585,7 @@ shell::remove( sal_Int32 CommandId,
installError( CommandId,
TASKHANDLING_VALIDFILESTATUSWHILE_FOR_REMOVE,
nError != osl::FileBase::E_None ? nError : TASKHANDLER_NO_ERROR );
- whileSuccess = sal_False;
+ whileSuccess = false;
break;
}
@@ -1608,14 +1608,14 @@ shell::remove( sal_Int32 CommandId,
aDirectory.close();
if( ! whileSuccess )
- return sal_False; // error code is installed
+ return false; // error code is installed
if( nError != osl::FileBase::E_NOENT )
{
installError( CommandId,
TASKHANDLING_DIRECTORYEXHAUSTED_FOR_REMOVE,
nError );
- return sal_False;
+ return false;
}
nError = osl::Directory::remove( aUnqPath );
@@ -1639,10 +1639,10 @@ shell::remove( sal_Int32 CommandId,
{
installError( CommandId,
TASKHANDLING_FILETYPE_FOR_REMOVE );
- return sal_False;
+ return false;
}
- return sal_True;
+ return true;
}
@@ -1656,10 +1656,10 @@ shell::remove( sal_Int32 CommandId,
// Return:: success of operation
-sal_Bool SAL_CALL
+bool SAL_CALL
shell::mkdir( sal_Int32 CommandId,
const OUString& rUnqPath,
- sal_Bool OverWrite )
+ bool OverWrite )
throw()
{
OUString aUnqPath;
@@ -1680,22 +1680,22 @@ shell::mkdir( sal_Int32 CommandId,
{
installError( CommandId,
TASKHANDLING_FOLDER_EXISTS_MKDIR );
- return sal_False;
+ return false;
}
else
- return sal_True;
+ return true;
}
case osl::FileBase::E_INVAL:
{
installError(CommandId,
TASKHANDLING_INVALID_NAME_MKDIR);
- return sal_False;
+ return false;
}
case osl::FileBase::E_None:
{
OUString aPrtPath = getParentName( aUnqPath );
notifyInsert( getContentEventListeners( aPrtPath ),aUnqPath );
- return sal_True;
+ return true;
}
default:
return ensuredir(
@@ -1717,15 +1717,15 @@ shell::mkdir( sal_Int32 CommandId,
// Return:: success of operation
-sal_Bool SAL_CALL
+bool SAL_CALL
shell::mkfil( sal_Int32 CommandId,
const OUString& aUnqPath,
- sal_Bool Overwrite,
+ bool Overwrite,
const uno::Reference< io::XInputStream >& aInputStream )
throw()
{
// return value unimportant
- sal_Bool bSuccess = write( CommandId,
+ bool bSuccess = write( CommandId,
aUnqPath,
Overwrite,
aInputStream );
@@ -1749,10 +1749,10 @@ shell::mkfil( sal_Int32 CommandId,
// Return:: success of operation
-sal_Bool SAL_CALL
+bool SAL_CALL
shell::write( sal_Int32 CommandId,
const OUString& aUnqPath,
- sal_Bool OverWrite,
+ bool OverWrite,
const uno::Reference< io::XInputStream >& aInputStream )
throw()
{
@@ -1760,14 +1760,14 @@ shell::write( sal_Int32 CommandId,
{
installError( CommandId,
TASKHANDLING_INPUTSTREAM_FOR_WRITE );
- return sal_False;
+ return false;
}
// Create parent path, if necessary.
if ( ! ensuredir( CommandId,
getParentName( aUnqPath ),
TASKHANDLING_ENSUREDIR_FOR_WRITE ) )
- return sal_False;
+ return false;
osl::FileBase::RC err;
osl::File aFile( aUnqPath );
@@ -1786,7 +1786,7 @@ shell::write( sal_Int32 CommandId,
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list