summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/ChartTools.hxx5
-rw-r--r--sc/inc/PivotTableDataProvider.hxx5
-rw-r--r--sc/inc/PivotTableDataSequence.hxx5
-rw-r--r--sc/inc/PivotTableDataSource.hxx5
-rw-r--r--sc/inc/TablePivotChart.hxx5
-rw-r--r--sc/inc/TablePivotCharts.hxx5
-rw-r--r--sc/inc/ViewSettingsSequenceDefines.hxx5
-rw-r--r--sc/inc/addincfg.hxx5
-rw-r--r--sc/inc/addincol.hxx5
-rw-r--r--sc/inc/address.hxx5
-rw-r--r--sc/inc/addruno.hxx5
-rw-r--r--sc/inc/afmtuno.hxx5
-rw-r--r--sc/inc/appluno.hxx5
-rw-r--r--sc/inc/appoptio.hxx5
-rw-r--r--sc/inc/arealink.hxx5
-rw-r--r--sc/inc/attarray.hxx5
-rw-r--r--sc/inc/attrib.hxx5
-rw-r--r--sc/inc/autoform.hxx5
-rw-r--r--sc/inc/autonamecache.hxx5
-rw-r--r--sc/inc/bigrange.hxx5
-rw-r--r--sc/inc/bitmaps.hlst5
-rw-r--r--sc/inc/brdcst.hxx5
-rw-r--r--sc/inc/bulkdatahint.hxx5
-rw-r--r--sc/inc/calcconfig.hxx5
-rw-r--r--sc/inc/callform.hxx5
-rw-r--r--sc/inc/cellform.hxx5
-rw-r--r--sc/inc/cellsuno.hxx5
-rw-r--r--sc/inc/celltextattr.hxx5
-rw-r--r--sc/inc/cellvalue.hxx5
-rw-r--r--sc/inc/cellvalues.hxx5
-rw-r--r--sc/inc/chart2uno.hxx5
-rw-r--r--sc/inc/chartarr.hxx5
-rw-r--r--sc/inc/charthelper.hxx5
-rw-r--r--sc/inc/chartlis.hxx5
-rw-r--r--sc/inc/chartlock.hxx5
-rw-r--r--sc/inc/chartpos.hxx5
-rw-r--r--sc/inc/chartuno.hxx5
-rw-r--r--sc/inc/chgtrack.hxx5
-rw-r--r--sc/inc/chgviset.hxx5
-rw-r--r--sc/inc/clipcontext.hxx5
-rw-r--r--sc/inc/clipoptions.hxx5
-rw-r--r--sc/inc/clipparam.hxx5
-rw-r--r--sc/inc/colcontainer.hxx5
-rw-r--r--sc/inc/colorscale.hxx5
-rw-r--r--sc/inc/column.hxx5
-rw-r--r--sc/inc/columniterator.hxx5
-rw-r--r--sc/inc/columnspanset.hxx5
-rw-r--r--sc/inc/compare.hxx5
-rw-r--r--sc/inc/compiler.hrc5
-rw-r--r--sc/inc/compiler.hxx5
-rw-r--r--sc/inc/compressedarray.hxx5
-rw-r--r--sc/inc/conditio.hxx5
-rw-r--r--sc/inc/confuno.hxx5
-rw-r--r--sc/inc/consoli.hxx5
-rw-r--r--sc/inc/convuno.hxx5
-rw-r--r--sc/inc/cursuno.hxx5
-rw-r--r--sc/inc/dapiuno.hxx5
-rw-r--r--sc/inc/datamapper.hxx5
-rw-r--r--sc/inc/datastreamgettime.hxx5
-rw-r--r--sc/inc/datauno.hxx5
-rw-r--r--sc/inc/dbdata.hxx5
-rw-r--r--sc/inc/dbdocutl.hxx5
-rw-r--r--sc/inc/defaultsoptions.hxx5
-rw-r--r--sc/inc/defltuno.hxx5
-rw-r--r--sc/inc/detdata.hxx5
-rw-r--r--sc/inc/detfunc.hxx5
-rw-r--r--sc/inc/dispuno.hxx5
-rw-r--r--sc/inc/dociter.hxx5
-rw-r--r--sc/inc/docoptio.hxx5
-rw-r--r--sc/inc/docparam.hxx5
-rw-r--r--sc/inc/docpool.hxx5
-rw-r--r--sc/inc/document.hxx5
-rw-r--r--sc/inc/documentimport.hxx5
-rw-r--r--sc/inc/documentstreamaccess.hxx5
-rw-r--r--sc/inc/docuno.hxx5
-rw-r--r--sc/inc/dpcache.hxx5
-rw-r--r--sc/inc/dpdimsave.hxx5
-rw-r--r--sc/inc/dpfilteredcache.hxx4
-rw-r--r--sc/inc/dpglobal.hxx5
-rw-r--r--sc/inc/dpgroup.hxx5
-rw-r--r--sc/inc/dpitemdata.hxx5
-rw-r--r--sc/inc/dpnumgroupinfo.hxx5
-rw-r--r--sc/inc/dpobject.hxx5
-rw-r--r--sc/inc/dpoutput.hxx5
-rw-r--r--sc/inc/dpoutputgeometry.hxx5
-rw-r--r--sc/inc/dpresfilter.hxx5
-rw-r--r--sc/inc/dpsave.hxx5
-rw-r--r--sc/inc/dpsdbtab.hxx5
-rw-r--r--sc/inc/dpshttab.hxx5
-rw-r--r--sc/inc/dptabdat.hxx4
-rw-r--r--sc/inc/dptabres.hxx5
-rw-r--r--sc/inc/dptabsrc.hxx5
-rw-r--r--sc/inc/dptypes.hxx4
-rw-r--r--sc/inc/dputil.hxx5
-rw-r--r--sc/inc/dragdata.hxx5
-rw-r--r--sc/inc/drawpage.hxx5
-rw-r--r--sc/inc/drdefuno.hxx5
-rw-r--r--sc/inc/drwlayer.hxx5
-rw-r--r--sc/inc/editdataarray.hxx5
-rw-r--r--sc/inc/editsrc.hxx5
-rw-r--r--sc/inc/edittextiterator.hxx5
-rw-r--r--sc/inc/editutil.hxx5
-rw-r--r--sc/inc/eventuno.hxx5
-rw-r--r--sc/inc/externalrefmgr.hxx5
-rw-r--r--sc/inc/fielduno.hxx5
-rw-r--r--sc/inc/fillinfo.hxx5
-rw-r--r--sc/inc/filter.hxx5
-rw-r--r--sc/inc/filtuno.hxx5
-rw-r--r--sc/inc/fmtuno.hxx5
-rw-r--r--sc/inc/formulacell.hxx5
-rw-r--r--sc/inc/formulagroup.hxx5
-rw-r--r--sc/inc/formulaiter.hxx5
-rw-r--r--sc/inc/formulalogger.hxx5
-rw-r--r--sc/inc/formulaopt.hxx5
-rw-r--r--sc/inc/formulaparserpool.hxx5
-rw-r--r--sc/inc/formularesult.hxx5
-rw-r--r--sc/inc/fstalgorithm.hxx5
-rw-r--r--sc/inc/funcdesc.hxx5
-rw-r--r--sc/inc/funcuno.hxx5
-rw-r--r--sc/inc/generalfunction.hxx5
-rw-r--r--sc/inc/global.hxx5
-rw-r--r--sc/inc/globalnames.hxx5
-rw-r--r--sc/inc/grouparealistener.hxx5
-rw-r--r--sc/inc/helpids.h5
-rw-r--r--sc/inc/hints.hxx5
-rw-r--r--sc/inc/importfilterdata.hxx5
-rw-r--r--sc/inc/inputopt.hxx5
-rw-r--r--sc/inc/interpretercontext.hxx5
-rw-r--r--sc/inc/linkuno.hxx5
-rw-r--r--sc/inc/listenercalls.hxx5
-rw-r--r--sc/inc/listenercontext.hxx5
-rw-r--r--sc/inc/lookupcache.hxx5
-rw-r--r--sc/inc/macromgr.hxx5
-rw-r--r--sc/inc/markarr.hxx5
-rw-r--r--sc/inc/markdata.hxx5
-rw-r--r--sc/inc/markmulti.hxx5
-rw-r--r--sc/inc/math.hxx5
-rw-r--r--sc/inc/matrixoperators.hxx5
-rw-r--r--sc/inc/miscuno.hxx5
-rw-r--r--sc/inc/mtvcellfunc.hxx5
-rw-r--r--sc/inc/mtvelements.hxx5
-rw-r--r--sc/inc/mtvfunctions.hxx5
-rw-r--r--sc/inc/mutexhlp.hxx5
-rw-r--r--sc/inc/nameuno.hxx5
-rw-r--r--sc/inc/navicfg.hxx5
-rw-r--r--sc/inc/notesuno.hxx5
-rw-r--r--sc/inc/olinetab.hxx5
-rw-r--r--sc/inc/optuno.hxx5
-rw-r--r--sc/inc/optutil.hxx5
-rw-r--r--sc/inc/orcusfilters.hxx5
-rw-r--r--sc/inc/orcusxml.hxx5
-rw-r--r--sc/inc/pagepar.hxx5
-rw-r--r--sc/inc/pageuno.hxx5
-rw-r--r--sc/inc/paramisc.hxx5
-rw-r--r--sc/inc/patattr.hxx5
-rw-r--r--sc/inc/pivot.hxx5
-rw-r--r--sc/inc/postit.hxx4
-rw-r--r--sc/inc/printopt.hxx5
-rw-r--r--sc/inc/prnsave.hxx5
-rw-r--r--sc/inc/progress.hxx5
-rw-r--r--sc/inc/pvfundlg.hrc5
-rw-r--r--sc/inc/queryentry.hxx5
-rw-r--r--sc/inc/queryparam.hxx5
-rw-r--r--sc/inc/rangelst.hxx5
-rw-r--r--sc/inc/rangenam.hxx5
-rw-r--r--sc/inc/rangeseq.hxx5
-rw-r--r--sc/inc/rangeutl.hxx5
-rw-r--r--sc/inc/rechead.hxx5
-rw-r--r--sc/inc/recursionhelper.hxx5
-rw-r--r--sc/inc/refdata.hxx5
-rw-r--r--sc/inc/reffind.hxx5
-rw-r--r--sc/inc/refhint.hxx5
-rw-r--r--sc/inc/refreshtimer.hxx5
-rw-r--r--sc/inc/refreshtimerprotector.hxx5
-rw-r--r--sc/inc/reftokenhelper.hxx5
-rw-r--r--sc/inc/refupdatecontext.hxx5
-rw-r--r--sc/inc/reordermap.hxx5
-rw-r--r--sc/inc/rowheightcontext.hxx5
-rw-r--r--sc/inc/scabstdlg.hxx4
-rw-r--r--sc/inc/scdll.hxx5
-rw-r--r--sc/inc/scdllapi.h5
-rw-r--r--sc/inc/scerrors.hrc5
-rw-r--r--sc/inc/scerrors.hxx5
-rw-r--r--sc/inc/scextopt.hxx5
-rw-r--r--sc/inc/scfuncs.hrc5
-rw-r--r--sc/inc/scfuncs.hxx5
-rw-r--r--sc/inc/scitems.hxx5
-rw-r--r--sc/inc/scmatrix.hxx5
-rw-r--r--sc/inc/scmod.hxx5
-rw-r--r--sc/inc/scopetools.hxx5
-rw-r--r--sc/inc/scstyles.hrc5
-rw-r--r--sc/inc/segmenttree.hxx5
-rw-r--r--sc/inc/servuno.hxx5
-rw-r--r--sc/inc/shapeuno.hxx5
-rw-r--r--sc/inc/sharedformula.hxx5
-rw-r--r--sc/inc/sheetdata.hxx5
-rw-r--r--sc/inc/sheetevents.hxx5
-rw-r--r--sc/inc/sheetlimits.hxx5
-rw-r--r--sc/inc/shellids.hxx5
-rw-r--r--sc/inc/simpleformulacalc.hxx5
-rw-r--r--sc/inc/sortparam.hxx5
-rw-r--r--sc/inc/spellcheckcontext.hxx5
-rw-r--r--sc/inc/srchuno.hxx5
-rw-r--r--sc/inc/stlalgorithm.hxx5
-rw-r--r--sc/inc/stlpool.hxx5
-rw-r--r--sc/inc/stlsheet.hxx5
-rw-r--r--sc/inc/strings.hrc5
-rw-r--r--sc/inc/stringutil.hxx5
-rw-r--r--sc/inc/stylehelper.hxx5
-rw-r--r--sc/inc/styleuno.hxx5
-rw-r--r--sc/inc/subtotal.hxx5
-rw-r--r--sc/inc/subtotalparam.hxx5
-rw-r--r--sc/inc/subtotals.hrc5
-rw-r--r--sc/inc/tabbgcolor.hxx5
-rw-r--r--sc/inc/table.hxx5
-rw-r--r--sc/inc/tablink.hxx5
-rw-r--r--sc/inc/tabopparams.hxx5
-rw-r--r--sc/inc/tabprotection.hxx5
-rw-r--r--sc/inc/targuno.hxx5
-rw-r--r--sc/inc/textuno.hxx5
-rw-r--r--sc/inc/token.hxx5
-rw-r--r--sc/inc/tokenarray.hxx5
-rw-r--r--sc/inc/tokenstringcontext.hxx5
-rw-r--r--sc/inc/tokenuno.hxx5
-rw-r--r--sc/inc/typedstrdata.hxx5
-rw-r--r--sc/inc/types.hxx5
-rw-r--r--sc/inc/undorangename.hxx5
-rw-r--r--sc/inc/unitconv.hxx5
-rw-r--r--sc/inc/units.hrc5
-rw-r--r--sc/inc/unonames.hxx5
-rw-r--r--sc/inc/unoreflist.hxx5
-rw-r--r--sc/inc/unowids.hxx5
-rw-r--r--sc/inc/userdat.hxx5
-rw-r--r--sc/inc/userlist.hxx5
-rw-r--r--sc/inc/validat.hxx5
-rw-r--r--sc/inc/viewopti.hxx5
-rw-r--r--sc/inc/viewuno.hxx5
-rw-r--r--sc/inc/waitoff.hxx5
-rw-r--r--sc/inc/warnpassword.hxx5
-rw-r--r--sc/inc/xmlwrap.hxx5
-rw-r--r--sc/inc/zforauto.hxx5
-rw-r--r--sc/qa/unit/helper/csv_handler.hxx5
-rw-r--r--sc/qa/unit/helper/debughelper.hxx5
-rw-r--r--sc/qa/unit/helper/qahelper.hxx5
-rw-r--r--sc/qa/unit/helper/scqahelperdllapi.h5
-rw-r--r--sc/qa/unit/helper/shared_test_impl.hxx5
-rw-r--r--sc/qa/unit/helper/sorthelper.hxx5
-rw-r--r--sc/qa/unit/helper/xpath.hxx5
-rw-r--r--sc/qa/unit/ucalc.hxx5
-rw-r--r--sc/source/core/inc/addinhelpid.hxx5
-rw-r--r--sc/source/core/inc/addinlis.hxx5
-rw-r--r--sc/source/core/inc/adiasync.hxx5
-rw-r--r--sc/source/core/inc/arraysumfunctor.hxx5
-rw-r--r--sc/source/core/inc/bcaslot.hxx5
-rw-r--r--sc/source/core/inc/cellkeytranslator.hxx5
-rw-r--r--sc/source/core/inc/ddelink.hxx5
-rw-r--r--sc/source/core/inc/doubleref.hxx5
-rw-r--r--sc/source/core/inc/formulagroupcl.hxx5
-rw-r--r--sc/source/core/inc/grouptokenconverter.hxx5
-rw-r--r--sc/source/core/inc/interpre.hxx5
-rw-r--r--sc/source/core/inc/jumpmatrix.hxx5
-rw-r--r--sc/source/core/inc/parclass.hxx5
-rw-r--r--sc/source/core/inc/poolhelp.hxx5
-rw-r--r--sc/source/core/inc/refupdat.hxx5
-rw-r--r--sc/source/core/inc/scrdata.hxx5
-rw-r--r--sc/source/core/inc/webservicelink.hxx5
-rw-r--r--sc/source/core/opencl/op_addin.hxx5
-rw-r--r--sc/source/core/opencl/op_database.hxx5
-rw-r--r--sc/source/core/opencl/op_financial.hxx5
-rw-r--r--sc/source/core/opencl/op_logical.hxx5
-rw-r--r--sc/source/core/opencl/op_math.hxx5
-rw-r--r--sc/source/core/opencl/op_spreadsheet.hxx5
-rw-r--r--sc/source/core/opencl/op_statistical.hxx5
-rw-r--r--sc/source/core/opencl/opbase.hxx5
-rw-r--r--sc/source/core/opencl/opinlinefun_math.hxx5
-rw-r--r--sc/source/filter/excel/xltoolbar.hxx5
-rw-r--r--sc/source/filter/inc/XclExpChangeTrack.hxx5
-rw-r--r--sc/source/filter/inc/XclImpChangeTrack.hxx5
-rw-r--r--sc/source/filter/inc/autofilterbuffer.hxx5
-rw-r--r--sc/source/filter/inc/autofiltercontext.hxx5
-rw-r--r--sc/source/filter/inc/biffhelper.hxx5
-rw-r--r--sc/source/filter/inc/chartsheetfragment.hxx5
-rw-r--r--sc/source/filter/inc/colrowst.hxx5
-rw-r--r--sc/source/filter/inc/commentsbuffer.hxx5
-rw-r--r--sc/source/filter/inc/commentsfragment.hxx5
-rw-r--r--sc/source/filter/inc/condformatbuffer.hxx5
-rw-r--r--sc/source/filter/inc/condformatcontext.hxx5
-rw-r--r--sc/source/filter/inc/connectionsbuffer.hxx5
-rw-r--r--sc/source/filter/inc/connectionsfragment.hxx5
-rw-r--r--sc/source/filter/inc/decl.h5
-rw-r--r--sc/source/filter/inc/defnamesbuffer.hxx5
-rw-r--r--sc/source/filter/inc/dif.hxx5
-rw-r--r--sc/source/filter/inc/drawingbase.hxx5
-rw-r--r--sc/source/filter/inc/drawingfragment.hxx5
-rw-r--r--sc/source/filter/inc/eeimport.hxx5
-rw-r--r--sc/source/filter/inc/eeparser.hxx5
-rw-r--r--sc/source/filter/inc/excdefs.hxx5
-rw-r--r--sc/source/filter/inc/excdoc.hxx5
-rw-r--r--sc/source/filter/inc/excelchartconverter.hxx5
-rw-r--r--sc/source/filter/inc/excelfilter.hxx5
-rw-r--r--sc/source/filter/inc/excelhandlers.hxx5
-rw-r--r--sc/source/filter/inc/excelvbaproject.hxx5
-rw-r--r--sc/source/filter/inc/excform.hxx5
-rw-r--r--sc/source/filter/inc/excimp8.hxx5
-rw-r--r--sc/source/filter/inc/excrecds.hxx5
-rw-r--r--sc/source/filter/inc/excscen.hxx5
-rw-r--r--sc/source/filter/inc/exp_op.hxx5
-rw-r--r--sc/source/filter/inc/expbase.hxx5
-rw-r--r--sc/source/filter/inc/externallinkbuffer.hxx5
-rw-r--r--sc/source/filter/inc/externallinkfragment.hxx5
-rw-r--r--sc/source/filter/inc/extlstcontext.hxx5
-rw-r--r--sc/source/filter/inc/fapihelper.hxx5
-rw-r--r--sc/source/filter/inc/flttypes.hxx5
-rw-r--r--sc/source/filter/inc/formel.hxx5
-rw-r--r--sc/source/filter/inc/formulabase.hxx5
-rw-r--r--sc/source/filter/inc/formulabuffer.hxx5
-rw-r--r--sc/source/filter/inc/formulaparser.hxx5
-rw-r--r--sc/source/filter/inc/fprogressbar.hxx5
-rw-r--r--sc/source/filter/inc/ftools.hxx5
-rw-r--r--sc/source/filter/inc/htmlexp.hxx5
-rw-r--r--sc/source/filter/inc/htmlimp.hxx5
-rw-r--r--sc/source/filter/inc/htmlpars.hxx5
-rw-r--r--sc/source/filter/inc/imp_op.hxx5
-rw-r--r--sc/source/filter/inc/lotattr.hxx5
-rw-r--r--sc/source/filter/inc/lotfntbf.hxx5
-rw-r--r--sc/source/filter/inc/lotform.hxx5
-rw-r--r--sc/source/filter/inc/lotimpop.hxx5
-rw-r--r--sc/source/filter/inc/lotrange.hxx5
-rw-r--r--sc/source/filter/inc/namebuff.hxx5
-rw-r--r--sc/source/filter/inc/numberformatsbuffer.hxx5
-rw-r--r--sc/source/filter/inc/ooxformulaparser.hxx5
-rw-r--r--sc/source/filter/inc/op.h5
-rw-r--r--sc/source/filter/inc/optab.h5
-rw-r--r--sc/source/filter/inc/orcusfiltersimpl.hxx5
-rw-r--r--sc/source/filter/inc/orcusinterface.hxx4
-rw-r--r--sc/source/filter/inc/otlnbuff.hxx5
-rw-r--r--sc/source/filter/inc/pagesettings.hxx5
-rw-r--r--sc/source/filter/inc/pivotcachebuffer.hxx5
-rw-r--r--sc/source/filter/inc/pivotcachefragment.hxx5
-rw-r--r--sc/source/filter/inc/pivottablebuffer.hxx5
-rw-r--r--sc/source/filter/inc/pivottablefragment.hxx5
-rw-r--r--sc/source/filter/inc/qpro.hxx4
-rw-r--r--sc/source/filter/inc/qproform.hxx4
-rw-r--r--sc/source/filter/inc/qprostyle.hxx4
-rw-r--r--sc/source/filter/inc/querytablebuffer.hxx5
-rw-r--r--sc/source/filter/inc/querytablefragment.hxx5
-rw-r--r--sc/source/filter/inc/revisionfragment.hxx5
-rw-r--r--sc/source/filter/inc/richstring.hxx5
-rw-r--r--sc/source/filter/inc/richstringcontext.hxx5
-rw-r--r--sc/source/filter/inc/root.hxx5
-rw-r--r--sc/source/filter/inc/rtfexp.hxx5
-rw-r--r--sc/source/filter/inc/rtfimp.hxx5
-rw-r--r--sc/source/filter/inc/rtfparse.hxx5
-rw-r--r--sc/source/filter/inc/scenariobuffer.hxx5
-rw-r--r--sc/source/filter/inc/scenariocontext.hxx5
-rw-r--r--sc/source/filter/inc/scfobj.hxx5
-rw-r--r--sc/source/filter/inc/scmem.h5
-rw-r--r--sc/source/filter/inc/sharedformulagroups.hxx5
-rw-r--r--sc/source/filter/inc/sharedstringsbuffer.hxx5
-rw-r--r--sc/source/filter/inc/sharedstringsfragment.hxx5
-rw-r--r--sc/source/filter/inc/sheetdatabuffer.hxx5
-rw-r--r--sc/source/filter/inc/sheetdatacontext.hxx5
-rw-r--r--sc/source/filter/inc/stylesbuffer.hxx5
-rw-r--r--sc/source/filter/inc/stylesfragment.hxx5
-rw-r--r--sc/source/filter/inc/tablebuffer.hxx5
-rw-r--r--sc/source/filter/inc/tablecolumnsbuffer.hxx5
-rw-r--r--sc/source/filter/inc/tablecolumnscontext.hxx5
-rw-r--r--sc/source/filter/inc/tablefragment.hxx5
-rw-r--r--sc/source/filter/inc/themebuffer.hxx5
-rw-r--r--sc/source/filter/inc/tokstack.hxx5
-rw-r--r--sc/source/filter/inc/tool.h5
-rw-r--r--sc/source/filter/inc/unitconverter.hxx5
-rw-r--r--sc/source/filter/inc/viewsettings.hxx5
-rw-r--r--sc/source/filter/inc/workbookfragment.hxx5
-rw-r--r--sc/source/filter/inc/workbookhelper.hxx5
-rw-r--r--sc/source/filter/inc/workbooksettings.hxx5
-rw-r--r--sc/source/filter/inc/worksheetbuffer.hxx5
-rw-r--r--sc/source/filter/inc/worksheetfragment.hxx5
-rw-r--r--sc/source/filter/inc/worksheethelper.hxx5
-rw-r--r--sc/source/filter/inc/worksheetsettings.hxx5
-rw-r--r--sc/source/filter/inc/xcl97esc.hxx5
-rw-r--r--sc/source/filter/inc/xcl97rec.hxx5
-rw-r--r--sc/source/filter/inc/xechart.hxx5
-rw-r--r--sc/source/filter/inc/xecontent.hxx5
-rw-r--r--sc/source/filter/inc/xedbdata.hxx5
-rw-r--r--sc/source/filter/inc/xeescher.hxx5
-rw-r--r--sc/source/filter/inc/xeextlst.hxx5
-rw-r--r--sc/source/filter/inc/xeformula.hxx5
-rw-r--r--sc/source/filter/inc/xehelper.hxx5
-rw-r--r--sc/source/filter/inc/xelink.hxx5
-rw-r--r--sc/source/filter/inc/xename.hxx5
-rw-r--r--sc/source/filter/inc/xepage.hxx5
-rw-r--r--sc/source/filter/inc/xepivot.hxx5
-rw-r--r--sc/source/filter/inc/xepivotxml.hxx5
-rw-r--r--sc/source/filter/inc/xerecord.hxx5
-rw-r--r--sc/source/filter/inc/xeroot.hxx5
-rw-r--r--sc/source/filter/inc/xestream.hxx5
-rw-r--r--sc/source/filter/inc/xestring.hxx5
-rw-r--r--sc/source/filter/inc/xestyle.hxx5
-rw-r--r--sc/source/filter/inc/xetable.hxx5
-rw-r--r--sc/source/filter/inc/xeview.hxx5
-rw-r--r--sc/source/filter/inc/xichart.hxx5
-rw-r--r--sc/source/filter/inc/xicontent.hxx5
-rw-r--r--sc/source/filter/inc/xiescher.hxx5
-rw-r--r--sc/source/filter/inc/xiformula.hxx5
-rw-r--r--sc/source/filter/inc/xihelper.hxx5
-rw-r--r--sc/source/filter/inc/xilink.hxx5
-rw-r--r--sc/source/filter/inc/xiname.hxx5
-rw-r--r--sc/source/filter/inc/xipage.hxx5
-rw-r--r--sc/source/filter/inc/xipivot.hxx5
-rw-r--r--sc/source/filter/inc/xiroot.hxx5
-rw-r--r--sc/source/filter/inc/xistream.hxx5
-rw-r--r--sc/source/filter/inc/xistring.hxx5
-rw-r--r--sc/source/filter/inc/xistyle.hxx5
-rw-r--r--sc/source/filter/inc/xiview.hxx5
-rw-r--r--sc/source/filter/inc/xladdress.hxx5
-rw-r--r--sc/source/filter/inc/xlchart.hxx5
-rw-r--r--sc/source/filter/inc/xlconst.hxx5
-rw-r--r--sc/source/filter/inc/xlcontent.hxx5
-rw-r--r--sc/source/filter/inc/xlescher.hxx5
-rw-r--r--sc/source/filter/inc/xlformula.hxx5
-rw-r--r--sc/source/filter/inc/xllink.hxx5
-rw-r--r--sc/source/filter/inc/xlname.hxx5
-rw-r--r--sc/source/filter/inc/xlpage.hxx5
-rw-r--r--sc/source/filter/inc/xlpivot.hxx5
-rw-r--r--sc/source/filter/inc/xlroot.hxx5
-rw-r--r--sc/source/filter/inc/xlstream.hxx5
-rw-r--r--sc/source/filter/inc/xlstring.hxx5
-rw-r--r--sc/source/filter/inc/xlstyle.hxx5
-rw-r--r--sc/source/filter/inc/xltable.hxx5
-rw-r--r--sc/source/filter/inc/xltools.hxx5
-rw-r--r--sc/source/filter/inc/xltracer.hxx5
-rw-r--r--sc/source/filter/inc/xlview.hxx5
-rw-r--r--sc/source/filter/lotus/lotfilter.hxx5
-rw-r--r--sc/source/filter/xml/XMLCalculationSettingsContext.hxx5
-rw-r--r--sc/source/filter/xml/XMLCellRangeSourceContext.hxx5
-rw-r--r--sc/source/filter/xml/XMLChangeTrackingExportHelper.hxx5
-rw-r--r--sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx5
-rw-r--r--sc/source/filter/xml/XMLCodeNameProvider.hxx5
-rw-r--r--sc/source/filter/xml/XMLColumnRowGroupExport.hxx5
-rw-r--r--sc/source/filter/xml/XMLConsolidationContext.hxx5
-rw-r--r--sc/source/filter/xml/XMLConverter.hxx5
-rw-r--r--sc/source/filter/xml/XMLDDELinksContext.hxx5
-rw-r--r--sc/source/filter/xml/XMLDetectiveContext.hxx5
-rw-r--r--sc/source/filter/xml/XMLEmptyContext.hxx5
-rw-r--r--sc/source/filter/xml/XMLExportDDELinks.hxx5
-rw-r--r--sc/source/filter/xml/XMLExportDataPilot.hxx5
-rw-r--r--sc/source/filter/xml/XMLExportDatabaseRanges.hxx5
-rw-r--r--sc/source/filter/xml/XMLExportIterator.hxx5
-rw-r--r--sc/source/filter/xml/XMLExportSharedData.hxx5
-rw-r--r--sc/source/filter/xml/XMLStylesExportHelper.hxx5
-rw-r--r--sc/source/filter/xml/XMLStylesImportHelper.hxx5
-rw-r--r--sc/source/filter/xml/XMLTableHeaderFooterContext.hxx5
-rw-r--r--sc/source/filter/xml/XMLTableMasterPageExport.hxx5
-rw-r--r--sc/source/filter/xml/XMLTableShapeImportHelper.hxx5
-rw-r--r--sc/source/filter/xml/XMLTableShapeResizer.hxx5
-rw-r--r--sc/source/filter/xml/XMLTableShapesContext.hxx5
-rw-r--r--sc/source/filter/xml/XMLTableSourceContext.hxx5
-rw-r--r--sc/source/filter/xml/XMLTrackedChangesContext.hxx5
-rw-r--r--sc/source/filter/xml/cachedattraccess.hxx5
-rw-r--r--sc/source/filter/xml/celltextparacontext.hxx4
-rw-r--r--sc/source/filter/xml/datastreamimport.hxx5
-rw-r--r--sc/source/filter/xml/editattributemap.hxx5
-rw-r--r--sc/source/filter/xml/importcontext.hxx5
-rw-r--r--sc/source/filter/xml/pivotsource.hxx5
-rw-r--r--sc/source/filter/xml/xmlannoi.hxx5
-rw-r--r--sc/source/filter/xml/xmlbodyi.hxx5
-rw-r--r--sc/source/filter/xml/xmlcelli.hxx5
-rw-r--r--sc/source/filter/xml/xmlcoli.hxx5
-rw-r--r--sc/source/filter/xml/xmlcondformat.hxx5
-rw-r--r--sc/source/filter/xml/xmlconti.hxx5
-rw-r--r--sc/source/filter/xml/xmlcvali.hxx5
-rw-r--r--sc/source/filter/xml/xmldpimp.hxx5
-rw-r--r--sc/source/filter/xml/xmldrani.hxx5
-rw-r--r--sc/source/filter/xml/xmlexprt.hxx5
-rw-r--r--sc/source/filter/xml/xmlexternaltabi.hxx5
-rw-r--r--sc/source/filter/xml/xmlfilti.hxx5
-rw-r--r--sc/source/filter/xml/xmlimprt.hxx5
-rw-r--r--sc/source/filter/xml/xmllabri.hxx5
-rw-r--r--sc/source/filter/xml/xmlmappingi.hxx5
-rw-r--r--sc/source/filter/xml/xmlnexpi.hxx5
-rw-r--r--sc/source/filter/xml/xmlrowi.hxx5
-rw-r--r--sc/source/filter/xml/xmlsceni.hxx5
-rw-r--r--sc/source/filter/xml/xmlsorti.hxx5
-rw-r--r--sc/source/filter/xml/xmlstyle.hxx5
-rw-r--r--sc/source/filter/xml/xmlstyli.hxx5
-rw-r--r--sc/source/filter/xml/xmlsubti.hxx5
-rw-r--r--sc/source/filter/xml/xmltabi.hxx5
-rw-r--r--sc/source/filter/xml/xmltransformationi.hxx4
-rw-r--r--sc/source/ui/attrdlg/scdlgfact.hxx5
-rw-r--r--sc/source/ui/dataprovider/htmldataprovider.hxx5
-rw-r--r--sc/source/ui/dataprovider/sqldataprovider.hxx5
-rw-r--r--sc/source/ui/dataprovider/xmldataprovider.hxx5
-rw-r--r--sc/source/ui/docshell/docshimp.hxx5
-rw-r--r--sc/source/ui/inc/AccessibilityHints.hxx5
-rw-r--r--sc/source/ui/inc/AccessibleCell.hxx5
-rw-r--r--sc/source/ui/inc/AccessibleCellBase.hxx5
-rw-r--r--sc/source/ui/inc/AccessibleContextBase.hxx5
-rw-r--r--sc/source/ui/inc/AccessibleCsvControl.hxx5
-rw-r--r--sc/source/ui/inc/AccessibleDocument.hxx5
-rw-r--r--sc/source/ui/inc/AccessibleDocumentBase.hxx5
-rw-r--r--sc/source/ui/inc/AccessibleDocumentPagePreview.hxx5
-rw-r--r--sc/source/ui/inc/AccessibleEditObject.hxx5
-rw-r--r--sc/source/ui/inc/AccessiblePageHeader.hxx5
-rw-r--r--sc/source/ui/inc/AccessiblePageHeaderArea.hxx5
-rw-r--r--sc/source/ui/inc/AccessiblePreviewCell.hxx5
-rw-r--r--sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx5
-rw-r--r--sc/source/ui/inc/AccessiblePreviewTable.hxx5
-rw-r--r--sc/source/ui/inc/AccessibleSpreadsheet.hxx5
-rw-r--r--sc/source/ui/inc/AccessibleTableBase.hxx5
-rw-r--r--sc/source/ui/inc/AccessibleText.hxx5
-rw-r--r--sc/source/ui/inc/AnalysisOfVarianceDialog.hxx5
-rw-r--r--sc/source/ui/inc/ChartRangeSelectionListener.hxx4
-rw-r--r--sc/source/ui/inc/ChiSquareTestDialog.hxx5
-rw-r--r--sc/source/ui/inc/ChildWindowWrapper.hxx5
-rw-r--r--sc/source/ui/inc/CorrelationDialog.hxx5
-rw-r--r--sc/source/ui/inc/CovarianceDialog.hxx5
-rw-r--r--sc/source/ui/inc/DescriptiveStatisticsDialog.hxx5
-rw-r--r--sc/source/ui/inc/DrawModelBroadcaster.hxx5
-rw-r--r--sc/source/ui/inc/ExponentialSmoothingDialog.hxx5
-rw-r--r--sc/source/ui/inc/FTestDialog.hxx5
-rw-r--r--sc/source/ui/inc/FourierAnalysisDialog.hxx5
-rw-r--r--sc/source/ui/inc/IAnyRefDialog.hxx5
-rw-r--r--sc/source/ui/inc/MatrixComparisonGenerator.hxx5
-rw-r--r--sc/source/ui/inc/MovingAverageDialog.hxx5
-rw-r--r--sc/source/ui/inc/PivotLayoutDialog.hxx4
-rw-r--r--sc/source/ui/inc/PivotLayoutTreeList.hxx5
-rw-r--r--sc/source/ui/inc/PivotLayoutTreeListBase.hxx5
-rw-r--r--sc/source/ui/inc/PivotLayoutTreeListData.hxx5
-rw-r--r--sc/source/ui/inc/PivotLayoutTreeListLabel.hxx5
-rw-r--r--sc/source/ui/inc/RandomNumberGeneratorDialog.hxx5
-rw-r--r--sc/source/ui/inc/RegressionDialog.hxx5
-rw-r--r--sc/source/ui/inc/SamplingDialog.hxx5
-rw-r--r--sc/source/ui/inc/StatisticsInputOutputDialog.hxx5
-rw-r--r--sc/source/ui/inc/StatisticsTwoVariableDialog.hxx5
-rw-r--r--sc/source/ui/inc/TTestDialog.hxx5
-rw-r--r--sc/source/ui/inc/TableFillingAndNavigationTools.hxx5
-rw-r--r--sc/source/ui/inc/ZTestDialog.hxx5
-rw-r--r--sc/source/ui/inc/acredlin.hxx5
-rw-r--r--sc/source/ui/inc/anyrefdg.hxx5
-rw-r--r--sc/source/ui/inc/areasave.hxx5
-rw-r--r--sc/source/ui/inc/areasdlg.hxx5
-rw-r--r--sc/source/ui/inc/asciiopt.hxx5
-rw-r--r--sc/source/ui/inc/attrdlg.hxx5
-rw-r--r--sc/source/ui/inc/auditsh.hxx5
-rw-r--r--sc/source/ui/inc/autofmt.hxx5
-rw-r--r--sc/source/ui/inc/autostyl.hxx5
-rw-r--r--sc/source/ui/inc/cbnumberformat.hxx5
-rw-r--r--sc/source/ui/inc/cbutton.hxx5
-rw-r--r--sc/source/ui/inc/cellmergeoption.hxx5
-rw-r--r--sc/source/ui/inc/cellsh.hxx5
-rw-r--r--sc/source/ui/inc/chartsh.hxx5
-rw-r--r--sc/source/ui/inc/checklistmenu.hxx5
-rw-r--r--sc/source/ui/inc/client.hxx5
-rw-r--r--sc/source/ui/inc/cliputil.hxx5
-rw-r--r--sc/source/ui/inc/colorformat.hxx5
-rw-r--r--sc/source/ui/inc/colrowba.hxx5
-rw-r--r--sc/source/ui/inc/condformatdlg.hxx5
-rw-r--r--sc/source/ui/inc/condformatdlgentry.hxx5
-rw-r--r--sc/source/ui/inc/condformatdlgitem.hxx5
-rw-r--r--sc/source/ui/inc/condformathelper.hxx5
-rw-r--r--sc/source/ui/inc/condformatmgr.hxx5
-rw-r--r--sc/source/ui/inc/condformatuno.hxx5
-rw-r--r--sc/source/ui/inc/conflictsdlg.hxx5
-rw-r--r--sc/source/ui/inc/consdlg.hxx5
-rw-r--r--sc/source/ui/inc/content.hxx5
-rw-r--r--sc/source/ui/inc/corodlg.hxx5
-rw-r--r--sc/source/ui/inc/crdlg.hxx5
-rw-r--r--sc/source/ui/inc/crnrdlg.hxx5
-rw-r--r--sc/source/ui/inc/csvcontrol.hxx5
-rw-r--r--sc/source/ui/inc/csvgrid.hxx5
-rw-r--r--sc/source/ui/inc/csvruler.hxx5
-rw-r--r--sc/source/ui/inc/csvsplits.hxx5
-rw-r--r--sc/source/ui/inc/csvtablebox.hxx5
-rw-r--r--sc/source/ui/inc/dapidata.hxx5
-rw-r--r--sc/source/ui/inc/dapitype.hxx5
-rw-r--r--sc/source/ui/inc/datafdlg.hxx4
-rw-r--r--sc/source/ui/inc/dataprovider.hxx4
-rw-r--r--sc/source/ui/inc/dataproviderdlg.hxx5
-rw-r--r--sc/source/ui/inc/datastream.hxx5
-rw-r--r--sc/source/ui/inc/datastreamdlg.hxx5
-rw-r--r--sc/source/ui/inc/datatableview.hxx5
-rw-r--r--sc/source/ui/inc/datatransformation.hxx5
-rw-r--r--sc/source/ui/inc/dbdocfun.hxx5
-rw-r--r--sc/source/ui/inc/dbfunc.hxx5
-rw-r--r--sc/source/ui/inc/dbnamdlg.hxx5
-rw-r--r--sc/source/ui/inc/delcldlg.hxx5
-rw-r--r--sc/source/ui/inc/delcodlg.hxx5
-rw-r--r--sc/source/ui/inc/docfunc.hxx5
-rw-r--r--sc/source/ui/inc/docfuncutil.hxx5
-rw-r--r--sc/source/ui/inc/docsh.hxx5
-rw-r--r--sc/source/ui/inc/dpcontrol.hxx5
-rw-r--r--sc/source/ui/inc/dpgroupdlg.hxx5
-rw-r--r--sc/source/ui/inc/drawsh.hxx5
-rw-r--r--sc/source/ui/inc/drawutil.hxx5
-rw-r--r--sc/source/ui/inc/drawview.hxx5
-rw-r--r--sc/source/ui/inc/drformsh.hxx5
-rw-r--r--sc/source/ui/inc/drtxtob.hxx5
-rw-r--r--sc/source/ui/inc/drwtrans.hxx5
-rw-r--r--sc/source/ui/inc/dwfunctr.hxx5
-rw-r--r--sc/source/ui/inc/editable.hxx5
-rw-r--r--sc/source/ui/inc/editfield.hxx5
-rw-r--r--sc/source/ui/inc/editsh.hxx5
-rw-r--r--sc/source/ui/inc/filldlg.hxx5
-rw-r--r--sc/source/ui/inc/filtdlg.hxx5
-rw-r--r--sc/source/ui/inc/foptmgr.hxx5
-rw-r--r--sc/source/ui/inc/formatsh.hxx5
-rw-r--r--sc/source/ui/inc/formdata.hxx5
-rw-r--r--sc/source/ui/inc/formula.hxx5
-rw-r--r--sc/source/ui/inc/fuconarc.hxx5
-rw-r--r--sc/source/ui/inc/fuconcustomshape.hxx5
-rw-r--r--sc/source/ui/inc/fuconpol.hxx5
-rw-r--r--sc/source/ui/inc/fuconrec.hxx5
-rw-r--r--sc/source/ui/inc/fuconstr.hxx5
-rw-r--r--sc/source/ui/inc/fuconuno.hxx5
-rw-r--r--sc/source/ui/inc/fudraw.hxx5
-rw-r--r--sc/source/ui/inc/fuinsert.hxx5
-rw-r--r--sc/source/ui/inc/fupoor.hxx5
-rw-r--r--sc/source/ui/inc/fusel.hxx5
-rw-r--r--sc/source/ui/inc/futext.hxx5
-rw-r--r--sc/source/ui/inc/graphsh.hxx5
-rw-r--r--sc/source/ui/inc/gridmerg.hxx5
-rw-r--r--sc/source/ui/inc/gridwin.hxx5
-rw-r--r--sc/source/ui/inc/groupdlg.hxx5
-rw-r--r--sc/source/ui/inc/hdrcont.hxx5
-rw-r--r--sc/source/ui/inc/hfedtdlg.hxx5
-rw-r--r--sc/source/ui/inc/highred.hxx5
-rw-r--r--sc/source/ui/inc/hiranges.hxx5
-rw-r--r--sc/source/ui/inc/imoptdlg.hxx5
-rw-r--r--sc/source/ui/inc/impex.hxx5
-rw-r--r--sc/source/ui/inc/inputhdl.hxx5
-rw-r--r--sc/source/ui/inc/inputwin.hxx5
-rw-r--r--sc/source/ui/inc/inscldlg.hxx5
-rw-r--r--sc/source/ui/inc/inscodlg.hxx5
-rw-r--r--sc/source/ui/inc/instbdlg.hxx5
-rw-r--r--sc/source/ui/inc/invmerge.hxx5
-rw-r--r--sc/source/ui/inc/lbseldlg.hxx5
-rw-r--r--sc/source/ui/inc/linkarea.hxx5
-rw-r--r--sc/source/ui/inc/lnktrans.hxx5
-rw-r--r--sc/source/ui/inc/mediash.hxx5
-rw-r--r--sc/source/ui/inc/mergecellsdialog.hxx5
-rw-r--r--sc/source/ui/inc/msgpool.hxx5
-rw-r--r--sc/source/ui/inc/mtrindlg.hxx5
-rw-r--r--sc/source/ui/inc/mvtabdlg.hxx5
-rw-r--r--sc/source/ui/inc/namecrea.hxx5
-rw-r--r--sc/source/ui/inc/namedefdlg.hxx5
-rw-r--r--sc/source/ui/inc/namedlg.hxx5
-rw-r--r--sc/source/ui/inc/namemgrtable.hxx5
-rw-r--r--sc/source/ui/inc/namepast.hxx5
-rw-r--r--sc/source/ui/inc/navcitem.hxx5
-rw-r--r--sc/source/ui/inc/navipi.hxx5
-rw-r--r--sc/source/ui/inc/navsett.hxx5
-rw-r--r--sc/source/ui/inc/notemark.hxx5
-rw-r--r--sc/source/ui/inc/oleobjsh.hxx5
-rw-r--r--sc/source/ui/inc/olinefun.hxx5
-rw-r--r--sc/source/ui/inc/olinewin.hxx5
-rw-r--r--sc/source/ui/inc/opredlin.hxx4
-rw-r--r--sc/source/ui/inc/optsolver.hxx5
-rw-r--r--sc/source/ui/inc/output.hxx5
-rw-r--r--sc/source/ui/inc/overlayobject.hxx5
-rw-r--r--sc/source/ui/inc/pagedata.hxx5
-rw-r--r--sc/source/ui/inc/pfiltdlg.hxx5
-rw-r--r--sc/source/ui/inc/pfuncache.hxx5
-rw-r--r--sc/source/ui/inc/pgbrksh.hxx5
-rw-r--r--sc/source/ui/inc/pivotsh.hxx5
-rw-r--r--sc/source/ui/inc/pntlock.hxx5
-rw-r--r--sc/source/ui/inc/preview.hxx5
-rw-r--r--sc/source/ui/inc/prevloc.hxx5
-rw-r--r--sc/source/ui/inc/prevwsh.hxx5
-rw-r--r--sc/source/ui/inc/printfun.hxx5
-rw-r--r--sc/source/ui/inc/protectiondlg.hxx5
-rw-r--r--sc/source/ui/inc/pvfundlg.hxx5
-rw-r--r--sc/source/ui/inc/redcom.hxx5
-rw-r--r--sc/source/ui/inc/reffact.hxx5
-rw-r--r--sc/source/ui/inc/refundo.hxx5
-rw-r--r--sc/source/ui/inc/retypepassdlg.hxx5
-rw-r--r--sc/source/ui/inc/rfindlst.hxx5
-rw-r--r--sc/source/ui/inc/scendlg.hxx5
-rw-r--r--sc/source/ui/inc/scui_def.hxx4
-rw-r--r--sc/source/ui/inc/scuiasciiopt.hxx5
-rw-r--r--sc/source/ui/inc/scuiautofmt.hxx4
-rw-r--r--sc/source/ui/inc/scuiimoptdlg.hxx5
-rw-r--r--sc/source/ui/inc/scuitphfedit.hxx5
-rw-r--r--sc/source/ui/inc/searchresults.hxx5
-rw-r--r--sc/source/ui/inc/select.hxx5
-rw-r--r--sc/source/ui/inc/selectionstate.hxx5
-rw-r--r--sc/source/ui/inc/seltrans.hxx5
-rw-r--r--sc/source/ui/inc/servobj.hxx5
-rw-r--r--sc/source/ui/inc/sharedocdlg.hxx5
-rw-r--r--sc/source/ui/inc/shtabdlg.hxx5
-rw-r--r--sc/source/ui/inc/simpref.hxx5
-rw-r--r--sc/source/ui/inc/sizedev.hxx5
-rw-r--r--sc/source/ui/inc/solveroptions.hxx5
-rw-r--r--sc/source/ui/inc/solverutil.hxx5
-rw-r--r--sc/source/ui/inc/solvrdlg.hxx5
-rw-r--r--sc/source/ui/inc/sortdlg.hxx5
-rw-r--r--sc/source/ui/inc/sortkeydlg.hxx5
-rw-r--r--sc/source/ui/inc/spelldialog.hxx5
-rw-r--r--sc/source/ui/inc/spelleng.hxx5
-rw-r--r--sc/source/ui/inc/spellparam.hxx5
-rw-r--r--sc/source/ui/inc/strindlg.hxx5
-rw-r--r--sc/source/ui/inc/styledlg.hxx5
-rw-r--r--sc/source/ui/inc/subtdlg.hxx5
-rw-r--r--sc/source/ui/inc/tabbgcolordlg.hxx5
-rw-r--r--sc/source/ui/inc/tabcont.hxx5
-rw-r--r--sc/source/ui/inc/tabopdlg.hxx5
-rw-r--r--sc/source/ui/inc/tabpages.hxx5
-rw-r--r--sc/source/ui/inc/tabsplit.hxx5
-rw-r--r--sc/source/ui/inc/tabview.hxx5
-rw-r--r--sc/source/ui/inc/tabvwsh.hxx5
-rw-r--r--sc/source/ui/inc/target.hxx5
-rw-r--r--sc/source/ui/inc/tbzoomsliderctrl.hxx5
-rw-r--r--sc/source/ui/inc/textdlgs.hxx5
-rw-r--r--sc/source/ui/inc/textimportoptions.hxx5
-rw-r--r--sc/source/ui/inc/tpcalc.hxx5
-rw-r--r--sc/source/ui/inc/tpcompatibility.hxx5
-rw-r--r--sc/source/ui/inc/tpdefaults.hxx5
-rw-r--r--sc/source/ui/inc/tpformula.hxx5
-rw-r--r--sc/source/ui/inc/tphf.hxx5
-rw-r--r--sc/source/ui/inc/tphfedit.hxx5
-rw-r--r--sc/source/ui/inc/tpprint.hxx5
-rw-r--r--sc/source/ui/inc/tpsort.hxx5
-rw-r--r--sc/source/ui/inc/tpstat.hxx5
-rw-r--r--sc/source/ui/inc/tpsubt.hxx5
-rw-r--r--sc/source/ui/inc/tptable.hxx5
-rw-r--r--sc/source/ui/inc/tpusrlst.hxx5
-rw-r--r--sc/source/ui/inc/tpview.hxx5
-rw-r--r--sc/source/ui/inc/transobj.hxx5
-rw-r--r--sc/source/ui/inc/uiitems.hxx5
-rw-r--r--sc/source/ui/inc/undobase.hxx5
-rw-r--r--sc/source/ui/inc/undoblk.hxx5
-rw-r--r--sc/source/ui/inc/undocell.hxx5
-rw-r--r--sc/source/ui/inc/undoconvert.hxx5
-rw-r--r--sc/source/ui/inc/undodat.hxx5
-rw-r--r--sc/source/ui/inc/undodraw.hxx5
-rw-r--r--sc/source/ui/inc/undoolk.hxx5
-rw-r--r--sc/source/ui/inc/undosort.hxx5
-rw-r--r--sc/source/ui/inc/undostyl.hxx5
-rw-r--r--sc/source/ui/inc/undotab.hxx5
-rw-r--r--sc/source/ui/inc/undoutil.hxx5
-rw-r--r--sc/source/ui/inc/validate.hxx5
-rw-r--r--sc/source/ui/inc/viewdata.hxx5
-rw-r--r--sc/source/ui/inc/viewfunc.hxx5
-rw-r--r--sc/source/ui/inc/viewutil.hxx5
-rw-r--r--sc/source/ui/inc/warnbox.hxx5
-rw-r--r--sc/source/ui/inc/xmlsourcedlg.hxx5
-rw-r--r--sc/source/ui/optdlg/calcoptionsdlg.hxx5
-rw-r--r--sc/source/ui/sidebar/AlignmentPropertyPanel.hxx5
-rw-r--r--sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx5
-rw-r--r--sc/source/ui/sidebar/CellBorderStyleControl.hxx5
-rw-r--r--sc/source/ui/sidebar/CellLineStyleControl.hxx5
-rw-r--r--sc/source/ui/sidebar/CellLineStyleValueSet.hxx5
-rw-r--r--sc/source/ui/sidebar/NumberFormatPropertyPanel.hxx5
-rw-r--r--sc/source/ui/sidebar/ScPanelFactory.hxx5
-rw-r--r--sc/source/ui/unoobj/celllistsource.hxx5
-rw-r--r--sc/source/ui/unoobj/cellvaluebinding.hxx5
-rw-r--r--sc/source/ui/unoobj/exceldetect.hxx5
-rw-r--r--sc/source/ui/unoobj/scdetect.hxx5
-rw-r--r--sc/source/ui/vba/excelvbahelper.hxx5
-rw-r--r--sc/source/ui/vba/helperdecl.hxx5
-rw-r--r--sc/source/ui/vba/vbaapplication.hxx4
-rw-r--r--sc/source/ui/vba/vbaassistant.hxx5
-rw-r--r--sc/source/ui/vba/vbaaxes.hxx5
-rw-r--r--sc/source/ui/vba/vbaaxis.hxx5
-rw-r--r--sc/source/ui/vba/vbaaxistitle.hxx4
-rw-r--r--sc/source/ui/vba/vbaborders.hxx5
-rw-r--r--sc/source/ui/vba/vbacharacters.hxx5
-rw-r--r--sc/source/ui/vba/vbachart.hxx5
-rw-r--r--sc/source/ui/vba/vbachartobject.hxx5
-rw-r--r--sc/source/ui/vba/vbachartobjects.hxx5
-rw-r--r--sc/source/ui/vba/vbacharttitle.hxx4
-rw-r--r--sc/source/ui/vba/vbacomment.hxx5
-rw-r--r--sc/source/ui/vba/vbacomments.hxx5
-rw-r--r--sc/source/ui/vba/vbacondition.hxx4
-rw-r--r--sc/source/ui/vba/vbadialog.hxx5
-rw-r--r--sc/source/ui/vba/vbadialogs.hxx5
-rw-r--r--sc/source/ui/vba/vbaeventshelper.hxx5
-rw-r--r--sc/source/ui/vba/vbafiledialog.hxx5
-rw-r--r--sc/source/ui/vba/vbafiledialogitems.hxx5
-rw-r--r--sc/source/ui/vba/vbafont.hxx5
-rw-r--r--sc/source/ui/vba/vbaformat.hxx5
-rw-r--r--sc/source/ui/vba/vbaformatcondition.hxx4
-rw-r--r--sc/source/ui/vba/vbaformatconditions.hxx5
-rw-r--r--sc/source/ui/vba/vbahyperlink.hxx5
-rw-r--r--sc/source/ui/vba/vbahyperlinks.hxx5
-rw-r--r--sc/source/ui/vba/vbainterior.hxx4
-rw-r--r--sc/source/ui/vba/vbalineshape.hxx5
-rw-r--r--sc/source/ui/vba/vbamenu.hxx4
-rw-r--r--sc/source/ui/vba/vbamenubar.hxx4
-rw-r--r--sc/source/ui/vba/vbamenubars.hxx5
-rw-r--r--sc/source/ui/vba/vbamenuitem.hxx4
-rw-r--r--sc/source/ui/vba/vbamenuitems.hxx5
-rw-r--r--sc/source/ui/vba/vbamenus.hxx5
-rw-r--r--sc/source/ui/vba/vbaname.hxx4
-rw-r--r--sc/source/ui/vba/vbanames.hxx4
-rw-r--r--sc/source/ui/vba/vbaoleobject.hxx4
-rw-r--r--sc/source/ui/vba/vbaoleobjects.hxx4
-rw-r--r--sc/source/ui/vba/vbaoutline.hxx4
-rw-r--r--sc/source/ui/vba/vbaovalshape.hxx5
-rw-r--r--sc/source/ui/vba/vbapagebreak.hxx5
-rw-r--r--sc/source/ui/vba/vbapagebreaks.hxx5
-rw-r--r--sc/source/ui/vba/vbapagesetup.hxx4
-rw-r--r--sc/source/ui/vba/vbapalette.hxx5
-rw-r--r--sc/source/ui/vba/vbapane.hxx5
-rw-r--r--sc/source/ui/vba/vbapivotcache.hxx5
-rw-r--r--sc/source/ui/vba/vbapivottable.hxx5
-rw-r--r--sc/source/ui/vba/vbapivottables.hxx5
-rw-r--r--sc/source/ui/vba/vbarange.hxx5
-rw-r--r--sc/source/ui/vba/vbasheetobject.hxx5
-rw-r--r--sc/source/ui/vba/vbasheetobjects.hxx5
-rw-r--r--sc/source/ui/vba/vbastyle.hxx5
-rw-r--r--sc/source/ui/vba/vbastyles.hxx5
-rw-r--r--sc/source/ui/vba/vbatextboxshape.hxx4
-rw-r--r--sc/source/ui/vba/vbatextframe.hxx5
-rw-r--r--sc/source/ui/vba/vbatitle.hxx4
-rw-r--r--sc/source/ui/vba/vbavalidation.hxx5
-rw-r--r--sc/source/ui/vba/vbawindow.hxx5
-rw-r--r--sc/source/ui/vba/vbawindows.hxx5
-rw-r--r--sc/source/ui/vba/vbaworkbook.hxx5
-rw-r--r--sc/source/ui/vba/vbaworkbooks.hxx5
-rw-r--r--sc/source/ui/vba/vbaworksheet.hxx5
-rw-r--r--sc/source/ui/vba/vbaworksheets.hxx5
-rw-r--r--sc/source/ui/vba/vbawsfunction.hxx4
-rw-r--r--sc/source/ui/view/imapwrap.hxx5
824 files changed, 824 insertions, 3260 deletions
diff --git a/sc/inc/ChartTools.hxx b/sc/inc/ChartTools.hxx
index 08b53437d43e..05e3bb404b8a 100644
--- a/sc/inc/ChartTools.hxx
+++ b/sc/inc/ChartTools.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SC_INC_CHARTTOOLS_HXX
-#define INCLUDED_SC_INC_CHARTTOOLS_HXX
+#pragma once
#include <memory>
#include <vector>
@@ -52,6 +51,4 @@ std::vector<SdrOle2Obj*> getAllPivotChartsConnectedTo(std::u16string_view sPivot
} // end sc::tools
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/PivotTableDataProvider.hxx b/sc/inc/PivotTableDataProvider.hxx
index 3dadfa94cd8e..d31b9adb2e02 100644
--- a/sc/inc/PivotTableDataProvider.hxx
+++ b/sc/inc/PivotTableDataProvider.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_PIVOTTABLEDATAPROVIDER_HXX
-#define INCLUDED_SC_INC_PIVOTTABLEDATAPROVIDER_HXX
+#pragma once
#include <com/sun/star/chart2/data/XDataProvider.hpp>
#include <com/sun/star/chart2/data/XPivotTableDataProvider.hpp>
@@ -181,6 +180,4 @@ private:
}
-#endif // INCLUDED_SC_INC_PIVOTTABLEDATAPROVIDER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/PivotTableDataSequence.hxx b/sc/inc/PivotTableDataSequence.hxx
index 91d975e6a9c4..09d43f09898f 100644
--- a/sc/inc/PivotTableDataSequence.hxx
+++ b/sc/inc/PivotTableDataSequence.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_PIVOTTABLEDATASEQUENCE_HXX
-#define INCLUDED_SC_INC_PIVOTTABLEDATASEQUENCE_HXX
+#pragma once
#include <com/sun/star/chart2/data/XDataSequence.hpp>
#include <com/sun/star/chart2/data/XTextualDataSequence.hpp>
@@ -165,6 +164,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/PivotTableDataSource.hxx b/sc/inc/PivotTableDataSource.hxx
index ff8a13c401e0..b322779573e2 100644
--- a/sc/inc/PivotTableDataSource.hxx
+++ b/sc/inc/PivotTableDataSource.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_PIVOTTABLEDATASOURCE_HXX
-#define INCLUDED_SC_INC_PIVOTTABLEDATASOURCE_HXX
+#pragma once
#include <com/sun/star/chart2/data/XDataSource.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
@@ -51,6 +50,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/TablePivotChart.hxx b/sc/inc/TablePivotChart.hxx
index 3e39a77e16e0..2ba73530ad85 100644
--- a/sc/inc/TablePivotChart.hxx
+++ b/sc/inc/TablePivotChart.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_TABLEPIVOTCHART_HXX
-#define INCLUDED_SC_INC_TABLEPIVOTCHART_HXX
+#pragma once
#include <com/sun/star/table/XTablePivotChart.hpp>
#include <com/sun/star/document/XEmbeddedObjectSupplier.hpp>
@@ -69,6 +68,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/TablePivotCharts.hxx b/sc/inc/TablePivotCharts.hxx
index 9c44632b2001..9660e3678233 100644
--- a/sc/inc/TablePivotCharts.hxx
+++ b/sc/inc/TablePivotCharts.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_TABLEPIVOTCHARTS_HXX
-#define INCLUDED_SC_INC_TABLEPIVOTCHARTS_HXX
+#pragma once
#include <com/sun/star/table/XTablePivotCharts.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
@@ -68,6 +67,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/ViewSettingsSequenceDefines.hxx b/sc/inc/ViewSettingsSequenceDefines.hxx
index d80346cac56c..1db1fed2882a 100644
--- a/sc/inc/ViewSettingsSequenceDefines.hxx
+++ b/sc/inc/ViewSettingsSequenceDefines.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_VIEWSETTINGSSEQUENCEDEFINES_HXX
-#define INCLUDED_SC_INC_VIEWSETTINGSSEQUENCEDEFINES_HXX
+#pragma once
// this are the defines for the position of the settings in the
// ViewSettingsSequence
@@ -97,6 +96,4 @@
#define SC_VIEWID "ViewId"
#define SC_VIEW "view"
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/addincfg.hxx b/sc/inc/addincfg.hxx
index 0a279c4e8f5d..0c0e24c3564e 100644
--- a/sc/inc/addincfg.hxx
+++ b/sc/inc/addincfg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_ADDINCFG_HXX
-#define INCLUDED_SC_INC_ADDINCFG_HXX
+#pragma once
#include <unotools/configitem.hxx>
@@ -39,6 +38,4 @@ public:
using ConfigItem::GetNodeNames;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/addincol.hxx b/sc/inc/addincol.hxx
index d36396a1f29b..98001ba46ef5 100644
--- a/sc/inc/addincol.hxx
+++ b/sc/inc/addincol.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_ADDINCOL_HXX
-#define INCLUDED_SC_INC_ADDINCOL_HXX
+#pragma once
#include <memory>
#include <com/sun/star/uno/Any.h>
@@ -229,6 +228,4 @@ public:
GetVarRes() const { return xVarRes; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx
index 4b2ad09691ba..be8e16c59071 100644
--- a/sc/inc/address.hxx
+++ b/sc/inc/address.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_ADDRESS_HXX
-#define INCLUDED_SC_INC_ADDRESS_HXX
+#pragma once
#include <rtl/ustrbuf.hxx>
#include <rtl/strbuf.hxx>
@@ -990,6 +989,4 @@ inline OUString ScColToAlpha( SCCOL nCol )
/// get column number of A..IV... string
bool AlphaToCol(const ScDocument& rDoc, SCCOL& rCol, const OUString& rStr);
-#endif // INCLUDED_SC_INC_ADDRESS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/addruno.hxx b/sc/inc/addruno.hxx
index 000c740e37e2..54c91ed6ff60 100644
--- a/sc/inc/addruno.hxx
+++ b/sc/inc/addruno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_ADDRUNO_HXX
-#define INCLUDED_SC_INC_ADDRUNO_HXX
+#pragma once
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
@@ -70,6 +69,4 @@ public:
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/afmtuno.hxx b/sc/inc/afmtuno.hxx
index f005773d9c91..466ebeceada3 100644
--- a/sc/inc/afmtuno.hxx
+++ b/sc/inc/afmtuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_AFMTUNO_HXX
-#define INCLUDED_SC_INC_AFMTUNO_HXX
+#pragma once
#include <svl/itemprop.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
@@ -186,6 +185,4 @@ public:
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/appluno.hxx b/sc/inc/appluno.hxx
index 739a7919553e..c1dcc4b5fb82 100644
--- a/sc/inc/appluno.hxx
+++ b/sc/inc/appluno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_APPLUNO_HXX
-#define INCLUDED_SC_INC_APPLUNO_HXX
+#pragma once
#include <svl/itemprop.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
@@ -224,6 +223,4 @@ public:
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/appoptio.hxx b/sc/inc/appoptio.hxx
index ebadb6e329fd..09e3a8455916 100644
--- a/sc/inc/appoptio.hxx
+++ b/sc/inc/appoptio.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_APPOPTIO_HXX
-#define INCLUDED_SC_INC_APPOPTIO_HXX
+#pragma once
#include <sfx2/zoomitem.hxx>
#include "scdllapi.h"
@@ -140,6 +139,4 @@ public:
void OptionsChanged(); // after direct access to ScAppOptions base class
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/arealink.hxx b/sc/inc/arealink.hxx
index f4a59750e68c..a2b3a5d73b2e 100644
--- a/sc/inc/arealink.hxx
+++ b/sc/inc/arealink.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_AREALINK_HXX
-#define INCLUDED_SC_INC_AREALINK_HXX
+#pragma once
#include "refreshtimer.hxx"
#include "address.hxx"
@@ -75,6 +74,4 @@ public:
DECL_LINK( RefreshHdl, Timer*, void );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/attarray.hxx b/sc/inc/attarray.hxx
index db18d87fc81d..c0d65c7fcbea 100644
--- a/sc/inc/attarray.hxx
+++ b/sc/inc/attarray.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_ATTARRAY_HXX
-#define INCLUDED_SC_INC_ATTARRAY_HXX
+#pragma once
#include "global.hxx"
#include "attrib.hxx"
@@ -314,6 +313,4 @@ inline const ScPatternAttr* ScAttrIterator::Resync( SCROW nRowP, SCROW& rTop, SC
return Next( rTop, rBottom);
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/attrib.hxx b/sc/inc/attrib.hxx
index 63025d90de30..57fb4a74db58 100644
--- a/sc/inc/attrib.hxx
+++ b/sc/inc/attrib.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_ATTRIB_HXX
-#define INCLUDED_SC_INC_ATTRIB_HXX
+#pragma once
#include <memory>
#include <svl/poolitem.hxx>
@@ -357,6 +356,4 @@ public:
const IntlWrapper& rIntl) const override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/autoform.hxx b/sc/inc/autoform.hxx
index 43f22b107c62..15df248510d5 100644
--- a/sc/inc/autoform.hxx
+++ b/sc/inc/autoform.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_AUTOFORM_HXX
-#define INCLUDED_SC_INC_AUTOFORM_HXX
+#pragma once
/*************************************************************************
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@@ -212,6 +211,4 @@ public:
iterator end();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/autonamecache.hxx b/sc/inc/autonamecache.hxx
index 2f76b6d1e04b..c014fa38fbca 100644
--- a/sc/inc/autonamecache.hxx
+++ b/sc/inc/autonamecache.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_AUTONAMECACHE_HXX
-#define INCLUDED_SC_INC_AUTONAMECACHE_HXX
+#pragma once
#include <unordered_map>
#include <vector>
@@ -42,6 +41,4 @@ public:
const ScAutoNameAddresses& GetNameOccurrences( const OUString& rName, SCTAB nTab );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/bigrange.hxx b/sc/inc/bigrange.hxx
index 056c0d4ae304..a935681c58b8 100644
--- a/sc/inc/bigrange.hxx
+++ b/sc/inc/bigrange.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_BIGRANGE_HXX
-#define INCLUDED_SC_INC_BIGRANGE_HXX
+#pragma once
#include "address.hxx"
#include <algorithm>
@@ -176,6 +175,4 @@ inline bool ScBigRange::Intersects( const ScBigRange& r ) const
);
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/bitmaps.hlst b/sc/inc/bitmaps.hlst
index 254cd2db2d8e..682849013f63 100644
--- a/sc/inc/bitmaps.hlst
+++ b/sc/inc/bitmaps.hlst
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_BITMAPS_HRC
-#define INCLUDED_SC_INC_BITMAPS_HRC
+#pragma once
#define RID_BMP_LEVEL1 "sc/res/ou01.png"
#define RID_BMP_LEVEL2 "sc/res/ou02.png"
@@ -125,6 +124,4 @@
#define RID_SVXBMP_SLIDERDECREASE "svx/res/slidezoomout_10.png"
#define RID_SVXBMP_SLIDERINCREASE "svx/res/slidezoomin_10.png"
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
diff --git a/sc/inc/brdcst.hxx b/sc/inc/brdcst.hxx
index 9bc119d27c0c..0c29d29e607a 100644
--- a/sc/inc/brdcst.hxx
+++ b/sc/inc/brdcst.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_BRDCST_HXX
-#define INCLUDED_SC_INC_BRDCST_HXX
+#pragma once
#include "address.hxx"
#include <svl/hint.hxx>
@@ -41,6 +40,4 @@ public:
const ScRange& GetRange() const { return aNewRange; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/bulkdatahint.hxx b/sc/inc/bulkdatahint.hxx
index d587472b5eb2..20fb76f06c9e 100644
--- a/sc/inc/bulkdatahint.hxx
+++ b/sc/inc/bulkdatahint.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_BULKDATAHINT_HXX
-#define INCLUDED_SC_BULKDATAHINT_HXX
+#pragma once
#include <svl/hint.hxx>
#include <memory>
@@ -38,6 +37,4 @@ public:
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/calcconfig.hxx b/sc/inc/calcconfig.hxx
index 00c49d66ffee..57f6d3886616 100644
--- a/sc/inc/calcconfig.hxx
+++ b/sc/inc/calcconfig.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_CALCCONFIG_HXX
-#define INCLUDED_SC_INC_CALCCONFIG_HXX
+#pragma once
#include "scdllapi.h"
@@ -84,6 +83,4 @@ struct SC_DLLPUBLIC ScCalcConfig
OUString ScOpCodeSetToSymbolicString(const ScCalcConfig::OpCodeSet& rOpCodes);
ScCalcConfig::OpCodeSet ScStringToOpCodeSet(std::u16string_view rOpCodes);
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/callform.hxx b/sc/inc/callform.hxx
index fd85ab1122b2..59f7ae4e6c59 100644
--- a/sc/inc/callform.hxx
+++ b/sc/inc/callform.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_CALLFORM_HXX
-#define INCLUDED_SC_INC_CALLFORM_HXX
+#pragma once
#include <rtl/ustring.hxx>
@@ -107,6 +106,4 @@ public:
bool InitExternalFunc(const OUString& rModuleName);
void ExitExternalFunc();
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/cellform.hxx b/sc/inc/cellform.hxx
index a19b61695624..afda8feea89a 100644
--- a/sc/inc/cellform.hxx
+++ b/sc/inc/cellform.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_CELLFORM_HXX
-#define INCLUDED_SC_INC_CELLFORM_HXX
+#pragma once
#include "scdllapi.h"
#include <rtl/ustring.hxx>
@@ -51,6 +50,4 @@ public:
ScDocument& rDoc, const ScAddress& rPos, const ScRefCellValue& rCell );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx
index 87bca6b02a29..29e33e37974e 100644
--- a/sc/inc/cellsuno.hxx
+++ b/sc/inc/cellsuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_CELLSUNO_HXX
-#define INCLUDED_SC_INC_CELLSUNO_HXX
+#pragma once
#include "address.hxx"
#include "rangelst.hxx"
@@ -1215,6 +1214,4 @@ public:
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/celltextattr.hxx b/sc/inc/celltextattr.hxx
index eb24101b3d0f..e6a475700d9e 100644
--- a/sc/inc/celltextattr.hxx
+++ b/sc/inc/celltextattr.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_CELLTEXTATTR_HXX
-#define INCLUDED_SC_CELLTEXTATTR_HXX
+#pragma once
#include <sal/types.h>
#include <svl/languageoptions.hxx>
@@ -24,6 +23,4 @@ struct CellTextAttr
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/cellvalue.hxx b/sc/inc/cellvalue.hxx
index 5dfe66ba2763..3cd1bb8710cf 100644
--- a/sc/inc/cellvalue.hxx
+++ b/sc/inc/cellvalue.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_CELLVALUE_HXX
-#define INCLUDED_SC_INC_CELLVALUE_HXX
+#pragma once
#include "global.hxx"
@@ -179,6 +178,4 @@ struct SC_DLLPUBLIC ScRefCellValue
bool equalsWithoutFormat( const ScRefCellValue& r ) const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/cellvalues.hxx b/sc/inc/cellvalues.hxx
index ff9088b211f2..0043d65270e6 100644
--- a/sc/inc/cellvalues.hxx
+++ b/sc/inc/cellvalues.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_CELLVALUES_HXX
-#define INCLUDED_SC_INC_CELLVALUES_HXX
+#pragma once
#include "address.hxx"
#include <memory>
@@ -115,6 +114,4 @@ public:
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/chart2uno.hxx b/sc/inc/chart2uno.hxx
index 5f63433feef3..79c289996cf7 100644
--- a/sc/inc/chart2uno.hxx
+++ b/sc/inc/chart2uno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_CHART2UNO_HXX
-#define INCLUDED_SC_INC_CHART2UNO_HXX
+#pragma once
#include "cellsuno.hxx"
#include "rangelst.hxx"
@@ -391,6 +390,4 @@ private:
};
-#endif // INCLUDED_SC_INC_CHART2UNO_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/chartarr.hxx b/sc/inc/chartarr.hxx
index 94bfabcd55c1..3540ccb90055 100644
--- a/sc/inc/chartarr.hxx
+++ b/sc/inc/chartarr.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_CHARTARR_HXX
-#define INCLUDED_SC_INC_CHARTARR_HXX
+#pragma once
#include "rangelst.hxx"
#include "chartpos.hxx"
@@ -80,6 +79,4 @@ public:
std::unique_ptr<ScMemChart> CreateMemChart();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/charthelper.hxx b/sc/inc/charthelper.hxx
index 3b0c6857cdf7..69eb7f2372d2 100644
--- a/sc/inc/charthelper.hxx
+++ b/sc/inc/charthelper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_CHARTHELPER_HXX
-#define INCLUDED_SC_INC_CHARTHELPER_HXX
+#pragma once
#include "rangelst.hxx"
@@ -52,6 +51,4 @@ public:
const ScRangeListVector& rRangesVector, const ::std::vector< OUString >& rExcludedChartNames, bool bSameDoc = true );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/chartlis.hxx b/sc/inc/chartlis.hxx
index c5a882b40a4a..dd8b397c8dcb 100644
--- a/sc/inc/chartlis.hxx
+++ b/sc/inc/chartlis.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_CHARTLIS_HXX
-#define INCLUDED_SC_INC_CHARTLIS_HXX
+#pragma once
#include <vcl/idle.hxx>
#include <svl/listener.hxx>
@@ -209,6 +208,4 @@ public:
void EndListeningHiddenRange( ScChartHiddenRangeListener* pListener );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/chartlock.hxx b/sc/inc/chartlock.hxx
index cc63fc03c661..bf66b7f5b772 100644
--- a/sc/inc/chartlock.hxx
+++ b/sc/inc/chartlock.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_CHARTLOCK_HXX
-#define INCLUDED_SC_INC_CHARTLOCK_HXX
+#pragma once
#include <vcl/timer.hxx>
@@ -70,6 +69,4 @@ private:
ScTemporaryChartLock( const ScTemporaryChartLock& ) = delete;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/chartpos.hxx b/sc/inc/chartpos.hxx
index ab953ef1461a..538fc12a6ef9 100644
--- a/sc/inc/chartpos.hxx
+++ b/sc/inc/chartpos.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_CHARTPOS_HXX
-#define INCLUDED_SC_INC_CHARTPOS_HXX
+#pragma once
#include "rangelst.hxx"
#include <tools/solar.h>
@@ -137,6 +136,4 @@ public:
const ScChartPositionMap* GetPositionMap();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/chartuno.hxx b/sc/inc/chartuno.hxx
index 5a3ed1f1e2ac..5937ce92e256 100644
--- a/sc/inc/chartuno.hxx
+++ b/sc/inc/chartuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_CHARTUNO_HXX
-#define INCLUDED_SC_INC_CHARTUNO_HXX
+#pragma once
#include "rangelst.hxx"
#include <svl/lstner.hxx>
@@ -163,6 +162,4 @@ public:
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/chgtrack.hxx b/sc/inc/chgtrack.hxx
index 9fb9a3f87077..6ddbe90f2e67 100644
--- a/sc/inc/chgtrack.hxx
+++ b/sc/inc/chgtrack.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_CHGTRACK_HXX
-#define INCLUDED_SC_INC_CHGTRACK_HXX
+#pragma once
#include <map>
#include <memory>
@@ -1145,6 +1144,4 @@ public:
void GetChangeTrackInfo(tools::JsonWriter&);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/chgviset.hxx b/sc/inc/chgviset.hxx
index 75491c2dd1d8..88f817b970a5 100644
--- a/sc/inc/chgviset.hxx
+++ b/sc/inc/chgviset.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_CHGVISET_HXX
-#define INCLUDED_SC_INC_CHGVISET_HXX
+#pragma once
#include <memory>
#include <tools/datetime.hxx>
@@ -127,6 +126,4 @@ public:
void SetTheActionRange( sal_uLong nFirst, sal_uLong nLast ) { mnFirstAction = nFirst; mnLastAction = nLast; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/clipcontext.hxx b/sc/inc/clipcontext.hxx
index 9a69038bb0c7..55746b74f31e 100644
--- a/sc/inc/clipcontext.hxx
+++ b/sc/inc/clipcontext.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_CLIPCONTEXT_HXX
-#define INCLUDED_SC_INC_CLIPCONTEXT_HXX
+#pragma once
#include "address.hxx"
#include "cellvalue.hxx"
@@ -164,6 +163,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/clipoptions.hxx b/sc/inc/clipoptions.hxx
index 081a1a46d679..bb00e4c04bc2 100644
--- a/sc/inc/clipoptions.hxx
+++ b/sc/inc/clipoptions.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_CLIPOPTIONS_HXX
-#define INCLUDED_SC_INC_CLIPOPTIONS_HXX
+#pragma once
#include "scdllapi.h"
#include <com/sun/star/uno/Reference.h>
@@ -26,6 +25,4 @@ public:
css::uno::Reference<css::document::XDocumentProperties> m_xDocumentProperties;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/clipparam.hxx b/sc/inc/clipparam.hxx
index 575a04526763..7a4513ffb502 100644
--- a/sc/inc/clipparam.hxx
+++ b/sc/inc/clipparam.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_CLIPPARAM_HXX
-#define INCLUDED_SC_INC_CLIPPARAM_HXX
+#pragma once
#include "rangelst.hxx"
#include "charthelper.hxx"
@@ -66,6 +65,4 @@ struct SC_DLLPUBLIC ScClipParam
void setSourceDocID( sal_uInt32 nVal ) { mnSourceDocID = nVal; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/colcontainer.hxx b/sc/inc/colcontainer.hxx
index e3f36e5172b6..13455b5e2c14 100644
--- a/sc/inc/colcontainer.hxx
+++ b/sc/inc/colcontainer.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_COLCONTAINER_HXX
-#define INCLUDED_SC_INC_COLCONTAINER_HXX
+#pragma once
#include "types.hxx"
#include "column.hxx"
@@ -78,6 +77,4 @@ private:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/colorscale.hxx b/sc/inc/colorscale.hxx
index 49e09e04bb26..de74030dbc85 100644
--- a/sc/inc/colorscale.hxx
+++ b/sc/inc/colorscale.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_COLORSCALE_HXX
-#define INCLUDED_SC_INC_COLORSCALE_HXX
+#pragma once
#include <formula/grammar.hxx>
#include <tools/color.hxx>
@@ -409,6 +408,4 @@ private:
std::unique_ptr<ScIconSetFormatData> mpFormatData;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx
index 3adca3745ec0..1395d7ec7825 100644
--- a/sc/inc/column.hxx
+++ b/sc/inc/column.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_COLUMN_HXX
-#define INCLUDED_SC_INC_COLUMN_HXX
+#pragma once
#include "global.hxx"
#include "address.hxx"
@@ -779,6 +778,4 @@ private:
void SetNeedsListeningGroup( SCROW nRow );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/columniterator.hxx b/sc/inc/columniterator.hxx
index 3dbe76106ea2..5cf57e0f438b 100644
--- a/sc/inc/columniterator.hxx
+++ b/sc/inc/columniterator.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_COLUMNITERATOR_HXX
-#define INCLUDED_SC_INC_COLUMNITERATOR_HXX
+#pragma once
#include <stddef.h>
#include "address.hxx"
@@ -86,6 +85,4 @@ public:
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/columnspanset.hxx b/sc/inc/columnspanset.hxx
index 9e7e4f16fe24..570f99c10fb8 100644
--- a/sc/inc/columnspanset.hxx
+++ b/sc/inc/columnspanset.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_COLUMNSPANSET_HXX
-#define INCLUDED_SC_INC_COLUMNSPANSET_HXX
+#pragma once
#include "address.hxx"
@@ -171,6 +170,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/compare.hxx b/sc/inc/compare.hxx
index dbad76f6b985..bdfca81773b2 100644
--- a/sc/inc/compare.hxx
+++ b/sc/inc/compare.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_COMPARE_HXX
-#define INCLUDED_SC_INC_COMPARE_HXX
+#pragma once
#include "queryentry.hxx"
@@ -79,6 +78,4 @@ double CompareEmptyToNumericFunc( double fCell2 );
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/compiler.hrc b/sc/inc/compiler.hrc
index a97948f55b59..8e7b50dafb06 100644
--- a/sc/inc/compiler.hrc
+++ b/sc/inc/compiler.hrc
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_COMPILER_HRC
-#define INCLUDED_SC_INC_COMPILER_HRC
+#pragma once
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
@@ -37,6 +36,4 @@ const char* RID_FUNCTION_CATEGORIES[] =
NC_("RID_FUNCTION_CATEGORIES", "Add-in")
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx
index b051f3ad4b4e..4eadf561eacf 100644
--- a/sc/inc/compiler.hxx
+++ b/sc/inc/compiler.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_COMPILER_HXX
-#define INCLUDED_SC_INC_COMPILER_HXX
+#pragma once
#include <string.h>
@@ -522,6 +521,4 @@ private:
void AnnotateTrimOnDoubleRefs();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/compressedarray.hxx b/sc/inc/compressedarray.hxx
index 91540d8391db..286b42e8ff0a 100644
--- a/sc/inc/compressedarray.hxx
+++ b/sc/inc/compressedarray.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_COMPRESSEDARRAY_HXX
-#define INCLUDED_SC_INC_COMPRESSEDARRAY_HXX
+#pragma once
#include <cstddef>
#include <memory>
@@ -222,6 +221,4 @@ void ScBitMaskCompressedArray<A,D>::OrValue( A nPos, const D& rValueToOr )
this->SetValue( nPos, rValue | rValueToOr);
}
-#endif // INCLUDED_SC_INC_COMPRESSEDARRAY_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/conditio.hxx b/sc/inc/conditio.hxx
index d22c623bd06e..a2441d22c3c2 100644
--- a/sc/inc/conditio.hxx
+++ b/sc/inc/conditio.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_CONDITIO_HXX
-#define INCLUDED_SC_INC_CONDITIO_HXX
+#pragma once
#include "global.hxx"
#include <tools/solar.h>
@@ -691,6 +690,4 @@ public:
void CalcAll();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/confuno.hxx b/sc/inc/confuno.hxx
index 59d7a61b2468..4bec4dcf6c1c 100644
--- a/sc/inc/confuno.hxx
+++ b/sc/inc/confuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_CONFUNO_HXX
-#define INCLUDED_SC_INC_CONFUNO_HXX
+#pragma once
#include <svl/itemprop.hxx>
#include <svl/lstner.hxx>
@@ -66,6 +65,4 @@ public:
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/consoli.hxx b/sc/inc/consoli.hxx
index 8d6bf621b3ef..46b952a3e778 100644
--- a/sc/inc/consoli.hxx
+++ b/sc/inc/consoli.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_CONSOLI_HXX
-#define INCLUDED_SC_INC_CONSOLI_HXX
+#pragma once
#include "global.hxx"
#include "address.hxx"
@@ -89,6 +88,4 @@ public:
SCROW GetInsertCount() const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/convuno.hxx b/sc/inc/convuno.hxx
index b2c54f08775e..1bae9f95430a 100644
--- a/sc/inc/convuno.hxx
+++ b/sc/inc/convuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_CONVUNO_HXX
-#define INCLUDED_SC_INC_CONVUNO_HXX
+#pragma once
#include <algorithm>
#include <i18nlangtag/lang.h>
@@ -114,6 +113,4 @@ inline bool ScUnoConversion::Contains(
(rApiOuter.StartRow <= rApiInner.StartRow) && (rApiInner.EndRow <= rApiOuter.EndRow);
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/cursuno.hxx b/sc/inc/cursuno.hxx
index 861fb075bdd7..bfa4235aa0ec 100644
--- a/sc/inc/cursuno.hxx
+++ b/sc/inc/cursuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_CURSUNO_HXX
-#define INCLUDED_SC_INC_CURSUNO_HXX
+#pragma once
#include "cellsuno.hxx"
#include <com/sun/star/table/XCellCursor.hpp>
@@ -82,6 +81,4 @@ public:
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/dapiuno.hxx b/sc/inc/dapiuno.hxx
index 613d114128ff..de09a32c870d 100644
--- a/sc/inc/dapiuno.hxx
+++ b/sc/inc/dapiuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DAPIUNO_HXX
-#define INCLUDED_SC_INC_DAPIUNO_HXX
+#pragma once
#include "cellsuno.hxx"
#include "dpglobal.hxx"
@@ -720,6 +719,4 @@ private:
sal_Int32 mnIndex;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/datamapper.hxx b/sc/inc/datamapper.hxx
index 0972931fd28d..9188915db544 100644
--- a/sc/inc/datamapper.hxx
+++ b/sc/inc/datamapper.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_EXTERNALDATAMAPPER_HXX
-#define INCLUDED_SC_INC_EXTERNALDATAMAPPER_HXX
+#pragma once
#include <vector>
@@ -112,6 +111,4 @@ public:
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/datastreamgettime.hxx b/sc/inc/datastreamgettime.hxx
index b44c1db5d49e..38dbdff121a5 100644
--- a/sc/inc/datastreamgettime.hxx
+++ b/sc/inc/datastreamgettime.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DATASTREAMGETTIME_HXX
-#define INCLUDED_SC_INC_DATASTREAMGETTIME_HXX
+#pragma once
#include <sal/config.h>
@@ -35,6 +34,4 @@ enum class DebugTime
double datastream_get_time(DebugTime nIdx);
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/datauno.hxx b/sc/inc/datauno.hxx
index 17b5fb63e61f..0eb3c8bbb245 100644
--- a/sc/inc/datauno.hxx
+++ b/sc/inc/datauno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DATAUNO_HXX
-#define INCLUDED_SC_INC_DATAUNO_HXX
+#pragma once
#include "global.hxx"
#include "queryparam.hxx"
@@ -545,6 +544,4 @@ public:
virtual sal_Bool SAL_CALL hasByTable( sal_Int32 nTab ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/dbdata.hxx b/sc/inc/dbdata.hxx
index c39d8676ffb6..39ae2835e0f8 100644
--- a/sc/inc/dbdata.hxx
+++ b/sc/inc/dbdata.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DBDATA_HXX
-#define INCLUDED_SC_INC_DBDATA_HXX
+#pragma once
#include "scdllapi.h"
#include "refreshtimer.hxx"
@@ -341,6 +340,4 @@ public:
bool operator== (const ScDBCollection& r) const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/dbdocutl.hxx b/sc/inc/dbdocutl.hxx
index f4779bdffae7..5fd1186d814e 100644
--- a/sc/inc/dbdocutl.hxx
+++ b/sc/inc/dbdocutl.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DBDOCUTL_HXX
-#define INCLUDED_SC_INC_DBDOCUTL_HXX
+#pragma once
#include "types.hxx"
#include <sal/types.h>
@@ -47,6 +46,4 @@ public:
tools::Long nType, bool bCurrency, StrData* pStrData = nullptr );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/defaultsoptions.hxx b/sc/inc/defaultsoptions.hxx
index 98f3050db4ce..3deefb8fc150 100644
--- a/sc/inc/defaultsoptions.hxx
+++ b/sc/inc/defaultsoptions.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_DEFAULTSOPTIONS_HXX
-#define INCLUDED_SC_INC_DEFAULTSOPTIONS_HXX
+#pragma once
#include <svl/poolitem.hxx>
#include <unotools/configitem.hxx>
@@ -76,6 +75,4 @@ public:
virtual void Notify( const css::uno::Sequence< OUString >& aPropertyNames ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/defltuno.hxx b/sc/inc/defltuno.hxx
index 3bc31800072b..296a6d3edc8d 100644
--- a/sc/inc/defltuno.hxx
+++ b/sc/inc/defltuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DEFLTUNO_HXX
-#define INCLUDED_SC_INC_DEFLTUNO_HXX
+#pragma once
#include <svl/lstner.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
@@ -78,6 +77,4 @@ public:
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/detdata.hxx b/sc/inc/detdata.hxx
index 0d699c8aa950..927ad29a4b5e 100644
--- a/sc/inc/detdata.hxx
+++ b/sc/inc/detdata.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DETDATA_HXX
-#define INCLUDED_SC_INC_DETDATA_HXX
+#pragma once
#include "global.hxx"
@@ -83,6 +82,4 @@ public:
size_t Count() const { return aDetOpDataVector.size(); }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/detfunc.hxx b/sc/inc/detfunc.hxx
index 623f1e5c3442..cb5758fd3f57 100644
--- a/sc/inc/detfunc.hxx
+++ b/sc/inc/detfunc.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DETFUNC_HXX
-#define INCLUDED_SC_INC_DETFUNC_HXX
+#pragma once
#include "address.hxx"
#include <tools/gen.hxx>
@@ -151,6 +150,4 @@ public:
static void AppendChangTrackNoteSeparator(OUString &str);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/dispuno.hxx b/sc/inc/dispuno.hxx
index f6e981eb4f1b..f8c5e0791a83 100644
--- a/sc/inc/dispuno.hxx
+++ b/sc/inc/dispuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DISPUNO_HXX
-#define INCLUDED_SC_INC_DISPUNO_HXX
+#pragma once
#include <com/sun/star/frame/XDispatchProviderInterceptor.hpp>
#include <com/sun/star/view/XSelectionChangeListener.hpp>
@@ -108,6 +107,4 @@ public:
virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/dociter.hxx b/sc/inc/dociter.hxx
index 0bc9c4edf7fa..2aee6ac950c1 100644
--- a/sc/inc/dociter.hxx
+++ b/sc/inc/dociter.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DOCITER_HXX
-#define INCLUDED_SC_INC_DOCITER_HXX
+#pragma once
#include "address.hxx"
#include "formulagroup.hxx"
@@ -620,6 +619,4 @@ private:
const ::std::vector<TabRanges>* mpTabRangesArray;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/docoptio.hxx b/sc/inc/docoptio.hxx
index 66946b3cf15b..6e4d4f124cda 100644
--- a/sc/inc/docoptio.hxx
+++ b/sc/inc/docoptio.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DOCOPTIO_HXX
-#define INCLUDED_SC_INC_DOCOPTIO_HXX
+#pragma once
#include <unotools/textsearch.hxx>
#include <svl/poolitem.hxx>
@@ -173,6 +172,4 @@ public:
void SetOptions( const ScDocOptions& rNew );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/docparam.hxx b/sc/inc/docparam.hxx
index 0f29b86121f9..76713bd6bde3 100644
--- a/sc/inc/docparam.hxx
+++ b/sc/inc/docparam.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_DOCPARAM_HXX
-#define INCLUDED_SC_INC_DOCPARAM_HXX
+#pragma once
#include <sal/types.h> // for sal_uInt32
#include "types.hxx" // for SCROW
@@ -24,6 +23,4 @@ struct ScColWidthParam
ScColWidthParam();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/docpool.hxx b/sc/inc/docpool.hxx
index 6a6e6be3d189..3622aa38a68e 100644
--- a/sc/inc/docpool.hxx
+++ b/sc/inc/docpool.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DOCPOOL_HXX
-#define INCLUDED_SC_INC_DOCPOOL_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <svl/itempool.hxx>
@@ -51,6 +50,4 @@ private:
virtual const SfxPoolItem& PutImpl( const SfxPoolItem&, sal_uInt16 nWhich = 0, bool bPassingOwnership = false ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 111956304334..fb5980cc5b5e 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DOCUMENT_HXX
-#define INCLUDED_SC_INC_DOCUMENT_HXX
+#pragma once
#include <vcl/idle.hxx>
#include <vcl/errcode.hxx>
@@ -2692,6 +2691,4 @@ public:
}
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/documentimport.hxx b/sc/inc/documentimport.hxx
index 758469f258a6..8dcb3726bde3 100644
--- a/sc/inc/documentimport.hxx
+++ b/sc/inc/documentimport.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_DOCUMENTIMPORT_HXX
-#define INCLUDED_SC_INC_DOCUMENTIMPORT_HXX
+#pragma once
#include "scdllapi.h"
#include "address.hxx"
@@ -138,6 +137,4 @@ private:
static void broadcastRecalcAfterImportColumn(ScColumn& rCol);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/documentstreamaccess.hxx b/sc/inc/documentstreamaccess.hxx
index c3e2f5155589..d34ea15ac8bc 100644
--- a/sc/inc/documentstreamaccess.hxx
+++ b/sc/inc/documentstreamaccess.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_DOCUMENTSTREAMACCESS_HXX
-#define INCLUDED_SC_INC_DOCUMENTSTREAMACCESS_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <memory>
@@ -56,6 +55,4 @@ public:
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/docuno.hxx b/sc/inc/docuno.hxx
index 490589446522..4325a747a3fa 100644
--- a/sc/inc/docuno.hxx
+++ b/sc/inc/docuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DOCUNO_HXX
-#define INCLUDED_SC_INC_DOCUNO_HXX
+#pragma once
#include "address.hxx"
@@ -754,6 +753,4 @@ public:
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/dpcache.hxx b/sc/inc/dpcache.hxx
index ccb26df2492f..e46e38f66a52 100644
--- a/sc/inc/dpcache.hxx
+++ b/sc/inc/dpcache.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DPCACHE_HXX
-#define INCLUDED_SC_INC_DPCACHE_HXX
+#pragma once
#include "address.hxx"
#include "calcmacros.hxx"
@@ -213,6 +212,4 @@ private:
const GroupItems* GetGroupItems(tools::Long nDim) const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/dpdimsave.hxx b/sc/inc/dpdimsave.hxx
index a22342ed893a..a44563365054 100644
--- a/sc/inc/dpdimsave.hxx
+++ b/sc/inc/dpdimsave.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DPDIMSAVE_HXX
-#define INCLUDED_SC_INC_DPDIMSAVE_HXX
+#pragma once
#include <tools/long.hxx>
@@ -215,6 +214,4 @@ private:
ScDPSaveNumGroupDimMap maNumGroupDims;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/dpfilteredcache.hxx b/sc/inc/dpfilteredcache.hxx
index b0503ebd82c3..e7737141dbc3 100644
--- a/sc/inc/dpfilteredcache.hxx
+++ b/sc/inc/dpfilteredcache.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DPFILTEREDCACHE_HXX
-#define INCLUDED_SC_INC_DPFILTEREDCACHE_HXX
+#pragma once
#include <sal/types.h>
#include "dpitemdata.hxx"
@@ -172,6 +171,5 @@ private:
const ScDPCache& mrCache;
};
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/dpglobal.hxx b/sc/inc/dpglobal.hxx
index 0a5b6e94dc6b..f311addbf88d 100644
--- a/sc/inc/dpglobal.hxx
+++ b/sc/inc/dpglobal.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DPGLOBAL_HXX
-#define INCLUDED_SC_INC_DPGLOBAL_HXX
+#pragma once
#include <o3tl/typed_flags_set.hxx>
@@ -54,6 +53,4 @@ struct ScDPValue
void Set( double fV, Type eT );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/dpgroup.hxx b/sc/inc/dpgroup.hxx
index 30254b321efa..a76d97ec7726 100644
--- a/sc/inc/dpgroup.hxx
+++ b/sc/inc/dpgroup.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DPGROUP_HXX
-#define INCLUDED_SC_INC_DPGROUP_HXX
+#pragma once
#include <memory>
#include <unordered_set>
@@ -178,6 +177,4 @@ public:
#endif
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/dpitemdata.hxx b/sc/inc/dpitemdata.hxx
index 5e589f01f10e..8f76264438ff 100644
--- a/sc/inc/dpitemdata.hxx
+++ b/sc/inc/dpitemdata.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_DPITEMDATA_HXX
-#define INCLUDED_SC_INC_DPITEMDATA_HXX
+#pragma once
#include "scdllapi.h"
@@ -96,6 +95,4 @@ public:
#endif
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/dpnumgroupinfo.hxx b/sc/inc/dpnumgroupinfo.hxx
index 4a867a99efb1..170c099de259 100644
--- a/sc/inc/dpnumgroupinfo.hxx
+++ b/sc/inc/dpnumgroupinfo.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_DPNUMGROUPINFO_HXX
-#define INCLUDED_SC_INC_DPNUMGROUPINFO_HXX
+#pragma once
#include "scdllapi.h"
#include "calcmacros.hxx"
@@ -31,6 +30,4 @@ struct ScDPNumGroupInfo
#endif
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx
index 4459b4b06dce..0ecaf6466e08 100644
--- a/sc/inc/dpobject.hxx
+++ b/sc/inc/dpobject.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DPOBJECT_HXX
-#define INCLUDED_SC_INC_DPOBJECT_HXX
+#pragma once
#include "scdllapi.h"
#include "global.hxx"
@@ -451,6 +450,4 @@ private:
bool operator<(const ScDPCollection::DBType& left, const ScDPCollection::DBType& right);
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/dpoutput.hxx b/sc/inc/dpoutput.hxx
index 756cccef5725..30334147a70c 100644
--- a/sc/inc/dpoutput.hxx
+++ b/sc/inc/dpoutput.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DPOUTPUT_HXX
-#define INCLUDED_SC_INC_DPOUTPUT_HXX
+#pragma once
#include <com/sun/star/sheet/DataPilotOutputRangeType.hpp>
#include <com/sun/star/sheet/DataPilotFieldOrientation.hpp>
@@ -133,6 +132,4 @@ public:
const css::uno::Reference< css::uno::XInterface>& xDim );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/dpoutputgeometry.hxx b/sc/inc/dpoutputgeometry.hxx
index 3ffb052d7454..392819258aa4 100644
--- a/sc/inc/dpoutputgeometry.hxx
+++ b/sc/inc/dpoutputgeometry.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DPOUTPUTGEOMETRY_HXX
-#define INCLUDED_SC_INC_DPOUTPUTGEOMETRY_HXX
+#pragma once
#include "address.hxx"
#include <vector>
@@ -66,6 +65,4 @@ private:
bool mbCompactMode; // MSO only setting
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/dpresfilter.hxx b/sc/inc/dpresfilter.hxx
index 5e6b0a1fa0d3..fcc41a296042 100644
--- a/sc/inc/dpresfilter.hxx
+++ b/sc/inc/dpresfilter.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_DPRESFILTER_HXX
-#define INCLUDED_SC_INC_DPRESFILTER_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include "calcmacros.hxx"
@@ -143,6 +142,4 @@ struct ScDPResultFilterContext
ScDPResultFilterContext();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/dpsave.hxx b/sc/inc/dpsave.hxx
index 79145ec833f0..14f7a322ef88 100644
--- a/sc/inc/dpsave.hxx
+++ b/sc/inc/dpsave.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DPSAVE_HXX
-#define INCLUDED_SC_INC_DPSAVE_HXX
+#pragma once
#include <memory>
#include <vector>
@@ -387,6 +386,4 @@ private:
void DimensionsChanged();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/dpsdbtab.hxx b/sc/inc/dpsdbtab.hxx
index 3d7ecac4d5c4..611f31f25fbe 100644
--- a/sc/inc/dpsdbtab.hxx
+++ b/sc/inc/dpsdbtab.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DPSDBTAB_HXX
-#define INCLUDED_SC_INC_DPSDBTAB_HXX
+#pragma once
#include "dptabdat.hxx"
@@ -84,6 +83,4 @@ public:
#endif
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/dpshttab.hxx b/sc/inc/dpshttab.hxx
index f39665c95e52..39406a7c4386 100644
--- a/sc/inc/dpshttab.hxx
+++ b/sc/inc/dpshttab.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DPSHTTAB_HXX
-#define INCLUDED_SC_INC_DPSHTTAB_HXX
+#pragma once
#include "dptabdat.hxx"
#include "address.hxx"
@@ -120,6 +119,4 @@ public:
#endif
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/dptabdat.hxx b/sc/inc/dptabdat.hxx
index 2fd4064495aa..15c5b87f481b 100644
--- a/sc/inc/dptabdat.hxx
+++ b/sc/inc/dptabdat.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DPTABDAT_HXX
-#define INCLUDED_SC_INC_DPTABDAT_HXX
+#pragma once
#include "dpfilteredcache.hxx"
#include "calcmacros.hxx"
@@ -156,6 +155,5 @@ private:
void GetItemData(const ScDPFilteredCache& rCacheTable, sal_Int32 nRow,
const ::std::vector<sal_Int32>& rDims, ::std::vector< SCROW >& rItemData);
};
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/dptabres.hxx b/sc/inc/dptabres.hxx
index 8e2ea36f1b42..da7026e4f913 100644
--- a/sc/inc/dptabres.hxx
+++ b/sc/inc/dptabres.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DPTABRES_HXX
-#define INCLUDED_SC_INC_DPTABRES_HXX
+#pragma once
#include "global.hxx"
#include "dpfilteredcache.hxx"
@@ -668,6 +667,4 @@ private:
ScDPSource* mpSource;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/dptabsrc.hxx b/sc/inc/dptabsrc.hxx
index 38892ea1bceb..95e69d1c501a 100644
--- a/sc/inc/dptabsrc.hxx
+++ b/sc/inc/dptabsrc.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DPTABSRC_HXX
-#define INCLUDED_SC_INC_DPTABSRC_HXX
+#pragma once
#include <com/sun/star/sheet/XDimensionsSupplier.hpp>
#include <com/sun/star/sheet/XHierarchiesSupplier.hpp>
@@ -656,6 +655,4 @@ public:
bool getShowDetails() const { return bShowDet;}
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/dptypes.hxx b/sc/inc/dptypes.hxx
index abb77dbbb9dd..b96fc0434e39 100644
--- a/sc/inc/dptypes.hxx
+++ b/sc/inc/dptypes.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_DPTYPES_HXX
-#define INCLUDED_SC_INC_DPTYPES_HXX
+#pragma once
#include <rtl/ustring.hxx>
@@ -16,5 +15,4 @@
typedef std::unordered_set<OUString> ScDPUniqueStringSet;
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/dputil.hxx b/sc/inc/dputil.hxx
index b3e733f40c7b..b5a2b64c9138 100644
--- a/sc/inc/dputil.hxx
+++ b/sc/inc/dputil.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_DPUTIL_HXX
-#define INCLUDED_SC_INC_DPUTIL_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include "scdllapi.h"
@@ -52,6 +51,4 @@ public:
SC_DLLPUBLIC static ScSubTotalFunc toSubTotalFunc(ScGeneralFunction eGenFunc);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/dragdata.hxx b/sc/inc/dragdata.hxx
index 77f23c89db86..1e076178c849 100644
--- a/sc/inc/dragdata.hxx
+++ b/sc/inc/dragdata.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_DRAGDATA_HXX
-#define INCLUDED_SC_INC_DRAGDATA_HXX
+#pragma once
#include <rtl/ustring.hxx>
@@ -29,6 +28,4 @@ struct ScDragData
OUString aJumpText;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/drawpage.hxx b/sc/inc/drawpage.hxx
index ce1e5ed58ea3..772b3c5753bb 100644
--- a/sc/inc/drawpage.hxx
+++ b/sc/inc/drawpage.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DRAWPAGE_HXX
-#define INCLUDED_SC_INC_DRAWPAGE_HXX
+#pragma once
#include <svx/fmpage.hxx>
@@ -38,6 +37,4 @@ public:
virtual css::uno::Reference<css::uno::XInterface> createUnoPage() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/drdefuno.hxx b/sc/inc/drdefuno.hxx
index 6d21599e55d7..5557fef451a8 100644
--- a/sc/inc/drdefuno.hxx
+++ b/sc/inc/drdefuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DRDEFUNO_HXX
-#define INCLUDED_SC_INC_DRDEFUNO_HXX
+#pragma once
#include <svx/unopool.hxx>
#include <svl/lstner.hxx>
@@ -40,6 +39,4 @@ public:
virtual SfxItemPool* getModelPool( bool bReadOnly ) throw() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/drwlayer.hxx b/sc/inc/drwlayer.hxx
index 7cb266bdf600..e71bd6bd0a2d 100644
--- a/sc/inc/drwlayer.hxx
+++ b/sc/inc/drwlayer.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_DRWLAYER_HXX
-#define INCLUDED_SC_INC_DRWLAYER_HXX
+#pragma once
#include <svx/fmmodel.hxx>
#include <svx/svdundo.hxx>
@@ -230,6 +229,4 @@ private:
extern bool bDrawIsInUndo; // somewhere as member!
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/editdataarray.hxx b/sc/inc/editdataarray.hxx
index 0300f3f61d81..4e2e30b2c1eb 100644
--- a/sc/inc/editdataarray.hxx
+++ b/sc/inc/editdataarray.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_EDITDATAARRAY_HXX
-#define INCLUDED_SC_INC_EDITDATAARRAY_HXX
+#pragma once
#include <editeng/editobj.hxx>
#include "types.hxx"
@@ -70,6 +69,4 @@ private:
::std::vector<Item> maArray;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/editsrc.hxx b/sc/inc/editsrc.hxx
index 4ad2d7eabf5a..166a18a28979 100644
--- a/sc/inc/editsrc.hxx
+++ b/sc/inc/editsrc.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_EDITSRC_HXX
-#define INCLUDED_SC_INC_EDITSRC_HXX
+#pragma once
#include "address.hxx"
#include <editeng/unoedsrc.hxx>
@@ -147,6 +146,4 @@ public:
virtual SfxBroadcaster& GetBroadcaster() const override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/edittextiterator.hxx b/sc/inc/edittextiterator.hxx
index 3f2ad4a16244..8bcbc1f7b3d3 100644
--- a/sc/inc/edittextiterator.hxx
+++ b/sc/inc/edittextiterator.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_EDITTEXTITERATOR_HXX
-#define INCLUDED_SC_INC_EDITTEXTITERATOR_HXX
+#pragma once
#include "types.hxx"
#include "mtvelements.hxx"
@@ -53,6 +52,4 @@ public:
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/editutil.hxx b/sc/inc/editutil.hxx
index 4efadface0f4..53664009b428 100644
--- a/sc/inc/editutil.hxx
+++ b/sc/inc/editutil.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_EDITUTIL_HXX
-#define INCLUDED_SC_INC_EDITUTIL_HXX
+#pragma once
#include <memory>
#include "scdllapi.h"
@@ -242,6 +241,4 @@ public:
// SvxFieldData derivations were moved to Svx (comment can be deleted?)
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/eventuno.hxx b/sc/inc/eventuno.hxx
index 145c73ceaa6e..f3ba5954a23b 100644
--- a/sc/inc/eventuno.hxx
+++ b/sc/inc/eventuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_EVENTUNO_HXX
-#define INCLUDED_SC_INC_EVENTUNO_HXX
+#pragma once
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/container/XNameReplace.hpp>
@@ -63,6 +62,4 @@ public:
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/externalrefmgr.hxx b/sc/inc/externalrefmgr.hxx
index 2669781e9caa..bb724bff82d6 100644
--- a/sc/inc/externalrefmgr.hxx
+++ b/sc/inc/externalrefmgr.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_EXTERNALREFMGR_HXX
-#define INCLUDED_SC_INC_EXTERNALREFMGR_HXX
+#pragma once
#include "address.hxx"
#include "document.hxx"
@@ -861,6 +860,4 @@ private:
DECL_LINK(TimeOutHdl, Timer*, void);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/fielduno.hxx b/sc/inc/fielduno.hxx
index ede2d9a1607b..23759a3c19f3 100644
--- a/sc/inc/fielduno.hxx
+++ b/sc/inc/fielduno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_FIELDUNO_HXX
-#define INCLUDED_SC_INC_FIELDUNO_HXX
+#pragma once
#include "address.hxx"
#include "mutexhlp.hxx"
@@ -254,6 +253,4 @@ public:
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/fillinfo.hxx b/sc/inc/fillinfo.hxx
index 0e17f179cc58..e18e3f545536 100644
--- a/sc/inc/fillinfo.hxx
+++ b/sc/inc/fillinfo.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_FILLINFO_HXX
-#define INCLUDED_SC_INC_FILLINFO_HXX
+#pragma once
#include <sal/config.h>
@@ -203,6 +202,4 @@ struct ScTableInfo
const ScTableInfo& operator=(const ScTableInfo&) = delete;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/filter.hxx b/sc/inc/filter.hxx
index b92c98c16cf8..71ed13807f28 100644
--- a/sc/inc/filter.hxx
+++ b/sc/inc/filter.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_FILTER_HXX
-#define INCLUDED_SC_INC_FILTER_HXX
+#pragma once
#include <rtl/textenc.h>
#include <rtl/ustring.hxx>
@@ -103,6 +102,4 @@ struct LotusContext;
ErrCode ScImportLotus123old(LotusContext& rContext, SvStream&, rtl_TextEncoding eSrc);
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/filtuno.hxx b/sc/inc/filtuno.hxx
index 6be62546fe4b..100fdeb001d4 100644
--- a/sc/inc/filtuno.hxx
+++ b/sc/inc/filtuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_FILTUNO_HXX
-#define INCLUDED_SC_INC_FILTUNO_HXX
+#pragma once
#include <com/sun/star/beans/XPropertyAccess.hpp>
#include <com/sun/star/ui/dialogs/XExecutableDialog.hpp>
@@ -76,6 +75,4 @@ public:
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/fmtuno.hxx b/sc/inc/fmtuno.hxx
index 38c306ac26e5..a558bd3575ec 100644
--- a/sc/inc/fmtuno.hxx
+++ b/sc/inc/fmtuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_FMTUNO_HXX
-#define INCLUDED_SC_INC_FMTUNO_HXX
+#pragma once
#include <vector>
@@ -241,6 +240,4 @@ public:
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/formulacell.hxx b/sc/inc/formulacell.hxx
index 74d571102a2b..ae889d7ba77b 100644
--- a/sc/inc/formulacell.hxx
+++ b/sc/inc/formulacell.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_FORMULACELL_HXX
-#define INCLUDED_SC_INC_FORMULACELL_HXX
+#pragma once
#include <memory>
@@ -490,6 +489,4 @@ public:
#endif
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/formulagroup.hxx b/sc/inc/formulagroup.hxx
index e0669d471e2d..88e54820ed3f 100644
--- a/sc/inc/formulagroup.hxx
+++ b/sc/inc/formulagroup.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_FORMULAGROUP_HXX
-#define INCLUDED_SC_INC_FORMULAGROUP_HXX
+#pragma once
#include <config_feature_opencl.h>
@@ -148,6 +147,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/formulaiter.hxx b/sc/inc/formulaiter.hxx
index 6f0838d76382..69f0bb3f5f18 100644
--- a/sc/inc/formulaiter.hxx
+++ b/sc/inc/formulaiter.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_FORMULAITER_HXX
-#define INCLUDED_SC_INC_FORMULAITER_HXX
+#pragma once
#include <formula/tokenarray.hxx>
@@ -42,6 +41,4 @@ public:
formula::FormulaToken* GetNextRefToken();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/formulalogger.hxx b/sc/inc/formulalogger.hxx
index 75b86e9f996d..9e8da1f681b0 100644
--- a/sc/inc/formulalogger.hxx
+++ b/sc/inc/formulalogger.hxx
@@ -5,8 +5,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_FORMULALOGGER_HXX
-#define INCLUDED_SC_INC_FORMULALOGGER_HXX
+#pragma once
#include <rtl/ustring.hxx>
@@ -186,6 +185,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/formulaopt.hxx b/sc/inc/formulaopt.hxx
index e8edefec1d68..7b7d173f4716 100644
--- a/sc/inc/formulaopt.hxx
+++ b/sc/inc/formulaopt.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_FORMULAOPT_HXX
-#define INCLUDED_SC_INC_FORMULAOPT_HXX
+#pragma once
#include <map>
#include <svl/poolitem.hxx>
@@ -114,6 +113,4 @@ public:
virtual void Notify( const css::uno::Sequence< OUString >& aPropertyNames ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/formulaparserpool.hxx b/sc/inc/formulaparserpool.hxx
index 8b66791afa39..d5b51e043778 100644
--- a/sc/inc/formulaparserpool.hxx
+++ b/sc/inc/formulaparserpool.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_FORMULAPARSERPOOL_HXX
-#define INCLUDED_SC_INC_FORMULAPARSERPOOL_HXX
+#pragma once
#include <unordered_map>
#include <com/sun/star/sheet/XFormulaParser.hpp>
@@ -49,6 +48,4 @@ private:
ParserMap maParsers;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/formularesult.hxx b/sc/inc/formularesult.hxx
index d7cda54ed1d8..0f11493b9841 100644
--- a/sc/inc/formularesult.hxx
+++ b/sc/inc/formularesult.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_FORMULARESULT_HXX
-#define INCLUDED_SC_INC_FORMULARESULT_HXX
+#pragma once
#include "global.hxx"
#include "calcmacros.hxx"
@@ -224,6 +223,4 @@ public:
ScMatrixFormulaCellToken* GetMatrixFormulaCellTokenNonConst();
};
-#endif // INCLUDED_SC_INC_FORMULARESULT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/fstalgorithm.hxx b/sc/inc/fstalgorithm.hxx
index 2a6ec14ddf2a..f3f189184360 100644
--- a/sc/inc/fstalgorithm.hxx
+++ b/sc/inc/fstalgorithm.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_FSTALGORITHM_HXX
-#define INCLUDED_SC_INC_FSTALGORITHM_HXX
+#pragma once
#include <mdds/flat_segment_tree.hpp>
#include <vector>
@@ -129,6 +128,4 @@ std::vector<Span> toSpanArray( const mdds::flat_segment_tree<Key,bool>& rTree, K
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/funcdesc.hxx b/sc/inc/funcdesc.hxx
index 91e9b82edda9..6568893be2fa 100644
--- a/sc/inc/funcdesc.hxx
+++ b/sc/inc/funcdesc.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_FUNCDESC_HXX
-#define INCLUDED_SC_INC_FUNCDESC_HXX
+#pragma once
/* Function descriptions for function wizard / autopilot */
@@ -401,6 +400,4 @@ private:
mutable std::vector<const ScFuncDesc*>::iterator pCurCatListEnd; /**< end of current category */
};
-#endif // INCLUDED_SC_INC_FUNCDESC_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/funcuno.hxx b/sc/inc/funcuno.hxx
index fa370de19241..3d62ecaded9d 100644
--- a/sc/inc/funcuno.hxx
+++ b/sc/inc/funcuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_FUNCUNO_HXX
-#define INCLUDED_SC_INC_FUNCUNO_HXX
+#pragma once
#include <memory>
#include <com/sun/star/lang/XServiceInfo.hpp>
@@ -98,6 +97,4 @@ public:
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/generalfunction.hxx b/sc/inc/generalfunction.hxx
index 862667dbe726..083fc57ca032 100644
--- a/sc/inc/generalfunction.hxx
+++ b/sc/inc/generalfunction.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SHEET_GENERAL_FUNCTION_HXX
-#define INCLUDED_SC_SHEET_GENERAL_FUNCTION_HXX
+#pragma once
#include <com/sun/star/sheet/GeneralFunction.hpp>
#include <com/sun/star/sheet/GeneralFunction2.hpp>
@@ -88,5 +87,3 @@ enum class ScGeneralFunction
*/
MEDIAN = css::sheet::GeneralFunction2::MEDIAN
};
-
-#endif
diff --git a/sc/inc/global.hxx b/sc/inc/global.hxx
index 62deb7afbec9..3a1429acb0bc 100644
--- a/sc/inc/global.hxx
+++ b/sc/inc/global.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_GLOBAL_HXX
-#define INCLUDED_SC_INC_GLOBAL_HXX
+#pragma once
#include "address.hxx"
#include <i18nlangtag/lang.h>
@@ -911,6 +910,4 @@ extern SfxViewShell* pScActiveViewShell;
extern sal_uInt16 nScClickMouseModifier;
extern sal_uInt16 nScFillModeMouseModifier;
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/globalnames.hxx b/sc/inc/globalnames.hxx
index 91745dae742a..0ffa04ac481f 100644
--- a/sc/inc/globalnames.hxx
+++ b/sc/inc/globalnames.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_GLOBALNAMES_HXX
-#define INCLUDED_SC_INC_GLOBALNAMES_HXX
+#pragma once
#define STR_DB_LOCAL_NONAME "__Anonymous_Sheet_DB__"
#define STR_DB_GLOBAL_NONAME "__Anonymous_DB__"
@@ -23,6 +22,4 @@
// mode. This string gets stored in use configuration as the device name.
#define OPENCL_SOFTWARE_DEVICE_CONFIG_NAME "Software"
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/grouparealistener.hxx b/sc/inc/grouparealistener.hxx
index 72db1aa31d42..5d11541244eb 100644
--- a/sc/inc/grouparealistener.hxx
+++ b/sc/inc/grouparealistener.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_GROUPAREALISTENER_HXX
-#define INCLUDED_SC_GROUPAREALISTENER_HXX
+#pragma once
#include "address.hxx"
@@ -69,6 +68,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/helpids.h b/sc/inc/helpids.h
index f9c30fc615a0..228e9c73d885 100644
--- a/sc/inc/helpids.h
+++ b/sc/inc/helpids.h
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_HELPIDS_H
-#define INCLUDED_SC_INC_HELPIDS_H
+#pragma once
#define HID_INSWIN_POS "SC_HID_INSWIN_POS"
#define HID_INSWIN_CALC "SC_HID_INSWIN_CALC"
@@ -582,6 +581,4 @@
#define HID_FUNC_RAND_NV "SC_HID_FUNC_RAND_NV"
#define HID_FUNC_RANDBETWEEN_NV "SC_HID_FUNC_RANDBETWEEN_NV"
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/hints.hxx b/sc/inc/hints.hxx
index 285b0266ae86..02fcd9c4cfed 100644
--- a/sc/inc/hints.hxx
+++ b/sc/inc/hints.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_HINTS_HXX
-#define INCLUDED_SC_INC_HINTS_HXX
+#pragma once
#include "global.hxx"
#include "address.hxx"
@@ -137,6 +136,4 @@ public:
const OUString& GetName() const { return maName; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/importfilterdata.hxx b/sc/inc/importfilterdata.hxx
index 36b65fdd19e4..fb054c7ccddc 100644
--- a/sc/inc/importfilterdata.hxx
+++ b/sc/inc/importfilterdata.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_IMPORTFILTERDATA_HXX
-#define INCLUDED_SC_INC_IMPORTFILTERDATA_HXX
+#pragma once
#include "address.hxx"
@@ -46,6 +45,4 @@ struct ImportPostProcessData
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/inputopt.hxx b/sc/inc/inputopt.hxx
index 9fdce5949557..5f20276cbbc6 100644
--- a/sc/inc/inputopt.hxx
+++ b/sc/inc/inputopt.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_INPUTOPT_HXX
-#define INCLUDED_SC_INC_INPUTOPT_HXX
+#pragma once
#include <unotools/configitem.hxx>
@@ -90,6 +89,4 @@ public:
virtual void Notify( const css::uno::Sequence<OUString>& aPropertyNames ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/interpretercontext.hxx b/sc/inc/interpretercontext.hxx
index 2e0ff91632d6..78156b005af1 100644
--- a/sc/inc/interpretercontext.hxx
+++ b/sc/inc/interpretercontext.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_INTERPRETERCONTEXT_HXX
-#define INCLUDED_SC_INC_INTERPRETERCONTEXT_HXX
+#pragma once
#include <vector>
#include <memory>
@@ -167,6 +166,4 @@ public:
ScInterpreterContext* GetInterpreterContext() const;
};
-#endif // INCLUDED_SC_INC_INTERPRETERCONTEXT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
diff --git a/sc/inc/linkuno.hxx b/sc/inc/linkuno.hxx
index 5b84f9bcf444..00b84ad1efa1 100644
--- a/sc/inc/linkuno.hxx
+++ b/sc/inc/linkuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_LINKUNO_HXX
-#define INCLUDED_SC_INC_LINKUNO_HXX
+#pragma once
#include <svl/lstner.hxx>
#include <svl/itemprop.hxx>
@@ -463,6 +462,4 @@ private:
ScExternalRefManager* mpRefMgr;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/listenercalls.hxx b/sc/inc/listenercalls.hxx
index 0971d9247d3d..ff835a048b1a 100644
--- a/sc/inc/listenercalls.hxx
+++ b/sc/inc/listenercalls.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_LISTENERCALLS_HXX
-#define INCLUDED_SC_INC_LISTENERCALLS_HXX
+#pragma once
#include <vector>
#include <com/sun/star/uno/Reference.hxx>
@@ -60,6 +59,4 @@ public:
void ExecuteAndClear();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/listenercontext.hxx b/sc/inc/listenercontext.hxx
index 616af5d7a3c2..e97eb9d89aae 100644
--- a/sc/inc/listenercontext.hxx
+++ b/sc/inc/listenercontext.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_LISTENERCONTEXT_HXX
-#define INCLUDED_SC_INC_LISTENERCONTEXT_HXX
+#pragma once
#include "address.hxx"
#include "columnspanset.hxx"
@@ -83,6 +82,4 @@ public:
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/lookupcache.hxx b/sc/inc/lookupcache.hxx
index 820fa3d6be4e..57ee88a4fa28 100644
--- a/sc/inc/lookupcache.hxx
+++ b/sc/inc/lookupcache.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_LOOKUPCACHE_HXX
-#define INCLUDED_SC_INC_LOOKUPCACHE_HXX
+#pragma once
#include "address.hxx"
#include <svl/listener.hxx>
@@ -207,6 +206,4 @@ struct ScLookupCacheMap
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/macromgr.hxx b/sc/inc/macromgr.hxx
index bd2877095291..d7930eaa308a 100644
--- a/sc/inc/macromgr.hxx
+++ b/sc/inc/macromgr.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_MACROMGR_HXX
-#define INCLUDED_SC_INC_MACROMGR_HXX
+#pragma once
#include <com/sun/star/container/XContainerListener.hpp>
@@ -45,6 +44,4 @@ private:
ScDocument& mrDoc;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/markarr.hxx b/sc/inc/markarr.hxx
index 66c6114ff566..601d1b4750bc 100644
--- a/sc/inc/markarr.hxx
+++ b/sc/inc/markarr.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_MARKARR_HXX
-#define INCLUDED_SC_INC_MARKARR_HXX
+#pragma once
#include "address.hxx"
#include <tools/long.hxx>
@@ -89,6 +88,4 @@ public:
void reset( const ScMarkArray* pNewArray );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/markdata.hxx b/sc/inc/markdata.hxx
index b1444b5dba35..69a7acfde8ab 100644
--- a/sc/inc/markdata.hxx
+++ b/sc/inc/markdata.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_MARKDATA_HXX
-#define INCLUDED_SC_INC_MARKDATA_HXX
+#pragma once
#include "address.hxx"
#include "rangelst.hxx"
@@ -165,6 +164,4 @@ public:
const_reverse_iterator rbegin() const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/markmulti.hxx b/sc/inc/markmulti.hxx
index 27e61ca6b136..c02fd5c6f0ab 100644
--- a/sc/inc/markmulti.hxx
+++ b/sc/inc/markmulti.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_MARKMULTI_HXX
-#define INCLUDED_SC_INC_MARKMULTI_HXX
+#pragma once
#include "segmenttree.hxx"
#include "markarr.hxx"
@@ -90,6 +89,4 @@ public:
bool GetRangeData( SCROW nRow, ScFlatBoolRowSegments::RangeData& rRowRange ) const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/math.hxx b/sc/inc/math.hxx
index 4d59d9a17a9a..2e2ffe0f4bb6 100644
--- a/sc/inc/math.hxx
+++ b/sc/inc/math.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_MATH_HXX
-#define INCLUDED_SC_INC_MATH_HXX
+#pragma once
#include <formula/errorcodes.hxx>
#include <rtl/math.hxx>
@@ -75,6 +74,4 @@ double power( const double& fVal1, const double& fVal2 );
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/matrixoperators.hxx b/sc/inc/matrixoperators.hxx
index c6ec7a4a5d19..540a38e93370 100644
--- a/sc/inc/matrixoperators.hxx
+++ b/sc/inc/matrixoperators.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_MATRIXOPERATORS_HXX
-#define INCLUDED_SC_INC_MATRIXOPERATORS_HXX
+#pragma once
#include <functional>
@@ -55,6 +54,4 @@ struct Product
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/miscuno.hxx b/sc/inc/miscuno.hxx
index 9e2963e08027..515f7b8c8b34 100644
--- a/sc/inc/miscuno.hxx
+++ b/sc/inc/miscuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_MISCUNO_HXX
-#define INCLUDED_SC_INC_MISCUNO_HXX
+#pragma once
#include <vector>
@@ -197,6 +196,4 @@ private:
const OUString& rName, sal_Int32 nDefault );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/mtvcellfunc.hxx b/sc/inc/mtvcellfunc.hxx
index 562d003a5c50..a2a708d5f8fc 100644
--- a/sc/inc/mtvcellfunc.hxx
+++ b/sc/inc/mtvcellfunc.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_MTVCELLFUNC_HXX
-#define INCLUDED_SC_INC_MTVCELLFUNC_HXX
+#pragma once
#include "mtvelements.hxx"
#include "mtvfunctions.hxx"
@@ -181,6 +180,4 @@ ProcessBroadcaster(
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/mtvelements.hxx b/sc/inc/mtvelements.hxx
index 7fa266ecf8f0..c4a2eb83413d 100644
--- a/sc/inc/mtvelements.hxx
+++ b/sc/inc/mtvelements.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_MTVELEMENTS_HXX
-#define INCLUDED_SC_INC_MTVELEMENTS_HXX
+#pragma once
#include "formulacell.hxx"
#include <svl/broadcast.hxx>
@@ -174,6 +173,4 @@ ScRefCellValue toRefCell( const sc::CellStoreType::const_iterator& itPos, size_t
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/mtvfunctions.hxx b/sc/inc/mtvfunctions.hxx
index 5e48bb2942d7..854ca42c37fc 100644
--- a/sc/inc/mtvfunctions.hxx
+++ b/sc/inc/mtvfunctions.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_MTVFUNCTIONS_HXX
-#define INCLUDED_SC_INC_MTVFUNCTIONS_HXX
+#pragma once
#include <cstdlib>
#include <mdds/multi_type_vector_types.hpp>
@@ -515,6 +514,4 @@ FindElement2(
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/mutexhlp.hxx b/sc/inc/mutexhlp.hxx
index 1cd32495e396..340a469050d8 100644
--- a/sc/inc/mutexhlp.hxx
+++ b/sc/inc/mutexhlp.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_MUTEXHLP_HXX
-#define INCLUDED_SC_INC_MUTEXHLP_HXX
+#pragma once
#include <osl/mutex.hxx>
@@ -34,6 +33,4 @@ public:
::osl::Mutex& getMutex() { return maMutex; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/nameuno.hxx b/sc/inc/nameuno.hxx
index 40451808dd6c..a286266cd2ed 100644
--- a/sc/inc/nameuno.hxx
+++ b/sc/inc/nameuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_NAMEUNO_HXX
-#define INCLUDED_SC_INC_NAMEUNO_HXX
+#pragma once
#include <svl/lstner.hxx>
#include "address.hxx"
@@ -319,6 +318,4 @@ public:
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/navicfg.hxx b/sc/inc/navicfg.hxx
index 314bc1045d7b..cd8afb030e67 100644
--- a/sc/inc/navicfg.hxx
+++ b/sc/inc/navicfg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_NAVICFG_HXX
-#define INCLUDED_SC_INC_NAVICFG_HXX
+#pragma once
#include <sal/types.h>
@@ -44,6 +43,4 @@ public:
ScContentId GetRootType() const { return nRootType; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/notesuno.hxx b/sc/inc/notesuno.hxx
index ed9289124254..30bfcaf1c8cb 100644
--- a/sc/inc/notesuno.hxx
+++ b/sc/inc/notesuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_NOTESUNO_HXX
-#define INCLUDED_SC_INC_NOTESUNO_HXX
+#pragma once
#include <com/sun/star/sheet/XSheetAnnotation.hpp>
#include <com/sun/star/sheet/XSheetAnnotationShapeSupplier.hpp>
@@ -102,6 +101,4 @@ private:
rtl::Reference<SvxUnoText> pUnoText;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/olinetab.hxx b/sc/inc/olinetab.hxx
index cdaa74d19a93..d7ee741f56c5 100644
--- a/sc/inc/olinetab.hxx
+++ b/sc/inc/olinetab.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_OLINETAB_HXX
-#define INCLUDED_SC_INC_OLINETAB_HXX
+#pragma once
#include "scdllapi.h"
#include "address.hxx"
@@ -189,6 +188,4 @@ public:
void DeleteLast();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/optuno.hxx b/sc/inc/optuno.hxx
index 8ce6d9c149d1..bf8fde3587ab 100644
--- a/sc/inc/optuno.hxx
+++ b/sc/inc/optuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_OPTUNO_HXX
-#define INCLUDED_SC_INC_OPTUNO_HXX
+#pragma once
#include "docuno.hxx"
#include "docoptio.hxx"
@@ -71,6 +70,4 @@ public:
const OUString& PropertyName ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/optutil.hxx b/sc/inc/optutil.hxx
index f635da6e5b9b..65d199d859f4 100644
--- a/sc/inc/optutil.hxx
+++ b/sc/inc/optutil.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_OPTUTIL_HXX
-#define INCLUDED_SC_INC_OPTUTIL_HXX
+#pragma once
#include <unotools/configitem.hxx>
#include <tools/link.hxx>
@@ -60,6 +59,4 @@ public:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/orcusfilters.hxx b/sc/inc/orcusfilters.hxx
index ee0ced0bd2cd..6d17f3741ebb 100644
--- a/sc/inc/orcusfilters.hxx
+++ b/sc/inc/orcusfilters.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_ORCUSFILTERS_HXX
-#define INCLUDED_SC_INC_ORCUSFILTERS_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <memory>
@@ -66,6 +65,4 @@ public:
virtual void importXML(const ScOrcusImportXMLParam& rParam) = 0;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/orcusxml.hxx b/sc/inc/orcusxml.hxx
index 2f49f8249ef2..3cb2981e70b2 100644
--- a/sc/inc/orcusxml.hxx
+++ b/sc/inc/orcusxml.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_ORCUSXML_HXX
-#define INCLUDED_SC_INC_ORCUSXML_HXX
+#pragma once
#include "scdllapi.h"
#include "address.hxx"
@@ -77,6 +76,4 @@ struct ScOrcusImportXMLParam
std::vector<RangeLink> maRangeLinks;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/pagepar.hxx b/sc/inc/pagepar.hxx
index 2a86e32936f2..769f82191faa 100644
--- a/sc/inc/pagepar.hxx
+++ b/sc/inc/pagepar.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_PAGEPAR_HXX
-#define INCLUDED_SC_INC_PAGEPAR_HXX
+#pragma once
#include "address.hxx"
@@ -66,6 +65,4 @@ struct ScPageAreaParam
void Reset ();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/pageuno.hxx b/sc/inc/pageuno.hxx
index 987bb5e9c30b..6fd0e60018ef 100644
--- a/sc/inc/pageuno.hxx
+++ b/sc/inc/pageuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_PAGEUNO_HXX
-#define INCLUDED_SC_INC_PAGEUNO_HXX
+#pragma once
#include <svx/fmdpage.hxx>
@@ -38,6 +37,4 @@ public:
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/paramisc.hxx b/sc/inc/paramisc.hxx
index 7548212dfb72..59608cae15e5 100644
--- a/sc/inc/paramisc.hxx
+++ b/sc/inc/paramisc.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_PARAMISC_HXX
-#define INCLUDED_SC_INC_PARAMISC_HXX
+#pragma once
#include "address.hxx"
#include <optional>
@@ -63,6 +62,4 @@ struct SC_DLLPUBLIC ScTabOpParam
bool operator== ( const ScTabOpParam& r ) const;
};
-#endif // INCLUDED_SC_INC_PARAMISC_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/patattr.hxx b/sc/inc/patattr.hxx
index bfc162bfb657..fdaa53e89dd4 100644
--- a/sc/inc/patattr.hxx
+++ b/sc/inc/patattr.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_PATATTR_HXX
-#define INCLUDED_SC_INC_PATATTR_HXX
+#pragma once
#include <svl/poolitem.hxx>
#include <svl/itemset.hxx>
@@ -150,6 +149,4 @@ private:
void CalcHashCode() const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/pivot.hxx b/sc/inc/pivot.hxx
index 690f0bc16746..41a48fa0e3db 100644
--- a/sc/inc/pivot.hxx
+++ b/sc/inc/pivot.hxx
@@ -33,8 +33,7 @@
Make sure that either ColArr or RowArr contains a PivotDataField entry.
*/
-#ifndef INCLUDED_SC_INC_PIVOT_HXX
-#define INCLUDED_SC_INC_PIVOT_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <tools/long.hxx>
@@ -172,6 +171,4 @@ struct ScPivotFuncData
typedef std::vector<ScDPName> ScDPNameVec;
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/postit.hxx b/sc/inc/postit.hxx
index 128e4cd49022..56db01401cfe 100644
--- a/sc/inc/postit.hxx
+++ b/sc/inc/postit.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_POSTIT_HXX
-#define INCLUDED_SC_INC_POSTIT_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include "address.hxx"
@@ -371,5 +370,4 @@ struct NoteEntry
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/printopt.hxx b/sc/inc/printopt.hxx
index c576f0877bd8..1f00ab1cf486 100644
--- a/sc/inc/printopt.hxx
+++ b/sc/inc/printopt.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_PRINTOPT_HXX
-#define INCLUDED_SC_INC_PRINTOPT_HXX
+#pragma once
#include <svl/poolitem.hxx>
#include <unotools/configitem.hxx>
@@ -85,6 +84,4 @@ public:
virtual void Notify( const css::uno::Sequence< OUString >& aPropertyNames ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/prnsave.hxx b/sc/inc/prnsave.hxx
index ca928f908dd1..c1aaf755fb1b 100644
--- a/sc/inc/prnsave.hxx
+++ b/sc/inc/prnsave.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_PRNSAVE_HXX
-#define INCLUDED_SC_INC_PRNSAVE_HXX
+#pragma once
#include "address.hxx"
#include <vector>
@@ -64,6 +63,4 @@ public:
bool operator==( const ScPrintRangeSaver& rCmp ) const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/progress.hxx b/sc/inc/progress.hxx
index c7e1e0c8311e..c7afd949f60e 100644
--- a/sc/inc/progress.hxx
+++ b/sc/inc/progress.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_PROGRESS_HXX
-#define INCLUDED_SC_INC_PROGRESS_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <sfx2/progress.hxx>
@@ -118,6 +117,4 @@ public:
void Enable() { bEnabled = true; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/pvfundlg.hrc b/sc/inc/pvfundlg.hrc
index e4aa89264892..9c890035a68c 100644
--- a/sc/inc/pvfundlg.hrc
+++ b/sc/inc/pvfundlg.hrc
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_PVFUNDLG_HRC
-#define INCLUDED_SC_INC_PVFUNDLG_HRC
+#pragma once
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
@@ -38,6 +37,4 @@ const char* SCSTR_DPFUNCLISTBOX[] =
NC_("SCSTR_DPFUNCLISTBOX", "VarP (Population)")
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/queryentry.hxx b/sc/inc/queryentry.hxx
index 46a65b957658..f00fb238dba2 100644
--- a/sc/inc/queryentry.hxx
+++ b/sc/inc/queryentry.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_QUERYENTRY_HXX
-#define INCLUDED_SC_INC_QUERYENTRY_HXX
+#pragma once
#include "global.hxx"
#include <svl/sharedstring.hxx>
@@ -83,6 +82,4 @@ private:
mutable QueryItemsType maQueryItems;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/queryparam.hxx b/sc/inc/queryparam.hxx
index ee684fcc1e61..437932f05752 100644
--- a/sc/inc/queryparam.hxx
+++ b/sc/inc/queryparam.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_QUERYPARAM_HXX
-#define INCLUDED_SC_INC_QUERYPARAM_HXX
+#pragma once
#include <unotools/textsearch.hxx>
#include "address.hxx"
@@ -203,6 +202,4 @@ struct ScDBQueryParamMatrix final : public ScDBQueryParamBase
virtual bool IsValidFieldIndex() const override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/rangelst.hxx b/sc/inc/rangelst.hxx
index 3ceb582baa6d..f35e4459c6ec 100644
--- a/sc/inc/rangelst.hxx
+++ b/sc/inc/rangelst.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_RANGELST_HXX
-#define INCLUDED_SC_INC_RANGELST_HXX
+#pragma once
#include "global.hxx"
#include "address.hxx"
@@ -161,6 +160,4 @@ typedef tools::SvRef<ScRangePairList> ScRangePairListRef;
extern "C"
int ScRangePairList_QsortNameCompare( const void*, const void* );
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/rangenam.hxx b/sc/inc/rangenam.hxx
index becba8ffb510..bb524a23f45b 100644
--- a/sc/inc/rangenam.hxx
+++ b/sc/inc/rangenam.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_RANGENAM_HXX
-#define INCLUDED_SC_INC_RANGENAM_HXX
+#pragma once
#include "global.hxx"
#include "address.hxx"
@@ -269,6 +268,4 @@ public:
bool operator== (const ScRangeName& r) const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/rangeseq.hxx b/sc/inc/rangeseq.hxx
index a9a055aba8aa..d1dc7f9cd4b7 100644
--- a/sc/inc/rangeseq.hxx
+++ b/sc/inc/rangeseq.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_RANGESEQ_HXX
-#define INCLUDED_SC_INC_RANGESEQ_HXX
+#pragma once
#include "types.hxx"
#include <com/sun/star/uno/TypeClass.hpp>
@@ -101,6 +100,4 @@ public:
sal_uInt16 nEncoding );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/rangeutl.hxx b/sc/inc/rangeutl.hxx
index 7f68a25a9af7..aca68c6c3def 100644
--- a/sc/inc/rangeutl.hxx
+++ b/sc/inc/rangeutl.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_RANGEUTL_HXX
-#define INCLUDED_SC_INC_RANGEUTL_HXX
+#pragma once
#include "address.hxx"
#include "rangenam.hxx"
@@ -272,6 +271,4 @@ struct SC_DLLPUBLIC ScRangeUpdater
static void UpdateDeleteTab(ScAddress& rAddr, const sc::RefUpdateDeleteTabContext& rCxt);
};
-#endif // INCLUDED_SC_INC_RANGEUTL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/rechead.hxx b/sc/inc/rechead.hxx
index 761150eef2b0..aa3d272835a7 100644
--- a/sc/inc/rechead.hxx
+++ b/sc/inc/rechead.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_RECHEAD_HXX
-#define INCLUDED_SC_INC_RECHEAD_HXX
+#pragma once
#include <tools/stream.hxx>
#include <memory>
@@ -83,6 +82,4 @@ public:
void EndEntry();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/recursionhelper.hxx b/sc/inc/recursionhelper.hxx
index d6ba2a3ca8ab..6c4850905824 100644
--- a/sc/inc/recursionhelper.hxx
+++ b/sc/inc/recursionhelper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_RECURSIONHELPER_HXX
-#define INCLUDED_SC_INC_RECURSIONHELPER_HXX
+#pragma once
#include "formularesult.hxx"
@@ -168,6 +167,4 @@ public:
bool AreGroupsIndependent();
};
-#endif // INCLUDED_SC_INC_RECURSIONHELPER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/refdata.hxx b/sc/inc/refdata.hxx
index 7674794a9a80..96519b885d84 100644
--- a/sc/inc/refdata.hxx
+++ b/sc/inc/refdata.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_REFDATA_HXX
-#define INCLUDED_SC_INC_REFDATA_HXX
+#pragma once
#include "address.hxx"
#include "scdllapi.h"
@@ -207,6 +206,4 @@ struct ScComplexRefData
#endif
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/reffind.hxx b/sc/inc/reffind.hxx
index 212650fd4956..c7e30c4c0730 100644
--- a/sc/inc/reffind.hxx
+++ b/sc/inc/reffind.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_REFFIND_HXX
-#define INCLUDED_SC_INC_REFFIND_HXX
+#pragma once
#include "address.hxx"
@@ -48,6 +47,4 @@ public:
void ToggleRel(sal_Int32 nStartPos, sal_Int32 nEndPos);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/refhint.hxx b/sc/inc/refhint.hxx
index 76ec84300585..ad13287ede65 100644
--- a/sc/inc/refhint.hxx
+++ b/sc/inc/refhint.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_REFHINT_HXX
-#define INCLUDED_SC_INC_REFHINT_HXX
+#pragma once
#include "types.hxx"
#include <svl/hint.hxx>
@@ -108,6 +107,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/refreshtimer.hxx b/sc/inc/refreshtimer.hxx
index 337ee8c29dd5..395ea9198abc 100644
--- a/sc/inc/refreshtimer.hxx
+++ b/sc/inc/refreshtimer.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_REFRESHTIMER_HXX
-#define INCLUDED_SC_INC_REFRESHTIMER_HXX
+#pragma once
#include <sal/config.h>
@@ -66,6 +65,4 @@ private:
void Launch();
};
-#endif // INCLUDED_SC_INC_REFRESHTIMER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/refreshtimerprotector.hxx b/sc/inc/refreshtimerprotector.hxx
index 5ded7aa07fb8..fa89858eb969 100644
--- a/sc/inc/refreshtimerprotector.hxx
+++ b/sc/inc/refreshtimerprotector.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_REFRESHTIMERPROTECTOR_HXX
-#define INCLUDED_SC_INC_REFRESHTIMERPROTECTOR_HXX
+#pragma once
#include <sal/config.h>
#include "scdllapi.h"
@@ -25,6 +24,4 @@ public:
~ScRefreshTimerProtector();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/reftokenhelper.hxx b/sc/inc/reftokenhelper.hxx
index 28af075a4258..e0e3e0f68c07 100644
--- a/sc/inc/reftokenhelper.hxx
+++ b/sc/inc/reftokenhelper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_REFTOKENHELPER_HXX
-#define INCLUDED_SC_INC_REFTOKENHELPER_HXX
+#pragma once
#include "address.hxx"
#include "types.hxx"
@@ -65,6 +64,4 @@ namespace ScRefTokenHelper
ScTokenRef createRefToken(const ScDocument& rDoc, const ScRange& rRange);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/refupdatecontext.hxx b/sc/inc/refupdatecontext.hxx
index b8baf8622ebc..7e1a4d9e8dd6 100644
--- a/sc/inc/refupdatecontext.hxx
+++ b/sc/inc/refupdatecontext.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_REFUPDATECONTEXT_HXX
-#define INCLUDED_SC_INC_REFUPDATECONTEXT_HXX
+#pragma once
#include "global.hxx"
#include "address.hxx"
@@ -161,6 +160,4 @@ struct SetFormulaDirtyContext
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/reordermap.hxx b/sc/inc/reordermap.hxx
index 6a1e750d4944..4eca9bcbcdd7 100644
--- a/sc/inc/reordermap.hxx
+++ b/sc/inc/reordermap.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_REORDERMAP_HXX
-#define INCLUDED_SC_REORDERMAP_HXX
+#pragma once
#include "types.hxx"
#include <unordered_map>
@@ -34,6 +33,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/rowheightcontext.hxx b/sc/inc/rowheightcontext.hxx
index 054360396306..699ef4d3e75f 100644
--- a/sc/inc/rowheightcontext.hxx
+++ b/sc/inc/rowheightcontext.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_ROWHEIGHTCONTEXT_HXX
-#define INCLUDED_SC_INC_ROWHEIGHTCONTEXT_HXX
+#pragma once
#include "scdllapi.h"
@@ -61,6 +60,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/scabstdlg.hxx b/sc/inc/scabstdlg.hxx
index 5613755aa0ee..dd43683099fb 100644
--- a/sc/inc/scabstdlg.hxx
+++ b/sc/inc/scabstdlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_SCABSTDLG_HXX
-#define INCLUDED_SC_INC_SCABSTDLG_HXX
+#pragma once
#include <tools/solar.h>
#include <com/sun/star/sheet/DataPilotFieldOrientation.hpp>
@@ -555,6 +554,5 @@ public:
protected:
~ScAbstractDialogFactory() {}
};
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/scdll.hxx b/sc/inc/scdll.hxx
index 59fa75a47a0b..16d30dfcc336 100644
--- a/sc/inc/scdll.hxx
+++ b/sc/inc/scdll.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_SCDLL_HXX
-#define INCLUDED_SC_INC_SCDLL_HXX
+#pragma once
#include "scdllapi.h"
@@ -40,6 +39,4 @@ public:
static SC_DLLPUBLIC void Init(); ///< called directly after loading the DLL
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/scdllapi.h b/sc/inc/scdllapi.h
index a7b914ee77a9..b69a95e45496 100644
--- a/sc/inc/scdllapi.h
+++ b/sc/inc/scdllapi.h
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_SCDLLAPI_H
-#define INCLUDED_SC_INC_SCDLLAPI_H
+#pragma once
#include <sal/types.h>
@@ -28,6 +27,4 @@
#define SC_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
#endif
-#endif // INCLUDED_SC_INC_SCDLLAPI_H
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/scerrors.hrc b/sc/inc/scerrors.hrc
index e585b1147cc2..82f23585ff70 100644
--- a/sc/inc/scerrors.hrc
+++ b/sc/inc/scerrors.hrc
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_SCERRORS_HRC
-#define INCLUDED_SC_INC_SCERRORS_HRC
+#pragma once
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
@@ -107,6 +106,4 @@ const ErrMsgCode RID_ERRHDLSC[] =
{ nullptr, ERRCODE_NONE }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/scerrors.hxx b/sc/inc/scerrors.hxx
index 7c062f4ea115..62ece04d2aee 100644
--- a/sc/inc/scerrors.hxx
+++ b/sc/inc/scerrors.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_SCERRORS_HXX
-#define INCLUDED_SC_INC_SCERRORS_HXX
+#pragma once
#include <vcl/errcode.hxx>
@@ -78,6 +77,4 @@
// ErrCodeClass::General
#define SCWARN_CORE_HARD_RECALC ErrCode( WarningFlag::Yes, ErrCodeArea::Sc, ErrCodeClass::General, 1 )
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/scextopt.hxx b/sc/inc/scextopt.hxx
index 46cb73576e83..3d77c1ed4122 100644
--- a/sc/inc/scextopt.hxx
+++ b/sc/inc/scextopt.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_SCEXTOPT_HXX
-#define INCLUDED_SC_INC_SCEXTOPT_HXX
+#pragma once
#include <memory>
#include <tools/gen.hxx>
@@ -116,6 +115,4 @@ private:
::std::unique_ptr< ScExtDocOptionsImpl > mxImpl;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/scfuncs.hrc b/sc/inc/scfuncs.hrc
index a5479ebdb226..b8ac0476956c 100644
--- a/sc/inc/scfuncs.hrc
+++ b/sc/inc/scfuncs.hrc
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_SCFUNCS_HRC
-#define INCLUDED_SC_INC_SCFUNCS_HRC
+#pragma once
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
@@ -4150,6 +4149,4 @@ const char* SC_OPCODE_RANDBETWEEN_NV_ARY[] =
NC_("SC_OPCODE_RANDBETWEEN_NV", "The largest integer returned.")
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/scfuncs.hxx b/sc/inc/scfuncs.hxx
index 82cd714aa797..88b0d4958ccb 100644
--- a/sc/inc/scfuncs.hxx
+++ b/sc/inc/scfuncs.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_SCFUNCS_HXX
-#define INCLUDED_SC_INC_SCFUNCS_HXX
+#pragma once
#define ID_FUNCTION_GRP_DATABASE 1
#define ID_FUNCTION_GRP_DATETIME 2
@@ -31,6 +30,4 @@
#define ID_FUNCTION_GRP_TEXT 10
#define ID_FUNCTION_GRP_ADDINS 11
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/scitems.hxx b/sc/inc/scitems.hxx
index 55609f751774..07e9b0f6d7de 100644
--- a/sc/inc/scitems.hxx
+++ b/sc/inc/scitems.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_SCITEMS_HXX
-#define INCLUDED_SC_INC_SCITEMS_HXX
+#pragma once
#include <svl/typedwhich.hxx>
@@ -224,6 +223,4 @@ constexpr sal_uInt16 ATTR_ENDINDEX(ATTR_HIDDEN); // end of pool-range
#define SID_SCATTR_PAGE_NULLVALS ATTR_PAGE_NULLVALS
#define SID_SCATTR_PAGE_SCALETO ATTR_PAGE_SCALETO
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/scmatrix.hxx b/sc/inc/scmatrix.hxx
index e9a71e82b94d..60587b23a5d1 100644
--- a/sc/inc/scmatrix.hxx
+++ b/sc/inc/scmatrix.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_SCMATRIX_HXX
-#define INCLUDED_SC_INC_SCMATRIX_HXX
+#pragma once
#include "address.hxx"
#include "matrixoperators.hxx"
@@ -420,6 +419,4 @@ inline void intrusive_ptr_release(const ScMatrix* p)
p->DecRef();
}
-#endif // INCLUDED_SC_INC_SCMATRIX_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/scmod.hxx b/sc/inc/scmod.hxx
index 62480e72aa15..c023290d4b76 100644
--- a/sc/inc/scmod.hxx
+++ b/sc/inc/scmod.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_SCMOD_HXX
-#define INCLUDED_SC_INC_SCMOD_HXX
+#pragma once
#include "scdllapi.h"
#include <o3tl/deleter.hxx>
@@ -251,6 +250,4 @@ public:
void global_InitAppOptions();
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/scopetools.hxx b/sc/inc/scopetools.hxx
index 950ac699bc8e..7489c0874f72 100644
--- a/sc/inc/scopetools.hxx
+++ b/sc/inc/scopetools.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_SCOPETOOLS_HXX
-#define INCLUDED_SC_INC_SCOPETOOLS_HXX
+#pragma once
#include "scdllapi.h"
@@ -96,6 +95,4 @@ public:
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/scstyles.hrc b/sc/inc/scstyles.hrc
index ab47ff33ed9a..3022cc8afa05 100644
--- a/sc/inc/scstyles.hrc
+++ b/sc/inc/scstyles.hrc
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_SCSTYLES_HRC
-#define INCLUDED_SC_INC_SCSTYLES_HRC
+#pragma once
#include <svl/style.hxx>
@@ -41,6 +40,4 @@ const std::pair<const char*, SfxStyleSearchBits> RID_PAGESTYLEFAMILY[] =
{ nullptr, SfxStyleSearchBits::Auto }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/segmenttree.hxx b/sc/inc/segmenttree.hxx
index 7e25d232a03f..8dbebaf749d1 100644
--- a/sc/inc/segmenttree.hxx
+++ b/sc/inc/segmenttree.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_SEGMENTTREE_HXX
-#define INCLUDED_SC_INC_SEGMENTTREE_HXX
+#pragma once
#include "types.hxx"
#include <rtl/string.hxx>
@@ -168,6 +167,4 @@ private:
::std::unique_ptr<ScFlatUInt16SegmentsImpl> mpImpl;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/servuno.hxx b/sc/inc/servuno.hxx
index 1de16e4297df..f3a975146cca 100644
--- a/sc/inc/servuno.hxx
+++ b/sc/inc/servuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_SERVUNO_HXX
-#define INCLUDED_SC_INC_SERVUNO_HXX
+#pragma once
#include <com/sun/star/uno/Sequence.h>
#include <com/sun/star/uno/Reference.h>
@@ -73,6 +72,4 @@ public:
static Type GetProviderType(const OUString& rServiceName);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/shapeuno.hxx b/sc/inc/shapeuno.hxx
index efc8c40df548..9c7723ca232c 100644
--- a/sc/inc/shapeuno.hxx
+++ b/sc/inc/shapeuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_SHAPEUNO_HXX
-#define INCLUDED_SC_INC_SHAPEUNO_HXX
+#pragma once
#include <com/sun/star/beans/XPropertyState.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
@@ -168,6 +167,4 @@ public:
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/sharedformula.hxx b/sc/inc/sharedformula.hxx
index 00c098541e9a..77567ea95dbf 100644
--- a/sc/inc/sharedformula.hxx
+++ b/sc/inc/sharedformula.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_SHAREDFORMULA_HXX
-#define INCLUDED_SC_INC_SHAREDFORMULA_HXX
+#pragma once
#include "formulacell.hxx"
#include "mtvelements.hxx"
@@ -145,6 +144,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/sheetdata.hxx b/sc/inc/sheetdata.hxx
index e214eafbc2d7..2e975e663938 100644
--- a/sc/inc/sheetdata.hxx
+++ b/sc/inc/sheetdata.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_SHEETDATA_HXX
-#define INCLUDED_SC_INC_SHEETDATA_HXX
+#pragma once
#include <editeng/editdata.hxx>
#include <map>
@@ -177,6 +176,4 @@ struct ScFormatSaveData
std::map<sal_uInt64, OUString> maIDToName;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/sheetevents.hxx b/sc/inc/sheetevents.hxx
index 2c789417a411..3ccecc490a81 100644
--- a/sc/inc/sheetevents.hxx
+++ b/sc/inc/sheetevents.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_SHEETEVENTS_HXX
-#define INCLUDED_SC_INC_SHEETEVENTS_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <memory>
@@ -51,6 +50,4 @@ public:
static sal_Int32 GetVbaDocumentEventId(ScSheetEventId nEvent);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/sheetlimits.hxx b/sc/inc/sheetlimits.hxx
index ab5516845f2c..26bd423d422f 100644
--- a/sc/inc/sheetlimits.hxx
+++ b/sc/inc/sheetlimits.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_SHEETLIMITS_HXX
-#define INCLUDED_SC_INC_SHEETLIMITS_HXX
+#pragma once
#include <salhelper/simplereferenceobject.hxx>
#include "address.hxx"
@@ -64,6 +63,4 @@ struct ScSheetLimits final : public salhelper::SimpleReferenceObject
SCCOL GetMaxColCount() const { return mnMaxCol + 1; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/shellids.hxx b/sc/inc/shellids.hxx
index 642d0d633d00..9f4fbf7a991c 100644
--- a/sc/inc/shellids.hxx
+++ b/sc/inc/shellids.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_SHELLIDS_HXX
-#define INCLUDED_SC_INC_SHELLIDS_HXX
+#pragma once
// Sfx Interface-IDs
#define SCID_APP (SFX_INTERFACE_SC_START+SfxInterfaceId(0))
@@ -41,6 +40,4 @@
#define SCID_PAGEBREAK_SHELL (SFX_INTERFACE_SC_START+SfxInterfaceId(16))
#define SCID_MEDIA_SHELL (SFX_INTERFACE_SC_START+SfxInterfaceId(17))
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/simpleformulacalc.hxx b/sc/inc/simpleformulacalc.hxx
index 9bdc8c60d928..f51a635622ed 100644
--- a/sc/inc/simpleformulacalc.hxx
+++ b/sc/inc/simpleformulacalc.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_SIMPLEFORMULACALC_HXX
-#define INCLUDED_SC_INC_SIMPLEFORMULACALC_HXX
+#pragma once
#include <memory>
#include <formula/grammar.hxx>
@@ -56,6 +55,4 @@ public:
void SetLimitString(bool bLimitString);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/sortparam.hxx b/sc/inc/sortparam.hxx
index eb927e87b870..365151cf2bec 100644
--- a/sc/inc/sortparam.hxx
+++ b/sc/inc/sortparam.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_SORTPARAM_HXX
-#define INCLUDED_SC_INC_SORTPARAM_HXX
+#pragma once
#define DEFSORT 3
@@ -109,6 +108,4 @@ struct ReorderParam
}
-#endif // INCLUDED_SC_INC_SORTPARAM_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/spellcheckcontext.hxx b/sc/inc/spellcheckcontext.hxx
index d4a0e0162530..f068d91f5181 100644
--- a/sc/inc/spellcheckcontext.hxx
+++ b/sc/inc/spellcheckcontext.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_SPELLCHECKCONTEXT_HXX
-#define INCLUDED_SC_INC_SPELLCHECKCONTEXT_HXX
+#pragma once
#include <i18nlangtag/lang.h>
#include <editeng/misspellrange.hxx>
@@ -61,6 +60,4 @@ private:
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/srchuno.hxx b/sc/inc/srchuno.hxx
index 1cd5fdfe779e..de3ac50cc925 100644
--- a/sc/inc/srchuno.hxx
+++ b/sc/inc/srchuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_SRCHUNO_HXX
-#define INCLUDED_SC_INC_SRCHUNO_HXX
+#pragma once
#include <memory>
#include <com/sun/star/util/XReplaceDescriptor.hpp>
@@ -80,6 +79,4 @@ public:
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/stlalgorithm.hxx b/sc/inc/stlalgorithm.hxx
index 14c73f579c78..f2143b9a84c7 100644
--- a/sc/inc/stlalgorithm.hxx
+++ b/sc/inc/stlalgorithm.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_STLALGORITHM_HXX
-#define INCLUDED_SC_INC_STLALGORITHM_HXX
+#pragma once
#include <limits>
@@ -74,6 +73,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/stlpool.hxx b/sc/inc/stlpool.hxx
index e6d816096d9d..f4e3ac757094 100644
--- a/sc/inc/stlpool.hxx
+++ b/sc/inc/stlpool.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_STLPOOL_HXX
-#define INCLUDED_SC_INC_STLPOOL_HXX
+#pragma once
#include <svl/style.hxx>
#include "scdllapi.h"
@@ -73,6 +72,4 @@ private:
bool bHasStandardStyles;
};
-#endif // INCLUDED_SC_INC_STLPOOL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/stlsheet.hxx b/sc/inc/stlsheet.hxx
index 69bc83be6365..e1e2c5b85ef5 100644
--- a/sc/inc/stlsheet.hxx
+++ b/sc/inc/stlsheet.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_STLSHEET_HXX
-#define INCLUDED_SC_INC_STLSHEET_HXX
+#pragma once
#include <svl/style.hxx>
@@ -68,6 +67,4 @@ private:
mutable ScStyleSheet::Usage eUsage;
};
-#endif // INCLUDED_SC_INC_STLSHEET_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/strings.hrc b/sc/inc/strings.hrc
index 6f6b0299c28a..b52355f03527 100644
--- a/sc/inc/strings.hrc
+++ b/sc/inc/strings.hrc
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_STRINGS_HRC
-#define INCLUDED_SC_INC_STRINGS_HRC
+#pragma once
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
#define NNC_(Context, StringSingular, StringPlural) reinterpret_cast<char const *>(Context "\004" u8##StringSingular "\004" u8##StringPlural)
@@ -365,6 +364,4 @@
#define STR_EXCLUSIVE_ACCESS NC_("sharedocumentdlg|exclusive", "(exclusive access)")
#define STR_NO_NAMED_RANGES_AVAILABLE NC_("STR_NO_NAMED_RANGES_AVAILABLE", "No named ranges available in the selected document")
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/stringutil.hxx b/sc/inc/stringutil.hxx
index bb1c8cf2e0f0..8cdb5821d0a9 100644
--- a/sc/inc/stringutil.hxx
+++ b/sc/inc/stringutil.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_STRINGUTIL_HXX
-#define INCLUDED_SC_INC_STRINGUTIL_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include "scdllapi.h"
@@ -160,6 +159,4 @@ public:
SvNumberFormatter& rFormatter, const OUString& rStr, LanguageType eLang );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/stylehelper.hxx b/sc/inc/stylehelper.hxx
index 68e6d252b03c..53ff810952ae 100644
--- a/sc/inc/stylehelper.hxx
+++ b/sc/inc/stylehelper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_STYLEHELPER_HXX
-#define INCLUDED_SC_INC_STYLEHELPER_HXX
+#pragma once
#include <rtl/ustring.hxx>
@@ -31,6 +30,4 @@ public:
static OUString ProgrammaticToDisplayName(const OUString& rProgName, SfxStyleFamily nType);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/styleuno.hxx b/sc/inc/styleuno.hxx
index ee9adbeecbd2..7fb72dd4abea 100644
--- a/sc/inc/styleuno.hxx
+++ b/sc/inc/styleuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_STYLEUNO_HXX
-#define INCLUDED_SC_INC_STYLEUNO_HXX
+#pragma once
#include <svl/lstner.hxx>
#include <svl/style.hxx>
@@ -268,6 +267,4 @@ public:
UNO3_GETIMPLEMENTATION_DECL(ScStyleObj)
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/subtotal.hxx b/sc/inc/subtotal.hxx
index b78bf06844a3..a2a8459b1939 100644
--- a/sc/inc/subtotal.hxx
+++ b/sc/inc/subtotal.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_SUBTOTAL_HXX
-#define INCLUDED_SC_INC_SUBTOTAL_HXX
+#pragma once
#include "global.hxx"
@@ -80,6 +79,4 @@ private:
sal_uInt64& getCountRef() { return maWelford.mnCount; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/subtotalparam.hxx b/sc/inc/subtotalparam.hxx
index e67feb85e71c..d9701c5379d4 100644
--- a/sc/inc/subtotalparam.hxx
+++ b/sc/inc/subtotalparam.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_SUBTOTALPARAM_HXX
-#define INCLUDED_SC_INC_SUBTOTALPARAM_HXX
+#pragma once
#include "global.hxx"
@@ -45,6 +44,4 @@ struct SC_DLLPUBLIC ScSubTotalParam
sal_uInt16 nCount );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/subtotals.hrc b/sc/inc/subtotals.hrc
index 233d47fe122b..488802d711a2 100644
--- a/sc/inc/subtotals.hrc
+++ b/sc/inc/subtotals.hrc
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_SUBTOTALS_HRC
-#define INCLUDED_SC_INC_SUBTOTALS_HRC
+#pragma once
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
@@ -37,6 +36,4 @@ const char* SCSTR_SUBTOTALS[] =
NC_("subtotalgrppage|liststore1", "VarP (Population)")
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/tabbgcolor.hxx b/sc/inc/tabbgcolor.hxx
index 872d81285201..1b8845eee38f 100644
--- a/sc/inc/tabbgcolor.hxx
+++ b/sc/inc/tabbgcolor.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_TABBGCOLOR_HXX
-#define INCLUDED_SC_INC_TABBGCOLOR_HXX
+#pragma once
#include <tools/color.hxx>
#include "types.hxx"
@@ -37,6 +36,4 @@ struct ScUndoTabColorInfo
typedef ::std::vector<ScUndoTabColorInfo> List;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index 9e8e6233295a..e4602f5188d6 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_TABLE_HXX
-#define INCLUDED_SC_INC_TABLE_HXX
+#pragma once
#include <algorithm>
#include <vector>
@@ -1320,6 +1319,4 @@ private:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/tablink.hxx b/sc/inc/tablink.hxx
index eb5e2f665696..64d63dd4b75b 100644
--- a/sc/inc/tablink.hxx
+++ b/sc/inc/tablink.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_TABLINK_HXX
-#define INCLUDED_SC_INC_TABLINK_HXX
+#pragma once
#include "scdllapi.h"
#include "refreshtimer.hxx"
@@ -115,6 +114,4 @@ public:
static void RemoveAppPrefix( OUString& rFilterName );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/tabopparams.hxx b/sc/inc/tabopparams.hxx
index a2e7823bf70c..b796ff8aded4 100644
--- a/sc/inc/tabopparams.hxx
+++ b/sc/inc/tabopparams.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_TABOPPARAMS_HXX
-#define INCLUDED_SC_INC_TABOPPARAMS_HXX
+#pragma once
#include "address.hxx"
@@ -84,6 +83,4 @@ struct ScInterpreterTableOpParams
}
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/tabprotection.hxx b/sc/inc/tabprotection.hxx
index f4b856cc4782..58e92c7a6478 100644
--- a/sc/inc/tabprotection.hxx
+++ b/sc/inc/tabprotection.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_TABPROTECTION_HXX
-#define INCLUDED_SC_INC_TABPROTECTION_HXX
+#pragma once
#include <sal/types.h>
@@ -221,6 +220,4 @@ private:
std::unique_ptr<ScTableProtectionImpl> mpImpl;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/targuno.hxx b/sc/inc/targuno.hxx
index 3e49076d7d3f..d941a51316f3 100644
--- a/sc/inc/targuno.hxx
+++ b/sc/inc/targuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_TARGUNO_HXX
-#define INCLUDED_SC_INC_TARGUNO_HXX
+#pragma once
#include <svl/lstner.hxx>
#include <com/sun/star/document/XLinkTargetSupplier.hpp>
@@ -141,6 +140,4 @@ public:
virtual css::uno::Sequence< OUString> SAL_CALL getSupportedServiceNames() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/textuno.hxx b/sc/inc/textuno.hxx
index 401387b8dcca..be16478bbbfd 100644
--- a/sc/inc/textuno.hxx
+++ b/sc/inc/textuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_TEXTUNO_HXX
-#define INCLUDED_SC_INC_TEXTUNO_HXX
+#pragma once
#include "address.hxx"
#include <editeng/unotext.hxx>
@@ -365,6 +364,4 @@ public:
virtual ~ScCellTextObj() COVERITY_NOEXCEPT_FALSE override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/token.hxx b/sc/inc/token.hxx
index 8ee554c4e8d6..8916ee3e4d3e 100644
--- a/sc/inc/token.hxx
+++ b/sc/inc/token.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_TOKEN_HXX
-#define INCLUDED_SC_INC_TOKEN_HXX
+#pragma once
#include <memory>
#include <vector>
@@ -453,6 +452,4 @@ public:
{}
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/tokenarray.hxx b/sc/inc/tokenarray.hxx
index eb3fa0dc4a8f..401ecb392239 100644
--- a/sc/inc/tokenarray.hxx
+++ b/sc/inc/tokenarray.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_TOKENARRAY_HXX
-#define INCLUDED_SC_INC_TOKENARRAY_HXX
+#pragma once
#include <formula/token.hxx>
#include <rtl/ref.hxx>
@@ -272,6 +271,4 @@ public:
#endif
};
-#endif // INCLUDED_SC_INC_TOKENARRAY_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/tokenstringcontext.hxx b/sc/inc/tokenstringcontext.hxx
index b44ab8bf087d..d6292e5dcbb5 100644
--- a/sc/inc/tokenstringcontext.hxx
+++ b/sc/inc/tokenstringcontext.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_TOKENSTRINGCONTEXT_HXX
-#define INCLUDED_SC_INC_TOKENSTRINGCONTEXT_HXX
+#pragma once
#include "compiler.hxx"
@@ -67,6 +66,4 @@ public:
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/tokenuno.hxx b/sc/inc/tokenuno.hxx
index 1c8def78720e..cded5065f6b2 100644
--- a/sc/inc/tokenuno.hxx
+++ b/sc/inc/tokenuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_TOKENUNO_HXX
-#define INCLUDED_SC_INC_TOKENUNO_HXX
+#pragma once
#include <memory>
#include <com/sun/star/lang/XServiceInfo.hpp>
@@ -106,6 +105,4 @@ public:
ScFormulaOpCodeMapperObj(::std::unique_ptr<formula::FormulaCompiler> && _pCompiler);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/typedstrdata.hxx b/sc/inc/typedstrdata.hxx
index 56414f10c267..944a13bdad0a 100644
--- a/sc/inc/typedstrdata.hxx
+++ b/sc/inc/typedstrdata.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_TYPEDSTRDATA_HXX
-#define INCLUDED_SC_INC_TYPEDSTRDATA_HXX
+#pragma once
#include <rtl/ustring.hxx>
@@ -73,6 +72,4 @@ public:
typedef std::set<ScTypedStrData, ScTypedStrData::LessCaseSensitive> ScTypedCaseStrSet;
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/types.hxx b/sc/inc/types.hxx
index 5c68c606d0fe..3bb2db710f79 100644
--- a/sc/inc/types.hxx
+++ b/sc/inc/types.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_TYPES_HXX
-#define INCLUDED_SC_INC_TYPES_HXX
+#pragma once
#include <sal/types.h>
@@ -134,6 +133,4 @@ namespace o3tl{
template<> struct typed_flags<sc::MatrixEdge> : o3tl::is_typed_flags<sc::MatrixEdge, 63> {};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/undorangename.hxx b/sc/inc/undorangename.hxx
index ac366b5d1219..f09ced1417af 100644
--- a/sc/inc/undorangename.hxx
+++ b/sc/inc/undorangename.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_INC_UNDORANGENAME_HXX
-#define INCLUDED_SC_INC_UNDORANGENAME_HXX
+#pragma once
#include <undobase.hxx>
@@ -61,6 +60,4 @@ private:
SCTAB mnTab;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/unitconv.hxx b/sc/inc/unitconv.hxx
index fe301b32f14d..3d0f98d35142 100644
--- a/sc/inc/unitconv.hxx
+++ b/sc/inc/unitconv.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_UNITCONV_HXX
-#define INCLUDED_SC_INC_UNITCONV_HXX
+#pragma once
#include <rtl/ustring.hxx>
@@ -55,6 +54,4 @@ public:
bool GetValue(double& fValue, std::u16string_view rFromUnit, std::u16string_view rToUnit) const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/units.hrc b/sc/inc/units.hrc
index 19fcb816784b..cf90776bbdaa 100644
--- a/sc/inc/units.hrc
+++ b/sc/inc/units.hrc
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_UNITS_HRC
-#define INCLUDED_SC_INC_UNITS_HRC
+#pragma once
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
@@ -39,6 +38,4 @@ const std::pair<const char*, FieldUnit> SCSTR_UNIT[] =
{ NC_("SCSTR_UNIT", "Point") , FieldUnit::POINT }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/unonames.hxx b/sc/inc/unonames.hxx
index 9a71377ff116..fb24cc62b6bb 100644
--- a/sc/inc/unonames.hxx
+++ b/sc/inc/unonames.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_UNONAMES_HXX
-#define INCLUDED_SC_INC_UNONAMES_HXX
+#pragma once
// service names
#define SC_SERVICENAME_VALBIND "com.sun.star.table.CellValueBinding"
@@ -700,6 +699,4 @@
#define SC_UNO_ODS_LOCK_SOLAR_MUTEX "ODSLockSolarMutex"
#define SC_UNO_ODS_IMPORT_STYLES "ODSImportStyles"
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/unoreflist.hxx b/sc/inc/unoreflist.hxx
index b3fad4de1b50..2ac239be5ed2 100644
--- a/sc/inc/unoreflist.hxx
+++ b/sc/inc/unoreflist.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_UNOREFLIST_HXX
-#define INCLUDED_SC_INC_UNOREFLIST_HXX
+#pragma once
#include <vector>
#include <svl/hint.hxx>
@@ -69,6 +68,4 @@ public:
const ScRangeList& GetRanges() const { return aEntry.aRanges; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/unowids.hxx b/sc/inc/unowids.hxx
index 492972941c63..cd1d6baf6ab8 100644
--- a/sc/inc/unowids.hxx
+++ b/sc/inc/unowids.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_UNOWIDS_HXX
-#define INCLUDED_SC_INC_UNOWIDS_HXX
+#pragma once
#include "scitems.hxx"
@@ -87,6 +86,4 @@ inline bool IsScItemWid( sal_uInt16 nWid )
return nWid >= ATTR_STARTINDEX && nWid <= ATTR_ENDINDEX; // incl. page
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/userdat.hxx b/sc/inc/userdat.hxx
index 11bd7f615e7a..d6d2de5ee9d0 100644
--- a/sc/inc/userdat.hxx
+++ b/sc/inc/userdat.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_USERDAT_HXX
-#define INCLUDED_SC_INC_USERDAT_HXX
+#pragma once
#include <svx/svdobj.hxx>
#include "address.hxx"
@@ -90,6 +89,4 @@ private:
OUString maHlink;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/userlist.hxx b/sc/inc/userlist.hxx
index b71ceb4cc3f6..dbefe744498d 100644
--- a/sc/inc/userlist.hxx
+++ b/sc/inc/userlist.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_USERLIST_HXX
-#define INCLUDED_SC_INC_USERLIST_HXX
+#pragma once
#include "scdllapi.h"
@@ -94,6 +93,4 @@ public:
void erase(const iterator& itr);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/validat.hxx b/sc/inc/validat.hxx
index 7ab014f0f92f..44b41dd065df 100644
--- a/sc/inc/validat.hxx
+++ b/sc/inc/validat.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_VALIDAT_HXX
-#define INCLUDED_SC_INC_VALIDAT_HXX
+#pragma once
#include "conditio.hxx"
#include "scdllapi.h"
@@ -233,6 +232,4 @@ public:
void UpdateMoveTab( sc::RefUpdateMoveTabContext& rCxt );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/viewopti.hxx b/sc/inc/viewopti.hxx
index f077b4090a22..313a69ad278e 100644
--- a/sc/inc/viewopti.hxx
+++ b/sc/inc/viewopti.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_VIEWOPTI_HXX
-#define INCLUDED_SC_INC_VIEWOPTI_HXX
+#pragma once
#include <svx/optgrid.hxx>
@@ -153,6 +152,4 @@ public:
void SetOptions( const ScViewOptions& rNew );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/viewuno.hxx b/sc/inc/viewuno.hxx
index bdf97fb7cc7e..5e954f86f2d7 100644
--- a/sc/inc/viewuno.hxx
+++ b/sc/inc/viewuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_VIEWUNO_HXX
-#define INCLUDED_SC_INC_VIEWUNO_HXX
+#pragma once
#include <sfx2/sfxbasecontroller.hxx>
#include <svl/itemprop.hxx>
@@ -304,6 +303,4 @@ public:
virtual css::uno::Sequence<sal_Int32> SAL_CALL getSelectedSheets() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/waitoff.hxx b/sc/inc/waitoff.hxx
index 92eb127ee997..76a1b3156d6a 100644
--- a/sc/inc/waitoff.hxx
+++ b/sc/inc/waitoff.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_WAITOFF_HXX
-#define INCLUDED_SC_INC_WAITOFF_HXX
+#pragma once
#include <sal/types.h>
@@ -36,6 +35,4 @@ public:
~ScWaitCursorOff();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/warnpassword.hxx b/sc/inc/warnpassword.hxx
index 8897d220e2a5..8b4135e2f27b 100644
--- a/sc/inc/warnpassword.hxx
+++ b/sc/inc/warnpassword.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_WARNPASSWORD_HXX
-#define INCLUDED_SC_INC_WARNPASSWORD_HXX
+#pragma once
class SfxMedium;
/** Static API helper functions. */
@@ -33,6 +32,4 @@ public:
static bool WarningOnPassword(SfxMedium& rMedium);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/xmlwrap.hxx b/sc/inc/xmlwrap.hxx
index f1955f530d20..597acaf61949 100644
--- a/sc/inc/xmlwrap.hxx
+++ b/sc/inc/xmlwrap.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_XMLWRAP_HXX
-#define INCLUDED_SC_INC_XMLWRAP_HXX
+#pragma once
#include <com/sun/star/uno/Reference.hxx>
#include "importfilterdata.hxx"
@@ -92,6 +91,4 @@ public:
const sc::ImportPostProcessData& GetImportPostProcessData() const { return maPostProcessData;}
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/zforauto.hxx b/sc/inc/zforauto.hxx
index 540ac208d18d..d5f0ee956cfd 100644
--- a/sc/inc/zforauto.hxx
+++ b/sc/inc/zforauto.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_ZFORAUTO_HXX
-#define INCLUDED_SC_INC_ZFORAUTO_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <i18nlangtag/lang.h>
@@ -47,6 +46,4 @@ public:
LanguageType GetLanguage() const { return eLanguage; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/qa/unit/helper/csv_handler.hxx b/sc/qa/unit/helper/csv_handler.hxx
index dafc8a931393..14b6df78a90b 100644
--- a/sc/qa/unit/helper/csv_handler.hxx
+++ b/sc/qa/unit/helper/csv_handler.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_QA_UNIT_HELPER_CSV_HANDLER_HXX
-#define INCLUDED_SC_QA_UNIT_HELPER_CSV_HANDLER_HXX
+#pragma once
#include <sal/config.h>
@@ -204,6 +203,4 @@ private:
SCTAB mnTab;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/qa/unit/helper/debughelper.hxx b/sc/qa/unit/helper/debughelper.hxx
index 1795c4a16bb9..af7a11a65fdd 100644
--- a/sc/qa/unit/helper/debughelper.hxx
+++ b/sc/qa/unit/helper/debughelper.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_QA_UNIT_HELPER_DEBUGHELPER_HXX
-#define INCLUDED_SC_QA_UNIT_HELPER_DEBUGHELPER_HXX
+#pragma once
#ifdef _WIN32
#if !defined NOMINMAX
@@ -34,6 +33,4 @@ using ::std::cerr;
using ::std::endl;
using ::std::vector;
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/qa/unit/helper/qahelper.hxx b/sc/qa/unit/helper/qahelper.hxx
index 5e1dc4cd3da4..14b7b3b02aca 100644
--- a/sc/qa/unit/helper/qahelper.hxx
+++ b/sc/qa/unit/helper/qahelper.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_QA_UNIT_HELPER_QAHELPER_HXX
-#define INCLUDED_SC_QA_UNIT_HELPER_QAHELPER_HXX
+#pragma once
#include <docsh.hxx>
#include <address.hxx>
@@ -221,6 +220,4 @@ SCQAHELPER_DLLPUBLIC ScTokenArray* getTokens(ScDocument& rDoc, const ScAddress&
SCQAHELPER_DLLPUBLIC std::string to_std_string(const OUString& rStr);
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/qa/unit/helper/scqahelperdllapi.h b/sc/qa/unit/helper/scqahelperdllapi.h
index 216ccc0146f1..3b7284721471 100644
--- a/sc/qa/unit/helper/scqahelperdllapi.h
+++ b/sc/qa/unit/helper/scqahelperdllapi.h
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_QA_UNIT_HELPER_DLLAPI_H
-#define INCLUDED_SC_QA_UNIT_HELPER_DLLAPI_H
+#pragma once
#include <sal/types.h>
@@ -18,6 +17,4 @@
#define SCQAHELPER_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
#endif
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/qa/unit/helper/shared_test_impl.hxx b/sc/qa/unit/helper/shared_test_impl.hxx
index d3a2cc86400d..617d63931870 100644
--- a/sc/qa/unit/helper/shared_test_impl.hxx
+++ b/sc/qa/unit/helper/shared_test_impl.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_QA_UNIT_HELPER_SHARED_TEST_IMPL_HXX
-#define INCLUDED_SC_QA_UNIT_HELPER_SHARED_TEST_IMPL_HXX
+#pragma once
#include <memory>
#include <colorscale.hxx>
@@ -287,6 +286,4 @@ void testCeilingFloor_Impl( ScDocument& rDoc )
CPPUNIT_ASSERT_EQUAL(1.0, rDoc.GetValue(aPos));
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/qa/unit/helper/sorthelper.hxx b/sc/qa/unit/helper/sorthelper.hxx
index e71045097f73..5a37c29ddf0f 100644
--- a/sc/qa/unit/helper/sorthelper.hxx
+++ b/sc/qa/unit/helper/sorthelper.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_QA_SORT_HELPER_QAHELPER_HXX
-#define INCLUDED_SC_QA_SORT_HELPER_QAHELPER_HXX
+#pragma once
// Unfortunately requires linkage to sc/ internals so
// can't live in qahelper itself.
@@ -51,6 +50,4 @@ public:
SortRefUpdateSetter() : SortTypeSetter(true) {}
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/qa/unit/helper/xpath.hxx b/sc/qa/unit/helper/xpath.hxx
index 26e2c2462346..d81fb134df47 100644
--- a/sc/qa/unit/helper/xpath.hxx
+++ b/sc/qa/unit/helper/xpath.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_QA_UNIT_HELPER_XPATH_HXX
-#define INCLUDED_SC_QA_UNIT_HELPER_XPATH_HXX
+#pragma once
#include <libxml/parser.h>
@@ -60,6 +59,4 @@ namespace XPathHelper
const OUString& rFile);
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/qa/unit/ucalc.hxx b/sc/qa/unit/ucalc.hxx
index 5b0a1f2dff3f..1f6dc580922c 100644
--- a/sc/qa/unit/ucalc.hxx
+++ b/sc/qa/unit/ucalc.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_QA_UNIT_UCALC_HXX
-#define INCLUDED_SC_QA_UNIT_UCALC_HXX
+#pragma once
#include <test/bootstrapfixture.hxx>
#include <docsh.hxx>
@@ -894,6 +893,4 @@ private:
ScDocument* m_pDoc;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/inc/addinhelpid.hxx b/sc/source/core/inc/addinhelpid.hxx
index 878a0cf7e694..82967ecf971d 100644
--- a/sc/source/core/inc/addinhelpid.hxx
+++ b/sc/source/core/inc/addinhelpid.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_CORE_INC_ADDINHELPID_HXX
-#define INCLUDED_SC_SOURCE_CORE_INC_ADDINHELPID_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <rtl/string.hxx>
@@ -43,6 +42,4 @@ public:
OString GetHelpId( const OUString& rFuncName ) const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/inc/addinlis.hxx b/sc/source/core/inc/addinlis.hxx
index ea83de408e68..ac3d2d64da65 100644
--- a/sc/source/core/inc/addinlis.hxx
+++ b/sc/source/core/inc/addinlis.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_CORE_INC_ADDINLIS_HXX
-#define INCLUDED_SC_SOURCE_CORE_INC_ADDINLIS_HXX
+#pragma once
#include <memory>
#include "adiasync.hxx"
@@ -82,6 +81,4 @@ public:
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
-#endif // INCLUDED_SC_SOURCE_CORE_INC_ADDINLIS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/inc/adiasync.hxx b/sc/source/core/inc/adiasync.hxx
index 1fd3dd4334cc..b693f12a28b8 100644
--- a/sc/source/core/inc/adiasync.hxx
+++ b/sc/source/core/inc/adiasync.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_CORE_INC_ADIASYNC_HXX
-#define INCLUDED_SC_SOURCE_CORE_INC_ADIASYNC_HXX
+#pragma once
#include <svl/broadcast.hxx>
#include <set>
@@ -75,6 +74,4 @@ using ScAddInAsyncs = std::set<std::unique_ptr<ScAddInAsync>, CompareScAddInAsyn
extern ScAddInAsyncs theAddInAsyncTbl; // in adiasync.cxx
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/inc/arraysumfunctor.hxx b/sc/source/core/inc/arraysumfunctor.hxx
index fc198190860f..62847493b88a 100644
--- a/sc/source/core/inc/arraysumfunctor.hxx
+++ b/sc/source/core/inc/arraysumfunctor.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SC_SOURCE_CORE_INC_ARRAYSUMFUNCTOR_HXX
-#define INCLUDED_SC_SOURCE_CORE_INC_ARRAYSUMFUNCTOR_HXX
+#pragma once
#include <cstdint>
#include <cmath>
@@ -116,6 +115,4 @@ private:
} // end namespace sc
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/inc/bcaslot.hxx b/sc/source/core/inc/bcaslot.hxx
index adc371c813c6..2c85229b1feb 100644
--- a/sc/source/core/inc/bcaslot.hxx
+++ b/sc/source/core/inc/bcaslot.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_CORE_INC_BCASLOT_HXX
-#define INCLUDED_SC_SOURCE_CORE_INC_BCASLOT_HXX
+#pragma once
#include <memory>
#include <map>
@@ -386,6 +385,4 @@ public:
}
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/inc/cellkeytranslator.hxx b/sc/source/core/inc/cellkeytranslator.hxx
index 5d5aae5335a2..1e42d1cf1182 100644
--- a/sc/source/core/inc/cellkeytranslator.hxx
+++ b/sc/source/core/inc/cellkeytranslator.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_CORE_INC_CELLKEYTRANSLATOR_HXX
-#define INCLUDED_SC_SOURCE_CORE_INC_CELLKEYTRANSLATOR_HXX
+#pragma once
#include <formula/opcode.hxx>
#include <unotools/transliterationwrapper.hxx>
@@ -81,6 +80,4 @@ private:
::utl::TransliterationWrapper maTransWrapper;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/inc/ddelink.hxx b/sc/source/core/inc/ddelink.hxx
index 47cf54475a3a..6baa7cee4761 100644
--- a/sc/source/core/inc/ddelink.hxx
+++ b/sc/source/core/inc/ddelink.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_CORE_INC_DDELINK_HXX
-#define INCLUDED_SC_SOURCE_CORE_INC_DDELINK_HXX
+#pragma once
#include <sfx2/lnkbase.hxx>
#include <svl/broadcast.hxx>
@@ -82,6 +81,4 @@ public:
static bool IsInUpdate() { return bIsInUpdate; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/inc/doubleref.hxx b/sc/source/core/inc/doubleref.hxx
index 15e30f444404..b8cb084e792b 100644
--- a/sc/source/core/inc/doubleref.hxx
+++ b/sc/source/core/inc/doubleref.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_CORE_INC_DOUBLEREF_HXX
-#define INCLUDED_SC_SOURCE_CORE_INC_DOUBLEREF_HXX
+#pragma once
#include <sal/config.h>
@@ -176,6 +175,4 @@ private:
SCROW mnRows;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/inc/formulagroupcl.hxx b/sc/source/core/inc/formulagroupcl.hxx
index a9853f35b0d9..586b21f4c598 100644
--- a/sc/source/core/inc/formulagroupcl.hxx
+++ b/sc/source/core/inc/formulagroupcl.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_CORE_INC_FORMULAGROUPCL_HXX
-#define INCLUDED_SC_SOURCE_CORE_INC_FORMULAGROUPCL_HXX
+#pragma once
#include <formulagroup.hxx>
@@ -27,6 +26,4 @@ public:
} // namespace sc::opencl
-#endif // INCLUDED_SC_SOURCE_CORE_INC_FORMULAGROUPCL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/inc/grouptokenconverter.hxx b/sc/source/core/inc/grouptokenconverter.hxx
index 499ced08cd79..0d2f02227b3b 100644
--- a/sc/source/core/inc/grouptokenconverter.hxx
+++ b/sc/source/core/inc/grouptokenconverter.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_CORE_INC_GROUPTOKENCONVERTER_HXX
-#define INCLUDED_SC_SOURCE_CORE_INC_GROUPTOKENCONVERTER_HXX
+#pragma once
#include <types.hxx>
#include <formulalogger.hxx>
@@ -36,6 +35,4 @@ public:
bool convert( const ScTokenArray& rCode, sc::FormulaLogger::GroupScope& rScope );
};
-#endif // INCLUDED_SC_SOURCE_CORE_INC_GROUPTOKENCONVERTER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/inc/interpre.hxx b/sc/source/core/inc/interpre.hxx
index f8e5f616053c..d131b0279c2a 100644
--- a/sc/source/core/inc/interpre.hxx
+++ b/sc/source/core/inc/interpre.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_CORE_INC_INTERPRE_HXX
-#define INCLUDED_SC_SOURCE_CORE_INC_INTERPRE_HXX
+#pragma once
#include <rtl/math.hxx>
#include <rtl/ustring.hxx>
@@ -1164,6 +1163,4 @@ inline sal_Int16 ScInterpreter::GetDayOfWeek( sal_Int32 n )
return static_cast< sal_Int16 >( ( n - 1 ) % 7 );
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/inc/jumpmatrix.hxx b/sc/source/core/inc/jumpmatrix.hxx
index 23c17a3b003f..f0fb9c1abb68 100644
--- a/sc/source/core/inc/jumpmatrix.hxx
+++ b/sc/source/core/inc/jumpmatrix.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_CORE_INC_JUMPMATRIX_HXX
-#define INCLUDED_SC_SOURCE_CORE_INC_JUMPMATRIX_HXX
+#pragma once
#include <limits.h>
#include <vector>
@@ -120,6 +119,4 @@ public:
void PutResultEmptyPath( SCSIZE nC, SCSIZE nR );
};
-#endif // INCLUDED_SC_SOURCE_CORE_INC_JUMPMATRIX_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/inc/parclass.hxx b/sc/source/core/inc/parclass.hxx
index 889b2bc38947..4b043fd7fef6 100644
--- a/sc/source/core/inc/parclass.hxx
+++ b/sc/source/core/inc/parclass.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_CORE_INC_PARCLASS_HXX
-#define INCLUDED_SC_SOURCE_CORE_INC_PARCLASS_HXX
+#pragma once
#include <formula/opcode.hxx>
#include <formula/paramclass.hxx>
@@ -142,6 +141,4 @@ private:
#endif // DEBUG_SC_PARCLASSDOC
};
-#endif // INCLUDED_SC_SOURCE_CORE_INC_PARCLASS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/inc/poolhelp.hxx b/sc/source/core/inc/poolhelp.hxx
index 66a729ad49ea..a1e3f92b7f8c 100644
--- a/sc/source/core/inc/poolhelp.hxx
+++ b/sc/source/core/inc/poolhelp.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_CORE_INC_POOLHELP_HXX
-#define INCLUDED_SC_SOURCE_CORE_INC_POOLHELP_HXX
+#pragma once
#include <rtl/ref.hxx>
#include <salhelper/simplereferenceobject.hxx>
@@ -62,6 +61,4 @@ public:
std::unique_ptr<SvNumberFormatter> CreateNumberFormatter() const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/inc/refupdat.hxx b/sc/source/core/inc/refupdat.hxx
index 1601c66bfe6c..cd3ab69dfaa4 100644
--- a/sc/source/core/inc/refupdat.hxx
+++ b/sc/source/core/inc/refupdat.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_CORE_INC_REFUPDAT_HXX
-#define INCLUDED_SC_SOURCE_CORE_INC_REFUPDAT_HXX
+#pragma once
#include <global.hxx>
@@ -69,6 +68,4 @@ public:
const ScRange& rArea, SCCOL nGrowX, SCROW nGrowY, ScRange& rRef );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/inc/scrdata.hxx b/sc/source/core/inc/scrdata.hxx
index 127fc2014245..0698e1257330 100644
--- a/sc/source/core/inc/scrdata.hxx
+++ b/sc/source/core/inc/scrdata.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_CORE_INC_SCRDATA_HXX
-#define INCLUDED_SC_SOURCE_CORE_INC_SCRDATA_HXX
+#pragma once
#include <com/sun/star/uno/Reference.hxx>
@@ -35,6 +34,4 @@ public:
ScScriptTypeData() {}
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/inc/webservicelink.hxx b/sc/source/core/inc/webservicelink.hxx
index 59f58f2f82ef..7f1d1e913156 100644
--- a/sc/source/core/inc/webservicelink.hxx
+++ b/sc/source/core/inc/webservicelink.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_CORE_INC_WEBSERVICE_HXX
-#define INCLUDED_SC_SOURCE_CORE_INC_WEBSERVICE_HXX
+#pragma once
#include <sfx2/lnkbase.hxx>
#include <svl/broadcast.hxx>
@@ -47,6 +46,4 @@ public:
const OUString& GetURL() const { return aURL; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
diff --git a/sc/source/core/opencl/op_addin.hxx b/sc/source/core/opencl/op_addin.hxx
index 907f53b9427d..96f89968b341 100644
--- a/sc/source/core/opencl/op_addin.hxx
+++ b/sc/source/core/opencl/op_addin.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_CORE_OPENCL_OP_ADDIN_HXX
-#define INCLUDED_SC_SOURCE_CORE_OPENCL_OP_ADDIN_HXX
+#pragma once
#include "opbase.hxx"
@@ -31,6 +30,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/opencl/op_database.hxx b/sc/source/core/opencl/op_database.hxx
index 5488edb321e5..effacc1235f2 100644
--- a/sc/source/core/opencl/op_database.hxx
+++ b/sc/source/core/opencl/op_database.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_CORE_OPENCL_OP_DATABASE_HXX
-#define INCLUDED_SC_SOURCE_CORE_OPENCL_OP_DATABASE_HXX
+#pragma once
#include "opbase.hxx"
@@ -104,6 +103,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/opencl/op_financial.hxx b/sc/source/core/opencl/op_financial.hxx
index 1e9db95d9eea..87469c824c11 100644
--- a/sc/source/core/opencl/op_financial.hxx
+++ b/sc/source/core/opencl/op_financial.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_CORE_OPENCL_OP_FINANCIAL_HXX
-#define INCLUDED_SC_SOURCE_CORE_OPENCL_OP_FINANCIAL_HXX
+#pragma once
#include "opbase.hxx"
@@ -577,6 +576,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/opencl/op_logical.hxx b/sc/source/core/opencl/op_logical.hxx
index 89ce39b72286..2f04cae6a035 100644
--- a/sc/source/core/opencl/op_logical.hxx
+++ b/sc/source/core/opencl/op_logical.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_CORE_OPENCL_OP_LOGICAL_HXX
-#define INCLUDED_SC_SOURCE_CORE_OPENCL_OP_LOGICAL_HXX
+#pragma once
#include "opbase.hxx"
@@ -56,6 +55,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/opencl/op_math.hxx b/sc/source/core/opencl/op_math.hxx
index 175703d122af..f001d1b78beb 100644
--- a/sc/source/core/opencl/op_math.hxx
+++ b/sc/source/core/opencl/op_math.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_CORE_OPENCL_OP_MATH_HXX
-#define INCLUDED_SC_SOURCE_CORE_OPENCL_OP_MATH_HXX
+#pragma once
#include "opbase.hxx"
@@ -497,6 +496,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/opencl/op_spreadsheet.hxx b/sc/source/core/opencl/op_spreadsheet.hxx
index f057512c23cd..9045b0e70814 100644
--- a/sc/source/core/opencl/op_spreadsheet.hxx
+++ b/sc/source/core/opencl/op_spreadsheet.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_CORE_OPENCL_OP_SPREADSHEET_HXX
-#define INCLUDED_SC_SOURCE_CORE_OPENCL_OP_SPREADSHEET_HXX
+#pragma once
#include "opbase.hxx"
@@ -25,6 +24,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/opencl/op_statistical.hxx b/sc/source/core/opencl/op_statistical.hxx
index 557db2b41a38..a77ef71a95a2 100644
--- a/sc/source/core/opencl/op_statistical.hxx
+++ b/sc/source/core/opencl/op_statistical.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_CORE_OPENCL_OP_STATISTICAL_HXX
-#define INCLUDED_SC_SOURCE_CORE_OPENCL_OP_STATISTICAL_HXX
+#pragma once
#include "opbase.hxx"
@@ -548,6 +547,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/opencl/opbase.hxx b/sc/source/core/opencl/opbase.hxx
index 73a207d74c72..b4a2780f7c0e 100644
--- a/sc/source/core/opencl/opbase.hxx
+++ b/sc/source/core/opencl/opbase.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_CORE_OPENCL_OPBASE_HXX
-#define INCLUDED_SC_SOURCE_CORE_OPENCL_OPBASE_HXX
+#pragma once
#include <clew/clew.h>
#include <formula/token.hxx>
@@ -244,6 +243,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/opencl/opinlinefun_math.hxx b/sc/source/core/opencl/opinlinefun_math.hxx
index 9c53b9f38ca4..dc962b4635f1 100644
--- a/sc/source/core/opencl/opinlinefun_math.hxx
+++ b/sc/source/core/opencl/opinlinefun_math.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_CORE_OPENCL_OPINLINEFUN_MATH_HXX
-#define INCLUDED_SC_SOURCE_CORE_OPENCL_OPINLINEFUN_MATH_HXX
+#pragma once
#include <string>
@@ -88,6 +87,4 @@ std::string atan2Content =
" return a;\n"
"}\n";
-#endif // INCLUDED_SC_SOURCE_CORE_OPENCL_OPINLINEFUN_MATH_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/excel/xltoolbar.hxx b/sc/source/filter/excel/xltoolbar.hxx
index e0d520c40d75..f7da78b2ff23 100644
--- a/sc/source/filter/excel/xltoolbar.hxx
+++ b/sc/source/filter/excel/xltoolbar.hxx
@@ -6,8 +6,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_EXCEL_XLTOOLBAR_HXX
-#define INCLUDED_SC_SOURCE_FILTER_EXCEL_XLTOOLBAR_HXX
+#pragma once
#include <filter/msfilter/mstoolbar.hxx>
@@ -104,6 +103,4 @@ public:
ScCTB* GetCustomizationData( const OUString& name );
};
-#endif // INCLUDED_SC_SOURCE_FILTER_EXCEL_XLTOOLBAR_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/XclExpChangeTrack.hxx b/sc/source/filter/inc/XclExpChangeTrack.hxx
index 0d575324481b..48e34e2e32b0 100644
--- a/sc/source/filter/inc/XclExpChangeTrack.hxx
+++ b/sc/source/filter/inc/XclExpChangeTrack.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XCLEXPCHANGETRACK_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XCLEXPCHANGETRACK_HXX
+#pragma once
#include <memory>
#include <stack>
@@ -608,6 +607,4 @@ public:
void WriteXml( XclExpXmlStream& rStrm );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/XclImpChangeTrack.hxx b/sc/source/filter/inc/XclImpChangeTrack.hxx
index f89a5f068bef..532cc9e32464 100644
--- a/sc/source/filter/inc/XclImpChangeTrack.hxx
+++ b/sc/source/filter/inc/XclImpChangeTrack.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XCLIMPCHANGETRACK_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XCLIMPCHANGETRACK_HXX
+#pragma once
#include "xiroot.hxx"
#include "xistream.hxx"
@@ -142,6 +141,4 @@ public:
virtual ~XclImpChTrFmlConverter() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/autofilterbuffer.hxx b/sc/source/filter/inc/autofilterbuffer.hxx
index 3b512f4f98b9..8af001d24db4 100644
--- a/sc/source/filter/inc/autofilterbuffer.hxx
+++ b/sc/source/filter/inc/autofilterbuffer.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_AUTOFILTERBUFFER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_AUTOFILTERBUFFER_HXX
+#pragma once
#include <oox/helper/helper.hxx>
#include <oox/helper/refvector.hxx>
@@ -261,6 +260,4 @@ private:
} // namespace xls
} // namespace oox
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/autofiltercontext.hxx b/sc/source/filter/inc/autofiltercontext.hxx
index ac51bc215777..a008d0c4ea7c 100644
--- a/sc/source/filter/inc/autofiltercontext.hxx
+++ b/sc/source/filter/inc/autofiltercontext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_AUTOFILTERCONTEXT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_AUTOFILTERCONTEXT_HXX
+#pragma once
#include "excelhandlers.hxx"
#include "autofilterbuffer.hxx"
@@ -117,6 +116,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/biffhelper.hxx b/sc/source/filter/inc/biffhelper.hxx
index 38e1d0438f32..1cf3ed9c6c30 100644
--- a/sc/source/filter/inc/biffhelper.hxx
+++ b/sc/source/filter/inc/biffhelper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_BIFFHELPER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_BIFFHELPER_HXX
+#pragma once
#include <sal/types.h>
#include <rtl/ustring.hxx>
@@ -619,6 +618,4 @@ inline SequenceInputStream& operator>>( SequenceInputStream& rStrm, OUString& or
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/chartsheetfragment.hxx b/sc/source/filter/inc/chartsheetfragment.hxx
index 82615cf69f4d..5e1e3f41cc99 100644
--- a/sc/source/filter/inc/chartsheetfragment.hxx
+++ b/sc/source/filter/inc/chartsheetfragment.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_CHARTSHEETFRAGMENT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_CHARTSHEETFRAGMENT_HXX
+#pragma once
#include "excelhandlers.hxx"
@@ -50,6 +49,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/colrowst.hxx b/sc/source/filter/inc/colrowst.hxx
index d9838fb141c3..3baa5b6ec471 100644
--- a/sc/source/filter/inc/colrowst.hxx
+++ b/sc/source/filter/inc/colrowst.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_COLROWST_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_COLROWST_HXX
+#pragma once
#include "xiroot.hxx"
#include <mdds/flat_segment_tree.hpp>
@@ -84,6 +83,4 @@ private:
bool mbDirty;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/commentsbuffer.hxx b/sc/source/filter/inc/commentsbuffer.hxx
index 9884b164d7a6..ae2edd35e0ec 100644
--- a/sc/source/filter/inc/commentsbuffer.hxx
+++ b/sc/source/filter/inc/commentsbuffer.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_COMMENTSBUFFER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_COMMENTSBUFFER_HXX
+#pragma once
#include "richstring.hxx"
#include "worksheethelper.hxx"
@@ -89,6 +88,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/commentsfragment.hxx b/sc/source/filter/inc/commentsfragment.hxx
index 5b706c2275e0..fc3f35766e1d 100644
--- a/sc/source/filter/inc/commentsfragment.hxx
+++ b/sc/source/filter/inc/commentsfragment.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_COMMENTSFRAGMENT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_COMMENTSFRAGMENT_HXX
+#pragma once
#include "commentsbuffer.hxx"
#include "excelhandlers.hxx"
@@ -53,6 +52,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/condformatbuffer.hxx b/sc/source/filter/inc/condformatbuffer.hxx
index 3746a26230dd..b3f337dfa516 100644
--- a/sc/source/filter/inc/condformatbuffer.hxx
+++ b/sc/source/filter/inc/condformatbuffer.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_CONDFORMATBUFFER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_CONDFORMATBUFFER_HXX
+#pragma once
#include "worksheethelper.hxx"
#include <tools/color.hxx>
@@ -320,6 +319,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/condformatcontext.hxx b/sc/source/filter/inc/condformatcontext.hxx
index af1b2178604e..1ab9057f9264 100644
--- a/sc/source/filter/inc/condformatcontext.hxx
+++ b/sc/source/filter/inc/condformatcontext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_CONDFORMATCONTEXT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_CONDFORMATCONTEXT_HXX
+#pragma once
#include "condformatbuffer.hxx"
#include "excelhandlers.hxx"
@@ -88,6 +87,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/connectionsbuffer.hxx b/sc/source/filter/inc/connectionsbuffer.hxx
index 48eda5a6490d..108c05db90f1 100644
--- a/sc/source/filter/inc/connectionsbuffer.hxx
+++ b/sc/source/filter/inc/connectionsbuffer.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_CONNECTIONSBUFFER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_CONNECTIONSBUFFER_HXX
+#pragma once
#include <memory>
#include <oox/helper/refvector.hxx>
@@ -158,6 +157,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/connectionsfragment.hxx b/sc/source/filter/inc/connectionsfragment.hxx
index e5418a7d533b..827361a6415a 100644
--- a/sc/source/filter/inc/connectionsfragment.hxx
+++ b/sc/source/filter/inc/connectionsfragment.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_CONNECTIONSFRAGMENT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_CONNECTIONSFRAGMENT_HXX
+#pragma once
#include "excelhandlers.hxx"
@@ -59,6 +58,4 @@ protected:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/decl.h b/sc/source/filter/inc/decl.h
index 92e122c08173..0cfbc239c0d7 100644
--- a/sc/source/filter/inc/decl.h
+++ b/sc/source/filter/inc/decl.h
@@ -18,11 +18,8 @@
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_DECL_H
-#define INCLUDED_SC_SOURCE_FILTER_INC_DECL_H
+#pragma once
enum WKTYP { eWK_UNKNOWN = -2, eWK_1 = 0, eWK_2, eWK3, eWK4, eWK_Error, eWK123 };
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/defnamesbuffer.hxx b/sc/source/filter/inc/defnamesbuffer.hxx
index 77ee38fd5ccb..b0b3b1ee6baf 100644
--- a/sc/source/filter/inc/defnamesbuffer.hxx
+++ b/sc/source/filter/inc/defnamesbuffer.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_DEFNAMESBUFFER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_DEFNAMESBUFFER_HXX
+#pragma once
#include "workbookhelper.hxx"
#include <oox/helper/binarystreambase.hxx>
@@ -178,6 +177,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/dif.hxx b/sc/source/filter/inc/dif.hxx
index f6cb8302bd5d..1cda09a2b281 100644
--- a/sc/source/filter/inc/dif.hxx
+++ b/sc/source/filter/inc/dif.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_DIF_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_DIF_HXX
+#pragma once
#include <map>
#include <memory>
@@ -164,6 +163,4 @@ private:
std::map<SCCOL, std::unique_ptr<DifColumn>> maColMap;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/drawingbase.hxx b/sc/source/filter/inc/drawingbase.hxx
index 4f6294002dca..e7d47200cf1b 100644
--- a/sc/source/filter/inc/drawingbase.hxx
+++ b/sc/source/filter/inc/drawingbase.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_DRAWINGBASE_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_DRAWINGBASE_HXX
+#pragma once
#include <oox/drawingml/drawingmltypes.hxx>
#include "worksheethelper.hxx"
@@ -131,6 +130,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/drawingfragment.hxx b/sc/source/filter/inc/drawingfragment.hxx
index de71677f41ea..f7315da448c6 100644
--- a/sc/source/filter/inc/drawingfragment.hxx
+++ b/sc/source/filter/inc/drawingfragment.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_DRAWINGFRAGMENT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_DRAWINGFRAGMENT_HXX
+#pragma once
#include <memory>
#include <oox/drawingml/shapegroupcontext.hxx>
@@ -203,6 +202,4 @@ protected:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/eeimport.hxx b/sc/source/filter/inc/eeimport.hxx
index 3f2453a6b75a..d4ddc31f40c2 100644
--- a/sc/source/filter/inc/eeimport.hxx
+++ b/sc/source/filter/inc/eeimport.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_EEIMPORT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_EEIMPORT_HXX
+#pragma once
#include <memory>
#include <address.hxx>
@@ -60,6 +59,4 @@ public:
bool bConvertDate = true ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/eeparser.hxx b/sc/source/filter/inc/eeparser.hxx
index bb330b86be38..6b988b0728ee 100644
--- a/sc/source/filter/inc/eeparser.hxx
+++ b/sc/source/filter/inc/eeparser.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_EEPARSER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_EEPARSER_HXX
+#pragma once
#include <tools/gen.hxx>
#include <vcl/errcode.hxx>
@@ -129,6 +128,4 @@ public:
const ScEEParseEntry* ListEntry( size_t index ) const { return maList[index].get(); }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/excdefs.hxx b/sc/source/filter/inc/excdefs.hxx
index 7b8b3e6a4780..6dc12d5b6606 100644
--- a/sc/source/filter/inc/excdefs.hxx
+++ b/sc/source/filter/inc/excdefs.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_EXCDEFS_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_EXCDEFS_HXX
+#pragma once
#include <sal/types.h>
@@ -90,6 +89,4 @@ const sal_uInt8 EXC_AFOPER_GREATEREQUAL = 0x06;
#define EXC_CHTR_ACCEPT 0x0001
#define EXC_CHTR_REJECT 0x0003
-#endif // _EXCDEFS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/excdoc.hxx b/sc/source/filter/inc/excdoc.hxx
index cd303242aa8f..128bcc2bdcd6 100644
--- a/sc/source/filter/inc/excdoc.hxx
+++ b/sc/source/filter/inc/excdoc.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_EXCDOC_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_EXCDOC_HXX
+#pragma once
#include "xeroot.hxx"
#include "xerecord.hxx"
@@ -97,6 +96,4 @@ public:
void WriteXml( XclExpXmlStream& );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/excelchartconverter.hxx b/sc/source/filter/inc/excelchartconverter.hxx
index 89af4d9988b2..156dee2af519 100644
--- a/sc/source/filter/inc/excelchartconverter.hxx
+++ b/sc/source/filter/inc/excelchartconverter.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_EXCELCHARTCONVERTER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_EXCELCHARTCONVERTER_HXX
+#pragma once
#include <oox/drawingml/chart/chartconverter.hxx>
#include "workbookhelper.hxx"
@@ -44,6 +43,4 @@ public:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/excelfilter.hxx b/sc/source/filter/inc/excelfilter.hxx
index b841564f2dd6..2805733d89aa 100644
--- a/sc/source/filter/inc/excelfilter.hxx
+++ b/sc/source/filter/inc/excelfilter.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_EXCELFILTER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_EXCELFILTER_HXX
+#pragma once
#include <oox/core/xmlfilterbase.hxx>
@@ -59,6 +58,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/excelhandlers.hxx b/sc/source/filter/inc/excelhandlers.hxx
index 20d0d982e43f..fd029e9958e5 100644
--- a/sc/source/filter/inc/excelhandlers.hxx
+++ b/sc/source/filter/inc/excelhandlers.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_EXCELHANDLERS_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_EXCELHANDLERS_HXX
+#pragma once
#include <oox/core/fragmenthandler2.hxx>
#include <oox/core/contexthandler2.hxx>
@@ -78,6 +77,4 @@ public:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/excelvbaproject.hxx b/sc/source/filter/inc/excelvbaproject.hxx
index 0a58ff507ec6..249286042a92 100644
--- a/sc/source/filter/inc/excelvbaproject.hxx
+++ b/sc/source/filter/inc/excelvbaproject.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_EXCELVBAPROJECT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_EXCELVBAPROJECT_HXX
+#pragma once
#include <oox/ole/vbaproject.hxx>
@@ -47,6 +46,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/excform.hxx b/sc/source/filter/inc/excform.hxx
index 4851952b4f0c..4bc19b1855f4 100644
--- a/sc/source/filter/inc/excform.hxx
+++ b/sc/source/filter/inc/excform.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_EXCFORM_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_EXCFORM_HXX
+#pragma once
#include "xlformula.hxx"
#include "xiroot.hxx"
@@ -139,6 +138,4 @@ inline bool ExcelToSc8::IsComplRowRange( const sal_uInt16 nRow1, const sal_uInt1
return ( nRow1 == 0x0000 ) && ( nRow2 == 0xFFFF );
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/excimp8.hxx b/sc/source/filter/inc/excimp8.hxx
index d0ae16a87966..4096ca068245 100644
--- a/sc/source/filter/inc/excimp8.hxx
+++ b/sc/source/filter/inc/excimp8.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_EXCIMP8_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_EXCIMP8_HXX
+#pragma once
#include "imp_op.hxx"
#include "root.hxx"
@@ -113,6 +112,4 @@ private:
std::vector<XclImpAutoFilterSharePtr> maFilters;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/excrecds.hxx b/sc/source/filter/inc/excrecds.hxx
index 5501672bfda9..e8224a41a69a 100644
--- a/sc/source/filter/inc/excrecds.hxx
+++ b/sc/source/filter/inc/excrecds.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_EXCRECDS_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_EXCRECDS_HXX
+#pragma once
#include <rtl/string.hxx>
#include <rtl/ustring.hxx>
@@ -449,6 +448,4 @@ private:
XclExpTabFilterMap maFilterMap;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/excscen.hxx b/sc/source/filter/inc/excscen.hxx
index dce758a30ca4..81e97e1b1266 100644
--- a/sc/source/filter/inc/excscen.hxx
+++ b/sc/source/filter/inc/excscen.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_EXCSCEN_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_EXCSCEN_HXX
+#pragma once
#include <vector>
#include <memory>
@@ -68,6 +67,4 @@ struct ExcScenarioList
std::vector< std::unique_ptr<ExcScenario> > aEntries;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/exp_op.hxx b/sc/source/filter/inc/exp_op.hxx
index 8c7444a8ee48..87ed95b2eed0 100644
--- a/sc/source/filter/inc/exp_op.hxx
+++ b/sc/source/filter/inc/exp_op.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_EXP_OP_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_EXP_OP_HXX
+#pragma once
#include <tools/stream.hxx>
#include <memory>
@@ -60,6 +59,4 @@ public:
virtual ~ExportBiff8() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/expbase.hxx b/sc/source/filter/inc/expbase.hxx
index 554a01674c68..84cc558cbd5f 100644
--- a/sc/source/filter/inc/expbase.hxx
+++ b/sc/source/filter/inc/expbase.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_EXPBASE_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_EXPBASE_HXX
+#pragma once
#include <memory>
#include <address.hxx>
@@ -61,6 +60,4 @@ public:
ScFieldEditEngine& GetEditEngine() const;
};
-#endif // INCLUDED_SC_SOURCE_FILTER_INC_EXPBASE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/externallinkbuffer.hxx b/sc/source/filter/inc/externallinkbuffer.hxx
index ce036b04b49b..374a54b38ccd 100644
--- a/sc/source/filter/inc/externallinkbuffer.hxx
+++ b/sc/source/filter/inc/externallinkbuffer.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_EXTERNALLINKBUFFER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_EXTERNALLINKBUFFER_HXX
+#pragma once
#include <ostream>
@@ -348,6 +347,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/externallinkfragment.hxx b/sc/source/filter/inc/externallinkfragment.hxx
index 85a3cf8a40d9..f14ba0b0af5e 100644
--- a/sc/source/filter/inc/externallinkfragment.hxx
+++ b/sc/source/filter/inc/externallinkfragment.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_EXTERNALLINKFRAGMENT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_EXTERNALLINKFRAGMENT_HXX
+#pragma once
#include "excelhandlers.hxx"
#include "externallinkbuffer.hxx"
@@ -97,6 +96,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/extlstcontext.hxx b/sc/source/filter/inc/extlstcontext.hxx
index 5106ffc98928..8635c6029523 100644
--- a/sc/source/filter/inc/extlstcontext.hxx
+++ b/sc/source/filter/inc/extlstcontext.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_EXTLSTCONTEXT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_EXTLSTCONTEXT_HXX
+#pragma once
#include "excelhandlers.hxx"
#include <oox/core/contexthandler.hxx>
@@ -144,6 +143,4 @@ protected:
} //namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/fapihelper.hxx b/sc/source/filter/inc/fapihelper.hxx
index 30f286bfb765..b5eaabeda4b3 100644
--- a/sc/source/filter/inc/fapihelper.hxx
+++ b/sc/source/filter/inc/fapihelper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_FAPIHELPER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_FAPIHELPER_HXX
+#pragma once
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Reference.hxx>
@@ -292,6 +291,4 @@ ScfPropSetHelper& operator<<( ScfPropSetHelper& rPropSetHelper, const Type& rVal
return rPropSetHelper;
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/flttypes.hxx b/sc/source/filter/inc/flttypes.hxx
index 5f137e3532c5..9863278c0839 100644
--- a/sc/source/filter/inc/flttypes.hxx
+++ b/sc/source/filter/inc/flttypes.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_FLTTYPES_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_FLTTYPES_HXX
+#pragma once
enum BiffTyp
{
@@ -37,6 +36,4 @@ enum class Lotus123Typ
WK4,
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/formel.hxx b/sc/source/filter/inc/formel.hxx
index 3445e0773c79..9af9158c9cfe 100644
--- a/sc/source/filter/inc/formel.hxx
+++ b/sc/source/filter/inc/formel.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_FORMEL_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_FORMEL_HXX
+#pragma once
#include <tools/stream.hxx>
@@ -185,6 +184,4 @@ inline void LotusConverterBase::Read( sal_uInt32& nUINT32 )
nBytesLeft = -1; // bail out early
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/formulabase.hxx b/sc/source/filter/inc/formulabase.hxx
index ebd10122f9ad..cb01e9a6fee0 100644
--- a/sc/source/filter/inc/formulabase.hxx
+++ b/sc/source/filter/inc/formulabase.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_FORMULABASE_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_FORMULABASE_HXX
+#pragma once
#include <com/sun/star/beans/Pair.hpp>
#include <com/sun/star/sheet/FormulaToken.hpp>
@@ -778,6 +777,4 @@ public:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/formulabuffer.hxx b/sc/source/filter/inc/formulabuffer.hxx
index deefba97deea..38eac0056fee 100644
--- a/sc/source/filter/inc/formulabuffer.hxx
+++ b/sc/source/filter/inc/formulabuffer.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_FORMULABUFFER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_FORMULABUFFER_HXX
+#pragma once
#include <osl/mutex.hxx>
#include "workbookhelper.hxx"
@@ -117,6 +116,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/formulaparser.hxx b/sc/source/filter/inc/formulaparser.hxx
index be759926e8a5..3a2030227ac7 100644
--- a/sc/source/filter/inc/formulaparser.hxx
+++ b/sc/source/filter/inc/formulaparser.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_FORMULAPARSER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_FORMULAPARSER_HXX
+#pragma once
#include <memory>
#include "formulabase.hxx"
@@ -129,6 +128,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/fprogressbar.hxx b/sc/source/filter/inc/fprogressbar.hxx
index b2682dde9341..e5ae8aaf5d6c 100644
--- a/sc/source/filter/inc/fprogressbar.hxx
+++ b/sc/source/filter/inc/fprogressbar.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_FPROGRESSBAR_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_FPROGRESSBAR_HXX
+#pragma once
#include <vector>
#include <memory>
@@ -220,6 +219,4 @@ private:
SvStream& mrStrm; /// The used stream.
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/ftools.hxx b/sc/source/filter/inc/ftools.hxx
index b8768c8c49ee..b02d47d4981f 100644
--- a/sc/source/filter/inc/ftools.hxx
+++ b/sc/source/filter/inc/ftools.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_FTOOLS_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_FTOOLS_HXX
+#pragma once
#include <algorithm>
#include <vector>
@@ -293,6 +292,4 @@ public:
virtual ScOrcusFilters* GetOrcusFilters() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/htmlexp.hxx b/sc/source/filter/inc/htmlexp.hxx
index 10c420354287..318bbbfbbf62 100644
--- a/sc/source/filter/inc/htmlexp.hxx
+++ b/sc/source/filter/inc/htmlexp.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_HTMLEXP_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_HTMLEXP_HXX
+#pragma once
#include <rtl/textenc.h>
#include <tools/gen.hxx>
@@ -184,6 +183,4 @@ public:
}
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/htmlimp.hxx b/sc/source/filter/inc/htmlimp.hxx
index a6fbadb75115..46dfcc1fc6cd 100644
--- a/sc/source/filter/inc/htmlimp.hxx
+++ b/sc/source/filter/inc/htmlimp.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_HTMLIMP_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_HTMLIMP_HXX
+#pragma once
#include "eeimport.hxx"
@@ -36,6 +35,4 @@ public:
static OUString GetHTMLRangeNameList( const ScDocument& rDoc, const OUString& rOrigName );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/htmlpars.hxx b/sc/source/filter/inc/htmlpars.hxx
index 9e1c071a3238..1bf8c9b91008 100644
--- a/sc/source/filter/inc/htmlpars.hxx
+++ b/sc/source/filter/inc/htmlpars.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_HTMLPARS_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_HTMLPARS_HXX
+#pragma once
#include <memory>
#include <map>
@@ -615,6 +614,4 @@ private:
bool mbTitleOn; /// true = Inside of <title> </title>.
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/imp_op.hxx b/sc/source/filter/inc/imp_op.hxx
index d60dd69843e0..1b791bb72a1e 100644
--- a/sc/source/filter/inc/imp_op.hxx
+++ b/sc/source/filter/inc/imp_op.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_IMP_OP_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_IMP_OP_HXX
+#pragma once
#include <sal/types.h>
#include "xiroot.hxx"
@@ -198,6 +197,4 @@ public:
virtual ErrCode Read();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/lotattr.hxx b/sc/source/filter/inc/lotattr.hxx
index 38fce32474fb..b58b8c31eee7 100644
--- a/sc/source/filter/inc/lotattr.hxx
+++ b/sc/source/filter/inc/lotattr.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_LOTATTR_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_LOTATTR_HXX
+#pragma once
#include <vector>
#include <memory>
@@ -132,6 +131,4 @@ private:
LotAttrCache aAttrCache;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/lotfntbf.hxx b/sc/source/filter/inc/lotfntbf.hxx
index 4483b645a643..99d1c9a9d8ed 100644
--- a/sc/source/filter/inc/lotfntbf.hxx
+++ b/sc/source/filter/inc/lotfntbf.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_LOTFNTBF_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_LOTFNTBF_HXX
+#pragma once
#include <editeng/fontitem.hxx>
#include <editeng/fhgtitem.hxx>
@@ -57,6 +56,4 @@ private:
ENTRY pData[ nSize ];
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/lotform.hxx b/sc/source/filter/inc/lotform.hxx
index a9937d458115..29751a2f5533 100644
--- a/sc/source/filter/inc/lotform.hxx
+++ b/sc/source/filter/inc/lotform.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_LOTFORM_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_LOTFORM_HXX
+#pragma once
#include "formel.hxx"
@@ -112,6 +111,4 @@ inline void LotusToSc::SetWK3()
bWK3 = true;
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/lotimpop.hxx b/sc/source/filter/inc/lotimpop.hxx
index 1820856b3faa..5bc90a47d1f0 100644
--- a/sc/source/filter/inc/lotimpop.hxx
+++ b/sc/source/filter/inc/lotimpop.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_LOTIMPOP_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_LOTIMPOP_HXX
+#pragma once
#include <rtl/ustring.hxx>
@@ -134,6 +133,4 @@ inline void ImportLotus::Skip( const sal_uInt16 n )
pIn->SeekRel( n );
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/lotrange.hxx b/sc/source/filter/inc/lotrange.hxx
index 345ad3635bc4..bbf98ab1fa31 100644
--- a/sc/source/filter/inc/lotrange.hxx
+++ b/sc/source/filter/inc/lotrange.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_LOTRANGE_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_LOTRANGE_HXX
+#pragma once
#include <refdata.hxx>
#include <types.hxx>
@@ -112,6 +111,4 @@ inline LR_ID LotusRangeList::GetIndex( SCCOL nColS, SCROW nRowS, SCCOL nColE, SC
return GetIndex( aRef );
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/namebuff.hxx b/sc/source/filter/inc/namebuff.hxx
index 9cec310e47e2..26cc5585f38d 100644
--- a/sc/source/filter/inc/namebuff.hxx
+++ b/sc/source/filter/inc/namebuff.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_NAMEBUFF_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_NAMEBUFF_HXX
+#pragma once
#include <memory>
#include <map>
@@ -189,6 +188,4 @@ private:
ExtNameMap maExtNames;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/numberformatsbuffer.hxx b/sc/source/filter/inc/numberformatsbuffer.hxx
index 2d42b0bfb313..28157acc03e0 100644
--- a/sc/source/filter/inc/numberformatsbuffer.hxx
+++ b/sc/source/filter/inc/numberformatsbuffer.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_NUMBERFORMATSBUFFER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_NUMBERFORMATSBUFFER_HXX
+#pragma once
#include <com/sun/star/lang/Locale.hpp>
#include "workbookhelper.hxx"
@@ -114,6 +113,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/ooxformulaparser.hxx b/sc/source/filter/inc/ooxformulaparser.hxx
index 8cb0e3e97351..25ba76dfc167 100644
--- a/sc/source/filter/inc/ooxformulaparser.hxx
+++ b/sc/source/filter/inc/ooxformulaparser.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_OOXFORMULAPARSER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_OOXFORMULAPARSER_HXX
+#pragma once
#include <memory>
#include <com/sun/star/lang/XInitialization.hpp>
@@ -87,6 +86,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/op.h b/sc/source/filter/inc/op.h
index 0064ce2992ad..13b8e7012fbc 100644
--- a/sc/source/filter/inc/op.h
+++ b/sc/source/filter/inc/op.h
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_OP_H
-#define INCLUDED_SC_SOURCE_FILTER_INC_OP_H
+#pragma once
#include <sal/types.h>
class SfxItemSet;
@@ -56,6 +55,4 @@ void OP_HorAlign123(LotusContext &rContext,sal_uInt8 nAlignPattern, SfxItemSet&
void OP_VerAlign123(LotusContext &rContext,sal_uInt8 nAlignPattern, SfxItemSet& rPattern /* const ScPatternAttr& rPattern*/ );
void OP_ApplyPatternArea123(LotusContext &rContext,SvStream& r);
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/optab.h b/sc/source/filter/inc/optab.h
index a8e6ee6e2622..fb85d5e516e8 100644
--- a/sc/source/filter/inc/optab.h
+++ b/sc/source/filter/inc/optab.h
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_OPTAB_H
-#define INCLUDED_SC_SOURCE_FILTER_INC_OPTAB_H
+#pragma once
#include <sal/types.h>
@@ -46,6 +45,4 @@ typedef void (*OPCODE_FKT)(LotusContext& rContext, SvStream& rStream, sal_uInt16
#define COL_FORMAT_MARKER 0x107
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/orcusfiltersimpl.hxx b/sc/source/filter/inc/orcusfiltersimpl.hxx
index 7d60faefcaac..4dea6ba6dce5 100644
--- a/sc/source/filter/inc/orcusfiltersimpl.hxx
+++ b/sc/source/filter/inc/orcusfiltersimpl.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_ORCUSFILTERSIMPL_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_ORCUSFILTERSIMPL_HXX
+#pragma once
#include <orcusfilters.hxx>
@@ -45,6 +44,4 @@ public:
virtual void importXML(const ScOrcusImportXMLParam& rParam) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/orcusinterface.hxx b/sc/source/filter/inc/orcusinterface.hxx
index 00aea6764957..f92125d207ce 100644
--- a/sc/source/filter/inc/orcusinterface.hxx
+++ b/sc/source/filter/inc/orcusinterface.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_ORCUSINTERFACE_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_ORCUSINTERFACE_HXX
+#pragma once
#include <address.hxx>
#include <documentimport.hxx>
@@ -676,5 +675,4 @@ public:
const ScOrcusGlobalSettings& getGlobalSettings() const;
};
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/otlnbuff.hxx b/sc/source/filter/inc/otlnbuff.hxx
index 3b5f4291a079..288971f51336 100644
--- a/sc/source/filter/inc/otlnbuff.hxx
+++ b/sc/source/filter/inc/otlnbuff.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_OTLNBUFF_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_OTLNBUFF_HXX
+#pragma once
#include <mdds/flat_segment_tree.hpp>
#include <set>
@@ -48,6 +47,4 @@ private:
bool mbButtonAfter:1;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/pagesettings.hxx b/sc/source/filter/inc/pagesettings.hxx
index ff0e0a035ace..1bee649d36db 100644
--- a/sc/source/filter/inc/pagesettings.hxx
+++ b/sc/source/filter/inc/pagesettings.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_PAGESETTINGS_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_PAGESETTINGS_HXX
+#pragma once
#include <memory>
#include <string_view>
@@ -180,6 +179,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/pivotcachebuffer.hxx b/sc/source/filter/inc/pivotcachebuffer.hxx
index 22f327a8878b..6f7e75a7151b 100644
--- a/sc/source/filter/inc/pivotcachebuffer.hxx
+++ b/sc/source/filter/inc/pivotcachebuffer.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_PIVOTCACHEBUFFER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_PIVOTCACHEBUFFER_HXX
+#pragma once
#include <com/sun/star/util/DateTime.hpp>
#include <oox/helper/containerhelper.hxx>
@@ -456,6 +455,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/pivotcachefragment.hxx b/sc/source/filter/inc/pivotcachefragment.hxx
index f862edaeb85c..38f1b77b15bd 100644
--- a/sc/source/filter/inc/pivotcachefragment.hxx
+++ b/sc/source/filter/inc/pivotcachefragment.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_PIVOTCACHEFRAGMENT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_PIVOTCACHEFRAGMENT_HXX
+#pragma once
#include "excelhandlers.hxx"
@@ -89,6 +88,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/pivottablebuffer.hxx b/sc/source/filter/inc/pivottablebuffer.hxx
index a13f3d730a24..7b7f22320fb7 100644
--- a/sc/source/filter/inc/pivottablebuffer.hxx
+++ b/sc/source/filter/inc/pivottablebuffer.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_PIVOTTABLEBUFFER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_PIVOTTABLEBUFFER_HXX
+#pragma once
#include "pivotcachebuffer.hxx"
#include "stylesbuffer.hxx"
@@ -402,6 +401,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/pivottablefragment.hxx b/sc/source/filter/inc/pivottablefragment.hxx
index 821fd74650ca..c6c82f6b7f27 100644
--- a/sc/source/filter/inc/pivottablefragment.hxx
+++ b/sc/source/filter/inc/pivottablefragment.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_PIVOTTABLEFRAGMENT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_PIVOTTABLEFRAGMENT_HXX
+#pragma once
#include "excelhandlers.hxx"
#include "worksheethelper.hxx"
@@ -81,6 +80,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/qpro.hxx b/sc/source/filter/inc/qpro.hxx
index 573452da459a..0a4f780628d4 100644
--- a/sc/source/filter/inc/qpro.hxx
+++ b/sc/source/filter/inc/qpro.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_QPRO_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_QPRO_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <sal/config.h>
@@ -54,6 +53,5 @@ public:
ErrCode import(ScDocument& rDoc); //parse + CalcAfterLoad
ErrCode readSheet(SCTAB nTab, ScDocument& rDoc, ScQProStyle* pStyle);
};
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/qproform.hxx b/sc/source/filter/inc/qproform.hxx
index d272e2c4eb1a..bedb5b311118 100644
--- a/sc/source/filter/inc/qproform.hxx
+++ b/sc/source/filter/inc/qproform.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_QPROFORM_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_QPROFORM_HXX
+#pragma once
#include <sal/config.h>
#include "formel.hxx"
@@ -68,6 +67,5 @@ public:
static DefTokenId IndexToDLLId(sal_uInt16 nIndex);
static const char* getString(sal_uInt8 nIndex);
};
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/qprostyle.hxx b/sc/source/filter/inc/qprostyle.hxx
index 4912dcb6e986..708b0ae1db6d 100644
--- a/sc/source/filter/inc/qprostyle.hxx
+++ b/sc/source/filter/inc/qprostyle.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_QPROSTYLE_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_QPROSTYLE_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <sal/config.h>
@@ -53,6 +52,5 @@ class ScQProStyle
void setFont( sal_uInt16 nIndex, sal_uInt8 nData )
{ if (nIndex < maxsize) maFont[ nIndex ] = nData; }
};
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/querytablebuffer.hxx b/sc/source/filter/inc/querytablebuffer.hxx
index 3a9931762a15..4bba7a68c83a 100644
--- a/sc/source/filter/inc/querytablebuffer.hxx
+++ b/sc/source/filter/inc/querytablebuffer.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_QUERYTABLEBUFFER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_QUERYTABLEBUFFER_HXX
+#pragma once
#include "stylesbuffer.hxx"
#include "worksheethelper.hxx"
@@ -81,6 +80,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/querytablefragment.hxx b/sc/source/filter/inc/querytablefragment.hxx
index 12ba56b16d26..281826178fc3 100644
--- a/sc/source/filter/inc/querytablefragment.hxx
+++ b/sc/source/filter/inc/querytablefragment.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_QUERYTABLEFRAGMENT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_QUERYTABLEFRAGMENT_HXX
+#pragma once
#include "excelhandlers.hxx"
@@ -45,6 +44,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/revisionfragment.hxx b/sc/source/filter/inc/revisionfragment.hxx
index f1626ccec265..30a953160e0e 100644
--- a/sc/source/filter/inc/revisionfragment.hxx
+++ b/sc/source/filter/inc/revisionfragment.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_OOX_XLS_REVISIONFRAGMENT_HXX
-#define INCLUDED_SC_OOX_XLS_REVISIONFRAGMENT_HXX
+#pragma once
#include "excelhandlers.hxx"
#include <memory>
@@ -73,7 +72,5 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/richstring.hxx b/sc/source/filter/inc/richstring.hxx
index 46f564b9150a..71b393c1db41 100644
--- a/sc/source/filter/inc/richstring.hxx
+++ b/sc/source/filter/inc/richstring.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_RICHSTRING_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_RICHSTRING_HXX
+#pragma once
#include <oox/helper/refvector.hxx>
#include "stylesbuffer.hxx"
@@ -262,6 +261,4 @@ typedef std::shared_ptr< RichString > RichStringRef;
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/richstringcontext.hxx b/sc/source/filter/inc/richstringcontext.hxx
index f0144062102c..83e2fa4cc070 100644
--- a/sc/source/filter/inc/richstringcontext.hxx
+++ b/sc/source/filter/inc/richstringcontext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_RICHSTRINGCONTEXT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_RICHSTRINGCONTEXT_HXX
+#pragma once
#include "excelhandlers.hxx"
#include "richstring.hxx"
@@ -53,6 +52,4 @@ RichStringContext::RichStringContext( ParentType& rParent, RichStringRef xString
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/root.hxx b/sc/source/filter/inc/root.hxx
index 8de0c80475f4..0566b8e33217 100644
--- a/sc/source/filter/inc/root.hxx
+++ b/sc/source/filter/inc/root.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_ROOT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_ROOT_HXX
+#pragma once
#include "flttypes.hxx"
#include <memory>
@@ -76,6 +75,4 @@ protected:
ExcRoot( const ExcRoot& rCopy ) : pExcRoot( rCopy.pExcRoot ) {}
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/rtfexp.hxx b/sc/source/filter/inc/rtfexp.hxx
index 1f89559ba2be..0d5e69f79d8e 100644
--- a/sc/source/filter/inc/rtfexp.hxx
+++ b/sc/source/filter/inc/rtfexp.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_RTFEXP_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_RTFEXP_HXX
+#pragma once
#include <memory>
#include "expbase.hxx"
@@ -40,6 +39,4 @@ public:
void Write();
};
-#endif // INCLUDED_SC_SOURCE_FILTER_INC_RTFEXP_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/rtfimp.hxx b/sc/source/filter/inc/rtfimp.hxx
index 4ff5f0d2e08f..ee9fd248b5ae 100644
--- a/sc/source/filter/inc/rtfimp.hxx
+++ b/sc/source/filter/inc/rtfimp.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_RTFIMP_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_RTFIMP_HXX
+#pragma once
#include "eeimport.hxx"
@@ -28,6 +27,4 @@ public:
ScRTFImport(ScDocument* pDoc, const ScRange& rRange);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/rtfparse.hxx b/sc/source/filter/inc/rtfparse.hxx
index dfe0a0a2abc7..ac0f81e14807 100644
--- a/sc/source/filter/inc/rtfparse.hxx
+++ b/sc/source/filter/inc/rtfparse.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_RTFPARSE_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_RTFPARSE_HXX
+#pragma once
#include "eeparser.hxx"
@@ -76,6 +75,4 @@ public:
virtual ErrCode Read( SvStream&, const OUString& rBaseURL ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/scenariobuffer.hxx b/sc/source/filter/inc/scenariobuffer.hxx
index 03591aa455a2..97ef44daa573 100644
--- a/sc/source/filter/inc/scenariobuffer.hxx
+++ b/sc/source/filter/inc/scenariobuffer.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_SCENARIOBUFFER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_SCENARIOBUFFER_HXX
+#pragma once
#include <oox/helper/refmap.hxx>
#include <oox/helper/refvector.hxx>
@@ -124,6 +123,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/scenariocontext.hxx b/sc/source/filter/inc/scenariocontext.hxx
index e60b20d35e29..80368810d8c5 100644
--- a/sc/source/filter/inc/scenariocontext.hxx
+++ b/sc/source/filter/inc/scenariocontext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_SCENARIOCONTEXT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_SCENARIOCONTEXT_HXX
+#pragma once
#include "excelhandlers.hxx"
@@ -61,6 +60,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/scfobj.hxx b/sc/source/filter/inc/scfobj.hxx
index 0dbcb045110c..1380ed1ee9eb 100644
--- a/sc/source/filter/inc/scfobj.hxx
+++ b/sc/source/filter/inc/scfobj.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_SCFOBJ_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_SCFOBJ_HXX
+#pragma once
#include <types.hxx>
@@ -32,6 +31,4 @@ public:
SCTAB nSrcTab, sal_uInt16 nX1, sal_uInt16 nY1, sal_uInt16 nX2, sal_uInt16 nY2 );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/scmem.h b/sc/source/filter/inc/scmem.h
index cfe5dd1f8e77..b54b7d850ea5 100644
--- a/sc/source/filter/inc/scmem.h
+++ b/sc/source/filter/inc/scmem.h
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_SCMEM_H
-#define INCLUDED_SC_SOURCE_FILTER_INC_SCMEM_H
+#pragma once
#include <sal/config.h>
@@ -27,6 +26,4 @@ struct LotusContext;
bool MemNew(LotusContext& rContext);
void MemDelete(LotusContext& rContext);
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/sharedformulagroups.hxx b/sc/source/filter/inc/sharedformulagroups.hxx
index fde70b0ac7b6..e8b04928596e 100644
--- a/sc/source/filter/inc/sharedformulagroups.hxx
+++ b/sc/source/filter/inc/sharedformulagroups.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_SHAREDFORMULAGROUPS_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_SHAREDFORMULAGROUPS_HXX
+#pragma once
#include <address.hxx>
#include <tokenarray.hxx>
@@ -49,6 +48,4 @@ public:
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/sharedstringsbuffer.hxx b/sc/source/filter/inc/sharedstringsbuffer.hxx
index 8cf6201656b0..f5cc18bca061 100644
--- a/sc/source/filter/inc/sharedstringsbuffer.hxx
+++ b/sc/source/filter/inc/sharedstringsbuffer.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_SHAREDSTRINGSBUFFER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_SHAREDSTRINGSBUFFER_HXX
+#pragma once
#include "richstring.hxx"
@@ -46,6 +45,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/sharedstringsfragment.hxx b/sc/source/filter/inc/sharedstringsfragment.hxx
index 7aa518aa29ee..791832397f7c 100644
--- a/sc/source/filter/inc/sharedstringsfragment.hxx
+++ b/sc/source/filter/inc/sharedstringsfragment.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_SHAREDSTRINGSFRAGMENT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_SHAREDSTRINGSFRAGMENT_HXX
+#pragma once
#include "excelhandlers.hxx"
@@ -41,6 +40,4 @@ protected:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/sheetdatabuffer.hxx b/sc/source/filter/inc/sheetdatabuffer.hxx
index 0ec68aad291f..c49e33280a10 100644
--- a/sc/source/filter/inc/sheetdatabuffer.hxx
+++ b/sc/source/filter/inc/sheetdatabuffer.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_SHEETDATABUFFER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_SHEETDATABUFFER_HXX
+#pragma once
#include <vector>
#include <map>
@@ -235,6 +234,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/sheetdatacontext.hxx b/sc/source/filter/inc/sheetdatacontext.hxx
index cf69c3d01b28..b413e3d921b1 100644
--- a/sc/source/filter/inc/sheetdatacontext.hxx
+++ b/sc/source/filter/inc/sheetdatacontext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_SHEETDATACONTEXT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_SHEETDATACONTEXT_HXX
+#pragma once
#include <memory>
#include "addressconverter.hxx"
@@ -122,6 +121,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/stylesbuffer.hxx b/sc/source/filter/inc/stylesbuffer.hxx
index bb786d0963b6..d0a32d599db1 100644
--- a/sc/source/filter/inc/stylesbuffer.hxx
+++ b/sc/source/filter/inc/stylesbuffer.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_STYLESBUFFER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_STYLESBUFFER_HXX
+#pragma once
#include <memory>
#include <com/sun/star/awt/FontDescriptor.hpp>
@@ -887,6 +886,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/stylesfragment.hxx b/sc/source/filter/inc/stylesfragment.hxx
index 4d65a3ea960d..bd590f2a61c3 100644
--- a/sc/source/filter/inc/stylesfragment.hxx
+++ b/sc/source/filter/inc/stylesfragment.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_STYLESFRAGMENT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_STYLESFRAGMENT_HXX
+#pragma once
#include "excelhandlers.hxx"
#include "stylesbuffer.hxx"
@@ -127,6 +126,4 @@ protected:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/tablebuffer.hxx b/sc/source/filter/inc/tablebuffer.hxx
index d8d0d210568b..66f6816c1e23 100644
--- a/sc/source/filter/inc/tablebuffer.hxx
+++ b/sc/source/filter/inc/tablebuffer.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_TABLEBUFFER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_TABLEBUFFER_HXX
+#pragma once
#include "autofilterbuffer.hxx"
#include "tablecolumnsbuffer.hxx"
@@ -122,6 +121,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/tablecolumnsbuffer.hxx b/sc/source/filter/inc/tablecolumnsbuffer.hxx
index e15ed0754f7b..e1e340cbeb03 100644
--- a/sc/source/filter/inc/tablecolumnsbuffer.hxx
+++ b/sc/source/filter/inc/tablecolumnsbuffer.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_TABLECOLUMNSBUFFER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_TABLECOLUMNSBUFFER_HXX
+#pragma once
#include <oox/helper/refvector.hxx>
#include "workbookhelper.hxx"
@@ -94,6 +93,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/tablecolumnscontext.hxx b/sc/source/filter/inc/tablecolumnscontext.hxx
index 6c9cb3949567..1f5a5ba046b5 100644
--- a/sc/source/filter/inc/tablecolumnscontext.hxx
+++ b/sc/source/filter/inc/tablecolumnscontext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_TABLECOLUMNSCONTEXT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_TABLECOLUMNSCONTEXT_HXX
+#pragma once
#include "excelhandlers.hxx"
@@ -61,6 +60,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/tablefragment.hxx b/sc/source/filter/inc/tablefragment.hxx
index ac81db9d0e2d..7aad73e03eb0 100644
--- a/sc/source/filter/inc/tablefragment.hxx
+++ b/sc/source/filter/inc/tablefragment.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_TABLEFRAGMENT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_TABLEFRAGMENT_HXX
+#pragma once
#include "excelhandlers.hxx"
@@ -45,6 +44,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/themebuffer.hxx b/sc/source/filter/inc/themebuffer.hxx
index 211fa87cd7b8..f1443a0730cf 100644
--- a/sc/source/filter/inc/themebuffer.hxx
+++ b/sc/source/filter/inc/themebuffer.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_THEMEBUFFER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_THEMEBUFFER_HXX
+#pragma once
#include <memory>
#include <oox/drawingml/theme.hxx>
@@ -48,6 +47,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/tokstack.hxx b/sc/source/filter/inc/tokstack.hxx
index b5c385e8ce78..2689a1ab89e9 100644
--- a/sc/source/filter/inc/tokstack.hxx
+++ b/sc/source/filter/inc/tokstack.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_TOKSTACK_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_TOKSTACK_HXX
+#pragma once
#include <tokenarray.hxx>
#include <refdata.hxx>
@@ -424,6 +423,4 @@ inline std::unique_ptr<ScTokenArray> TokenPool::GetTokenArray( const ScDocument&
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/tool.h b/sc/source/filter/inc/tool.h
index 7c5f2b3f88f0..786e7f669863 100644
--- a/sc/source/filter/inc/tool.h
+++ b/sc/source/filter/inc/tool.h
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_TOOL_H
-#define INCLUDED_SC_SOURCE_FILTER_INC_TOOL_H
+#pragma once
#include <document.hxx>
@@ -131,6 +130,4 @@ inline const SfxUInt32Item* FormCache::GetAttr( sal_uInt8 nFormat, sal_uInt8 nSt
return pRet;
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/unitconverter.hxx b/sc/source/filter/inc/unitconverter.hxx
index 22a7c791cbe7..d267c7b52081 100644
--- a/sc/source/filter/inc/unitconverter.hxx
+++ b/sc/source/filter/inc/unitconverter.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_UNITCONVERTER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_UNITCONVERTER_HXX
+#pragma once
#include <map>
#include <vector>
@@ -101,6 +100,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/viewsettings.hxx b/sc/source/filter/inc/viewsettings.hxx
index 69132dd3620c..2382f5b54112 100644
--- a/sc/source/filter/inc/viewsettings.hxx
+++ b/sc/source/filter/inc/viewsettings.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_VIEWSETTINGS_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_VIEWSETTINGS_HXX
+#pragma once
#include <rangelst.hxx>
#include "stylesbuffer.hxx"
@@ -187,6 +186,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/workbookfragment.hxx b/sc/source/filter/inc/workbookfragment.hxx
index c641424dc9e6..f2556678be33 100644
--- a/sc/source/filter/inc/workbookfragment.hxx
+++ b/sc/source/filter/inc/workbookfragment.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_WORKBOOKFRAGMENT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_WORKBOOKFRAGMENT_HXX
+#pragma once
#include "defnamesbuffer.hxx"
#include "excelhandlers.hxx"
@@ -62,6 +61,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/workbookhelper.hxx b/sc/source/filter/inc/workbookhelper.hxx
index 0fd9ca5ebc64..4491dcbb084f 100644
--- a/sc/source/filter/inc/workbookhelper.hxx
+++ b/sc/source/filter/inc/workbookhelper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_WORKBOOKHELPER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_WORKBOOKHELPER_HXX
+#pragma once
#include <memory>
#include <string_view>
@@ -270,6 +269,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/workbooksettings.hxx b/sc/source/filter/inc/workbooksettings.hxx
index 70ecbd3496cf..1078b3e6c096 100644
--- a/sc/source/filter/inc/workbooksettings.hxx
+++ b/sc/source/filter/inc/workbooksettings.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_WORKBOOKSETTINGS_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_WORKBOOKSETTINGS_HXX
+#pragma once
#include "workbookhelper.hxx"
@@ -117,6 +116,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/worksheetbuffer.hxx b/sc/source/filter/inc/worksheetbuffer.hxx
index cb16c589acd0..98a71e617a34 100644
--- a/sc/source/filter/inc/worksheetbuffer.hxx
+++ b/sc/source/filter/inc/worksheetbuffer.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_WORKSHEETBUFFER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_WORKSHEETBUFFER_HXX
+#pragma once
#include <utility>
#include <oox/helper/refmap.hxx>
@@ -106,6 +105,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/worksheetfragment.hxx b/sc/source/filter/inc/worksheetfragment.hxx
index 4faf6bff1589..05ec7d02f491 100644
--- a/sc/source/filter/inc/worksheetfragment.hxx
+++ b/sc/source/filter/inc/worksheetfragment.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_WORKSHEETFRAGMENT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_WORKSHEETFRAGMENT_HXX
+#pragma once
#include <memory>
#include "excelhandlers.hxx"
@@ -180,6 +179,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/worksheethelper.hxx b/sc/source/filter/inc/worksheethelper.hxx
index eb4e1e32a58d..7beacf7c2105 100644
--- a/sc/source/filter/inc/worksheethelper.hxx
+++ b/sc/source/filter/inc/worksheethelper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_WORKSHEETHELPER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_WORKSHEETHELPER_HXX
+#pragma once
#include <oox/helper/containerhelper.hxx>
#include <oox/helper/progressbar.hxx>
@@ -303,6 +302,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/worksheetsettings.hxx b/sc/source/filter/inc/worksheetsettings.hxx
index 3f382ba74daf..a785145bf07f 100644
--- a/sc/source/filter/inc/worksheetsettings.hxx
+++ b/sc/source/filter/inc/worksheetsettings.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_WORKSHEETSETTINGS_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_WORKSHEETSETTINGS_HXX
+#pragma once
#include "richstring.hxx"
#include "worksheethelper.hxx"
@@ -113,6 +112,4 @@ private:
} // namespace oox::xls
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xcl97esc.hxx b/sc/source/filter/inc/xcl97esc.hxx
index 2f543c6e60ab..6ae5c8762d46 100644
--- a/sc/source/filter/inc/xcl97esc.hxx
+++ b/sc/source/filter/inc/xcl97esc.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XCL97ESC_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XCL97ESC_HXX
+#pragma once
#include <memory>
#include <stack>
@@ -173,6 +172,4 @@ public:
virtual void WriteData( EscherEx& rEx ) const override;
};
-#endif // _XCL97ESC_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xcl97rec.hxx b/sc/source/filter/inc/xcl97rec.hxx
index 8b6f55e494ac..eab23db6a42b 100644
--- a/sc/source/filter/inc/xcl97rec.hxx
+++ b/sc/source/filter/inc/xcl97rec.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XCL97REC_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XCL97REC_HXX
+#pragma once
#include <memory>
#include "excrecds.hxx"
@@ -598,6 +597,4 @@ public:
explicit XclExpBookExt();
};
-#endif // _XCL97REC_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xechart.hxx b/sc/source/filter/inc/xechart.hxx
index dd2b92b30d0c..bd6230f2d68a 100644
--- a/sc/source/filter/inc/xechart.hxx
+++ b/sc/source/filter/inc/xechart.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XECHART_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XECHART_HXX
+#pragma once
#include "xerecord.hxx"
#include "xlchart.hxx"
@@ -1189,6 +1188,4 @@ public:
const tools::Rectangle& rChartRect );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xecontent.hxx b/sc/source/filter/inc/xecontent.hxx
index 7632af4f807d..578816c5203b 100644
--- a/sc/source/filter/inc/xecontent.hxx
+++ b/sc/source/filter/inc/xecontent.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XECONTENT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XECONTENT_HXX
+#pragma once
#include <memory>
#include <rangelst.hxx>
@@ -414,6 +413,4 @@ public:
explicit XclExpWebQueryBuffer( const XclExpRoot& rRoot );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xedbdata.hxx b/sc/source/filter/inc/xedbdata.hxx
index 5d075966463b..a7fddfe04eaa 100644
--- a/sc/source/filter/inc/xedbdata.hxx
+++ b/sc/source/filter/inc/xedbdata.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XEDBDATA_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XEDBDATA_HXX
+#pragma once
#include "xeroot.hxx"
#include "xerecord.hxx"
@@ -64,6 +63,4 @@ private:
TablesMapType maTablesMap;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xeescher.hxx b/sc/source/filter/inc/xeescher.hxx
index 07156acbcfa5..b6ff9e562f15 100644
--- a/sc/source/filter/inc/xeescher.hxx
+++ b/sc/source/filter/inc/xeescher.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XEESCHER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XEESCHER_HXX
+#pragma once
#include <vcl/graph.hxx>
#include <filter/msfilter/escherex.hxx>
@@ -458,6 +457,4 @@ private:
sal_Int32 mnScaleY;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xeextlst.hxx b/sc/source/filter/inc/xeextlst.hxx
index b72b5155aad4..c5db5fcaff99 100644
--- a/sc/source/filter/inc/xeextlst.hxx
+++ b/sc/source/filter/inc/xeextlst.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XEEXTLST_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XEEXTLST_HXX
+#pragma once
#include "xerecord.hxx"
#include "xeroot.hxx"
@@ -205,6 +204,4 @@ private:
typedef rtl::Reference< XclExtLst > XclExtLstRef;
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xeformula.hxx b/sc/source/filter/inc/xeformula.hxx
index 61a9d28480d2..d050b2217d2c 100644
--- a/sc/source/filter/inc/xeformula.hxx
+++ b/sc/source/filter/inc/xeformula.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XEFORMULA_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XEFORMULA_HXX
+#pragma once
#include "xlformula.hxx"
#include "xeroot.hxx"
@@ -89,6 +88,4 @@ private:
XclExpFmlaCompImplRef mxImpl;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xehelper.hxx b/sc/source/filter/inc/xehelper.hxx
index af561cbf09d7..8b6b0014a080 100644
--- a/sc/source/filter/inc/xehelper.hxx
+++ b/sc/source/filter/inc/xehelper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XEHELPER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XEHELPER_HXX
+#pragma once
#include <memory>
#include <string_view>
@@ -436,6 +435,4 @@ private:
const ScMatrix& mrMatrix;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xelink.hxx b/sc/source/filter/inc/xelink.hxx
index bf6b4571b890..1c816d21fbec 100644
--- a/sc/source/filter/inc/xelink.hxx
+++ b/sc/source/filter/inc/xelink.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XELINK_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XELINK_HXX
+#pragma once
#include "xerecord.hxx"
#include "xeroot.hxx"
@@ -220,6 +219,4 @@ private:
XclExpLinkMgrImplPtr mxImpl;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xename.hxx b/sc/source/filter/inc/xename.hxx
index f7ffedf49198..989dff3d4e00 100644
--- a/sc/source/filter/inc/xename.hxx
+++ b/sc/source/filter/inc/xename.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XENAME_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XENAME_HXX
+#pragma once
#include "xerecord.hxx"
#include "xlformula.hxx"
@@ -71,6 +70,4 @@ private:
XclExpNameMgrImplRef mxImpl;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xepage.hxx b/sc/source/filter/inc/xepage.hxx
index 6fc206078885..7d5a57bfcb27 100644
--- a/sc/source/filter/inc/xepage.hxx
+++ b/sc/source/filter/inc/xepage.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XEPAGE_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XEPAGE_HXX
+#pragma once
#include "xerecord.hxx"
#include "xlpage.hxx"
@@ -122,6 +121,4 @@ private:
XclPageData maData; /// Page settings data.
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xepivot.hxx b/sc/source/filter/inc/xepivot.hxx
index 2b6387550ff3..1fb61696c9f6 100644
--- a/sc/source/filter/inc/xepivot.hxx
+++ b/sc/source/filter/inc/xepivot.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XEPIVOT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XEPIVOT_HXX
+#pragma once
#include "xerecord.hxx"
#include "xlpivot.hxx"
@@ -434,6 +433,4 @@ private:
XclExpPivotTableList maPTableList; /// List of all pivot tables.
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xepivotxml.hxx b/sc/source/filter/inc/xepivotxml.hxx
index 18c6a50e6129..ef1cc2d4f841 100644
--- a/sc/source/filter/inc/xepivotxml.hxx
+++ b/sc/source/filter/inc/xepivotxml.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_FILTER_XEPIVOTXML_HXX
-#define INCLUDED_SC_FILTER_XEPIVOTXML_HXX
+#pragma once
#include "xerecord.hxx"
#include "xeroot.hxx"
@@ -88,6 +87,4 @@ private:
CacheIdMapType maCacheIdMap;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xerecord.hxx b/sc/source/filter/inc/xerecord.hxx
index 3cf57b25b2d7..4c37f1b6e7a5 100644
--- a/sc/source/filter/inc/xerecord.hxx
+++ b/sc/source/filter/inc/xerecord.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XERECORD_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XERECORD_HXX
+#pragma once
#include "xlconst.hxx"
#include "xestream.hxx"
@@ -404,6 +403,4 @@ private:
sal_uInt16 mnSubStrmType; /// Substream type, stored in leading BOF record.
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xeroot.hxx b/sc/source/filter/inc/xeroot.hxx
index 59089abd2cd5..ea65aba7ea35 100644
--- a/sc/source/filter/inc/xeroot.hxx
+++ b/sc/source/filter/inc/xeroot.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XEROOT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XEROOT_HXX
+#pragma once
#include "xlroot.hxx"
#include <compiler.hxx>
@@ -189,6 +188,4 @@ private:
XclExpRootData& mrExpData; /// Reference to the global export data struct.
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xestream.hxx b/sc/source/filter/inc/xestream.hxx
index 65245db83d77..e8161e31e182 100644
--- a/sc/source/filter/inc/xestream.hxx
+++ b/sc/source/filter/inc/xestream.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XESTREAM_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XESTREAM_HXX
+#pragma once
#include <map>
#include <stack>
@@ -357,6 +356,4 @@ private:
bool mbExportTemplate;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xestring.hxx b/sc/source/filter/inc/xestring.hxx
index 196ac4a83600..a5980f53b4c4 100644
--- a/sc/source/filter/inc/xestring.hxx
+++ b/sc/source/filter/inc/xestring.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XESTRING_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XESTRING_HXX
+#pragma once
#include <sal/config.h>
@@ -264,6 +263,4 @@ inline XclExpStream& operator<<( XclExpStream& rStrm, const XclExpString& rStrin
return rStrm;
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xestyle.hxx b/sc/source/filter/inc/xestyle.hxx
index 088f2760e092..9cc653f9aba6 100644
--- a/sc/source/filter/inc/xestyle.hxx
+++ b/sc/source/filter/inc/xestyle.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XESTYLE_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XESTYLE_HXX
+#pragma once
#include <map>
#include <svl/zforlist.hxx>
@@ -762,6 +761,4 @@ public:
virtual void SaveXml( XclExpXmlStream& rStrm ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xetable.hxx b/sc/source/filter/inc/xetable.hxx
index 6f4ba57848ab..1386f0de0c58 100644
--- a/sc/source/filter/inc/xetable.hxx
+++ b/sc/source/filter/inc/xetable.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XETABLE_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XETABLE_HXX
+#pragma once
#include "xltable.hxx"
@@ -1014,6 +1013,4 @@ private:
XclExtLstRef mxExtLst;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xeview.hxx b/sc/source/filter/inc/xeview.hxx
index 9e7893ecfec2..6b7980ca8464 100644
--- a/sc/source/filter/inc/xeview.hxx
+++ b/sc/source/filter/inc/xeview.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XEVIEW_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XEVIEW_HXX
+#pragma once
#include "xerecord.hxx"
#include "xlview.hxx"
@@ -162,6 +161,4 @@ private:
bool mbHasTabSettings; /// It's false for embedded OLE spreadsheets.
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xichart.hxx b/sc/source/filter/inc/xichart.hxx
index 0eea6b8a35f2..ee50c4dd3229 100644
--- a/sc/source/filter/inc/xichart.hxx
+++ b/sc/source/filter/inc/xichart.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XICHART_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XICHART_HXX
+#pragma once
#include <salhelper/simplereferenceobject.hxx>
#include <set>
@@ -1431,6 +1430,4 @@ private:
bool mbIsPivotChart; /// true = chart is based on a pivot table.
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xicontent.hxx b/sc/source/filter/inc/xicontent.hxx
index 7c0d50a75d45..d7cdb5dd695c 100644
--- a/sc/source/filter/inc/xicontent.hxx
+++ b/sc/source/filter/inc/xicontent.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XICONTENT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XICONTENT_HXX
+#pragma once
#include <rangelst.hxx>
#include "xistring.hxx"
@@ -328,6 +327,4 @@ private:
ProtectedSheetMap maProtectedSheets;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xiescher.hxx b/sc/source/filter/inc/xiescher.hxx
index e3e2a953da51..cc7360576b81 100644
--- a/sc/source/filter/inc/xiescher.hxx
+++ b/sc/source/filter/inc/xiescher.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XIESCHER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XIESCHER_HXX
+#pragma once
#include <filter/msfilter/msdffimp.hxx>
#include <vcl/graph.hxx>
@@ -1210,6 +1209,4 @@ private:
XclImpStream& operator>>( XclImpStream& rStrm, XclImpDffPropSet& rPropSet );
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xiformula.hxx b/sc/source/filter/inc/xiformula.hxx
index 7af2dd9d3132..b379766f0a3d 100644
--- a/sc/source/filter/inc/xiformula.hxx
+++ b/sc/source/filter/inc/xiformula.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XIFORMULA_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XIFORMULA_HXX
+#pragma once
#include "xlformula.hxx"
#include "xiroot.hxx"
@@ -52,6 +51,4 @@ private:
XclImpFmlaCompImplRef mxImpl;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xihelper.hxx b/sc/source/filter/inc/xihelper.hxx
index c100e0ba2ef1..dda6456d59cf 100644
--- a/sc/source/filter/inc/xihelper.hxx
+++ b/sc/source/filter/inc/xihelper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XIHELPER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XIHELPER_HXX
+#pragma once
#include <editeng/editdata.hxx>
#include <types.hxx>
@@ -348,6 +347,4 @@ private:
SCSIZE mnScRows; /// Number of cached rows.
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xilink.hxx b/sc/source/filter/inc/xilink.hxx
index 7dae2d026f4a..91321f3bcef9 100644
--- a/sc/source/filter/inc/xilink.hxx
+++ b/sc/source/filter/inc/xilink.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XILINK_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XILINK_HXX
+#pragma once
#include <memory>
#include <map>
@@ -225,6 +224,4 @@ private:
XclImpLinkMgrImplPtr mxImpl;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xiname.hxx b/sc/source/filter/inc/xiname.hxx
index f26d593c5c88..8d86909c0352 100644
--- a/sc/source/filter/inc/xiname.hxx
+++ b/sc/source/filter/inc/xiname.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XINAME_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XINAME_HXX
+#pragma once
#include "xiroot.hxx"
#include "xistream.hxx"
@@ -105,6 +104,4 @@ private:
XclImpNameList maNameList;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xipage.hxx b/sc/source/filter/inc/xipage.hxx
index f7b1756c4231..9aad4a506e49 100644
--- a/sc/source/filter/inc/xipage.hxx
+++ b/sc/source/filter/inc/xipage.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XIPAGE_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XIPAGE_HXX
+#pragma once
#include "xlpage.hxx"
#include "xiroot.hxx"
@@ -68,6 +67,4 @@ private:
bool mbValidPaper; /// true = Paper size and orientation valid.
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xipivot.hxx b/sc/source/filter/inc/xipivot.hxx
index 97bb01ad69e3..611de505e851 100644
--- a/sc/source/filter/inc/xipivot.hxx
+++ b/sc/source/filter/inc/xipivot.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XIPIVOT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XIPIVOT_HXX
+#pragma once
#include "xlpivot.hxx"
#include "xiroot.hxx"
@@ -425,6 +424,4 @@ private:
std::vector< XclImpPivotTableRef > maPTables; /// List of all pivot tables.
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xiroot.hxx b/sc/source/filter/inc/xiroot.hxx
index 296fe6492b74..aeb0bafeec51 100644
--- a/sc/source/filter/inc/xiroot.hxx
+++ b/sc/source/filter/inc/xiroot.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XIROOT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XIROOT_HXX
+#pragma once
#include "xlroot.hxx"
#include <memory>
@@ -214,6 +213,4 @@ private:
XclImpRootData& mrImpData; /// Reference to the global import data struct.
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xistream.hxx b/sc/source/filter/inc/xistream.hxx
index a7e33a111ea9..53ac4f916d22 100644
--- a/sc/source/filter/inc/xistream.hxx
+++ b/sc/source/filter/inc/xistream.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XISTREAM_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XISTREAM_HXX
+#pragma once
#include <comphelper/docpasswordhelper.hxx>
#include <com/sun/star/beans/NamedValue.hpp>
@@ -550,6 +549,4 @@ private:
bool mbValid; /// false = Record overread.
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xistring.hxx b/sc/source/filter/inc/xistring.hxx
index 6364f0a2eff9..c46fca475729 100644
--- a/sc/source/filter/inc/xistring.hxx
+++ b/sc/source/filter/inc/xistring.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XISTRING_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XISTRING_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include "xlstring.hxx"
@@ -102,6 +101,4 @@ private:
size_t mnFormatsEnd; /// Formatting run index for next portion.
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xistyle.hxx b/sc/source/filter/inc/xistyle.hxx
index 0cc01ec528d7..a462c8d5a1d0 100644
--- a/sc/source/filter/inc/xistyle.hxx
+++ b/sc/source/filter/inc/xistyle.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XISTYLE_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XISTYLE_HXX
+#pragma once
#include <tools/solar.h>
#include <vector>
@@ -667,6 +666,4 @@ private:
ScRangeList maMergeList; /// List of merged cell ranges.
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xiview.hxx b/sc/source/filter/inc/xiview.hxx
index f8a89ecdd407..fdf3201fac08 100644
--- a/sc/source/filter/inc/xiview.hxx
+++ b/sc/source/filter/inc/xiview.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XIVIEW_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XIVIEW_HXX
+#pragma once
#include "xlview.hxx"
#include "xiroot.hxx"
@@ -81,6 +80,4 @@ private:
XclTabViewData maData; /// Sheet view settings data.
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xladdress.hxx b/sc/source/filter/inc/xladdress.hxx
index 272de3fb483e..bb1bc77aeb11 100644
--- a/sc/source/filter/inc/xladdress.hxx
+++ b/sc/source/filter/inc/xladdress.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XLADDRESS_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XLADDRESS_HXX
+#pragma once
#include <vector>
#include <address.hxx>
@@ -166,6 +165,4 @@ protected:
bool mbTabTrunc; /// Flag for "tables truncated" warning box.
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xlchart.hxx b/sc/source/filter/inc/xlchart.hxx
index 8f5508f65fd3..83d66ad433ff 100644
--- a/sc/source/filter/inc/xlchart.hxx
+++ b/sc/source/filter/inc/xlchart.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XLCHART_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XLCHART_HXX
+#pragma once
#include <tools/gen.hxx>
#include "fapihelper.hxx"
@@ -1435,6 +1434,4 @@ struct XclChRootData
GetTitleShape( const XclChTextKey& rTitleKey ) const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xlconst.hxx b/sc/source/filter/inc/xlconst.hxx
index 2338cf15417f..dc74ee54699c 100644
--- a/sc/source/filter/inc/xlconst.hxx
+++ b/sc/source/filter/inc/xlconst.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XLCONST_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XLCONST_HXX
+#pragma once
#include <address.hxx>
@@ -257,6 +256,4 @@ const sal_uInt16 EXC_ISFFEC2 = 0x0003;
const sal_uInt16 EXC_ISFFACTOID = 0x0004;
const sal_uInt16 EXC_ISFLIST = 0x0005;
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xlcontent.hxx b/sc/source/filter/inc/xlcontent.hxx
index ec9475059ce0..252b890935e6 100644
--- a/sc/source/filter/inc/xlcontent.hxx
+++ b/sc/source/filter/inc/xlcontent.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XLCONTENT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XLCONTENT_HXX
+#pragma once
#include <sal/types.h>
@@ -184,6 +183,4 @@ const sal_uInt16 EXC_ID_WQTABLES = 0x0804;
const sal_uInt16 EXC_ID_EXTLST = 0x9988; /// it is just a random number
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xlescher.hxx b/sc/source/filter/inc/xlescher.hxx
index 4313cac18cce..913f667593ea 100644
--- a/sc/source/filter/inc/xlescher.hxx
+++ b/sc/source/filter/inc/xlescher.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XLESCHER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XLESCHER_HXX
+#pragma once
#include <tools/gen.hxx>
#include <tools/mapunit.hxx>
@@ -432,6 +431,4 @@ public:
XclTbxEventType eEventType );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xlformula.hxx b/sc/source/filter/inc/xlformula.hxx
index d46f1200358f..fae4ec282a83 100644
--- a/sc/source/filter/inc/xlformula.hxx
+++ b/sc/source/filter/inc/xlformula.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XLFORMULA_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XLFORMULA_HXX
+#pragma once
#include <osl/diagnose.h>
#include <formula/opcode.hxx>
@@ -549,6 +548,4 @@ inline void XclTokenArrayHelper::ChangeTokenClass( sal_uInt8& rnTokenId, sal_uIn
::set_flag( rnTokenId, nTokenClass );
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xllink.hxx b/sc/source/filter/inc/xllink.hxx
index 224fdca0cc4c..f87567d09f54 100644
--- a/sc/source/filter/inc/xllink.hxx
+++ b/sc/source/filter/inc/xllink.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XLLINK_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XLLINK_HXX
+#pragma once
#include <ostream>
@@ -97,6 +96,4 @@ inline std::basic_ostream<charT, traits> & operator <<(
}
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xlname.hxx b/sc/source/filter/inc/xlname.hxx
index d797bab56692..f469919ecfe6 100644
--- a/sc/source/filter/inc/xlname.hxx
+++ b/sc/source/filter/inc/xlname.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XLNAME_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XLNAME_HXX
+#pragma once
#include <sal/types.h>
@@ -61,6 +60,4 @@ const sal_Unicode EXC_BUILTIN_SHEETTITLE = '\x0C';
const sal_Unicode EXC_BUILTIN_FILTERDATABASE = '\x0D';
const sal_Unicode EXC_BUILTIN_UNKNOWN = '\x0E';
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xlpage.hxx b/sc/source/filter/inc/xlpage.hxx
index 36190b2e8693..246057c67133 100644
--- a/sc/source/filter/inc/xlpage.hxx
+++ b/sc/source/filter/inc/xlpage.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XLPAGE_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XLPAGE_HXX
+#pragma once
#include <tools/gen.hxx>
#include "ftools.hxx"
@@ -157,6 +156,4 @@ struct XclPageData
void SetScPaperSize( const Size& rSize, bool bPortrait, bool bStrict = false );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xlpivot.hxx b/sc/source/filter/inc/xlpivot.hxx
index 244570d770d2..42f1217c0373 100644
--- a/sc/source/filter/inc/xlpivot.hxx
+++ b/sc/source/filter/inc/xlpivot.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XLPIVOT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XLPIVOT_HXX
+#pragma once
#include <com/sun/star/sheet/DataPilotFieldOrientation.hpp>
#include <tools/datetime.hxx>
@@ -772,6 +771,4 @@ struct XclPTAddl
XclImpStream& operator>>(XclImpStream& rStrm, XclPTAddl& rInfo);
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xlroot.hxx b/sc/source/filter/inc/xlroot.hxx
index 204e6862a7b1..ded9a1ece30d 100644
--- a/sc/source/filter/inc/xlroot.hxx
+++ b/sc/source/filter/inc/xlroot.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XLROOT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XLROOT_HXX
+#pragma once
#include <i18nlangtag/lang.h>
#include <tools/ref.hxx>
@@ -264,6 +263,4 @@ private:
XclRootData& mrData; /// Reference to the global data struct.
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xlstream.hxx b/sc/source/filter/inc/xlstream.hxx
index 858e375d2cf8..6e87890a1479 100644
--- a/sc/source/filter/inc/xlstream.hxx
+++ b/sc/source/filter/inc/xlstream.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XLSTREAM_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XLSTREAM_HXX
+#pragma once
#include <svx/svxerr.hxx>
@@ -36,6 +35,4 @@ const sal_uInt16 EXC_ENCR_BLOCKSIZE = 1024;
const sal_uInt16 EXC_ID_UNKNOWN = SAL_MAX_UINT16;
const sal_uInt16 EXC_ID_CONT = 0x003C;
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xlstring.hxx b/sc/source/filter/inc/xlstring.hxx
index 82cd3486ead5..64e5f265ffc8 100644
--- a/sc/source/filter/inc/xlstring.hxx
+++ b/sc/source/filter/inc/xlstring.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XLSTRING_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XLSTRING_HXX
+#pragma once
#include <vector>
#include <o3tl/typed_flags_set.hxx>
@@ -84,6 +83,4 @@ inline bool operator<( const XclFormatRun& rLeft, const XclFormatRun& rRight )
/** A vector with all formatting runs for a rich-string. */
typedef ::std::vector< XclFormatRun > XclFormatRunVec;
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xlstyle.hxx b/sc/source/filter/inc/xlstyle.hxx
index 70fd39121c3e..bf7a107a26e4 100644
--- a/sc/source/filter/inc/xlstyle.hxx
+++ b/sc/source/filter/inc/xlstyle.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XLSTYLE_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XLSTYLE_HXX
+#pragma once
#include <map>
#include <com/sun/star/awt/FontSlant.hpp>
@@ -595,6 +594,4 @@ protected:
bool mbAreaUsed; /// true = area data used.
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xltable.hxx b/sc/source/filter/inc/xltable.hxx
index 44aea94b63ae..d5e210a4a45b 100644
--- a/sc/source/filter/inc/xltable.hxx
+++ b/sc/source/filter/inc/xltable.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XLTABLE_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XLTABLE_HXX
+#pragma once
#include <sal/types.h>
@@ -165,6 +164,4 @@ const sal_uInt16 EXC_ID_RK = 0x027E;
// (0x04BC) SHRFMLA -----------------------------------------------------------
const sal_uInt16 EXC_ID_SHRFMLA = 0x04BC;
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xltools.hxx b/sc/source/filter/inc/xltools.hxx
index a5b413a5f03e..f67d896af949 100644
--- a/sc/source/filter/inc/xltools.hxx
+++ b/sc/source/filter/inc/xltools.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XLTOOLS_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XLTOOLS_HXX
+#pragma once
#include <types.hxx>
#include "ftools.hxx"
@@ -254,6 +253,4 @@ XclImpStream& operator>>( XclImpStream& rStrm, Color& rColor );
@descr The color has the format (all values 8-bit): Red, Green, Blue, 0. */
XclExpStream& operator<<( XclExpStream& rStrm, const Color& rColor );
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xltracer.hxx b/sc/source/filter/inc/xltracer.hxx
index 94446fb2744b..3286d45f46d0 100644
--- a/sc/source/filter/inc/xltracer.hxx
+++ b/sc/source/filter/inc/xltracer.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XLTRACER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XLTRACER_HXX
+#pragma once
#include <address.hxx>
#include <vector>
@@ -84,6 +83,4 @@ private:
std::vector<bool> maFirstTimes;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/inc/xlview.hxx b/sc/source/filter/inc/xlview.hxx
index 281edf900e46..9f9daa95c743 100644
--- a/sc/source/filter/inc/xlview.hxx
+++ b/sc/source/filter/inc/xlview.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_INC_XLVIEW_HXX
-#define INCLUDED_SC_SOURCE_FILTER_INC_XLVIEW_HXX
+#pragma once
#include <tools/color.hxx>
#include "xladdress.hxx"
@@ -160,6 +159,4 @@ struct XclTabViewData
XclSelectionData& CreateSelectionData( sal_uInt8 nPane );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/lotus/lotfilter.hxx b/sc/source/filter/lotus/lotfilter.hxx
index 5a074cab7df7..596b9a9de742 100644
--- a/sc/source/filter/lotus/lotfilter.hxx
+++ b/sc/source/filter/lotus/lotfilter.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_LOTUS_FILTER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_LOTUS_FILTER_HXX
+#pragma once
#include <map>
#include <decl.h>
@@ -61,6 +60,4 @@ struct LotusContext
~LotusContext();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/XMLCalculationSettingsContext.hxx b/sc/source/filter/xml/XMLCalculationSettingsContext.hxx
index 71266d68960a..45bcdfb6c0b0 100644
--- a/sc/source/filter/xml/XMLCalculationSettingsContext.hxx
+++ b/sc/source/filter/xml/XMLCalculationSettingsContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLCALCULATIONSETTINGSCONTEXT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLCALCULATIONSETTINGSCONTEXT_HXX
+#pragma once
#include <unotools/textsearch.hxx>
#include <com/sun/star/util/Date.hpp>
@@ -74,6 +73,4 @@ public:
virtual ~ScXMLIterationContext() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/XMLCellRangeSourceContext.hxx b/sc/source/filter/xml/XMLCellRangeSourceContext.hxx
index 123e78fda998..9b6fa18d1a8e 100644
--- a/sc/source/filter/xml/XMLCellRangeSourceContext.hxx
+++ b/sc/source/filter/xml/XMLCellRangeSourceContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLCELLRANGESOURCECONTEXT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLCELLRANGESOURCECONTEXT_HXX
+#pragma once
#include "importcontext.hxx"
@@ -49,6 +48,4 @@ public:
virtual ~ScXMLCellRangeSourceContext() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/XMLChangeTrackingExportHelper.hxx b/sc/source/filter/xml/XMLChangeTrackingExportHelper.hxx
index c9c12c217653..be721de62c24 100644
--- a/sc/source/filter/xml/XMLChangeTrackingExportHelper.hxx
+++ b/sc/source/filter/xml/XMLChangeTrackingExportHelper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLCHANGETRACKINGEXPORTHELPER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLCHANGETRACKINGEXPORTHELPER_HXX
+#pragma once
#include <xmloff/xmltoken.hxx>
#include <rtl/ref.hxx>
@@ -82,6 +81,4 @@ public:
void CollectAndWriteChanges();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx b/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx
index 36529dfa47b0..182f36cf494a 100644
--- a/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx
+++ b/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLCHANGETRACKINGIMPORTHELPER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLCHANGETRACKINGIMPORTHELPER_HXX
+#pragma once
#include <memory>
#include <chgtrack.hxx>
@@ -218,6 +217,4 @@ public:
void CreateChangeTrack(ScDocument* pDoc);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/XMLCodeNameProvider.hxx b/sc/source/filter/xml/XMLCodeNameProvider.hxx
index 7207912c5f50..79c057957684 100644
--- a/sc/source/filter/xml/XMLCodeNameProvider.hxx
+++ b/sc/source/filter/xml/XMLCodeNameProvider.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLCODENAMEPROVIDER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLCODENAMEPROVIDER_HXX
+#pragma once
#include <com/sun/star/container/XNameAccess.hpp>
#include <cppuhelper/implbase.hxx>
@@ -51,6 +50,4 @@ public:
static void set( const css::uno::Reference< css::container::XNameAccess>& xNameAccess, ScDocument *pDoc );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/XMLColumnRowGroupExport.hxx b/sc/source/filter/xml/XMLColumnRowGroupExport.hxx
index 6c78ca917174..3d1a2ac4f192 100644
--- a/sc/source/filter/xml/XMLColumnRowGroupExport.hxx
+++ b/sc/source/filter/xml/XMLColumnRowGroupExport.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLCOLUMNROWGROUPEXPORT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLCOLUMNROWGROUPEXPORT_HXX
+#pragma once
#include <vector>
#include <rtl/ustring.hxx>
@@ -60,6 +59,4 @@ public:
void Sort();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/XMLConsolidationContext.hxx b/sc/source/filter/xml/XMLConsolidationContext.hxx
index 8496c4075c4c..1843ce67e6fb 100644
--- a/sc/source/filter/xml/XMLConsolidationContext.hxx
+++ b/sc/source/filter/xml/XMLConsolidationContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLCONSOLIDATIONCONTEXT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLCONSOLIDATIONCONTEXT_HXX
+#pragma once
#include <global.hxx>
#include <address.hxx>
@@ -47,6 +46,4 @@ public:
virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/XMLConverter.hxx b/sc/source/filter/xml/XMLConverter.hxx
index 8e149485f83d..52d0f2ba77cc 100644
--- a/sc/source/filter/xml/XMLConverter.hxx
+++ b/sc/source/filter/xml/XMLConverter.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLCONVERTER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLCONVERTER_HXX
+#pragma once
#include <global.hxx>
#include <detfunc.hxx>
@@ -143,6 +142,4 @@ namespace ScXMLConditionHelper
OUString getExpression(const sal_Unicode*& rpcString, const sal_Unicode* pcEnd, sal_Unicode cEndChar );
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/XMLDDELinksContext.hxx b/sc/source/filter/xml/XMLDDELinksContext.hxx
index 914343bec30e..a599786203c2 100644
--- a/sc/source/filter/xml/XMLDDELinksContext.hxx
+++ b/sc/source/filter/xml/XMLDDELinksContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLDDELINKSCONTEXT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLDDELINKSCONTEXT_HXX
+#pragma once
#include "importcontext.hxx"
#include <vector>
@@ -156,6 +155,4 @@ public:
virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/XMLDetectiveContext.hxx b/sc/source/filter/xml/XMLDetectiveContext.hxx
index beb206adb4da..8b0a635374a6 100644
--- a/sc/source/filter/xml/XMLDetectiveContext.hxx
+++ b/sc/source/filter/xml/XMLDetectiveContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLDETECTIVECONTEXT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLDETECTIVECONTEXT_HXX
+#pragma once
#include <detfunc.hxx>
#include <detdata.hxx>
@@ -125,6 +124,4 @@ public:
virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/XMLEmptyContext.hxx b/sc/source/filter/xml/XMLEmptyContext.hxx
index 204e99540949..af5e838a7c69 100644
--- a/sc/source/filter/xml/XMLEmptyContext.hxx
+++ b/sc/source/filter/xml/XMLEmptyContext.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLEMPTYCONTEXT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLEMPTYCONTEXT_HXX
+#pragma once
#include "importcontext.hxx"
@@ -33,6 +32,4 @@ public:
const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/XMLExportDDELinks.hxx b/sc/source/filter/xml/XMLExportDDELinks.hxx
index 67f78a38ed9b..0e84b305c96c 100644
--- a/sc/source/filter/xml/XMLExportDDELinks.hxx
+++ b/sc/source/filter/xml/XMLExportDDELinks.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLEXPORTDDELINKS_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLEXPORTDDELINKS_HXX
+#pragma once
#include <sal/types.h>
@@ -40,6 +39,4 @@ public:
void WriteDDELinks(const css::uno::Reference < css::sheet::XSpreadsheetDocument >& xSpreadDoc);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/XMLExportDataPilot.hxx b/sc/source/filter/xml/XMLExportDataPilot.hxx
index 8e0d0affcd76..e8d468cc1431 100644
--- a/sc/source/filter/xml/XMLExportDataPilot.hxx
+++ b/sc/source/filter/xml/XMLExportDataPilot.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLEXPORTDATAPILOT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLEXPORTDATAPILOT_HXX
+#pragma once
#include <sal/config.h>
@@ -73,6 +72,4 @@ public:
void WriteDataPilots();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/XMLExportDatabaseRanges.hxx b/sc/source/filter/xml/XMLExportDatabaseRanges.hxx
index 8b1478123a88..a89e97b9b795 100644
--- a/sc/source/filter/xml/XMLExportDatabaseRanges.hxx
+++ b/sc/source/filter/xml/XMLExportDatabaseRanges.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLEXPORTDATABASERANGES_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLEXPORTDATABASERANGES_HXX
+#pragma once
#include <address.hxx>
@@ -42,6 +41,4 @@ public:
void WriteDatabaseRanges();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/XMLExportIterator.hxx b/sc/source/filter/xml/XMLExportIterator.hxx
index 080865f1514e..1b0af0b29ab2 100644
--- a/sc/source/filter/xml/XMLExportIterator.hxx
+++ b/sc/source/filter/xml/XMLExportIterator.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLEXPORTITERATOR_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLEXPORTITERATOR_HXX
+#pragma once
#include <vector>
#include <list>
@@ -372,6 +371,4 @@ public:
bool GetNext(ScMyCell& aCell, ScFormatRangeStyles* pCellStyles);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/XMLExportSharedData.hxx b/sc/source/filter/xml/XMLExportSharedData.hxx
index 878f80203475..3ed25d25136b 100644
--- a/sc/source/filter/xml/XMLExportSharedData.hxx
+++ b/sc/source/filter/xml/XMLExportSharedData.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLEXPORTSHAREDDATA_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLEXPORTSHAREDDATA_HXX
+#pragma once
#include <address.hxx>
#include <com/sun/star/uno/Reference.hxx>
@@ -82,6 +81,4 @@ public:
ScMyNoteShapesContainer* GetNoteShapes() { return pNoteShapes.get(); }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/XMLStylesExportHelper.hxx b/sc/source/filter/xml/XMLStylesExportHelper.hxx
index 9aafa2441c6a..5f539ea7e6a9 100644
--- a/sc/source/filter/xml/XMLStylesExportHelper.hxx
+++ b/sc/source/filter/xml/XMLStylesExportHelper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLSTYLESEXPORTHELPER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLSTYLESEXPORTHELPER_HXX
+#pragma once
#include <vector>
#include <memory>
@@ -252,6 +251,4 @@ public:
void AddFieldStyleName(const sal_Int32 nTable, const sal_Int32 nStartField, const sal_Int32 nStringIndex, const sal_Int32 nEndField);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/XMLStylesImportHelper.hxx b/sc/source/filter/xml/XMLStylesImportHelper.hxx
index a4fa8d8ea7ca..6f51b45841d0 100644
--- a/sc/source/filter/xml/XMLStylesImportHelper.hxx
+++ b/sc/source/filter/xml/XMLStylesImportHelper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLSTYLESIMPORTHELPER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLSTYLESIMPORTHELPER_HXX
+#pragma once
#include <rangelst.hxx>
#include <rtl/ustring.hxx>
@@ -145,6 +144,4 @@ public:
void SetStylesToRanges();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/XMLTableHeaderFooterContext.hxx b/sc/source/filter/xml/XMLTableHeaderFooterContext.hxx
index 84db39a0e2f5..bc7bf13241b1 100644
--- a/sc/source/filter/xml/XMLTableHeaderFooterContext.hxx
+++ b/sc/source/filter/xml/XMLTableHeaderFooterContext.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLTABLEHEADERFOOTERCONTEXT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLTABLEHEADERFOOTERCONTEXT_HXX
+#pragma once
#include <xmloff/xmlictxt.hxx>
@@ -76,6 +75,4 @@ public:
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/XMLTableMasterPageExport.hxx b/sc/source/filter/xml/XMLTableMasterPageExport.hxx
index 7734e5d5704c..2ae7a127e2c3 100644
--- a/sc/source/filter/xml/XMLTableMasterPageExport.hxx
+++ b/sc/source/filter/xml/XMLTableMasterPageExport.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLTABLEMASTERPAGEEXPORT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLTABLEMASTERPAGEEXPORT_HXX
+#pragma once
#include <xmloff/xmltoken.hxx>
#include <xmloff/XMLTextMasterPageExport.hxx>
@@ -51,6 +50,4 @@ public:
virtual ~XMLTableMasterPageExport() override;
};
-#endif // _XMLOFF_XMLTABLEMASTERPAGEEXPORT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/XMLTableShapeImportHelper.hxx b/sc/source/filter/xml/XMLTableShapeImportHelper.hxx
index 188411a97ce0..2f27233d3004 100644
--- a/sc/source/filter/xml/XMLTableShapeImportHelper.hxx
+++ b/sc/source/filter/xml/XMLTableShapeImportHelper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLTABLESHAPEIMPORTHELPER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLTABLESHAPEIMPORTHELPER_HXX
+#pragma once
#include <xmloff/shapeimport.hxx>
#include <svx/svdtypes.hxx>
@@ -50,6 +49,4 @@ public:
ScXMLAnnotationContext* GetAnnotationContext() const { return pAnnotationContext; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/XMLTableShapeResizer.hxx b/sc/source/filter/xml/XMLTableShapeResizer.hxx
index e09495c7d324..2455db7e824a 100644
--- a/sc/source/filter/xml/XMLTableShapeResizer.hxx
+++ b/sc/source/filter/xml/XMLTableShapeResizer.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLTABLESHAPERESIZER_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLTABLESHAPERESIZER_HXX
+#pragma once
#include <com/sun/star/uno/Reference.hxx>
#include <vector>
@@ -54,6 +53,4 @@ public:
void FixupOLEs();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/XMLTableShapesContext.hxx b/sc/source/filter/xml/XMLTableShapesContext.hxx
index 8205fc96561a..814ddaea67af 100644
--- a/sc/source/filter/xml/XMLTableShapesContext.hxx
+++ b/sc/source/filter/xml/XMLTableShapesContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLTABLESHAPESCONTEXT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLTABLESHAPESCONTEXT_HXX
+#pragma once
#include <xmloff/xmlictxt.hxx>
#include "importcontext.hxx"
@@ -37,6 +36,4 @@ public:
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/XMLTableSourceContext.hxx b/sc/source/filter/xml/XMLTableSourceContext.hxx
index 523c28bfc2fb..85bfb69296c1 100644
--- a/sc/source/filter/xml/XMLTableSourceContext.hxx
+++ b/sc/source/filter/xml/XMLTableSourceContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLTABLESOURCECONTEXT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLTABLESOURCECONTEXT_HXX
+#pragma once
#include <com/sun/star/sheet/SheetLinkMode.hpp>
#include "importcontext.hxx"
@@ -43,6 +42,4 @@ public:
virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/XMLTrackedChangesContext.hxx b/sc/source/filter/xml/XMLTrackedChangesContext.hxx
index e69d1f8c2142..5ed8570ad011 100644
--- a/sc/source/filter/xml/XMLTrackedChangesContext.hxx
+++ b/sc/source/filter/xml/XMLTrackedChangesContext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLTRACKEDCHANGESCONTEXT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLTRACKEDCHANGESCONTEXT_HXX
+#pragma once
#include "importcontext.hxx"
@@ -44,6 +43,4 @@ public:
const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/cachedattraccess.hxx b/sc/source/filter/xml/cachedattraccess.hxx
index ce07299e729d..1af7c8b6b64f 100644
--- a/sc/source/filter/xml/cachedattraccess.hxx
+++ b/sc/source/filter/xml/cachedattraccess.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_CACHEDATTRACCESS_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_CACHEDATTRACCESS_HXX
+#pragma once
#include <sal/types.h>
@@ -42,6 +41,4 @@ private:
ScDocument* mpDoc;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/celltextparacontext.hxx b/sc/source/filter/xml/celltextparacontext.hxx
index b420037ee298..65b1036d645e 100644
--- a/sc/source/filter/xml/celltextparacontext.hxx
+++ b/sc/source/filter/xml/celltextparacontext.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_CELLTEXTPARACONTEXT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_CELLTEXTPARACONTEXT_HXX
+#pragma once
#include "importcontext.hxx"
@@ -188,6 +187,5 @@ public:
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
virtual void SAL_CALL characters( const OUString& aChars ) override;
};
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/datastreamimport.hxx b/sc/source/filter/xml/datastreamimport.hxx
index a9df2f197387..de6135488f97 100644
--- a/sc/source/filter/xml/datastreamimport.hxx
+++ b/sc/source/filter/xml/datastreamimport.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_DATASTREAMIMPORT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_DATASTREAMIMPORT_HXX
+#pragma once
#include "importcontext.hxx"
@@ -34,6 +33,4 @@ public:
virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/editattributemap.hxx b/sc/source/filter/xml/editattributemap.hxx
index 636b38c71137..7139121910fb 100644
--- a/sc/source/filter/xml/editattributemap.hxx
+++ b/sc/source/filter/xml/editattributemap.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_EDITATTRIBUTEMAP_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_EDITATTRIBUTEMAP_HXX
+#pragma once
#include <rtl/ustring.hxx>
@@ -42,6 +41,4 @@ private:
IndexToEntriesType maItemIDEntries;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/importcontext.hxx b/sc/source/filter/xml/importcontext.hxx
index 01f09dadb051..d070433b2d57 100644
--- a/sc/source/filter/xml/importcontext.hxx
+++ b/sc/source/filter/xml/importcontext.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_IMPORTCONTEXT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_IMPORTCONTEXT_HXX
+#pragma once
#include <xmloff/xmlictxt.hxx>
@@ -28,5 +27,3 @@ protected:
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
-
-#endif
diff --git a/sc/source/filter/xml/pivotsource.hxx b/sc/source/filter/xml/pivotsource.hxx
index c8bd0937669d..0a2d76ba47e2 100644
--- a/sc/source/filter/xml/pivotsource.hxx
+++ b/sc/source/filter/xml/pivotsource.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_PIVOTSOURCE_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_PIVOTSOURCE_HXX
+#pragma once
#include <dpshttab.hxx>
#include <dpsdbtab.hxx>
@@ -76,6 +75,4 @@ struct PivotTableSources
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/xmlannoi.hxx b/sc/source/filter/xml/xmlannoi.hxx
index 95de84a39df5..9889b5092bff 100644
--- a/sc/source/filter/xml/xmlannoi.hxx
+++ b/sc/source/filter/xml/xmlannoi.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLANNOI_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLANNOI_HXX
+#pragma once
#include <xmloff/xmlictxt.hxx>
#include <rtl/ustrbuf.hxx>
@@ -101,6 +100,4 @@ private:
std::unique_ptr<SvXMLImportContext> pShapeContext;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/xmlbodyi.hxx b/sc/source/filter/xml/xmlbodyi.hxx
index 66b831244d01..6db678017088 100644
--- a/sc/source/filter/xml/xmlbodyi.hxx
+++ b/sc/source/filter/xml/xmlbodyi.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLBODYI_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLBODYI_HXX
+#pragma once
#include "importcontext.hxx"
@@ -54,6 +53,4 @@ public:
virtual void SAL_CALL characters(const OUString & aChars) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/xmlcelli.hxx b/sc/source/filter/xml/xmlcelli.hxx
index 4229a86117c2..79c7075d21cb 100644
--- a/sc/source/filter/xml/xmlcelli.hxx
+++ b/sc/source/filter/xml/xmlcelli.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLCELLI_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLCELLI_HXX
+#pragma once
#include "XMLDetectiveContext.hxx"
#include "importcontext.hxx"
@@ -152,6 +151,4 @@ public:
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/xmlcoli.hxx b/sc/source/filter/xml/xmlcoli.hxx
index fe90136e61a3..204d9cd4bc79 100644
--- a/sc/source/filter/xml/xmlcoli.hxx
+++ b/sc/source/filter/xml/xmlcoli.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLCOLI_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLCOLI_HXX
+#pragma once
#include "importcontext.hxx"
@@ -64,6 +63,4 @@ public:
virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/xmlcondformat.hxx b/sc/source/filter/xml/xmlcondformat.hxx
index ffa9a011cac0..eaaf7440aabb 100644
--- a/sc/source/filter/xml/xmlcondformat.hxx
+++ b/sc/source/filter/xml/xmlcondformat.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLCONDFORMAT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLCONDFORMAT_HXX
+#pragma once
#include <array>
#include <memory>
@@ -152,6 +151,4 @@ public:
ScConditionalFormat* pFormat);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/xmlconti.hxx b/sc/source/filter/xml/xmlconti.hxx
index eb3cbf40dec1..3324bf201091 100644
--- a/sc/source/filter/xml/xmlconti.hxx
+++ b/sc/source/filter/xml/xmlconti.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLCONTI_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLCONTI_HXX
+#pragma once
#include <rtl/ustrbuf.hxx>
#include "importcontext.hxx"
@@ -39,6 +38,4 @@ public:
virtual void SAL_CALL characters( const OUString& rChars ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/xmlcvali.hxx b/sc/source/filter/xml/xmlcvali.hxx
index 05998254cb45..b3fee13be19c 100644
--- a/sc/source/filter/xml/xmlcvali.hxx
+++ b/sc/source/filter/xml/xmlcvali.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLCVALI_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLCVALI_HXX
+#pragma once
#include "importcontext.hxx"
@@ -33,6 +32,4 @@ public:
const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/xmldpimp.hxx b/sc/source/filter/xml/xmldpimp.hxx
index c1d47c2ca1ed..65b7ca0997e5 100644
--- a/sc/source/filter/xml/xmldpimp.hxx
+++ b/sc/source/filter/xml/xmldpimp.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLDPIMP_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLDPIMP_HXX
+#pragma once
#include <memory>
#include <xmloff/xmltoken.hxx>
@@ -468,6 +467,4 @@ public:
virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/xmldrani.hxx b/sc/source/filter/xml/xmldrani.hxx
index fd70a656ea0b..25e6d8c39d7d 100644
--- a/sc/source/filter/xml/xmldrani.hxx
+++ b/sc/source/filter/xml/xmldrani.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLDRANI_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLDRANI_HXX
+#pragma once
#include <com/sun/star/sheet/DataImportMode.hpp>
#include <com/sun/star/sheet/SubTotalColumn.hpp>
@@ -254,6 +253,4 @@ public:
virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/xmlexprt.hxx b/sc/source/filter/xml/xmlexprt.hxx
index de7402125d46..88685b27f6a4 100644
--- a/sc/source/filter/xml/xmlexprt.hxx
+++ b/sc/source/filter/xml/xmlexprt.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLEXPRT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLEXPRT_HXX
+#pragma once
#include <xmloff/xmlexp.hxx>
#include <com/sun/star/table/CellRangeAddress.hpp>
@@ -277,6 +276,4 @@ public:
virtual void DisposingModel() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/xmlexternaltabi.hxx b/sc/source/filter/xml/xmlexternaltabi.hxx
index 5afb5c5f9bfc..94fa055745bb 100644
--- a/sc/source/filter/xml/xmlexternaltabi.hxx
+++ b/sc/source/filter/xml/xmlexternaltabi.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLEXTERNALTABI_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLEXTERNALTABI_HXX
+#pragma once
#include <rtl/ustrbuf.hxx>
#include "importcontext.hxx"
@@ -130,6 +129,4 @@ private:
OUStringBuffer maCellStrBuf;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/xmlfilti.hxx b/sc/source/filter/xml/xmlfilti.hxx
index 41a0d103ffc7..02a2a9e6c877 100644
--- a/sc/source/filter/xml/xmlfilti.hxx
+++ b/sc/source/filter/xml/xmlfilti.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLFILTI_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLFILTI_HXX
+#pragma once
#include "importcontext.hxx"
#include <queryentry.hxx>
@@ -263,6 +262,4 @@ public:
virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/xmlimprt.hxx b/sc/source/filter/xml/xmlimprt.hxx
index 5591e4e4c7e3..0bc5ca80092c 100644
--- a/sc/source/filter/xml/xmlimprt.hxx
+++ b/sc/source/filter/xml/xmlimprt.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLIMPRT_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLIMPRT_HXX
+#pragma once
#include <xmloff/xmlimp.hxx>
#include <xmloff/xmlprmap.hxx>
@@ -356,6 +355,4 @@ public:
virtual void NotifyContainsEmbeddedFont() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/xmllabri.hxx b/sc/source/filter/xml/xmllabri.hxx
index 9eb6773360d8..c61897654ff7 100644
--- a/sc/source/filter/xml/xmllabri.hxx
+++ b/sc/source/filter/xml/xmllabri.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLLABRI_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLLABRI_HXX
+#pragma once
#include "importcontext.hxx"
@@ -55,6 +54,4 @@ public:
virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/xmlmappingi.hxx b/sc/source/filter/xml/xmlmappingi.hxx
index f84a35311f7c..cc38d40dbe93 100644
--- a/sc/source/filter/xml/xmlmappingi.hxx
+++ b/sc/source/filter/xml/xmlmappingi.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLMAPPINGI_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLMAPPINGI_HXX
+#pragma once
#include "importcontext.hxx"
@@ -43,6 +42,4 @@ public:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/xmlnexpi.hxx b/sc/source/filter/xml/xmlnexpi.hxx
index c0d00826a7a0..d4b2d983ff0f 100644
--- a/sc/source/filter/xml/xmlnexpi.hxx
+++ b/sc/source/filter/xml/xmlnexpi.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLNEXPI_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLNEXPI_HXX
+#pragma once
#include <types.hxx>
#include "importcontext.hxx"
@@ -104,6 +103,4 @@ public:
virtual ~ScXMLNamedExpressionContext() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/xmlrowi.hxx b/sc/source/filter/xml/xmlrowi.hxx
index 2debb5090d43..981a74a59758 100644
--- a/sc/source/filter/xml/xmlrowi.hxx
+++ b/sc/source/filter/xml/xmlrowi.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLROWI_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLROWI_HXX
+#pragma once
#include <types.hxx>
#include "importcontext.hxx"
@@ -70,6 +69,4 @@ public:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/xmlsceni.hxx b/sc/source/filter/xml/xmlsceni.hxx
index 983c69eef090..95f4b7180902 100644
--- a/sc/source/filter/xml/xmlsceni.hxx
+++ b/sc/source/filter/xml/xmlsceni.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLSCENI_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLSCENI_HXX
+#pragma once
#include <tools/color.hxx>
#include <rangelst.hxx>
@@ -50,6 +49,4 @@ public:
virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/xmlsorti.hxx b/sc/source/filter/xml/xmlsorti.hxx
index e40bd31eed20..9087bb15d894 100644
--- a/sc/source/filter/xml/xmlsorti.hxx
+++ b/sc/source/filter/xml/xmlsorti.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLSORTI_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLSORTI_HXX
+#pragma once
#include <xmloff/languagetagodf.hxx>
#include <com/sun/star/table/CellAddress.hpp>
@@ -79,6 +78,4 @@ public:
virtual void SAL_CALL endFastElement( sal_Int32 nElement ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/xmlstyle.hxx b/sc/source/filter/xml/xmlstyle.hxx
index bff6767bf51a..4636ff4c4cf6 100644
--- a/sc/source/filter/xml/xmlstyle.hxx
+++ b/sc/source/filter/xml/xmlstyle.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLSTYLE_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLSTYLE_HXX
+#pragma once
#include <xmloff/maptype.hxx>
#include <xmloff/xmlaustp.hxx>
@@ -338,6 +337,4 @@ public:
virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/xmlstyli.hxx b/sc/source/filter/xml/xmlstyli.hxx
index 9a2b00d0b6db..48c401658f23 100644
--- a/sc/source/filter/xml/xmlstyli.hxx
+++ b/sc/source/filter/xml/xmlstyli.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLSTYLI_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLSTYLI_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <vector>
@@ -223,6 +222,4 @@ public:
const css::uno::Reference< css::beans::XPropertySet > & rPropSet ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/xmlsubti.hxx b/sc/source/filter/xml/xmlsubti.hxx
index 40b971b4e6fd..b0c6e7457224 100644
--- a/sc/source/filter/xml/xmlsubti.hxx
+++ b/sc/source/filter/xml/xmlsubti.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLSUBTI_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLSUBTI_HXX
+#pragma once
#include "XMLTableShapeResizer.hxx"
#include <formula/grammar.hxx>
@@ -106,6 +105,4 @@ public:
bool IsPartOfMatrix( const ScAddress& rScAddress) const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/xmltabi.hxx b/sc/source/filter/xml/xmltabi.hxx
index 9ca691e3e1eb..84548d6be66f 100644
--- a/sc/source/filter/xml/xmltabi.hxx
+++ b/sc/source/filter/xml/xmltabi.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLTABI_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLTABI_HXX
+#pragma once
#include <externalrefmgr.hxx>
#include "importcontext.hxx"
@@ -69,6 +68,4 @@ public:
virtual ~ScXMLTableProtectionContext() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/xmltransformationi.hxx b/sc/source/filter/xml/xmltransformationi.hxx
index a8ae4bb1dcdc..9ee7066209bb 100644
--- a/sc/source/filter/xml/xmltransformationi.hxx
+++ b/sc/source/filter/xml/xmltransformationi.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLTRANSFORMATIONI_HXX
-#define INCLUDED_SC_SOURCE_FILTER_XML_XMLTRANSFORMATIONI_HXX
+#pragma once
#include <datatransformation.hxx>
@@ -166,6 +165,5 @@ public:
sal_Int32 nElement,
const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList) override;
};
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/attrdlg/scdlgfact.hxx b/sc/source/ui/attrdlg/scdlgfact.hxx
index 0b47be0ec368..efdaff975f47 100644
--- a/sc/source/ui/attrdlg/scdlgfact.hxx
+++ b/sc/source/ui/attrdlg/scdlgfact.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_ATTRDLG_SCDLGFACT_HXX
-#define INCLUDED_SC_SOURCE_UI_ATTRDLG_SCDLGFACT_HXX
+#pragma once
#include <scabstdlg.hxx>
#include <sfx2/sfxdlg.hxx>
@@ -829,6 +828,4 @@ public:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/dataprovider/htmldataprovider.hxx b/sc/source/ui/dataprovider/htmldataprovider.hxx
index fcc991ff0590..f978ebdd1519 100644
--- a/sc/source/ui/dataprovider/htmldataprovider.hxx
+++ b/sc/source/ui/dataprovider/htmldataprovider.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_DATAPROVIDER_HTMLDATAPROVIDER_HXX
-#define INCLUDED_SC_SOURCE_UI_DATAPROVIDER_HTMLDATAPROVIDER_HXX
+#pragma once
#include <dataprovider.hxx>
@@ -36,6 +35,4 @@ public:
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/dataprovider/sqldataprovider.hxx b/sc/source/ui/dataprovider/sqldataprovider.hxx
index 7af495ccf77e..fbbca7601269 100644
--- a/sc/source/ui/dataprovider/sqldataprovider.hxx
+++ b/sc/source/ui/dataprovider/sqldataprovider.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_DATAPROVIDER_SQLDATAPROVIDER_HXX
-#define INCLUDED_SC_SOURCE_UI_DATAPROVIDER_SQLDATAPROVIDER_HXX
+#pragma once
#include <dataprovider.hxx>
@@ -36,6 +35,4 @@ public:
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/dataprovider/xmldataprovider.hxx b/sc/source/ui/dataprovider/xmldataprovider.hxx
index 46bf69571494..7be3f95c3769 100644
--- a/sc/source/ui/dataprovider/xmldataprovider.hxx
+++ b/sc/source/ui/dataprovider/xmldataprovider.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_DATAPROVIDER_XMLDATAPROVIDER_HXX
-#define INCLUDED_SC_SOURCE_UI_DATAPROVIDER_XMLDATAPROVIDER_HXX
+#pragma once
#include <dataprovider.hxx>
@@ -35,6 +34,4 @@ public:
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/docshell/docshimp.hxx b/sc/source/ui/docshell/docshimp.hxx
index 9a451d802fb0..58cfb23ac70f 100644
--- a/sc/source/ui/docshell/docshimp.hxx
+++ b/sc/source/ui/docshell/docshimp.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_DOCSHELL_DOCSHIMP_HXX
-#define INCLUDED_SC_SOURCE_UI_DOCSHELL_DOCSHIMP_HXX
+#pragma once
#include <svtools/ctrltool.hxx>
#include <sfx2/docinsert.hxx>
@@ -36,6 +35,4 @@ struct DocShell_Impl
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/AccessibilityHints.hxx b/sc/source/ui/inc/AccessibilityHints.hxx
index fbb8ce65a361..41b8415a65dc 100644
--- a/sc/source/ui/inc/AccessibilityHints.hxx
+++ b/sc/source/ui/inc/AccessibilityHints.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBILITYHINTS_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBILITYHINTS_HXX
+#pragma once
#include "viewdata.hxx"
#include <svl/hint.hxx>
@@ -55,6 +54,4 @@ public:
ScSplitPos GetNewGridWin() const { return eNewGridWin; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/AccessibleCell.hxx b/sc/source/ui/inc/AccessibleCell.hxx
index 7cc5683a6633..629eb4994650 100644
--- a/sc/source/ui/inc/AccessibleCell.hxx
+++ b/sc/source/ui/inc/AccessibleCell.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLECELL_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLECELL_HXX
+#pragma once
#include <memory>
#include "AccessibleCellBase.hxx"
@@ -164,6 +163,4 @@ private:
bool IsDropdown() const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/AccessibleCellBase.hxx b/sc/source/ui/inc/AccessibleCellBase.hxx
index 2fb00ee47844..b7226e31e9a3 100644
--- a/sc/source/ui/inc/AccessibleCellBase.hxx
+++ b/sc/source/ui/inc/AccessibleCellBase.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLECELLBASE_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLECELLBASE_HXX
+#pragma once
#include "AccessibleContextBase.hxx"
#include <address.hxx>
@@ -132,6 +131,4 @@ public:
const ScAddress& GetCellAddress() const { return maCellAddress; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/AccessibleContextBase.hxx b/sc/source/ui/inc/AccessibleContextBase.hxx
index 670f3add4d5b..01bfb2f5c573 100644
--- a/sc/source/ui/inc/AccessibleContextBase.hxx
+++ b/sc/source/ui/inc/AccessibleContextBase.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLECONTEXTBASE_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLECONTEXTBASE_HXX
+#pragma once
#include <com/sun/star/accessibility/XAccessible.hpp>
#include <com/sun/star/accessibility/XAccessibleComponent.hpp>
@@ -284,6 +283,4 @@ private:
sal_Int16 maRole;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/AccessibleCsvControl.hxx b/sc/source/ui/inc/AccessibleCsvControl.hxx
index bb83a39e651c..95ec20fb4ff3 100644
--- a/sc/source/ui/inc/AccessibleCsvControl.hxx
+++ b/sc/source/ui/inc/AccessibleCsvControl.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLECSVCONTROL_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLECSVCONTROL_HXX
+#pragma once
#include <memory>
#include <com/sun/star/accessibility/AccessibleRole.hpp>
@@ -509,6 +508,4 @@ private:
::std::unique_ptr< SvxEditSource > implCreateEditSource();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/AccessibleDocument.hxx b/sc/source/ui/inc/AccessibleDocument.hxx
index acff21367fcf..e2c620a5e5a0 100644
--- a/sc/source/ui/inc/AccessibleDocument.hxx
+++ b/sc/source/ui/inc/AccessibleDocument.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEDOCUMENT_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEDOCUMENT_HXX
+#pragma once
#include "AccessibleDocumentBase.hxx"
#include "viewdata.hxx"
@@ -261,6 +260,4 @@ public:
virtual sal_Int32 SAL_CALL getBackground( ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/AccessibleDocumentBase.hxx b/sc/source/ui/inc/AccessibleDocumentBase.hxx
index b09c7f297804..23a984f666cf 100644
--- a/sc/source/ui/inc/AccessibleDocumentBase.hxx
+++ b/sc/source/ui/inc/AccessibleDocumentBase.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEDOCUMENTBASE_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEDOCUMENTBASE_HXX
+#pragma once
#include "AccessibleContextBase.hxx"
@@ -32,6 +31,4 @@ protected:
virtual ~ScAccessibleDocumentBase() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/AccessibleDocumentPagePreview.hxx b/sc/source/ui/inc/AccessibleDocumentPagePreview.hxx
index a433c46debc1..45f9d2481c06 100644
--- a/sc/source/ui/inc/AccessibleDocumentPagePreview.hxx
+++ b/sc/source/ui/inc/AccessibleDocumentPagePreview.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEDOCUMENTPAGEPREVIEW_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEDOCUMENTPAGEPREVIEW_HXX
+#pragma once
#include <sal/config.h>
@@ -130,6 +129,4 @@ private:
ScShapeChildren* GetShapeChildren();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/AccessibleEditObject.hxx b/sc/source/ui/inc/AccessibleEditObject.hxx
index 83dedda9b387..6b734062dca8 100644
--- a/sc/source/ui/inc/AccessibleEditObject.hxx
+++ b/sc/source/ui/inc/AccessibleEditObject.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEEDITOBJECT_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEEDITOBJECT_HXX
+#pragma once
#include "AccessibleContextBase.hxx"
@@ -222,6 +221,4 @@ public:
virtual void SAL_CALL disposing() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/AccessiblePageHeader.hxx b/sc/source/ui/inc/AccessiblePageHeader.hxx
index 82262186e82d..3e43671b5863 100644
--- a/sc/source/ui/inc/AccessiblePageHeader.hxx
+++ b/sc/source/ui/inc/AccessiblePageHeader.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEPAGEHEADER_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEPAGEHEADER_HXX
+#pragma once
#include "AccessibleContextBase.hxx"
#include <editeng/svxenum.hxx>
@@ -88,6 +87,4 @@ private:
void AddChild(const EditTextObject* pArea, sal_uInt32 nIndex, SvxAdjust eAdjust);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/AccessiblePageHeaderArea.hxx b/sc/source/ui/inc/AccessiblePageHeaderArea.hxx
index 572100c5a80d..773447f152f3 100644
--- a/sc/source/ui/inc/AccessiblePageHeaderArea.hxx
+++ b/sc/source/ui/inc/AccessiblePageHeaderArea.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEPAGEHEADERAREA_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEPAGEHEADERAREA_HXX
+#pragma once
#include "AccessibleContextBase.hxx"
#include <editeng/svxenum.hxx>
@@ -111,6 +110,4 @@ private:
void CreateTextHelper();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/AccessiblePreviewCell.hxx b/sc/source/ui/inc/AccessiblePreviewCell.hxx
index 08b72ba04f77..7d34e5da1a96 100644
--- a/sc/source/ui/inc/AccessiblePreviewCell.hxx
+++ b/sc/source/ui/inc/AccessiblePreviewCell.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEPREVIEWCELL_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEPREVIEWCELL_HXX
+#pragma once
#include "AccessibleCellBase.hxx"
@@ -97,6 +96,4 @@ private:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx b/sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx
index e18c7eb54a6b..08fb125be012 100644
--- a/sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx
+++ b/sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEPREVIEWHEADERCELL_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEPREVIEWHEADERCELL_HXX
+#pragma once
#include "AccessibleContextBase.hxx"
#include <com/sun/star/accessibility/XAccessibleValue.hpp>
@@ -127,6 +126,4 @@ private:
void FillTableInfo() const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/AccessiblePreviewTable.hxx b/sc/source/ui/inc/AccessiblePreviewTable.hxx
index 54d7b92f8190..25bae420c81f 100644
--- a/sc/source/ui/inc/AccessiblePreviewTable.hxx
+++ b/sc/source/ui/inc/AccessiblePreviewTable.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEPREVIEWTABLE_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLEPREVIEWTABLE_HXX
+#pragma once
#include "AccessibleContextBase.hxx"
#include <com/sun/star/accessibility/XAccessibleTable.hpp>
@@ -132,6 +131,4 @@ private:
void FillTableInfo() const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/AccessibleSpreadsheet.hxx b/sc/source/ui/inc/AccessibleSpreadsheet.hxx
index 4ef24c81f61b..8f33e5d2ada0 100644
--- a/sc/source/ui/inc/AccessibleSpreadsheet.hxx
+++ b/sc/source/ui/inc/AccessibleSpreadsheet.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLESPREADSHEET_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLESPREADSHEET_HXX
+#pragma once
#include <sal/config.h>
@@ -274,6 +273,4 @@ private:
OUString m_strOldTabName;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/AccessibleTableBase.hxx b/sc/source/ui/inc/AccessibleTableBase.hxx
index 067057f106c3..7bde20e989d1 100644
--- a/sc/source/ui/inc/AccessibleTableBase.hxx
+++ b/sc/source/ui/inc/AccessibleTableBase.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLETABLEBASE_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLETABLEBASE_HXX
+#pragma once
#include "AccessibleContextBase.hxx"
#include <address.hxx>
@@ -232,6 +231,4 @@ protected:
void CommitTableModelChange(sal_Int32 nStartRow, sal_Int32 nStartCol, sal_Int32 nEndRow, sal_Int32 nEndCol, sal_uInt16 nId);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/AccessibleText.hxx b/sc/source/ui/inc/AccessibleText.hxx
index eea859858d0e..57a02475f0bb 100644
--- a/sc/source/ui/inc/AccessibleText.hxx
+++ b/sc/source/ui/inc/AccessibleText.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLETEXT_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLETEXT_HXX
+#pragma once
#include <textuno.hxx>
#include <address.hxx>
@@ -288,6 +287,4 @@ public:
virtual void UpdateData() override {}
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/AnalysisOfVarianceDialog.hxx b/sc/source/ui/inc/AnalysisOfVarianceDialog.hxx
index 517d0948be86..78506127a32e 100644
--- a/sc/source/ui/inc/AnalysisOfVarianceDialog.hxx
+++ b/sc/source/ui/inc/AnalysisOfVarianceDialog.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_ANALYSISOFVARIANCEDIALOG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_ANALYSISOFVARIANCEDIALOG_HXX
+#pragma once
#include <address.hxx>
#include "viewdata.hxx"
@@ -59,6 +58,4 @@ protected:
virtual ScRange ApplyOutput(ScDocShell* pDocShell) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/ChartRangeSelectionListener.hxx b/sc/source/ui/inc/ChartRangeSelectionListener.hxx
index cdba0dbb00bb..5bfb80652393 100644
--- a/sc/source/ui/inc/ChartRangeSelectionListener.hxx
+++ b/sc/source/ui/inc/ChartRangeSelectionListener.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CHARTRANGESELECTIONLISTENER_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CHARTRANGESELECTIONLISTENER_HXX
+#pragma once
#include <cppuhelper/compbase.hxx>
#include <cppuhelper/basemutex.hxx>
@@ -63,6 +62,5 @@ private:
};
// INCLUDED_SC_SOURCE_UI_INC_CHARTRANGESELECTIONLISTENER_HXX
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/ChiSquareTestDialog.hxx b/sc/source/ui/inc/ChiSquareTestDialog.hxx
index f84c4c6ae0cb..584035c8e83c 100644
--- a/sc/source/ui/inc/ChiSquareTestDialog.hxx
+++ b/sc/source/ui/inc/ChiSquareTestDialog.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CHISQUARETESTDIALOG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CHISQUARETESTDIALOG_HXX
+#pragma once
#include "StatisticsInputOutputDialog.hxx"
@@ -29,6 +28,4 @@ protected:
virtual ScRange ApplyOutput(ScDocShell* pDocShell) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/ChildWindowWrapper.hxx b/sc/source/ui/inc/ChildWindowWrapper.hxx
index f88c49f5e904..572a76c32bb4 100644
--- a/sc/source/ui/inc/ChildWindowWrapper.hxx
+++ b/sc/source/ui/inc/ChildWindowWrapper.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CHILDWINDOWWRAPPER_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CHILDWINDOWWRAPPER_HXX
+#pragma once
#include <sfx2/dispatch.hxx>
#include <sfx2/viewfrm.hxx>
@@ -78,6 +77,4 @@ private:
}
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_CHILDWINDOWWRAPPER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/CorrelationDialog.hxx b/sc/source/ui/inc/CorrelationDialog.hxx
index f2ab7ca97909..5200c3f55bfd 100644
--- a/sc/source/ui/inc/CorrelationDialog.hxx
+++ b/sc/source/ui/inc/CorrelationDialog.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CORRELATIONDIALOG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CORRELATIONDIALOG_HXX
+#pragma once
#include "MatrixComparisonGenerator.hxx"
@@ -27,6 +26,4 @@ protected:
virtual OUString getTemplate() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/CovarianceDialog.hxx b/sc/source/ui/inc/CovarianceDialog.hxx
index 7b9e0daa634c..ae30b34e086b 100644
--- a/sc/source/ui/inc/CovarianceDialog.hxx
+++ b/sc/source/ui/inc/CovarianceDialog.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_COVARIANCEDIALOG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_COVARIANCEDIALOG_HXX
+#pragma once
#include "MatrixComparisonGenerator.hxx"
@@ -28,6 +27,4 @@ protected:
virtual const char* GetUndoNameId() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/DescriptiveStatisticsDialog.hxx b/sc/source/ui/inc/DescriptiveStatisticsDialog.hxx
index 9dfc6bde979f..9edd1329021e 100644
--- a/sc/source/ui/inc/DescriptiveStatisticsDialog.hxx
+++ b/sc/source/ui/inc/DescriptiveStatisticsDialog.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_DESCRIPTIVESTATISTICSDIALOG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_DESCRIPTIVESTATISTICSDIALOG_HXX
+#pragma once
#include "StatisticsInputOutputDialog.hxx"
@@ -29,6 +28,4 @@ protected:
virtual ScRange ApplyOutput(ScDocShell* pDocShell) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/DrawModelBroadcaster.hxx b/sc/source/ui/inc/DrawModelBroadcaster.hxx
index 0d5966b864fa..34d46f89b210 100644
--- a/sc/source/ui/inc/DrawModelBroadcaster.hxx
+++ b/sc/source/ui/inc/DrawModelBroadcaster.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_DRAWMODELBROADCASTER_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_DRAWMODELBROADCASTER_HXX
+#pragma once
#include <svl/lstner.hxx>
#include <comphelper/interfacecontainer3.hxx>
@@ -52,6 +51,4 @@ public:
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/ExponentialSmoothingDialog.hxx b/sc/source/ui/inc/ExponentialSmoothingDialog.hxx
index 3473f1791221..0d425fdbc0a2 100644
--- a/sc/source/ui/inc/ExponentialSmoothingDialog.hxx
+++ b/sc/source/ui/inc/ExponentialSmoothingDialog.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_EXPONENTIALSMOOTHINGDIALOG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_EXPONENTIALSMOOTHINGDIALOG_HXX
+#pragma once
#include <address.hxx>
#include "viewdata.hxx"
@@ -35,6 +34,4 @@ protected:
virtual ScRange ApplyOutput(ScDocShell* pDocShell) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/FTestDialog.hxx b/sc/source/ui/inc/FTestDialog.hxx
index 3a74393e1ed5..f1a0467b24d0 100644
--- a/sc/source/ui/inc/FTestDialog.hxx
+++ b/sc/source/ui/inc/FTestDialog.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_FTESTDIALOG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_FTESTDIALOG_HXX
+#pragma once
#include "StatisticsTwoVariableDialog.hxx"
@@ -29,6 +28,4 @@ protected:
virtual ScRange ApplyOutput(ScDocShell* pDocShell) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/FourierAnalysisDialog.hxx b/sc/source/ui/inc/FourierAnalysisDialog.hxx
index 9c641c2eaebe..3814c6e7487d 100644
--- a/sc/source/ui/inc/FourierAnalysisDialog.hxx
+++ b/sc/source/ui/inc/FourierAnalysisDialog.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_FOURIERANALYSISDIALOG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_FOURIERANALYSISDIALOG_HXX
+#pragma once
#include "StatisticsInputOutputDialog.hxx"
@@ -54,6 +53,4 @@ private:
DECL_LINK(CheckBoxHdl, weld::ToggleButton&, void);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/IAnyRefDialog.hxx b/sc/source/ui/inc/IAnyRefDialog.hxx
index 49f0e48b8145..acc8a5bfce8c 100644
--- a/sc/source/ui/inc/IAnyRefDialog.hxx
+++ b/sc/source/ui/inc/IAnyRefDialog.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_IANYREFDIALOG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_IANYREFDIALOG_HXX
+#pragma once
#include <formula/IControlReferenceHandler.hxx>
@@ -46,6 +45,4 @@ public:
virtual void ViewShellChanged() = 0;
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_IANYREFDIALOG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/MatrixComparisonGenerator.hxx b/sc/source/ui/inc/MatrixComparisonGenerator.hxx
index d7071458650a..e68d60772035 100644
--- a/sc/source/ui/inc/MatrixComparisonGenerator.hxx
+++ b/sc/source/ui/inc/MatrixComparisonGenerator.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_MATRIXCOMPARISONGENERATOR_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_MATRIXCOMPARISONGENERATOR_HXX
+#pragma once
#include <address.hxx>
#include "viewdata.hxx"
@@ -34,6 +33,4 @@ protected:
virtual OUString getTemplate() = 0;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/MovingAverageDialog.hxx b/sc/source/ui/inc/MovingAverageDialog.hxx
index 1a7dbd1ca043..fe03e2631d08 100644
--- a/sc/source/ui/inc/MovingAverageDialog.hxx
+++ b/sc/source/ui/inc/MovingAverageDialog.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_MOVINGAVERAGEDIALOG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_MOVINGAVERAGEDIALOG_HXX
+#pragma once
#include <address.hxx>
#include "viewdata.hxx"
@@ -36,6 +35,4 @@ protected:
virtual ScRange ApplyOutput(ScDocShell* pDocShell) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/PivotLayoutDialog.hxx b/sc/source/ui/inc/PivotLayoutDialog.hxx
index 99f72727341e..fe5d0bf40a8d 100644
--- a/sc/source/ui/inc/PivotLayoutDialog.hxx
+++ b/sc/source/ui/inc/PivotLayoutDialog.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_PIVOTLAYOUTDIALOG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_PIVOTLAYOUTDIALOG_HXX
+#pragma once
#include "anyrefdg.hxx"
#include <dpobject.hxx>
@@ -139,4 +138,3 @@ public:
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
-#endif
diff --git a/sc/source/ui/inc/PivotLayoutTreeList.hxx b/sc/source/ui/inc/PivotLayoutTreeList.hxx
index 1682b929eb4c..cc12f9c8cb2b 100644
--- a/sc/source/ui/inc/PivotLayoutTreeList.hxx
+++ b/sc/source/ui/inc/PivotLayoutTreeList.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_PIVOTLAYOUTTREELIST_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_PIVOTLAYOUTTREELIST_HXX
+#pragma once
#include <memory>
#include "PivotLayoutTreeListBase.hxx"
@@ -37,5 +36,3 @@ protected:
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
-
-#endif
diff --git a/sc/source/ui/inc/PivotLayoutTreeListBase.hxx b/sc/source/ui/inc/PivotLayoutTreeListBase.hxx
index 24186c2494a5..51858de68530 100644
--- a/sc/source/ui/inc/PivotLayoutTreeListBase.hxx
+++ b/sc/source/ui/inc/PivotLayoutTreeListBase.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_PIVOTLAYOUTTREELISTBASE_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_PIVOTLAYOUTTREELISTBASE_HXX
+#pragma once
#include <vcl/transfer.hxx>
#include <vcl/weld.hxx>
@@ -69,5 +68,3 @@ public:
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
-
-#endif
diff --git a/sc/source/ui/inc/PivotLayoutTreeListData.hxx b/sc/source/ui/inc/PivotLayoutTreeListData.hxx
index bd60a765fba8..54a98365636f 100644
--- a/sc/source/ui/inc/PivotLayoutTreeListData.hxx
+++ b/sc/source/ui/inc/PivotLayoutTreeListData.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_PIVOTLAYOUTTREELISTDATA_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_PIVOTLAYOUTTREELISTDATA_HXX
+#pragma once
#include "PivotLayoutTreeListBase.hxx"
#include <vector>
@@ -38,5 +37,3 @@ private:
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
-
-#endif
diff --git a/sc/source/ui/inc/PivotLayoutTreeListLabel.hxx b/sc/source/ui/inc/PivotLayoutTreeListLabel.hxx
index 7c55bc2313b1..d551798e3b0e 100644
--- a/sc/source/ui/inc/PivotLayoutTreeListLabel.hxx
+++ b/sc/source/ui/inc/PivotLayoutTreeListLabel.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_PIVOTLAYOUTTREELISTLABEL_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_PIVOTLAYOUTTREELISTLABEL_HXX
+#pragma once
#include "PivotLayoutTreeListBase.hxx"
#include <vector>
@@ -33,5 +32,3 @@ public:
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
-
-#endif
diff --git a/sc/source/ui/inc/RandomNumberGeneratorDialog.hxx b/sc/source/ui/inc/RandomNumberGeneratorDialog.hxx
index d10662cf6281..4fb20954fd09 100644
--- a/sc/source/ui/inc/RandomNumberGeneratorDialog.hxx
+++ b/sc/source/ui/inc/RandomNumberGeneratorDialog.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_RANDOMNUMBERGENERATORDIALOG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_RANDOMNUMBERGENERATORDIALOG_HXX
+#pragma once
#include <sal/config.h>
@@ -83,6 +82,4 @@ private:
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_RANDOMNUMBERGENERATORDIALOG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/RegressionDialog.hxx b/sc/source/ui/inc/RegressionDialog.hxx
index 2d75ae95dbac..7872b2660fc0 100644
--- a/sc/source/ui/inc/RegressionDialog.hxx
+++ b/sc/source/ui/inc/RegressionDialog.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_REGRESSIONDIALOG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_REGRESSIONDIALOG_HXX
+#pragma once
#include "StatisticsTwoVariableDialog.hxx"
#include "TableFillingAndNavigationTools.hxx"
@@ -80,6 +79,4 @@ private:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/SamplingDialog.hxx b/sc/source/ui/inc/SamplingDialog.hxx
index a735336d7994..86d207aa2548 100644
--- a/sc/source/ui/inc/SamplingDialog.hxx
+++ b/sc/source/ui/inc/SamplingDialog.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_SAMPLINGDIALOG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_SAMPLINGDIALOG_HXX
+#pragma once
#include <address.hxx>
#include "anyrefdg.hxx"
@@ -89,6 +88,4 @@ private:
void ToggleSamplingMethod();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/StatisticsInputOutputDialog.hxx b/sc/source/ui/inc/StatisticsInputOutputDialog.hxx
index b3a03415eadd..6e3a082d84a4 100644
--- a/sc/source/ui/inc/StatisticsInputOutputDialog.hxx
+++ b/sc/source/ui/inc/StatisticsInputOutputDialog.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_STATISTICSINPUTOUTPUTDIALOG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_STATISTICSINPUTOUTPUTDIALOG_HXX
+#pragma once
#include <address.hxx>
#include "anyrefdg.hxx"
@@ -88,6 +87,4 @@ private:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/StatisticsTwoVariableDialog.hxx b/sc/source/ui/inc/StatisticsTwoVariableDialog.hxx
index 173a0a9c14ce..875e9a4f29d7 100644
--- a/sc/source/ui/inc/StatisticsTwoVariableDialog.hxx
+++ b/sc/source/ui/inc/StatisticsTwoVariableDialog.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_STATISTICSTWOVARIABLEDIALOG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_STATISTICSTWOVARIABLEDIALOG_HXX
+#pragma once
#include <address.hxx>
#include "anyrefdg.hxx"
@@ -89,6 +88,4 @@ private:
DECL_LINK( RefInputModifyHandler, formula::RefEdit&, void );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/TTestDialog.hxx b/sc/source/ui/inc/TTestDialog.hxx
index eb7c74b94f07..1cfa7475c2d1 100644
--- a/sc/source/ui/inc/TTestDialog.hxx
+++ b/sc/source/ui/inc/TTestDialog.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_TTESTDIALOG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_TTESTDIALOG_HXX
+#pragma once
#include "StatisticsTwoVariableDialog.hxx"
@@ -29,6 +28,4 @@ protected:
virtual ScRange ApplyOutput(ScDocShell* pDocShell) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/TableFillingAndNavigationTools.hxx b/sc/source/ui/inc/TableFillingAndNavigationTools.hxx
index a2d04400403f..1ca5c173cac2 100644
--- a/sc/source/ui/inc/TableFillingAndNavigationTools.hxx
+++ b/sc/source/ui/inc/TableFillingAndNavigationTools.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_TABLEFILLINGANDNAVIGATIONTOOLS_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_TABLEFILLINGANDNAVIGATIONTOOLS_HXX
+#pragma once
#include <address.hxx>
#include <rangelst.hxx>
@@ -158,6 +157,4 @@ public:
virtual DataCellIterator iterateCells() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/ZTestDialog.hxx b/sc/source/ui/inc/ZTestDialog.hxx
index a2ee9e0e1370..c9b62603ca48 100644
--- a/sc/source/ui/inc/ZTestDialog.hxx
+++ b/sc/source/ui/inc/ZTestDialog.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_ZTESTDIALOG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_ZTESTDIALOG_HXX
+#pragma once
#include "StatisticsTwoVariableDialog.hxx"
@@ -29,6 +28,4 @@ protected:
virtual ScRange ApplyOutput(ScDocShell* pDocShell) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/acredlin.hxx b/sc/source/ui/inc/acredlin.hxx
index 04f919ecd019..f939b92052e5 100644
--- a/sc/source/ui/inc/acredlin.hxx
+++ b/sc/source/ui/inc/acredlin.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_ACREDLIN_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_ACREDLIN_HXX
+#pragma once
#include <svx/ctredlin.hxx>
#include <sfx2/basedlgs.hxx>
@@ -161,6 +160,4 @@ public:
virtual void FillInfo(SfxChildWinInfo&) const override;
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_ACREDLIN_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/anyrefdg.hxx b/sc/source/ui/inc/anyrefdg.hxx
index 30fc15a5b542..0c0e8978a2a7 100644
--- a/sc/source/ui/inc/anyrefdg.hxx
+++ b/sc/source/ui/inc/anyrefdg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_ANYREFDG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_ANYREFDG_HXX
+#pragma once
#include <sfx2/basedlgs.hxx>
#include <address.hxx>
@@ -163,6 +162,4 @@ struct ScAnyRefDlgController : ScRefHdlrControllerImpl<SfxModelessDialogControll
}
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_ANYREFDG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/areasave.hxx b/sc/source/ui/inc/areasave.hxx
index a8cf0dbc7961..0679116dc12e 100644
--- a/sc/source/ui/inc/areasave.hxx
+++ b/sc/source/ui/inc/areasave.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_AREASAVE_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_AREASAVE_HXX
+#pragma once
#include <address.hxx>
#include <tools/solar.h>
@@ -69,6 +68,4 @@ public:
void push_back(const ScAreaLinkSaver&);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/areasdlg.hxx b/sc/source/ui/inc/areasdlg.hxx
index 33d8f89970cd..be4d778d4ec8 100644
--- a/sc/source/ui/inc/areasdlg.hxx
+++ b/sc/source/ui/inc/areasdlg.hxx
@@ -16,8 +16,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_AREASDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_AREASDLG_HXX
+#pragma once
#include <address.hxx>
@@ -86,6 +85,4 @@ private:
DECL_LINK( Impl_GetFocusHdl, weld::Widget&, void );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/asciiopt.hxx b/sc/source/ui/inc/asciiopt.hxx
index 708a5b7df4f5..7e438cb1fa98 100644
--- a/sc/source/ui/inc/asciiopt.hxx
+++ b/sc/source/ui/inc/asciiopt.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_ASCIIOPT_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_ASCIIOPT_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <i18nlangtag/lang.h>
@@ -103,6 +102,4 @@ enum ScImportAsciiCall {
SC_PASTETEXT, // with Paste > Unformatted Text
SC_TEXTTOCOLUMNS }; // with Data > Text to Columns
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/attrdlg.hxx b/sc/source/ui/inc/attrdlg.hxx
index e80d9dbb30c4..67b9aa25a68b 100644
--- a/sc/source/ui/inc/attrdlg.hxx
+++ b/sc/source/ui/inc/attrdlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_ATTRDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_ATTRDLG_HXX
+#pragma once
#include <sfx2/tabdlg.hxx>
@@ -38,6 +37,4 @@ protected:
virtual void PageCreated(const OString& rPageId, SfxTabPage& rTabPage) override;
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_ATTRDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/auditsh.hxx b/sc/source/ui/inc/auditsh.hxx
index 31a36bbdcd38..74a17cccaba0 100644
--- a/sc/source/ui/inc/auditsh.hxx
+++ b/sc/source/ui/inc/auditsh.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_AUDITSH_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_AUDITSH_HXX
+#pragma once
#include <sfx2/shell.hxx>
@@ -47,6 +46,4 @@ public:
void GetState(SfxItemSet& rSet);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/autofmt.hxx b/sc/source/ui/inc/autofmt.hxx
index 8757cef47f53..b0bc8b61bad7 100644
--- a/sc/source/ui/inc/autofmt.hxx
+++ b/sc/source/ui/inc/autofmt.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_AUTOFMT_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_AUTOFMT_HXX
+#pragma once
#include <svx/framelinkarray.hxx>
#include <scdllapi.h>
@@ -89,6 +88,4 @@ private:
vcl::Font& rFont, vcl::Font& rCJKFont, vcl::Font& rCTLFont);
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_AUTOFMT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/autostyl.hxx b/sc/source/ui/inc/autostyl.hxx
index 8040373de837..a0c0cd9eb517 100644
--- a/sc/source/ui/inc/autostyl.hxx
+++ b/sc/source/ui/inc/autostyl.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_AUTOSTYL_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_AUTOSTYL_HXX
+#pragma once
#include <address.hxx>
#include <vector>
@@ -79,6 +78,4 @@ public:
void ExecuteAllNow();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/cbnumberformat.hxx b/sc/source/ui/inc/cbnumberformat.hxx
index f558811fecf0..5f2920ab432d 100644
--- a/sc/source/ui/inc/cbnumberformat.hxx
+++ b/sc/source/ui/inc/cbnumberformat.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CBNUMBERFORMAT_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CBNUMBERFORMAT_HXX
+#pragma once
#include <vcl/InterimItemWindow.hxx>
@@ -40,6 +39,4 @@ private:
DECL_LINK(KeyInputHdl, const KeyEvent&, bool);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/cbutton.hxx b/sc/source/ui/inc/cbutton.hxx
index 9deae846fdba..5b22c1a83e78 100644
--- a/sc/source/ui/inc/cbutton.hxx
+++ b/sc/source/ui/inc/cbutton.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CBUTTON_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CBUTTON_HXX
+#pragma once
#include <tools/gen.hxx>
#include <vcl/vclptr.hxx>
@@ -54,6 +53,4 @@ private:
Size aBtnSize;
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_CBUTTON_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/cellmergeoption.hxx b/sc/source/ui/inc/cellmergeoption.hxx
index 937b9079960d..600a5e03dd8a 100644
--- a/sc/source/ui/inc/cellmergeoption.hxx
+++ b/sc/source/ui/inc/cellmergeoption.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CELLMERGEOPTION_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CELLMERGEOPTION_HXX
+#pragma once
#include <address.hxx>
@@ -32,6 +31,4 @@ struct ScCellMergeOption
ScRange getFirstSingleRange() const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/cellsh.hxx b/sc/source/ui/inc/cellsh.hxx
index 1c0592057bb3..4d2340033940 100644
--- a/sc/source/ui/inc/cellsh.hxx
+++ b/sc/source/ui/inc/cellsh.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CELLSH_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CELLSH_HXX
+#pragma once
#include <sfx2/shell.hxx>
#include <shellids.hxx>
@@ -110,6 +109,4 @@ public:
static void GetStateCursor( SfxItemSet& rSet );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/chartsh.hxx b/sc/source/ui/inc/chartsh.hxx
index e13cddf22012..bae02c725248 100644
--- a/sc/source/ui/inc/chartsh.hxx
+++ b/sc/source/ui/inc/chartsh.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CHARTSH_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CHARTSH_HXX
+#pragma once
#include <sfx2/shell.hxx>
#include <shellids.hxx>
@@ -47,6 +46,4 @@ public:
void GetExportAsGraphicState(SfxItemSet& rSet);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/checklistmenu.hxx b/sc/source/ui/inc/checklistmenu.hxx
index 6f1a7377fdbd..1bdd5b49b18d 100644
--- a/sc/source/ui/inc/checklistmenu.hxx
+++ b/sc/source/ui/inc/checklistmenu.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CHECKLISTMENU_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CHECKLISTMENU_HXX
+#pragma once
#include <vcl/dockwin.hxx>
#include <vcl/timer.hxx>
@@ -318,6 +317,4 @@ private:
std::unique_ptr<ScCheckListMenuControl, o3tl::default_delete<ScCheckListMenuControl>> mxControl;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/client.hxx b/sc/source/ui/inc/client.hxx
index 0b2bd9fe98c2..bff5079d1443 100644
--- a/sc/source/ui/inc/client.hxx
+++ b/sc/source/ui/inc/client.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CLIENT_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CLIENT_HXX
+#pragma once
#include <sfx2/ipclient.hxx>
@@ -42,6 +41,4 @@ public:
SdrOle2Obj* GetDrawObj();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/cliputil.hxx b/sc/source/ui/inc/cliputil.hxx
index be9c7f1e0d70..022b3586d241 100644
--- a/sc/source/ui/inc/cliputil.hxx
+++ b/sc/source/ui/inc/cliputil.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CLIPUTIL_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CLIPUTIL_HXX
+#pragma once
#include <types.hxx>
@@ -27,6 +26,4 @@ namespace ScClipUtil
const ScRangeList& rDest);
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/colorformat.hxx b/sc/source/ui/inc/colorformat.hxx
index bf887cc3aaec..051c48de0fa1 100644
--- a/sc/source/ui/inc/colorformat.hxx
+++ b/sc/source/ui/inc/colorformat.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_COLORFORMAT_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_COLORFORMAT_HXX
+#pragma once
#include <vcl/weld.hxx>
#include <svx/colorbox.hxx>
@@ -62,6 +61,4 @@ public:
ScDataBarFormatData* GetData();
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_COLORFORMAT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/colrowba.hxx b/sc/source/ui/inc/colrowba.hxx
index dae356f35bbb..536a78dd1d71 100644
--- a/sc/source/ui/inc/colrowba.hxx
+++ b/sc/source/ui/inc/colrowba.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_COLROWBA_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_COLROWBA_HXX
+#pragma once
#include "hdrcont.hxx"
#include "viewdata.hxx"
@@ -88,6 +87,4 @@ public:
virtual OUString GetDragHelp( tools::Long nVal ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/condformatdlg.hxx b/sc/source/ui/inc/condformatdlg.hxx
index a4997f7bfaaa..51f92750d430 100644
--- a/sc/source/ui/inc/condformatdlg.hxx
+++ b/sc/source/ui/inc/condformatdlg.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CONDFORMATDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CONDFORMATDLG_HXX
+#pragma once
#include <rangelst.hxx>
#include "condformatdlgitem.hxx"
@@ -127,6 +126,4 @@ public:
DECL_LINK( RangeGetFocusHdl, formula::RefEdit&, void );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/condformatdlgentry.hxx b/sc/source/ui/inc/condformatdlgentry.hxx
index aed63be47729..6725ef94c940 100644
--- a/sc/source/ui/inc/condformatdlgentry.hxx
+++ b/sc/source/ui/inc/condformatdlgentry.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CONDFORMATDLGENTRY_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CONDFORMATDLGENTRY_HXX
+#pragma once
#include <conditio.hxx>
#include <formula/funcutl.hxx>
@@ -329,6 +328,4 @@ public:
virtual condformat::entry::ScCondFrmtEntryType GetType() override { return condformat::entry::ICONSET; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/condformatdlgitem.hxx b/sc/source/ui/inc/condformatdlgitem.hxx
index 1d0ba356382b..b50b1d417c50 100644
--- a/sc/source/ui/inc/condformatdlgitem.hxx
+++ b/sc/source/ui/inc/condformatdlgitem.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CONDFORMATDLGITEM_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CONDFORMATDLGITEM_HXX
+#pragma once
#include <svl/poolitem.hxx>
@@ -60,6 +59,4 @@ private:
bool mbManaged;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/condformathelper.hxx b/sc/source/ui/inc/condformathelper.hxx
index 8191c9f18726..9e4a0768dbb4 100644
--- a/sc/source/ui/inc/condformathelper.hxx
+++ b/sc/source/ui/inc/condformathelper.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CONDFORMATHELPER_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CONDFORMATHELPER_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <address.hxx>
@@ -34,6 +33,4 @@ public:
std::u16string_view aStr1 = std::u16string_view(), std::u16string_view aStr2 = std::u16string_view() );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/condformatmgr.hxx b/sc/source/ui/inc/condformatmgr.hxx
index b70b0ffab851..ca9f16e8a55f 100644
--- a/sc/source/ui/inc/condformatmgr.hxx
+++ b/sc/source/ui/inc/condformatmgr.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CONDFORMATMGR_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CONDFORMATMGR_HXX
+#pragma once
#include <vcl/weld.hxx>
@@ -64,6 +63,4 @@ private:
DECL_LINK(EditBtnHdl, weld::TreeView&, bool);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/condformatuno.hxx b/sc/source/ui/inc/condformatuno.hxx
index c342e78e43ea..253aed098eab 100644
--- a/sc/source/ui/inc/condformatuno.hxx
+++ b/sc/source/ui/inc/condformatuno.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CONDFORMATUNO_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CONDFORMATUNO_HXX
+#pragma once
#include <types.hxx>
@@ -364,6 +363,4 @@ private:
const ScCondDateFormatEntry* mpFormat;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/conflictsdlg.hxx b/sc/source/ui/inc/conflictsdlg.hxx
index e8797a90b488..b22fa598c91b 100644
--- a/sc/source/ui/inc/conflictsdlg.hxx
+++ b/sc/source/ui/inc/conflictsdlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CONFLICTSDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CONFLICTSDLG_HXX
+#pragma once
#include <vcl/idle.hxx>
#include <svx/ctredlin.hxx>
@@ -148,6 +147,4 @@ public:
void UpdateView();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/consdlg.hxx b/sc/source/ui/inc/consdlg.hxx
index 6abcfc85599e..140472cbbaf4 100644
--- a/sc/source/ui/inc/consdlg.hxx
+++ b/sc/source/ui/inc/consdlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CONSDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CONSDLG_HXX
+#pragma once
#include <global.hxx>
#include "anyrefdg.hxx"
@@ -97,6 +96,4 @@ private:
static sal_Int32 FuncToLbPos( ScSubTotalFunc eFunc );
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_CONSDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/content.hxx b/sc/source/ui/inc/content.hxx
index c14856a89e5f..85da3f44e4f3 100644
--- a/sc/source/ui/inc/content.hxx
+++ b/sc/source/ui/inc/content.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CONTENT_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CONTENT_HXX
+#pragma once
#include <vcl/weld.hxx>
#include <address.hxx>
@@ -158,6 +157,4 @@ public:
void StoreNavigatorSettings();
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_CONTENT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/corodlg.hxx b/sc/source/ui/inc/corodlg.hxx
index 0c8280e3d34e..68e5fd0f1fd7 100644
--- a/sc/source/ui/inc/corodlg.hxx
+++ b/sc/source/ui/inc/corodlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CORODLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CORODLG_HXX
+#pragma once
#include <vcl/weld.hxx>
@@ -43,6 +42,4 @@ private:
std::unique_ptr<weld::CheckButton> m_xBtnCol;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/crdlg.hxx b/sc/source/ui/inc/crdlg.hxx
index 3aab042061e0..56e16c5c896e 100644
--- a/sc/source/ui/inc/crdlg.hxx
+++ b/sc/source/ui/inc/crdlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CRDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CRDLG_HXX
+#pragma once
#include <vcl/weld.hxx>
@@ -37,6 +36,4 @@ private:
DECL_LINK(OkHdl, weld::Button&, void);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/crnrdlg.hxx b/sc/source/ui/inc/crnrdlg.hxx
index e54decd7cf41..eaf0d1eb4598 100644
--- a/sc/source/ui/inc/crnrdlg.hxx
+++ b/sc/source/ui/inc/crnrdlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CRNRDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CRNRDLG_HXX
+#pragma once
#include "anyrefdg.hxx"
#include <rangelst.hxx>
@@ -93,6 +92,4 @@ private:
DECL_LINK( LoseButtonFocusHdl, formula::RefButton&, void );
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_CRNRDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/csvcontrol.hxx b/sc/source/ui/inc/csvcontrol.hxx
index 65a316372f02..8da12e378511 100644
--- a/sc/source/ui/inc/csvcontrol.hxx
+++ b/sc/source/ui/inc/csvcontrol.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CSVCONTROL_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CSVCONTROL_HXX
+#pragma once
#include <scdllapi.h>
#include <address.hxx>
@@ -371,6 +370,4 @@ public:
static ScMoveMode GetVertDirection( sal_uInt16 nCode, bool bHomeEnd );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/csvgrid.hxx b/sc/source/ui/inc/csvgrid.hxx
index 84a0b6cb8f73..fe5e76092093 100644
--- a/sc/source/ui/inc/csvgrid.hxx
+++ b/sc/source/ui/inc/csvgrid.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CSVGRID_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CSVGRID_HXX
+#pragma once
#include <vcl/virdev.hxx>
#include <unotools/options.hxx>
@@ -314,6 +313,4 @@ protected:
virtual css::uno::Reference<css::accessibility::XAccessible> CreateAccessible() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/csvruler.hxx b/sc/source/ui/inc/csvruler.hxx
index 6d64b3174290..5173f0d20002 100644
--- a/sc/source/ui/inc/csvruler.hxx
+++ b/sc/source/ui/inc/csvruler.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CSVRULER_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CSVRULER_HXX
+#pragma once
#include "csvcontrol.hxx"
#include "csvsplits.hxx"
@@ -179,6 +178,4 @@ protected:
virtual css::uno::Reference<css::accessibility::XAccessible> CreateAccessible() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/csvsplits.hxx b/sc/source/ui/inc/csvsplits.hxx
index 4b67f960714f..d10e72cc7941 100644
--- a/sc/source/ui/inc/csvsplits.hxx
+++ b/sc/source/ui/inc/csvsplits.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CSVSPLITS_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CSVSPLITS_HXX
+#pragma once
#include <sal/types.h>
@@ -79,6 +78,4 @@ private:
sal_uInt32 GetIterIndex( const_iterator const & aIter ) const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/csvtablebox.hxx b/sc/source/ui/inc/csvtablebox.hxx
index 28c0f362c7b2..e2392a478f4c 100644
--- a/sc/source/ui/inc/csvtablebox.hxx
+++ b/sc/source/ui/inc/csvtablebox.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_CSVTABLEBOX_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_CSVTABLEBOX_HXX
+#pragma once
#include <vcl/idle.hxx>
#include <vcl/weld.hxx>
@@ -130,6 +129,4 @@ private:
DECL_DLLPRIVATE_LINK( ScrollEndHdl, Timer*, void );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/dapidata.hxx b/sc/source/ui/inc/dapidata.hxx
index fbe7cfdc1cf5..ebad1d2e6502 100644
--- a/sc/source/ui/inc/dapidata.hxx
+++ b/sc/source/ui/inc/dapidata.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_DAPIDATA_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_DAPIDATA_HXX
+#pragma once
#include <vcl/weld.hxx>
@@ -42,6 +41,4 @@ public:
void GetValues(ScImportSourceDesc& rDesc);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/dapitype.hxx b/sc/source/ui/inc/dapitype.hxx
index 8e65db5bae60..bd807a5e01a5 100644
--- a/sc/source/ui/inc/dapitype.hxx
+++ b/sc/source/ui/inc/dapitype.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_DAPITYPE_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_DAPITYPE_HXX
+#pragma once
#include <vcl/weld.hxx>
@@ -67,6 +66,4 @@ public:
OUString GetParPass() const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/datafdlg.hxx b/sc/source/ui/inc/datafdlg.hxx
index c7bd3d0b7610..4a05cbf1a1fc 100644
--- a/sc/source/ui/inc/datafdlg.hxx
+++ b/sc/source/ui/inc/datafdlg.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_DATAFDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_DATAFDLG_HXX
+#pragma once
#include <vcl/weld.hxx>
#include <types.hxx>
@@ -67,6 +66,5 @@ private:
DECL_LINK(Impl_ScrollHdl, weld::ScrolledWindow&, void);
DECL_LINK(Impl_DataModifyHdl, weld::Entry&, void);
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_DATAFDLG_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/dataprovider.hxx b/sc/source/ui/inc/dataprovider.hxx
index a1cd99ecf3bd..87022fc34a7e 100644
--- a/sc/source/ui/inc/dataprovider.hxx
+++ b/sc/source/ui/inc/dataprovider.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_DATAPROVIDER_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_DATAPROVIDER_HXX
+#pragma once
#include <memory>
#include <salhelper/thread.hxx>
@@ -146,5 +145,4 @@ public:
}
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/dataproviderdlg.hxx b/sc/source/ui/inc/dataproviderdlg.hxx
index d6fd8d73fc60..d056fa386006 100644
--- a/sc/source/ui/inc/dataproviderdlg.hxx
+++ b/sc/source/ui/inc/dataproviderdlg.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_DATAPROVIDERDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_DATAPROVIDERDLG_HXX
+#pragma once
#include <sal/config.h>
@@ -73,6 +72,4 @@ public:
void import(ScDocument& rDoc, bool bInternal = false);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/datastream.hxx b/sc/source/ui/inc/datastream.hxx
index 653eb9edc018..790b85a6d743 100644
--- a/sc/source/ui/inc/datastream.hxx
+++ b/sc/source/ui/inc/datastream.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_DATASTREAM_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_DATASTREAM_HXX
+#pragma once
#include <sal/config.h>
@@ -125,6 +124,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/datastreamdlg.hxx b/sc/source/ui/inc/datastreamdlg.hxx
index 22d5b19f7305..b2e5a6fbb299 100644
--- a/sc/source/ui/inc/datastreamdlg.hxx
+++ b/sc/source/ui/inc/datastreamdlg.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_DATASTREAMDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_DATASTREAMDLG_HXX
+#pragma once
#include <sal/config.h>
@@ -60,6 +59,4 @@ public:
};
}
-#endif // INCLUDED_SC_SOURCE_UI_INC_DATASTREAMDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/datatableview.hxx b/sc/source/ui/inc/datatableview.hxx
index 57bcde623b82..ec7108f6995f 100644
--- a/sc/source/ui/inc/datatableview.hxx
+++ b/sc/source/ui/inc/datatableview.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_DATATABLEVIEW_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_DATATABLEVIEW_HXX
+#pragma once
#include <com/sun/star/awt/XWindow.hpp>
#include <vcl/ctrl.hxx>
@@ -111,6 +110,4 @@ public:
void getRowRange(SCROW& rStartRow, SCROW& rEndRow) const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/datatransformation.hxx b/sc/source/ui/inc/datatransformation.hxx
index 55055821ab54..d5b19912e328 100644
--- a/sc/source/ui/inc/datatransformation.hxx
+++ b/sc/source/ui/inc/datatransformation.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_DATAPROVIDER_DATATRANSFORMATION_HXX
-#define INCLUDED_SC_SOURCE_UI_DATAPROVIDER_DATATRANSFORMATION_HXX
+#pragma once
#include <types.hxx>
#include <scdllapi.h>
@@ -184,6 +183,4 @@ class SC_DLLPUBLIC DateTimeTransformation : public DataTransformation
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/dbdocfun.hxx b/sc/source/ui/inc/dbdocfun.hxx
index 827c7c85ccab..a3ef18cd0cf0 100644
--- a/sc/source/ui/inc/dbdocfun.hxx
+++ b/sc/source/ui/inc/dbdocfun.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_DBDOCFUN_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_DBDOCFUN_HXX
+#pragma once
#include <address.hxx>
#include <vector>
@@ -99,6 +98,4 @@ public:
void RefreshPivotTableGroups(ScDPObject* pDPObj);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/dbfunc.hxx b/sc/source/ui/inc/dbfunc.hxx
index f7cd3d126653..e953f4aefccb 100644
--- a/sc/source/ui/inc/dbfunc.hxx
+++ b/sc/source/ui/inc/dbfunc.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_DBFUNC_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_DBFUNC_HXX
+#pragma once
#include "viewfunc.hxx"
#include <dptypes.hxx>
@@ -116,6 +115,4 @@ public:
void OnLOKShowHideColRow(bool bColumns, SCCOLROW nStartRow);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/dbnamdlg.hxx b/sc/source/ui/inc/dbnamdlg.hxx
index fa7cc13dad4f..01dc0aab66a9 100644
--- a/sc/source/ui/inc/dbnamdlg.hxx
+++ b/sc/source/ui/inc/dbnamdlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_DBNAMDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_DBNAMDLG_HXX
+#pragma once
#include <vector>
#include "anyrefdg.hxx"
@@ -98,6 +97,4 @@ private:
DECL_LINK( AssModifyHdl, formula::RefEdit&, void );
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_DBNAMDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/delcldlg.hxx b/sc/source/ui/inc/delcldlg.hxx
index 3a140bfe6dca..4537b3df27d1 100644
--- a/sc/source/ui/inc/delcldlg.hxx
+++ b/sc/source/ui/inc/delcldlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_DELCLDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_DELCLDLG_HXX
+#pragma once
#include <vcl/weld.hxx>
@@ -39,6 +38,4 @@ public:
DelCellCmd GetDelCellCmd() const;
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_DELCLDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/delcodlg.hxx b/sc/source/ui/inc/delcodlg.hxx
index b7edc42d5ab1..984f957852bd 100644
--- a/sc/source/ui/inc/delcodlg.hxx
+++ b/sc/source/ui/inc/delcodlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_DELCODLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_DELCODLG_HXX
+#pragma once
#include <vcl/weld.hxx>
#include <global.hxx>
@@ -52,6 +51,4 @@ public:
InsertDeleteFlags GetDelContentsCmdBits() const;
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_DELCODLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/docfunc.hxx b/sc/source/ui/inc/docfunc.hxx
index 96475d4b30d3..43839eb94d21 100644
--- a/sc/source/ui/inc/docfunc.hxx
+++ b/sc/source/ui/inc/docfunc.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_DOCFUNC_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_DOCFUNC_HXX
+#pragma once
#include <tools/solar.h>
#include <global.hxx>
@@ -246,6 +245,4 @@ public:
void VBA_DeleteModule( ScDocShell& rDocSh, const OUString& sModuleName );
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/docfuncutil.hxx b/sc/source/ui/inc/docfuncutil.hxx
index 8d3cec00173b..c0b439d3e9be 100644
--- a/sc/source/ui/inc/docfuncutil.hxx
+++ b/sc/source/ui/inc/docfuncutil.hxx
@@ -5,8 +5,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_DOCFUNCUTIL_HXX
-#define INCLUDED_SC_DOCFUNCUTIL_HXX
+#pragma once
#include "undobase.hxx"
@@ -40,6 +39,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx
index 6682979adc7d..3a6366699b52 100644
--- a/sc/source/ui/inc/docsh.hxx
+++ b/sc/source/ui/inc/docsh.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_DOCSH_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_DOCSH_HXX
+#pragma once
#include <sfx2/objsh.hxx>
#include <sfx2/docfac.hxx>
@@ -497,6 +496,4 @@ namespace HelperNotifyChanges
void VBA_InsertModule( ScDocument& rDoc, SCTAB nTab, const OUString& sModuleSource );
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/dpcontrol.hxx b/sc/source/ui/inc/dpcontrol.hxx
index 1b8c380e81fc..2d656006e8d2 100644
--- a/sc/source/ui/inc/dpcontrol.hxx
+++ b/sc/source/ui/inc/dpcontrol.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_DPCONTROL_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_DPCONTROL_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <tools/gen.hxx>
@@ -69,6 +68,4 @@ private:
bool mbPopupLeft;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/dpgroupdlg.hxx b/sc/source/ui/inc/dpgroupdlg.hxx
index 7c7ca994f2cd..79bbe7dccbd3 100644
--- a/sc/source/ui/inc/dpgroupdlg.hxx
+++ b/sc/source/ui/inc/dpgroupdlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_DPGROUPDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_DPGROUPDLG_HXX
+#pragma once
#include <vcl/weld.hxx>
#include <dpnumgroupinfo.hxx>
@@ -136,6 +135,4 @@ private:
ScDPDateGroupEditHelper maEndHelper;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/drawsh.hxx b/sc/source/ui/inc/drawsh.hxx
index a85e7ef07dc5..d00752a54c2c 100644
--- a/sc/source/ui/inc/drawsh.hxx
+++ b/sc/source/ui/inc/drawsh.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_DRAWSH_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_DRAWSH_HXX
+#pragma once
#include <sfx2/shell.hxx>
#include <shellids.hxx>
@@ -94,6 +93,4 @@ public:
OUString const & GetSidebarContextName();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/drawutil.hxx b/sc/source/ui/inc/drawutil.hxx
index cc921e07aa8f..7a241c4f9201 100644
--- a/sc/source/ui/inc/drawutil.hxx
+++ b/sc/source/ui/inc/drawutil.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_DRAWUTIL_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_DRAWUTIL_HXX
+#pragma once
#include <types.hxx>
@@ -36,6 +35,4 @@ public:
Fraction& rScaleX, Fraction& rScaleY );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/drawview.hxx b/sc/source/ui/inc/drawview.hxx
index db52b1914122..7e0db5eb0a0d 100644
--- a/sc/source/ui/inc/drawview.hxx
+++ b/sc/source/ui/inc/drawview.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_DRAWVIEW_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_DRAWVIEW_HXX
+#pragma once
#include <svx/fmview.hxx>
@@ -177,6 +176,4 @@ public:
extern Point aDragStartDiff;
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/drformsh.hxx b/sc/source/ui/inc/drformsh.hxx
index 0d20d4dbd939..8f2a22cb3dd9 100644
--- a/sc/source/ui/inc/drformsh.hxx
+++ b/sc/source/ui/inc/drformsh.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_DRFORMSH_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_DRFORMSH_HXX
+#pragma once
#include <sfx2/shell.hxx>
#include <shellids.hxx>
@@ -42,6 +41,4 @@ public:
virtual ~ScDrawFormShell() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/drtxtob.hxx b/sc/source/ui/inc/drtxtob.hxx
index a5b25e12e692..4690c4625862 100644
--- a/sc/source/ui/inc/drtxtob.hxx
+++ b/sc/source/ui/inc/drtxtob.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_DRTXTOB_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_DRTXTOB_HXX
+#pragma once
#include <sfx2/shell.hxx>
#include <tools/link.hxx>
@@ -78,6 +77,4 @@ private:
bool IsNoteEdit() const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/drwtrans.hxx b/sc/source/ui/inc/drwtrans.hxx
index 8854b62546bc..99fdcf0d40a7 100644
--- a/sc/source/ui/inc/drwtrans.hxx
+++ b/sc/source/ui/inc/drwtrans.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_DRWTRANS_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_DRWTRANS_HXX
+#pragma once
#include <com/sun/star/uno/Reference.hxx>
#include <vcl/transfer.hxx>
@@ -97,6 +96,4 @@ public:
const ScRangeListVector& GetProtectedChartRangesVector() const { return m_aProtectedChartRangesVector; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/dwfunctr.hxx b/sc/source/ui/inc/dwfunctr.hxx
index 742d15c30a5d..eda067e0b93a 100644
--- a/sc/source/ui/inc/dwfunctr.hxx
+++ b/sc/source/ui/inc/dwfunctr.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_DWFUNCTR_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_DWFUNCTR_HXX
+#pragma once
#include <comphelper/configurationlistener.hxx>
#include <sfx2/sidebar/PanelLayout.hxx>
@@ -74,6 +73,4 @@ public:
void UpdateFunctionList();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/editable.hxx b/sc/source/ui/inc/editable.hxx
index ea499a7bd27d..e03a1235743a 100644
--- a/sc/source/ui/inc/editable.hxx
+++ b/sc/source/ui/inc/editable.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_EDITABLE_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_EDITABLE_HXX
+#pragma once
#include <address.hxx>
@@ -86,6 +85,4 @@ public:
const char* GetMessageId() const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/editfield.hxx b/sc/source/ui/inc/editfield.hxx
index ca5bab36f814..103919d1b54f 100644
--- a/sc/source/ui/inc/editfield.hxx
+++ b/sc/source/ui/inc/editfield.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_EDITFIELD_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_EDITFIELD_HXX
+#pragma once
#include <vcl/weld.hxx>
@@ -41,6 +40,4 @@ public:
void set_sensitive(bool bSensitive) { m_xEntry->set_sensitive(bSensitive); }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/editsh.hxx b/sc/source/ui/inc/editsh.hxx
index 0a52dc3c02e9..fe56777fbb84 100644
--- a/sc/source/ui/inc/editsh.hxx
+++ b/sc/source/ui/inc/editsh.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_EDITSH_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_EDITSH_HXX
+#pragma once
#include <sfx2/shell.hxx>
#include <tools/link.hxx>
@@ -76,6 +75,4 @@ public:
OUString GetSelectionText( bool bWholeWord );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/filldlg.hxx b/sc/source/ui/inc/filldlg.hxx
index 6c7688920181..d794ec5b7d53 100644
--- a/sc/source/ui/inc/filldlg.hxx
+++ b/sc/source/ui/inc/filldlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_FILLDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_FILLDLG_HXX
+#pragma once
#include <vcl/weld.hxx>
#include <global.hxx>
@@ -99,6 +98,4 @@ private:
DECL_LINK(DisableHdl, weld::ToggleButton&, void);
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_FILLDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/filtdlg.hxx b/sc/source/ui/inc/filtdlg.hxx
index 58853188a5fa..9e157b9190d7 100644
--- a/sc/source/ui/inc/filtdlg.hxx
+++ b/sc/source/ui/inc/filtdlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_FILTDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_FILTDLG_HXX
+#pragma once
#include <address.hxx>
#include "anyrefdg.hxx"
@@ -234,6 +233,4 @@ private:
void RefInputHdl();
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_FILTDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/foptmgr.hxx b/sc/source/ui/inc/foptmgr.hxx
index 319ce2421618..c21c766630d6 100644
--- a/sc/source/ui/inc/foptmgr.hxx
+++ b/sc/source/ui/inc/foptmgr.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_FOPTMGR_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_FOPTMGR_HXX
+#pragma once
#include <vcl/weld.hxx>
@@ -82,6 +81,4 @@ private:
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_FOPTMGR_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/formatsh.hxx b/sc/source/ui/inc/formatsh.hxx
index ced5663ee341..193c98e04b4e 100644
--- a/sc/source/ui/inc/formatsh.hxx
+++ b/sc/source/ui/inc/formatsh.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_FORMATSH_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_FORMATSH_HXX
+#pragma once
#include <sfx2/shell.hxx>
#include <shellids.hxx>
@@ -73,6 +72,4 @@ private:
SvNumFormatType GetCurrentNumberFormatType();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/formdata.hxx b/sc/source/ui/inc/formdata.hxx
index f7d7dca2ed0c..a2cecbffafe9 100644
--- a/sc/source/ui/inc/formdata.hxx
+++ b/sc/source/ui/inc/formdata.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_FORMDATA_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_FORMDATA_HXX
+#pragma once
#include <formula/formdata.hxx>
class ScInputHandler;
@@ -46,6 +45,4 @@ private:
ScDocShell* pScDocShell;
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_FORMDATA_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/formula.hxx b/sc/source/ui/inc/formula.hxx
index 31ea0b41b064..02ee866c1bc9 100644
--- a/sc/source/ui/inc/formula.hxx
+++ b/sc/source/ui/inc/formula.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_FORMULA_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_FORMULA_HXX
+#pragma once
#include <memory>
#include "anyrefdg.hxx"
@@ -102,6 +101,4 @@ private:
static ScInputHandler* GetNextInputHandler(const ScDocShell* pDocShell, ScTabViewShell** ppViewSh);
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_FORMULA_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/fuconarc.hxx b/sc/source/ui/inc/fuconarc.hxx
index c538e8f7723a..d1fb31aada2e 100644
--- a/sc/source/ui/inc/fuconarc.hxx
+++ b/sc/source/ui/inc/fuconarc.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_FUCONARC_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_FUCONARC_HXX
+#pragma once
#include "fuconstr.hxx"
@@ -41,6 +40,4 @@ public:
virtual SdrObjectUniquePtr CreateDefaultObject(const sal_uInt16 nID, const tools::Rectangle& rRectangle) override;
};
-#endif // _SD_FUCONARC_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/fuconcustomshape.hxx b/sc/source/ui/inc/fuconcustomshape.hxx
index e39416befff6..89f22d17a5bb 100644
--- a/sc/source/ui/inc/fuconcustomshape.hxx
+++ b/sc/source/ui/inc/fuconcustomshape.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_FUCONCUSTOMSHAPE_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_FUCONCUSTOMSHAPE_HXX
+#pragma once
#include "fuconstr.hxx"
@@ -47,6 +46,4 @@ public:
virtual bool doConstructOrthogonal() const override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/fuconpol.hxx b/sc/source/ui/inc/fuconpol.hxx
index ca1fd58637fd..e09225136649 100644
--- a/sc/source/ui/inc/fuconpol.hxx
+++ b/sc/source/ui/inc/fuconpol.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_FUCONPOL_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_FUCONPOL_HXX
+#pragma once
#include "fuconstr.hxx"
@@ -42,6 +41,4 @@ public:
virtual SdrObjectUniquePtr CreateDefaultObject(const sal_uInt16 nID, const tools::Rectangle& rRectangle) override;
};
-#endif // _FUCONPOL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/fuconrec.hxx b/sc/source/ui/inc/fuconrec.hxx
index 2d7340a7a4f3..1f3fbb8ee770 100644
--- a/sc/source/ui/inc/fuconrec.hxx
+++ b/sc/source/ui/inc/fuconrec.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_FUCONREC_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_FUCONREC_HXX
+#pragma once
#include "fuconstr.hxx"
@@ -42,6 +41,4 @@ public:
virtual SdrObjectUniquePtr CreateDefaultObject(const sal_uInt16 nID, const tools::Rectangle& rRectangle) override;
};
-#endif // _SD_FUCONREC_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/fuconstr.hxx b/sc/source/ui/inc/fuconstr.hxx
index f5e366b29de7..a9076ee3ead8 100644
--- a/sc/source/ui/inc/fuconstr.hxx
+++ b/sc/source/ui/inc/fuconstr.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_FUCONSTR_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_FUCONSTR_HXX
+#pragma once
#include "fudraw.hxx"
@@ -41,6 +40,4 @@ public:
bool SimpleMouseButtonUp(const MouseEvent& rMEvt);
};
-#endif // _SD_FUCONSTR_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/fuconuno.hxx b/sc/source/ui/inc/fuconuno.hxx
index 01d9668de211..1c58d5db3f12 100644
--- a/sc/source/ui/inc/fuconuno.hxx
+++ b/sc/source/ui/inc/fuconuno.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_FUCONUNO_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_FUCONUNO_HXX
+#pragma once
#include "fuconstr.hxx"
@@ -48,6 +47,4 @@ public:
virtual SdrObjectUniquePtr CreateDefaultObject(const sal_uInt16 nID, const tools::Rectangle& rRectangle) override;
};
-#endif // _SD_FUCONCTL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/fudraw.hxx b/sc/source/ui/inc/fudraw.hxx
index 4cc8952af469..0fdd6f9e88f1 100644
--- a/sc/source/ui/inc/fudraw.hxx
+++ b/sc/source/ui/inc/fudraw.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_FUDRAW_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_FUDRAW_HXX
+#pragma once
#include "fupoor.hxx"
@@ -52,6 +51,4 @@ private:
void ResetModifiers();
};
-#endif // _SD_FUDRAW_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/fuinsert.hxx b/sc/source/ui/inc/fuinsert.hxx
index 45aeb11bab10..3018d66fecd1 100644
--- a/sc/source/ui/inc/fuinsert.hxx
+++ b/sc/source/ui/inc/fuinsert.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_FUINSERT_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_FUINSERT_HXX
+#pragma once
#include "fupoor.hxx"
#include <scdllapi.h>
@@ -57,6 +56,4 @@ public:
void SC_DLLPUBLIC ScLimitSizeOnDrawPage( Size& rSize, Point& rPos, const Size& rPage );
-#endif // _SD_FUINSERT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/fupoor.hxx b/sc/source/ui/inc/fupoor.hxx
index d95b4f0d40cf..978a2ca095ed 100644
--- a/sc/source/ui/inc/fupoor.hxx
+++ b/sc/source/ui/inc/fupoor.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_FUPOOR_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_FUPOOR_HXX
+#pragma once
#include <vcl/timer.hxx>
#include <sfx2/request.hxx>
@@ -105,6 +104,4 @@ public:
virtual bool doConstructOrthogonal() const;
};
-#endif // _SD_FUPOOR_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/fusel.hxx b/sc/source/ui/inc/fusel.hxx
index 70648c7076f8..2326e5ad7d99 100644
--- a/sc/source/ui/inc/fusel.hxx
+++ b/sc/source/ui/inc/fusel.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_FUSEL_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_FUSEL_HXX
+#pragma once
#include "fudraw.hxx"
@@ -46,6 +45,4 @@ private:
bool IsNoteCaptionClicked( const Point& rPos ) const;
};
-#endif // _SD_FUSEL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/futext.hxx b/sc/source/ui/inc/futext.hxx
index d6bbdb8f6221..c53a5b38892d 100644
--- a/sc/source/ui/inc/futext.hxx
+++ b/sc/source/ui/inc/futext.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_FUTEXT_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_FUTEXT_HXX
+#pragma once
#include "fuconstr.hxx"
@@ -54,6 +53,4 @@ private:
std::unique_ptr<SdrOutliner> MakeOutliner();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/graphsh.hxx b/sc/source/ui/inc/graphsh.hxx
index 23c7122c9369..0c2b301c8ea5 100644
--- a/sc/source/ui/inc/graphsh.hxx
+++ b/sc/source/ui/inc/graphsh.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_GRAPHSH_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_GRAPHSH_HXX
+#pragma once
#include <memory>
#include <vector>
@@ -68,6 +67,4 @@ public:
void GetChangePictureState(SfxItemSet &rSet);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/gridmerg.hxx b/sc/source/ui/inc/gridmerg.hxx
index a05c1bd8a8e8..62e9fdcbee01 100644
--- a/sc/source/ui/inc/gridmerg.hxx
+++ b/sc/source/ui/inc/gridmerg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_GRIDMERG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_GRIDMERG_HXX
+#pragma once
#include <tools/long.hxx>
#include <vcl/vclptr.hxx>
@@ -50,6 +49,4 @@ public:
void Flush();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/gridwin.hxx b/sc/source/ui/inc/gridwin.hxx
index 9ce8a8365bf0..950d574a1ec7 100644
--- a/sc/source/ui/inc/gridwin.hxx
+++ b/sc/source/ui/inc/gridwin.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_GRIDWIN_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_GRIDWIN_HXX
+#pragma once
#include <vcl/transfer.hxx>
#include "viewutil.hxx"
@@ -495,6 +494,4 @@ private:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/groupdlg.hxx b/sc/source/ui/inc/groupdlg.hxx
index 6f654d193594..26c3129b3d8d 100644
--- a/sc/source/ui/inc/groupdlg.hxx
+++ b/sc/source/ui/inc/groupdlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_GROUPDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_GROUPDLG_HXX
+#pragma once
#include <vcl/weld.hxx>
@@ -34,6 +33,4 @@ private:
std::unique_ptr<weld::RadioButton> m_xBtnCols;
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_GROUPDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/hdrcont.hxx b/sc/source/ui/inc/hdrcont.hxx
index e30f6e0a3ea5..10a795e2c2c9 100644
--- a/sc/source/ui/inc/hdrcont.hxx
+++ b/sc/source/ui/inc/hdrcont.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_HDRCONT_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_HDRCONT_HXX
+#pragma once
#include <vcl/window.hxx>
#include <vcl/timer.hxx>
@@ -131,6 +130,4 @@ public:
void GetMarkRange(SCCOLROW& rStart, SCCOLROW& rEnd) const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/hfedtdlg.hxx b/sc/source/ui/inc/hfedtdlg.hxx
index 89afed846746..dba0cf346126 100644
--- a/sc/source/ui/inc/hfedtdlg.hxx
+++ b/sc/source/ui/inc/hfedtdlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_HFEDTDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_HFEDTDLG_HXX
+#pragma once
#include <sal/config.h>
@@ -108,6 +107,4 @@ public:
const SfxItemSet& rCoreSet, std::u16string_view rPageStyle);
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_HFEDTDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/highred.hxx b/sc/source/ui/inc/highred.hxx
index 1655c8fa9522..563f8f81d2b3 100644
--- a/sc/source/ui/inc/highred.hxx
+++ b/sc/source/ui/inc/highred.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_HIGHRED_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_HIGHRED_HXX
+#pragma once
#include "anyrefdg.hxx"
@@ -71,6 +70,4 @@ public:
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_HIGHRED_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/hiranges.hxx b/sc/source/ui/inc/hiranges.hxx
index fe50a37f84ed..9689e3593ec8 100644
--- a/sc/source/ui/inc/hiranges.hxx
+++ b/sc/source/ui/inc/hiranges.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_HIRANGES_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_HIRANGES_HXX
+#pragma once
#include <tools/color.hxx>
#include <address.hxx>
@@ -32,6 +31,4 @@ struct ScHighlightEntry
aRef(rR), aColor(rC) {}
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/imoptdlg.hxx b/sc/source/ui/inc/imoptdlg.hxx
index bac941c2a377..c162da6d7740 100644
--- a/sc/source/ui/inc/imoptdlg.hxx
+++ b/sc/source/ui/inc/imoptdlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_IMOPTDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_IMOPTDLG_HXX
+#pragma once
#include <rtl/textenc.h>
#include <rtl/ustring.hxx>
@@ -53,6 +52,4 @@ public:
bool bRemoveSpace;
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_IMOPTDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/impex.hxx b/sc/source/ui/inc/impex.hxx
index 3918ba86afb6..b334755ca011 100644
--- a/sc/source/ui/inc/impex.hxx
+++ b/sc/source/ui/inc/impex.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_IMPEX_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_IMPEX_HXX
+#pragma once
#include <o3tl/deleter.hxx>
#include <sot/formats.hxx>
@@ -225,6 +224,4 @@ public:
SC_DLLPUBLIC OUString ReadCsvLine( SvStream &rStream, bool bEmbeddedLineBreak,
OUString& rFieldSeparators, sal_Unicode cFieldQuote, sal_Unicode& rcDetectSep );
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/inputhdl.hxx b/sc/source/ui/inc/inputhdl.hxx
index ddd3f4f49e8b..aabac21240a0 100644
--- a/sc/source/ui/inc/inputhdl.hxx
+++ b/sc/source/ui/inc/inputhdl.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_INPUTHDL_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_INPUTHDL_HXX
+#pragma once
#include <global.hxx>
#include <address.hxx>
@@ -327,6 +326,4 @@ private:
std::unique_ptr<EditTextObject> pEditData;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/inputwin.hxx b/sc/source/ui/inc/inputwin.hxx
index 382c31b0efb0..aadad8bbf71f 100644
--- a/sc/source/ui/inc/inputwin.hxx
+++ b/sc/source/ui/inc/inputwin.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_INPUTWIN_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_INPUTWIN_HXX
+#pragma once
#include <vector>
#include <memory>
@@ -359,6 +358,4 @@ public:
SFX_DECL_CHILDWINDOW_WITHID(ScInputWindowWrapper);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/inscldlg.hxx b/sc/source/ui/inc/inscldlg.hxx
index 84f978f7cb9a..b44bfb60baa9 100644
--- a/sc/source/ui/inc/inscldlg.hxx
+++ b/sc/source/ui/inc/inscldlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_INSCLDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_INSCLDLG_HXX
+#pragma once
#include <vcl/weld.hxx>
@@ -39,6 +38,4 @@ public:
InsCellCmd GetInsCellCmd() const;
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_INSCLDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/inscodlg.hxx b/sc/source/ui/inc/inscodlg.hxx
index 7cb2ce637f34..7c7992c99c73 100644
--- a/sc/source/ui/inc/inscodlg.hxx
+++ b/sc/source/ui/inc/inscodlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_INSCODLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_INSCODLG_HXX
+#pragma once
#include <vcl/weld.hxx>
#include <global.hxx>
@@ -101,6 +100,4 @@ private:
DECL_LINK( ShortCutHdl, weld::Button&, void );
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_INSCODLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/instbdlg.hxx b/sc/source/ui/inc/instbdlg.hxx
index bb57c66c1d1c..3bc578717296 100644
--- a/sc/source/ui/inc/instbdlg.hxx
+++ b/sc/source/ui/inc/instbdlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_INSTBDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_INSTBDLG_HXX
+#pragma once
#include <sfx2/objsh.hxx>
#include <vcl/timer.hxx>
@@ -92,6 +91,4 @@ private:
DECL_LINK( DialogClosedHdl, sfx2::FileDialogHelper*, void );
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_INSTBDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/invmerge.hxx b/sc/source/ui/inc/invmerge.hxx
index 695261434ec5..54dd8c160e28 100644
--- a/sc/source/ui/inc/invmerge.hxx
+++ b/sc/source/ui/inc/invmerge.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_INVMERGE_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_INVMERGE_HXX
+#pragma once
#include <tools/gen.hxx>
@@ -42,6 +41,4 @@ public:
void Flush();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/lbseldlg.hxx b/sc/source/ui/inc/lbseldlg.hxx
index 84699d555760..cf313c06bd71 100644
--- a/sc/source/ui/inc/lbseldlg.hxx
+++ b/sc/source/ui/inc/lbseldlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_LBSELDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_LBSELDLG_HXX
+#pragma once
#include <vcl/weld.hxx>
@@ -36,6 +35,4 @@ public:
OUString GetSelectedEntry() const;
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_LBSELDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/linkarea.hxx b/sc/source/ui/inc/linkarea.hxx
index 9d039a47daac..16af8aff4dd7 100644
--- a/sc/source/ui/inc/linkarea.hxx
+++ b/sc/source/ui/inc/linkarea.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_LINKAREA_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_LINKAREA_HXX
+#pragma once
#include <sfx2/objsh.hxx>
#include <tools/solar.h>
@@ -71,6 +70,4 @@ public:
sal_uLong GetRefresh() const; // 0 if disabled
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/lnktrans.hxx b/sc/source/ui/inc/lnktrans.hxx
index 208bfaa671cf..2ef5469074e0 100644
--- a/sc/source/ui/inc/lnktrans.hxx
+++ b/sc/source/ui/inc/lnktrans.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_LNKTRANS_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_LNKTRANS_HXX
+#pragma once
#include <vcl/transfer.hxx>
#include <rtl/ustring.hxx>
@@ -40,6 +39,4 @@ public:
virtual void DragFinished( sal_Int8 nDropAction ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/mediash.hxx b/sc/source/ui/inc/mediash.hxx
index 31c55ef4c12b..fb75f303ec82 100644
--- a/sc/source/ui/inc/mediash.hxx
+++ b/sc/source/ui/inc/mediash.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_MEDIASH_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_MEDIASH_HXX
+#pragma once
#include <sfx2/shell.hxx>
#include <shellids.hxx>
@@ -45,6 +44,4 @@ public:
void GetMediaState(SfxItemSet& rSet);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/mergecellsdialog.hxx b/sc/source/ui/inc/mergecellsdialog.hxx
index 6dde67680e78..33370d793dea 100644
--- a/sc/source/ui/inc/mergecellsdialog.hxx
+++ b/sc/source/ui/inc/mergecellsdialog.hxx
@@ -8,8 +8,7 @@
*
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_MERGECELLSDIALOG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_MERGECELLSDIALOG_HXX
+#pragma once
#include <vcl/weld.hxx>
@@ -33,6 +32,4 @@ public:
ScMergeCellsOption GetMergeCellsOption() const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/msgpool.hxx b/sc/source/ui/inc/msgpool.hxx
index d5f68b217bd0..fc23503cf3f0 100644
--- a/sc/source/ui/inc/msgpool.hxx
+++ b/sc/source/ui/inc/msgpool.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_MSGPOOL_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_MSGPOOL_HXX
+#pragma once
#include <svl/srchitem.hxx>
@@ -55,6 +54,4 @@ public:
virtual MapUnit GetMetric( sal_uInt16 nWhich ) const override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/mtrindlg.hxx b/sc/source/ui/inc/mtrindlg.hxx
index 55596d85c4fe..d140f9f3a02c 100644
--- a/sc/source/ui/inc/mtrindlg.hxx
+++ b/sc/source/ui/inc/mtrindlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_MTRINDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_MTRINDLG_HXX
+#pragma once
#include <vcl/weld.hxx>
@@ -47,6 +46,4 @@ private:
DECL_LINK(ModifyHdl, weld::MetricSpinButton&, void);
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_MTRINDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/mvtabdlg.hxx b/sc/source/ui/inc/mvtabdlg.hxx
index bd372005408a..00ed09204487 100644
--- a/sc/source/ui/inc/mvtabdlg.hxx
+++ b/sc/source/ui/inc/mvtabdlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_MVTABDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_MVTABDLG_HXX
+#pragma once
#include <types.hxx>
#include <vcl/weld.hxx>
@@ -81,6 +80,4 @@ private:
DECL_LINK(CheckNameHdl, weld::Entry&, void);
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_MVTABDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/namecrea.hxx b/sc/source/ui/inc/namecrea.hxx
index c5d6d8892924..89adb821677c 100644
--- a/sc/source/ui/inc/namecrea.hxx
+++ b/sc/source/ui/inc/namecrea.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_NAMECREA_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_NAMECREA_HXX
+#pragma once
#include <vcl/weld.hxx>
#include "scui_def.hxx"
@@ -36,6 +35,4 @@ public:
CreateNameFlags GetFlags() const;
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_NAMECREA_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/namedefdlg.hxx b/sc/source/ui/inc/namedefdlg.hxx
index 3c39ad2d3d86..f1ff30b609fd 100644
--- a/sc/source/ui/inc/namedefdlg.hxx
+++ b/sc/source/ui/inc/namedefdlg.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_NAMEDEFDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_NAMEDEFDLG_HXX
+#pragma once
#include "anyrefdg.hxx"
@@ -87,6 +86,4 @@ public:
void GetNewData(OUString& rName, OUString& rScope);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/namedlg.hxx b/sc/source/ui/inc/namedlg.hxx
index f85ee09bc39f..484500dcef4f 100644
--- a/sc/source/ui/inc/namedlg.hxx
+++ b/sc/source/ui/inc/namedlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_NAMEDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_NAMEDLG_HXX
+#pragma once
#include "anyrefdg.hxx"
#include "namemgrtable.hxx"
@@ -122,6 +121,4 @@ public:
void SetEntry(const OUString& rName, const OUString& rScope);
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_NAMEDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/namemgrtable.hxx b/sc/source/ui/inc/namemgrtable.hxx
index d092f7d18cf7..684d7f2839de 100644
--- a/sc/source/ui/inc/namemgrtable.hxx
+++ b/sc/source/ui/inc/namemgrtable.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_NAMEMGRTABLE_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_NAMEMGRTABLE_HXX
+#pragma once
#include <vcl/weld.hxx>
@@ -89,6 +88,4 @@ public:
}
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/namepast.hxx b/sc/source/ui/inc/namepast.hxx
index cc54ed26e5d0..79947bbcd78c 100644
--- a/sc/source/ui/inc/namepast.hxx
+++ b/sc/source/ui/inc/namepast.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_NAMEPAST_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_NAMEPAST_HXX
+#pragma once
#include <vcl/weld.hxx>
#include "namemgrtable.hxx"
@@ -51,6 +50,4 @@ public:
const std::vector<OUString>& GetSelectedNames() const;
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_NAMEPAST_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/navcitem.hxx b/sc/source/ui/inc/navcitem.hxx
index e3b2fe9b639c..1ae445fb5bc8 100644
--- a/sc/source/ui/inc/navcitem.hxx
+++ b/sc/source/ui/inc/navcitem.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_NAVCITEM_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_NAVCITEM_HXX
+#pragma once
#include <sfx2/ctrlitem.hxx>
@@ -38,6 +37,4 @@ private:
ScNavigatorDlg& rNavigatorDlg;
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_NAVCITEM_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/navipi.hxx b/sc/source/ui/inc/navipi.hxx
index 1229f812a59d..288fdf519a90 100644
--- a/sc/source/ui/inc/navipi.hxx
+++ b/sc/source/ui/inc/navipi.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_NAVIPI_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_NAVIPI_HXX
+#pragma once
#include <vector>
#include <vcl/idle.hxx>
@@ -191,6 +190,4 @@ public:
SFX_DECL_CHILDWINDOW(ScNavigatorWrapper);
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_NAVIPI_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/navsett.hxx b/sc/source/ui/inc/navsett.hxx
index 9dbf8422a34b..c77bf259f68a 100644
--- a/sc/source/ui/inc/navsett.hxx
+++ b/sc/source/ui/inc/navsett.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_NAVSETT_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_NAVSETT_HXX
+#pragma once
#include <tools/solar.h>
@@ -47,6 +46,4 @@ public:
sal_uLong GetChildSelected() const { return mnChildSelected; }
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_NAVSETT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/notemark.hxx b/sc/source/ui/inc/notemark.hxx
index 11297e42a6f9..1ed812d0fb82 100644
--- a/sc/source/ui/inc/notemark.hxx
+++ b/sc/source/ui/inc/notemark.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_NOTEMARK_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_NOTEMARK_HXX
+#pragma once
#include <vcl/mapmod.hxx>
#include <vcl/timer.hxx>
@@ -67,6 +66,4 @@ public:
bool IsByKeyboard() const { return m_bByKeyboard; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/oleobjsh.hxx b/sc/source/ui/inc/oleobjsh.hxx
index cba751da6bce..2fbb656f62e2 100644
--- a/sc/source/ui/inc/oleobjsh.hxx
+++ b/sc/source/ui/inc/oleobjsh.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_OLEOBJSH_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_OLEOBJSH_HXX
+#pragma once
#include <sfx2/shell.hxx>
#include <shellids.hxx>
@@ -42,6 +41,4 @@ public:
virtual ~ScOleObjectShell() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/olinefun.hxx b/sc/source/ui/inc/olinefun.hxx
index e29f7df4cbb3..ec167a8e4c52 100644
--- a/sc/source/ui/inc/olinefun.hxx
+++ b/sc/source/ui/inc/olinefun.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_OLINEFUN_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_OLINEFUN_HXX
+#pragma once
#include <types.hxx>
@@ -50,6 +49,4 @@ public:
bool bRecord, bool bPaint );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/olinewin.hxx b/sc/source/ui/inc/olinewin.hxx
index 9a56152ed6cd..7f99ae662436 100644
--- a/sc/source/ui/inc/olinewin.hxx
+++ b/sc/source/ui/inc/olinewin.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_OLINEWIN_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_OLINEWIN_HXX
+#pragma once
#include <vcl/window.hxx>
#include "viewdata.hxx"
@@ -223,6 +222,4 @@ public:
virtual void DataChanged( const DataChangedEvent& rDCEvt ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/opredlin.hxx b/sc/source/ui/inc/opredlin.hxx
index 47abb2071901..e26591e87c10 100644
--- a/sc/source/ui/inc/opredlin.hxx
+++ b/sc/source/ui/inc/opredlin.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_OPREDLIN_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_OPREDLIN_HXX
+#pragma once
#include <sfx2/tabdlg.hxx>
@@ -38,6 +37,5 @@ public:
virtual bool FillItemSet( SfxItemSet* rSet ) override;
virtual void Reset( const SfxItemSet* rSet ) override;
};
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/optsolver.hxx b/sc/source/ui/inc/optsolver.hxx
index 892c68869b0e..d8f3910edca2 100644
--- a/sc/source/ui/inc/optsolver.hxx
+++ b/sc/source/ui/inc/optsolver.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_OPTSOLVER_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_OPTSOLVER_HXX
+#pragma once
#include <address.hxx>
#include "anyrefdg.hxx"
@@ -244,6 +243,4 @@ public:
virtual ~ScSolverSuccessDialog() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/output.hxx b/sc/source/ui/inc/output.hxx
index f278d257552f..e45fe29e14ac 100644
--- a/sc/source/ui/inc/output.hxx
+++ b/sc/source/ui/inc/output.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_OUTPUT_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_OUTPUT_HXX
+#pragma once
#include <address.hxx>
#include <cellvalue.hxx>
@@ -384,6 +383,4 @@ public:
void AddPDFNotes();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/overlayobject.hxx b/sc/source/ui/inc/overlayobject.hxx
index d0f33f0107f8..ea7a4adf3aba 100644
--- a/sc/source/ui/inc/overlayobject.hxx
+++ b/sc/source/ui/inc/overlayobject.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_OVERLAYOBJECT_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_OVERLAYOBJECT_HXX
+#pragma once
#include <svx/sdr/overlay/overlayobject.hxx>
#include <vcl/font.hxx>
@@ -63,6 +62,4 @@ private:
sal_Int32 m_nTop;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/pagedata.hxx b/sc/source/ui/inc/pagedata.hxx
index 14405f0c00e2..265a85743219 100644
--- a/sc/source/ui/inc/pagedata.hxx
+++ b/sc/source/ui/inc/pagedata.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_PAGEDATA_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_PAGEDATA_HXX
+#pragma once
#include <tools/long.hxx>
#include <address.hxx>
@@ -79,6 +78,4 @@ public:
void AddPages();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/pfiltdlg.hxx b/sc/source/ui/inc/pfiltdlg.hxx
index f58b4d84399b..00d5833628df 100644
--- a/sc/source/ui/inc/pfiltdlg.hxx
+++ b/sc/source/ui/inc/pfiltdlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_PFILTDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_PFILTDLG_HXX
+#pragma once
#include <vcl/weld.hxx>
#include <address.hxx>
@@ -91,6 +90,4 @@ private:
DECL_LINK( CheckBoxHdl, weld::Button&, void );
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_PFILTDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/pfuncache.hxx b/sc/source/ui/inc/pfuncache.hxx
index 7ae640834dda..902ea7ade517 100644
--- a/sc/source/ui/inc/pfuncache.hxx
+++ b/sc/source/ui/inc/pfuncache.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_PFUNCACHE_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_PFUNCACHE_HXX
+#pragma once
#include <vector>
#include <tools/gen.hxx>
@@ -109,6 +108,4 @@ public:
tools::Long GetDisplayStart( SCTAB nTab ) const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/pgbrksh.hxx b/sc/source/ui/inc/pgbrksh.hxx
index dcda667edf9a..7b00f315bcb2 100644
--- a/sc/source/ui/inc/pgbrksh.hxx
+++ b/sc/source/ui/inc/pgbrksh.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_PGBRKSH_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_PGBRKSH_HXX
+#pragma once
#include <sfx2/shell.hxx>
@@ -41,6 +40,4 @@ public:
virtual ~ScPageBreakShell() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/pivotsh.hxx b/sc/source/ui/inc/pivotsh.hxx
index af290d801c00..d69b80ee43e7 100644
--- a/sc/source/ui/inc/pivotsh.hxx
+++ b/sc/source/ui/inc/pivotsh.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_PIVOTSH_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_PIVOTSH_HXX
+#pragma once
#include <sfx2/shell.hxx>
@@ -50,6 +49,4 @@ private:
ScDPObject* GetCurrDPObject();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/pntlock.hxx b/sc/source/ui/inc/pntlock.hxx
index 5ae3734c19f3..a6c569e4924f 100644
--- a/sc/source/ui/inc/pntlock.hxx
+++ b/sc/source/ui/inc/pntlock.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_PNTLOCK_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_PNTLOCK_HXX
+#pragma once
#include <rangelst.hxx>
@@ -54,6 +53,4 @@ public:
{ nDocLevel = nNew; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/preview.hxx b/sc/source/ui/inc/preview.hxx
index 3f06121f31f1..bf93b7069d73 100644
--- a/sc/source/ui/inc/preview.hxx
+++ b/sc/source/ui/inc/preview.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_PREVIEW_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_PREVIEW_HXX
+#pragma once
#include <vcl/window.hxx>
#include "printfun.hxx"
@@ -161,6 +160,4 @@ public:
const ScMarkData::MarkedTabsType& GetSelectedTabs() const { return maSelectedTabs; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/prevloc.hxx b/sc/source/ui/inc/prevloc.hxx
index 5aa803364f64..17a7353b7bb1 100644
--- a/sc/source/ui/inc/prevloc.hxx
+++ b/sc/source/ui/inc/prevloc.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_PREVLOC_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_PREVLOC_HXX
+#pragma once
#include <sal/types.h>
@@ -150,6 +149,4 @@ public:
bool GetMainCellRange( ScRange& rRange, tools::Rectangle& rPixRect ) const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/prevwsh.hxx b/sc/source/ui/inc/prevwsh.hxx
index 3dfee355c3ca..14d8dc789274 100644
--- a/sc/source/ui/inc/prevwsh.hxx
+++ b/sc/source/ui/inc/prevwsh.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_PREVWSH_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_PREVWSH_HXX
+#pragma once
#include <types.hxx>
#include <scdllapi.h>
@@ -116,6 +115,4 @@ public:
ScPreview* GetPreview() { return pPreview; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/printfun.hxx b/sc/source/ui/inc/printfun.hxx
index f59804ebaede..4cb4fbe8077f 100644
--- a/sc/source/ui/inc/printfun.hxx
+++ b/sc/source/ui/inc/printfun.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_PRINTFUN_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_PRINTFUN_HXX
+#pragma once
#include <memory>
#include <pagepar.hxx>
@@ -392,6 +391,4 @@ private:
void FillPageData();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/protectiondlg.hxx b/sc/source/ui/inc/protectiondlg.hxx
index 96bdf5853b3f..08902610ec37 100644
--- a/sc/source/ui/inc/protectiondlg.hxx
+++ b/sc/source/ui/inc/protectiondlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_PROTECTIONDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_PROTECTIONDLG_HXX
+#pragma once
#include <vcl/weld.hxx>
@@ -68,6 +67,4 @@ private:
DECL_LINK(PasswordModifyHdl, weld::Entry&, void);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/pvfundlg.hxx b/sc/source/ui/inc/pvfundlg.hxx
index 6f093809660c..1215adc89b36 100644
--- a/sc/source/ui/inc/pvfundlg.hxx
+++ b/sc/source/ui/inc/pvfundlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_PVFUNDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_PVFUNDLG_HXX
+#pragma once
#include <com/sun/star/sheet/DataPilotFieldReference.hpp>
#include <com/sun/star/sheet/DataPilotFieldOrientation.hpp>
@@ -213,6 +212,4 @@ private:
std::unique_ptr<weld::TreeView> mxLbDims;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/redcom.hxx b/sc/source/ui/inc/redcom.hxx
index 2164af873583..893b8cf1a362 100644
--- a/sc/source/ui/inc/redcom.hxx
+++ b/sc/source/ui/inc/redcom.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_REDCOM_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_REDCOM_HXX
+#pragma once
#include <rtl/ustring.hxx>
#include <tools/link.hxx>
@@ -55,6 +54,4 @@ public:
void Execute();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/reffact.hxx b/sc/source/ui/inc/reffact.hxx
index f30cdf73c077..c1b73606eb7f 100644
--- a/sc/source/ui/inc/reffact.hxx
+++ b/sc/source/ui/inc/reffact.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_REFFACT_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_REFFACT_HXX
+#pragma once
#include <sfx2/childwin.hxx>
#include "ChildWindowWrapper.hxx"
@@ -195,6 +194,4 @@ public:
void Show( ShowFlags nFlags ) override { if( !m_bVisibleLock ) SfxChildWindow::Show( nFlags ); }
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_REFFACT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/refundo.hxx b/sc/source/ui/inc/refundo.hxx
index 7ee764eca39a..2ddf6c584ba1 100644
--- a/sc/source/ui/inc/refundo.hxx
+++ b/sc/source/ui/inc/refundo.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_REFUNDO_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_REFUNDO_HXX
+#pragma once
#include <memory>
@@ -52,6 +51,4 @@ public:
void DoUndo( ScDocument* pDoc, bool bUndoRefFirst );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/retypepassdlg.hxx b/sc/source/ui/inc/retypepassdlg.hxx
index 26c57148c88b..aa06167be2f7 100644
--- a/sc/source/ui/inc/retypepassdlg.hxx
+++ b/sc/source/ui/inc/retypepassdlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_RETYPEPASSDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_RETYPEPASSDLG_HXX
+#pragma once
#include <vcl/weld.hxx>
#include <tabprotection.hxx>
@@ -126,6 +125,4 @@ private:
DECL_LINK(PasswordModifyHdl, weld::Entry&, void);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/rfindlst.hxx b/sc/source/ui/inc/rfindlst.hxx
index e6f04e07c39b..bd8f6cff10eb 100644
--- a/sc/source/ui/inc/rfindlst.hxx
+++ b/sc/source/ui/inc/rfindlst.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_RFINDLST_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_RFINDLST_HXX
+#pragma once
#include <tools/color.hxx>
#include <address.hxx>
@@ -62,6 +61,4 @@ public:
Color FindColor(const ScRange& rRef, const size_t nIndex);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/scendlg.hxx b/sc/source/ui/inc/scendlg.hxx
index 97cc05e7bd5d..d094474c926f 100644
--- a/sc/source/ui/inc/scendlg.hxx
+++ b/sc/source/ui/inc/scendlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_SCENDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_SCENDLG_HXX
+#pragma once
#include <vcl/weld.hxx>
@@ -56,6 +55,4 @@ private:
DECL_LINK(EnableHdl, weld::ToggleButton&, void);
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_SCENDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/scui_def.hxx b/sc/source/ui/inc/scui_def.hxx
index c2bc095b8162..af4252ba4abe 100644
--- a/sc/source/ui/inc/scui_def.hxx
+++ b/sc/source/ui/inc/scui_def.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_SCUI_DEF_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_SCUI_DEF_HXX
+#pragma once
#include <o3tl/typed_flags_set.hxx>
@@ -66,6 +65,5 @@ namespace o3tl {
#define BTN_EXTEND_RANGE 150
#define BTN_CURRENT_SELECTION 151
#define SCRET_REMOVE 0x42 //from subtdlg.hxx
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/scuiasciiopt.hxx b/sc/source/ui/inc/scuiasciiopt.hxx
index 51cf2ec06a17..cde26d7df023 100644
--- a/sc/source/ui/inc/scuiasciiopt.hxx
+++ b/sc/source/ui/inc/scuiasciiopt.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_SCUIASCIIOPT_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_SCUIASCIIOPT_HXX
+#pragma once
#include <svx/langbox.hxx>
#include <tools/solar.h>
@@ -129,6 +128,4 @@ inline bool ScImportAsciiDlg::Seek(sal_uLong nPos)
return bSuccess;
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/scuiautofmt.hxx b/sc/source/ui/inc/scuiautofmt.hxx
index 1695a79b0424..2ccbffc851ea 100644
--- a/sc/source/ui/inc/scuiautofmt.hxx
+++ b/sc/source/ui/inc/scuiautofmt.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_SCUIAUTOFMT_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_SCUIAUTOFMT_HXX
+#pragma once
#include <vcl/customweld.hxx>
#include <autoform.hxx>
@@ -75,6 +74,5 @@ private:
DECL_LINK( RenameHdl, weld::Button&, void );
};
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/scuiimoptdlg.hxx b/sc/source/ui/inc/scuiimoptdlg.hxx
index 27d0db36b454..b7e4f8e86baa 100644
--- a/sc/source/ui/inc/scuiimoptdlg.hxx
+++ b/sc/source/ui/inc/scuiimoptdlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_SCUIIMOPTDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_SCUIIMOPTDLG_HXX
+#pragma once
#include <vcl/weld.hxx>
@@ -73,6 +72,4 @@ private:
DECL_LINK(DoubleClickHdl, weld::TreeView&, bool);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/scuitphfedit.hxx b/sc/source/ui/inc/scuitphfedit.hxx
index 940879fb293c..6b06b27ff509 100644
--- a/sc/source/ui/inc/scuitphfedit.hxx
+++ b/sc/source/ui/inc/scuitphfedit.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_SCUITPHFEDIT_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_SCUITPHFEDIT_HXX
+#pragma once
#include "tphfedit.hxx"
#include <sfx2/tabdlg.hxx>
@@ -142,6 +141,4 @@ public:
ScLeftFooterEditPage( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/searchresults.hxx b/sc/source/ui/inc/searchresults.hxx
index 63da68d77466..a6992c025fc0 100644
--- a/sc/source/ui/inc/searchresults.hxx
+++ b/sc/source/ui/inc/searchresults.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_SEARCHRESULTS_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_SEARCHRESULTS_HXX
+#pragma once
#include <vcl/weld.hxx>
#include <sfx2/basedlgs.hxx>
@@ -55,6 +54,4 @@ public:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/select.hxx b/sc/source/ui/inc/select.hxx
index 55b1572aaa35..ea3082f972c6 100644
--- a/sc/source/ui/inc/select.hxx
+++ b/sc/source/ui/inc/select.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_SELECT_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_SELECT_HXX
+#pragma once
#include <vcl/seleng.hxx>
@@ -106,6 +105,4 @@ public:
ScHeaderSelectionEngine( vcl::Window* pWindow, ScHeaderFunctionSet* pFuncSet );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/selectionstate.hxx b/sc/source/ui/inc/selectionstate.hxx
index 0d7505260227..4243e618e0e6 100644
--- a/sc/source/ui/inc/selectionstate.hxx
+++ b/sc/source/ui/inc/selectionstate.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_SELECTIONSTATE_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_SELECTIONSTATE_HXX
+#pragma once
#include <editeng/editdata.hxx>
#include <address.hxx>
@@ -53,6 +52,4 @@ private:
ESelection maEditSel; /// Selection in edit mode.
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/seltrans.hxx b/sc/source/ui/inc/seltrans.hxx
index 108a0dab2f35..f783e58fa5d9 100644
--- a/sc/source/ui/inc/seltrans.hxx
+++ b/sc/source/ui/inc/seltrans.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_SELTRANS_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_SELTRANS_HXX
+#pragma once
#include <vcl/transfer.hxx>
#include <rtl/ref.hxx>
@@ -70,6 +69,4 @@ public:
virtual sal_Bool SAL_CALL isComplex() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/servobj.hxx b/sc/source/ui/inc/servobj.hxx
index d6b664e1c3a0..2bb36aa6d976 100644
--- a/sc/source/ui/inc/servobj.hxx
+++ b/sc/source/ui/inc/servobj.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_SERVOBJ_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_SERVOBJ_HXX
+#pragma once
#include <svl/lstner.hxx>
#include <svl/listener.hxx>
@@ -62,6 +61,4 @@ public:
void EndListeningAll();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/sharedocdlg.hxx b/sc/source/ui/inc/sharedocdlg.hxx
index a8f6d1a07283..fb4258a7a150 100644
--- a/sc/source/ui/inc/sharedocdlg.hxx
+++ b/sc/source/ui/inc/sharedocdlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_SHAREDOCDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_SHAREDOCDLG_HXX
+#pragma once
#include <vcl/weld.hxx>
@@ -50,6 +49,4 @@ public:
void UpdateView();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/shtabdlg.hxx b/sc/source/ui/inc/shtabdlg.hxx
index 3355f143dc8e..9a1bb23edb05 100644
--- a/sc/source/ui/inc/shtabdlg.hxx
+++ b/sc/source/ui/inc/shtabdlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_SHTABDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_SHTABDLG_HXX
+#pragma once
#include <vcl/weld.hxx>
@@ -45,6 +44,4 @@ public:
OUString GetEntry(sal_Int32 nPos) const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/simpref.hxx b/sc/source/ui/inc/simpref.hxx
index ce62242f6de2..0286aa6cf06b 100644
--- a/sc/source/ui/inc/simpref.hxx
+++ b/sc/source/ui/inc/simpref.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_SIMPREF_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_SIMPREF_HXX
+#pragma once
#include "anyrefdg.hxx"
@@ -76,6 +75,4 @@ public:
void SetFlags( bool bSetCloseOnButtonUp, bool bSetSingleCell, bool bSetMultiSelection );
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_SIMPREF_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/sizedev.hxx b/sc/source/ui/inc/sizedev.hxx
index 93255e62da68..8bf98be8ef0e 100644
--- a/sc/source/ui/inc/sizedev.hxx
+++ b/sc/source/ui/inc/sizedev.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_SIZEDEV_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_SIZEDEV_HXX
+#pragma once
#include <vcl/mapmod.hxx>
#include <vcl/vclptr.hxx>
@@ -44,6 +43,4 @@ public:
bool IsPrinter() const { return !bOwner; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/solveroptions.hxx b/sc/source/ui/inc/solveroptions.hxx
index 56f450836836..5e39ef758a4c 100644
--- a/sc/source/ui/inc/solveroptions.hxx
+++ b/sc/source/ui/inc/solveroptions.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_SOLVEROPTIONS_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_SOLVEROPTIONS_HXX
+#pragma once
#include <vcl/weld.hxx>
#include <com/sun/star/uno/Sequence.hxx>
@@ -123,6 +122,4 @@ public:
double GetValue() const;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/solverutil.hxx b/sc/source/ui/inc/solverutil.hxx
index add2b2337e08..34cdbb51aa29 100644
--- a/sc/source/ui/inc/solverutil.hxx
+++ b/sc/source/ui/inc/solverutil.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_SOLVERUTIL_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_SOLVERUTIL_HXX
+#pragma once
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
@@ -37,6 +36,4 @@ public:
static css::uno::Sequence<css::beans::PropertyValue> GetDefaults( std::u16string_view rImplName );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/solvrdlg.hxx b/sc/source/ui/inc/solvrdlg.hxx
index 66a031fbd041..8b5026ba2c5b 100644
--- a/sc/source/ui/inc/solvrdlg.hxx
+++ b/sc/source/ui/inc/solvrdlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_SOLVRDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_SOLVRDLG_HXX
+#pragma once
#include <address.hxx>
#include "anyrefdg.hxx"
@@ -88,6 +87,4 @@ private:
DECL_LINK( GetFocusHdl, weld::Widget&, void );
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_SOLVRDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/sortdlg.hxx b/sc/source/ui/inc/sortdlg.hxx
index a68e81e34241..ae58ef310df2 100644
--- a/sc/source/ui/inc/sortdlg.hxx
+++ b/sc/source/ui/inc/sortdlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_SORTDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_SORTDLG_HXX
+#pragma once
#include <sfx2/tabdlg.hxx>
#include <vcl/weld.hxx>
@@ -50,6 +49,4 @@ private:
std::unique_ptr<weld::Button> m_xBtnCurSort;
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_SORTDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/sortkeydlg.hxx b/sc/source/ui/inc/sortkeydlg.hxx
index 667cd35aa2a4..52eece03d713 100644
--- a/sc/source/ui/inc/sortkeydlg.hxx
+++ b/sc/source/ui/inc/sortkeydlg.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_SORTKEYDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_SORTKEYDLG_HXX
+#pragma once
#include <vector>
#include <memory>
@@ -49,6 +48,4 @@ public:
void AddSortKey(sal_uInt16 nItem);
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_SORTKEYDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/spelldialog.hxx b/sc/source/ui/inc/spelldialog.hxx
index 655217bf8d8b..2319866afbf5 100644
--- a/sc/source/ui/inc/spelldialog.hxx
+++ b/sc/source/ui/inc/spelldialog.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_SPELLDIALOG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_SPELLDIALOG_HXX
+#pragma once
#include <memory>
#include <svx/SpellDialogChildWindow.hxx>
@@ -88,6 +87,4 @@ private:
bool mbOldIdleEnabled;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/spelleng.hxx b/sc/source/ui/inc/spelleng.hxx
index 48dbb826bde0..06358a5136b7 100644
--- a/sc/source/ui/inc/spelleng.hxx
+++ b/sc/source/ui/inc/spelleng.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_SPELLENG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_SPELLENG_HXX
+#pragma once
#include <editutil.hxx>
#include "selectionstate.hxx"
@@ -149,6 +148,4 @@ private:
ScConversionParam maConvParam; /// Conversion parameters.
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/spellparam.hxx b/sc/source/ui/inc/spellparam.hxx
index 96660b983493..ba6f56d7f4ef 100644
--- a/sc/source/ui/inc/spellparam.hxx
+++ b/sc/source/ui/inc/spellparam.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_SPELLPARAM_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_SPELLPARAM_HXX
+#pragma once
#include <vcl/font.hxx>
@@ -69,6 +68,4 @@ private:
bool mbIsInteractive; /// True = Text conversion has (specific) dialog that may be raised.
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/strindlg.hxx b/sc/source/ui/inc/strindlg.hxx
index 8d14f5ec5187..6b1490349b47 100644
--- a/sc/source/ui/inc/strindlg.hxx
+++ b/sc/source/ui/inc/strindlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_STRINDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_STRINDLG_HXX
+#pragma once
#include <vcl/weld.hxx>
@@ -41,6 +40,4 @@ public:
}
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_STRINDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/styledlg.hxx b/sc/source/ui/inc/styledlg.hxx
index 2d3aa4241b17..2f43e04745a6 100644
--- a/sc/source/ui/inc/styledlg.hxx
+++ b/sc/source/ui/inc/styledlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_STYLEDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_STYLEDLG_HXX
+#pragma once
#include <sfx2/styledlg.hxx>
@@ -39,6 +38,4 @@ private:
bool m_bPage;
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_STYLEDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/subtdlg.hxx b/sc/source/ui/inc/subtdlg.hxx
index dc61b6cf4d1a..b0c97b09e173 100644
--- a/sc/source/ui/inc/subtdlg.hxx
+++ b/sc/source/ui/inc/subtdlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_SUBTDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_SUBTDLG_HXX
+#pragma once
#include <sfx2/tabdlg.hxx>
@@ -33,6 +32,4 @@ private:
DECL_LINK(RemoveHdl, weld::Button&, void);
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_SUBTDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/tabbgcolordlg.hxx b/sc/source/ui/inc/tabbgcolordlg.hxx
index 0eea402d1f89..94323f676b21 100644
--- a/sc/source/ui/inc/tabbgcolordlg.hxx
+++ b/sc/source/ui/inc/tabbgcolordlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_TABBGCOLORDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_TABBGCOLORDLG_HXX
+#pragma once
#include <svx/SvxColorValueSet.hxx>
#include <svx/PaletteManager.hxx>
@@ -66,6 +65,4 @@ private:
DECL_LINK(TabBgColorOKHdl_Impl, weld::Button&, void);
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_TABBGCOLORDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/tabcont.hxx b/sc/source/ui/inc/tabcont.hxx
index 5f41ac8c5919..6a12c1d073af 100644
--- a/sc/source/ui/inc/tabcont.hxx
+++ b/sc/source/ui/inc/tabcont.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_TABCONT_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_TABCONT_HXX
+#pragma once
#include <types.hxx>
#include <svtools/tabbar.hxx>
@@ -76,6 +75,4 @@ public:
void SwitchToPageId( sal_uInt16 nId );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/tabopdlg.hxx b/sc/source/ui/inc/tabopdlg.hxx
index d9911794c2d0..2e39e94d5f95 100644
--- a/sc/source/ui/inc/tabopdlg.hxx
+++ b/sc/source/ui/inc/tabopdlg.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_TABOPDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_TABOPDLG_HXX
+#pragma once
#include <address.hxx>
#include "anyrefdg.hxx"
@@ -91,6 +90,4 @@ private:
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_TABOPDLG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/tabpages.hxx b/sc/source/ui/inc/tabpages.hxx
index ba8e35e4945f..b7ca470b6e92 100644
--- a/sc/source/ui/inc/tabpages.hxx
+++ b/sc/source/ui/inc/tabpages.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_TABPAGES_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_TABPAGES_HXX
+#pragma once
#include <sfx2/tabdlg.hxx>
@@ -66,6 +65,4 @@ private:
void UpdateButtons();
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_TABPAGES_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/tabsplit.hxx b/sc/source/ui/inc/tabsplit.hxx
index 193027f9896b..ce09efddc260 100644
--- a/sc/source/ui/inc/tabsplit.hxx
+++ b/sc/source/ui/inc/tabsplit.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_TABSPLIT_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_TABSPLIT_HXX
+#pragma once
#include <vcl/split.hxx>
@@ -42,6 +41,4 @@ public:
virtual void Paint( vcl::RenderContext& rRenderContext, const tools::Rectangle& rPaintRect ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/tabview.hxx b/sc/source/ui/inc/tabview.hxx
index b07ac0236b0c..93cedfee36ec 100644
--- a/sc/source/ui/inc/tabview.hxx
+++ b/sc/source/ui/inc/tabview.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_TABVIEW_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_TABVIEW_HXX
+#pragma once
#include <sal/config.h>
@@ -610,6 +609,4 @@ public:
SCCOL GetLOKEndHeaderCol() const { return mnLOKEndHeaderCol; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx
index 94f8e14ebb91..7a5ddf472803 100644
--- a/sc/source/ui/inc/tabvwsh.hxx
+++ b/sc/source/ui/inc/tabvwsh.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_TABVWSH_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_TABVWSH_HXX
+#pragma once
#include <formula/errorcodes.hxx>
#include <formula/opcode.hxx>
@@ -403,6 +402,4 @@ public:
virtual tools::Rectangle getLOKVisibleArea() const override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/target.hxx b/sc/source/ui/inc/target.hxx
index 6c42308a6ac9..b7c5c78e243d 100644
--- a/sc/source/ui/inc/target.hxx
+++ b/sc/source/ui/inc/target.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_TARGET_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_TARGET_HXX
+#pragma once
#include <svl/undo.hxx>
@@ -37,6 +36,4 @@ public:
ScTabViewShell* GetViewShell() const { return pViewShell; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/tbzoomsliderctrl.hxx b/sc/source/ui/inc/tbzoomsliderctrl.hxx
index 8fc4033cb978..3be8d7556b65 100644
--- a/sc/source/ui/inc/tbzoomsliderctrl.hxx
+++ b/sc/source/ui/inc/tbzoomsliderctrl.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_TBZOOMSLIDERCTRL_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_TBZOOMSLIDERCTRL_HXX
+#pragma once
#include <vcl/customweld.hxx>
#include <vcl/window.hxx>
@@ -76,6 +75,4 @@ public:
void UpdateFromItem( const SvxZoomSliderItem* pZoomSliderItem );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/textdlgs.hxx b/sc/source/ui/inc/textdlgs.hxx
index 97da3a214455..0bffe3a242c3 100644
--- a/sc/source/ui/inc/textdlgs.hxx
+++ b/sc/source/ui/inc/textdlgs.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_TEXTDLGS_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_TEXTDLGS_HXX
+#pragma once
#include <sfx2/tabdlg.hxx>
@@ -45,6 +44,4 @@ public:
ScParagraphDlg(weld::Window* pParent, const SfxItemSet* pAttr);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/textimportoptions.hxx b/sc/source/ui/inc/textimportoptions.hxx
index 78fd5cb88e01..71e092cb0667 100644
--- a/sc/source/ui/inc/textimportoptions.hxx
+++ b/sc/source/ui/inc/textimportoptions.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_TEXTIMPORTOPTIONS_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_TEXTIMPORTOPTIONS_HXX
+#pragma once
#include <vcl/weld.hxx>
#include <i18nlangtag/lang.h>
@@ -50,6 +49,4 @@ private:
DECL_LINK(RadioHdl, weld::ToggleButton&, void);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/tpcalc.hxx b/sc/source/ui/inc/tpcalc.hxx
index 21bc8c526ec7..e413e9f71d16 100644
--- a/sc/source/ui/inc/tpcalc.hxx
+++ b/sc/source/ui/inc/tpcalc.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_TPCALC_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_TPCALC_HXX
+#pragma once
#include <sfx2/tabdlg.hxx>
#include "editfield.hxx"
@@ -72,6 +71,4 @@ private:
DECL_LINK( CheckClickHdl, weld::ToggleButton&, void );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/tpcompatibility.hxx b/sc/source/ui/inc/tpcompatibility.hxx
index 4a61426a5431..c2fe28358928 100644
--- a/sc/source/ui/inc/tpcompatibility.hxx
+++ b/sc/source/ui/inc/tpcompatibility.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_TPCOMPATIBILITY_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_TPCOMPATIBILITY_HXX
+#pragma once
#include <sfx2/tabdlg.hxx>
@@ -27,6 +26,4 @@ private:
std::unique_ptr<weld::ComboBox> m_xLbKeyBindings;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/tpdefaults.hxx b/sc/source/ui/inc/tpdefaults.hxx
index b830173686a2..cabcf571071b 100644
--- a/sc/source/ui/inc/tpdefaults.hxx
+++ b/sc/source/ui/inc/tpdefaults.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_TPDEFAULTS_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_TPDEFAULTS_HXX
+#pragma once
#include <sfx2/tabdlg.hxx>
@@ -41,6 +40,4 @@ private:
std::unique_ptr<weld::CheckButton> m_xEdJumboSheets;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/tpformula.hxx b/sc/source/ui/inc/tpformula.hxx
index 78d93c798f05..7ae53e0c354a 100644
--- a/sc/source/ui/inc/tpformula.hxx
+++ b/sc/source/ui/inc/tpformula.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_TPFORMULA_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_TPFORMULA_HXX
+#pragma once
#include <sfx2/tabdlg.hxx>
@@ -82,6 +81,4 @@ private:
std::unique_ptr<weld::ComboBox> mxLbODFRecalcOptions;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/tphf.hxx b/sc/source/ui/inc/tphf.hxx
index edd87f207a70..36df5352a59f 100644
--- a/sc/source/ui/inc/tphf.hxx
+++ b/sc/source/ui/inc/tphf.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_TPHF_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_TPHF_HXX
+#pragma once
#include <svx/hdft.hxx>
@@ -68,6 +67,4 @@ public:
static const sal_uInt16* GetRanges();
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_TPHF_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/tphfedit.hxx b/sc/source/ui/inc/tphfedit.hxx
index 5bce89b41f4a..e6f70b5ecf23 100644
--- a/sc/source/ui/inc/tphfedit.hxx
+++ b/sc/source/ui/inc/tphfedit.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_TPHFEDIT_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_TPHFEDIT_HXX
+#pragma once
#include <scdllapi.h>
#include <editutil.hxx>
@@ -86,6 +85,4 @@ private:
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_TPHFEDIT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/tpprint.hxx b/sc/source/ui/inc/tpprint.hxx
index 4e2d0f91712c..09e78eb3754d 100644
--- a/sc/source/ui/inc/tpprint.hxx
+++ b/sc/source/ui/inc/tpprint.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_TPPRINT_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_TPPRINT_HXX
+#pragma once
#include <sfx2/tabdlg.hxx>
@@ -38,6 +37,4 @@ public:
virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/tpsort.hxx b/sc/source/ui/inc/tpsort.hxx
index ba87a01231a8..3332263bf121 100644
--- a/sc/source/ui/inc/tpsort.hxx
+++ b/sc/source/ui/inc/tpsort.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_TPSORT_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_TPSORT_HXX
+#pragma once
#include <vector>
@@ -150,6 +149,4 @@ private:
DECL_LINK( FillAlgorHdl, weld::ComboBox&, void );
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_TPSORT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/tpstat.hxx b/sc/source/ui/inc/tpstat.hxx
index 71d3dd7cd94b..bb57d7212747 100644
--- a/sc/source/ui/inc/tpstat.hxx
+++ b/sc/source/ui/inc/tpstat.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_TPSTAT_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_TPSTAT_HXX
+#pragma once
#include <sfx2/tabdlg.hxx>
@@ -41,6 +40,4 @@ private:
std::unique_ptr<weld::Frame> m_xFrame;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/tpsubt.hxx b/sc/source/ui/inc/tpsubt.hxx
index c4b8fea42322..e7bbd2732fc3 100644
--- a/sc/source/ui/inc/tpsubt.hxx
+++ b/sc/source/ui/inc/tpsubt.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_TPSUBT_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_TPSUBT_HXX
+#pragma once
#include <sfx2/tabdlg.hxx>
#include <global.hxx>
@@ -145,6 +144,4 @@ private:
std::unique_ptr<weld::ComboBox> m_xLbUserDef;
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_TPSUBT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/tptable.hxx b/sc/source/ui/inc/tptable.hxx
index fe86f338ec9a..3f22ebce103a 100644
--- a/sc/source/ui/inc/tptable.hxx
+++ b/sc/source/ui/inc/tptable.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_TPTABLE_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_TPTABLE_HXX
+#pragma once
#include <sfx2/tabdlg.hxx>
@@ -78,6 +77,4 @@ private:
DECL_LINK(ToggleHdl, weld::ToggleButton&, void);
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_TPTABLE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/tpusrlst.hxx b/sc/source/ui/inc/tpusrlst.hxx
index c237da9a9fb2..ead6ee66207b 100644
--- a/sc/source/ui/inc/tpusrlst.hxx
+++ b/sc/source/ui/inc/tpusrlst.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_TPUSRLST_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_TPUSRLST_HXX
+#pragma once
#include <sfx2/tabdlg.hxx>
@@ -86,6 +85,4 @@ private:
DECL_LINK( EdEntriesModHdl, weld::TextView&, void);
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_TPUSRLST_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/tpview.hxx b/sc/source/ui/inc/tpview.hxx
index eed889eda4e5..59acf3a4a547 100644
--- a/sc/source/ui/inc/tpview.hxx
+++ b/sc/source/ui/inc/tpview.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_TPVIEW_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_TPVIEW_HXX
+#pragma once
#include <sfx2/tabdlg.hxx>
#include <svx/colorbox.hxx>
@@ -111,6 +110,4 @@ public:
virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_TPVIEW_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/transobj.hxx b/sc/source/ui/inc/transobj.hxx
index fdcfd6f408dc..8861cfb4a35b 100644
--- a/sc/source/ui/inc/transobj.hxx
+++ b/sc/source/ui/inc/transobj.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_TRANSOBJ_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_TRANSOBJ_HXX
+#pragma once
#include <vcl/transfer.hxx>
#include <address.hxx>
@@ -110,6 +109,4 @@ public:
static const com::sun::star::uno::Sequence< sal_Int8 >& getUnoTunnelId();
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/uiitems.hxx b/sc/source/ui/inc/uiitems.hxx
index 5bc566181c41..7a16c79f2bac 100644
--- a/sc/source/ui/inc/uiitems.hxx
+++ b/sc/source/ui/inc/uiitems.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_UIITEMS_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_UIITEMS_HXX
+#pragma once
#include <scdllapi.h>
#include <sortparam.hxx>
@@ -275,6 +274,4 @@ private:
ScTabOpParam theTabOpData;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/undobase.hxx b/sc/source/ui/inc/undobase.hxx
index d497e798ebc0..698fcc51b81f 100644
--- a/sc/source/ui/inc/undobase.hxx
+++ b/sc/source/ui/inc/undobase.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_UNDOBASE_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_UNDOBASE_HXX
+#pragma once
#include <svl/undo.hxx>
#include <address.hxx>
@@ -176,6 +175,4 @@ public:
ViewShellId GetViewShellId() const override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/undoblk.hxx b/sc/source/ui/inc/undoblk.hxx
index a4a8ba034cea..48b8cdeb5003 100644
--- a/sc/source/ui/inc/undoblk.hxx
+++ b/sc/source/ui/inc/undoblk.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_UNDOBLK_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_UNDOBLK_HXX
+#pragma once
#include "undobase.hxx"
#include <markdata.hxx>
@@ -981,6 +980,4 @@ private:
std::unique_ptr<SvxBoxInfoItem> xInner;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/undocell.hxx b/sc/source/ui/inc/undocell.hxx
index aebd1eabe5bd..b013e084fee5 100644
--- a/sc/source/ui/inc/undocell.hxx
+++ b/sc/source/ui/inc/undocell.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_UNDOCELL_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_UNDOCELL_HXX
+#pragma once
#include "undobase.hxx"
#include <detdata.hxx>
@@ -367,6 +366,4 @@ public:
} // namespace sc
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/undoconvert.hxx b/sc/source/ui/inc/undoconvert.hxx
index 291c9db2ec7c..428710d83688 100644
--- a/sc/source/ui/inc/undoconvert.hxx
+++ b/sc/source/ui/inc/undoconvert.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_UNDOCONVERT_HXX
-#define INCLUDED_SC_UNDOCONVERT_HXX
+#pragma once
#include "undobase.hxx"
#include <cellvalues.hxx>
@@ -31,6 +30,4 @@ private:
};
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/undodat.hxx b/sc/source/ui/inc/undodat.hxx
index 6cde8b10e28e..486fe07d11ca 100644
--- a/sc/source/ui/inc/undodat.hxx
+++ b/sc/source/ui/inc/undodat.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_UNDODAT_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_UNDODAT_HXX
+#pragma once
#include "undobase.hxx"
#include "refundo.hxx"
@@ -444,6 +443,4 @@ private:
void DoChange( const bool bUndo );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/undodraw.hxx b/sc/source/ui/inc/undodraw.hxx
index 0950d9d57821..b12eebdb3ea0 100644
--- a/sc/source/ui/inc/undodraw.hxx
+++ b/sc/source/ui/inc/undodraw.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_UNDODRAW_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_UNDODRAW_HXX
+#pragma once
#include <memory>
#include <svl/undo.hxx>
@@ -50,6 +49,4 @@ public:
ViewShellId GetViewShellId() const override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/undoolk.hxx b/sc/source/ui/inc/undoolk.hxx
index 26695085185c..67d519438097 100644
--- a/sc/source/ui/inc/undoolk.hxx
+++ b/sc/source/ui/inc/undoolk.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_UNDOOLK_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_UNDOOLK_HXX
+#pragma once
#include <memory>
@@ -30,6 +29,4 @@ void DoSdrUndoAction ( SdrUndoAction* pUndoAction, ScDocument* pD
void RedoSdrUndoAction ( SdrUndoAction* pUndoAction );
void EnableDrawAdjust ( ScDocument* pDoc, bool bEnable );
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/undosort.hxx b/sc/source/ui/inc/undosort.hxx
index d44827ffad5e..64b4f0da7859 100644
--- a/sc/source/ui/inc/undosort.hxx
+++ b/sc/source/ui/inc/undosort.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_UNDOSORT_HXX
-#define INCLUDED_SC_UNDOSORT_HXX
+#pragma once
#include "undobase.hxx"
#include <sortparam.hxx>
@@ -32,6 +31,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/undostyl.hxx b/sc/source/ui/inc/undostyl.hxx
index 0e27014fb0cb..6ea88d0d9550 100644
--- a/sc/source/ui/inc/undostyl.hxx
+++ b/sc/source/ui/inc/undostyl.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_UNDOSTYL_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_UNDOSTYL_HXX
+#pragma once
#include <memory>
#include <svl/style.hxx>
@@ -99,6 +98,4 @@ private:
OUString maNewStyle;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/undotab.hxx b/sc/source/ui/inc/undotab.hxx
index d9e50709a470..2f39b5002e36 100644
--- a/sc/source/ui/inc/undotab.hxx
+++ b/sc/source/ui/inc/undotab.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_UNDOTAB_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_UNDOTAB_HXX
+#pragma once
#include "undobase.hxx"
#include <tools/color.hxx>
@@ -469,6 +468,4 @@ private:
void DoChange( bool bNew );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/undoutil.hxx b/sc/source/ui/inc/undoutil.hxx
index b95af8a198b2..59887e570546 100644
--- a/sc/source/ui/inc/undoutil.hxx
+++ b/sc/source/ui/inc/undoutil.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_UNDOUTIL_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_UNDOUTIL_HXX
+#pragma once
#include <address.hxx>
@@ -48,6 +47,4 @@ public:
SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/validate.hxx b/sc/source/ui/inc/validate.hxx
index a0f84104b63b..82b3cd5968b3 100644
--- a/sc/source/ui/inc/validate.hxx
+++ b/sc/source/ui/inc/validate.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_VALIDATE_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_VALIDATE_HXX
+#pragma once
#include <sfx2/tabdlg.hxx>
@@ -273,6 +272,4 @@ public:
virtual void Reset ( const SfxItemSet* rArgSet ) override;
};
-#endif // INCLUDED_SC_SOURCE_UI_INC_VALIDATE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/viewdata.hxx b/sc/source/ui/inc/viewdata.hxx
index 4026c175e13e..957fd47a9b35 100644
--- a/sc/source/ui/inc/viewdata.hxx
+++ b/sc/source/ui/inc/viewdata.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_VIEWDATA_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_VIEWDATA_HXX
+#pragma once
#include <tools/fract.hxx>
#include <sfx2/zoomitem.hxx>
@@ -713,6 +712,4 @@ inline ScVSplitPos WhichV( ScSplitPos ePos )
SC_SPLIT_TOP : SC_SPLIT_BOTTOM;
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/viewfunc.hxx b/sc/source/ui/inc/viewfunc.hxx
index 7515c9e93858..873312644634 100644
--- a/sc/source/ui/inc/viewfunc.hxx
+++ b/sc/source/ui/inc/viewfunc.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_VIEWFUNC_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_VIEWFUNC_HXX
+#pragma once
#include "tabview.hxx"
@@ -377,6 +376,4 @@ private:
extern bool bPasteIsMove;
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/viewutil.hxx b/sc/source/ui/inc/viewutil.hxx
index 834802f06d0c..228590b6aca4 100644
--- a/sc/source/ui/inc/viewutil.hxx
+++ b/sc/source/ui/inc/viewutil.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_VIEWUTIL_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_VIEWUTIL_HXX
+#pragma once
#include <address.hxx>
#include <sal/types.h>
@@ -86,6 +85,4 @@ public:
bool GetDiff( SCCOL& rX1, SCROW& rY1, SCCOL& rX2, SCROW& rY2 );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/warnbox.hxx b/sc/source/ui/inc/warnbox.hxx
index ec839abbfdf0..f3a437b5ed4f 100644
--- a/sc/source/ui/inc/warnbox.hxx
+++ b/sc/source/ui/inc/warnbox.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_WARNBOX_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_WARNBOX_HXX
+#pragma once
#include <vcl/weld.hxx>
@@ -37,6 +36,4 @@ public:
virtual short run() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/xmlsourcedlg.hxx b/sc/source/ui/inc/xmlsourcedlg.hxx
index 9f4b308e56f4..d4a030f78ecc 100644
--- a/sc/source/ui/inc/xmlsourcedlg.hxx
+++ b/sc/source/ui/inc/xmlsourcedlg.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_INC_XMLSOURCEDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_INC_XMLSOURCEDLG_HXX
+#pragma once
#include "anyrefdg.hxx"
#include <orcusxml.hxx>
@@ -104,6 +103,4 @@ private:
DECL_LINK(RefModifiedHdl, formula::RefEdit&, void);
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/optdlg/calcoptionsdlg.hxx b/sc/source/ui/optdlg/calcoptionsdlg.hxx
index 11b9f7f5477e..003f58ff11ac 100644
--- a/sc/source/ui/optdlg/calcoptionsdlg.hxx
+++ b/sc/source/ui/optdlg/calcoptionsdlg.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_OPTDLG_CALCOPTIONSDLG_HXX
-#define INCLUDED_SC_SOURCE_UI_OPTDLG_CALCOPTIONSDLG_HXX
+#pragma once
#include <vcl/weld.hxx>
#include <calcconfig.hxx>
@@ -41,6 +40,4 @@ private:
std::unique_ptr<weld::ComboBox> mxSyntax;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx b/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx
index c849a7e9e3f3..37073c3cf2ea 100644
--- a/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx
+++ b/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_SIDEBAR_ALIGNMENTPROPERTYPANEL_HXX
-#define INCLUDED_SC_SOURCE_UI_SIDEBAR_ALIGNMENTPROPERTYPANEL_HXX
+#pragma once
#include <sfx2/sidebar/ControllerItem.hxx>
#include <sfx2/sidebar/IContextChangeReceiver.hxx>
@@ -111,6 +110,4 @@ private:
} // end of namespace ::sc::sidebar
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx b/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx
index a0249a7249c2..d695df4ceb0a 100644
--- a/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx
+++ b/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_SIDEBAR_CELLAPPEARANCEPROPERTYPANEL_HXX
-#define INCLUDED_SC_SOURCE_UI_SIDEBAR_CELLAPPEARANCEPROPERTYPANEL_HXX
+#pragma once
#include <sfx2/sidebar/ControllerItem.hxx>
#include <sfx2/sidebar/IContextChangeReceiver.hxx>
@@ -145,6 +144,4 @@ private:
} // end of namespace ::sc::sidebar
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/sidebar/CellBorderStyleControl.hxx b/sc/source/ui/sidebar/CellBorderStyleControl.hxx
index cadce62cc8a5..f6ae6891b868 100644
--- a/sc/source/ui/sidebar/CellBorderStyleControl.hxx
+++ b/sc/source/ui/sidebar/CellBorderStyleControl.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_SIDEBAR_CELLBORDERSTYLECONTROL_HXX
-#define INCLUDED_SC_SOURCE_UI_SIDEBAR_CELLBORDERSTYLECONTROL_HXX
+#pragma once
#include <svtools/toolbarmenu.hxx>
#include <svx/colorwindow.hxx>
@@ -50,6 +49,4 @@ public:
} // end of namespace svx::sidebar
-#endif // INCLUDED_SC_SOURCE_UI_SIDEBAR_CELLBORDERSTYLECONTROL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/sidebar/CellLineStyleControl.hxx b/sc/source/ui/sidebar/CellLineStyleControl.hxx
index 97bf480b4bfa..8bb9ba89c8ce 100644
--- a/sc/source/ui/sidebar/CellLineStyleControl.hxx
+++ b/sc/source/ui/sidebar/CellLineStyleControl.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_SIDEBAR_CELLLINESTYLECONTROL_HXX
-#define INCLUDED_SC_SOURCE_UI_SIDEBAR_CELLLINESTYLECONTROL_HXX
+#pragma once
#include <svtools/toolbarmenu.hxx>
#include <svx/colorwindow.hxx>
@@ -52,6 +51,4 @@ public:
} // end of namespace svx::sidebar
-#endif // INCLUDED_SC_SOURCE_UI_SIDEBAR_CELLLINESTYLECONTROL_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/sidebar/CellLineStyleValueSet.hxx b/sc/source/ui/sidebar/CellLineStyleValueSet.hxx
index 9a2ebd64dd90..b730c687e98e 100644
--- a/sc/source/ui/sidebar/CellLineStyleValueSet.hxx
+++ b/sc/source/ui/sidebar/CellLineStyleValueSet.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_SIDEBAR_CELLLINESTYLEVALUESET_HXX
-#define INCLUDED_SC_SOURCE_UI_SIDEBAR_CELLLINESTYLEVALUESET_HXX
+#pragma once
#include <svtools/valueset.hxx>
@@ -43,6 +42,4 @@ public:
} // end of namespace svx::sidebar
-#endif // INCLUDED_SC_SOURCE_UI_SIDEBAR_CELLLINESTYLEVALUESET_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/sidebar/NumberFormatPropertyPanel.hxx b/sc/source/ui/sidebar/NumberFormatPropertyPanel.hxx
index 8505829c5a89..7c540beef5ee 100644
--- a/sc/source/ui/sidebar/NumberFormatPropertyPanel.hxx
+++ b/sc/source/ui/sidebar/NumberFormatPropertyPanel.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_SIDEBAR_NUMBERFORMATPROPERTYPANEL_HXX
-#define INCLUDED_SC_SOURCE_UI_SIDEBAR_NUMBERFORMATPROPERTYPANEL_HXX
+#pragma once
#include <sfx2/sidebar/ControllerItem.hxx>
#include <sfx2/sidebar/IContextChangeReceiver.hxx>
@@ -92,6 +91,4 @@ private:
} // end of namespace ::sc::sidebar
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/sidebar/ScPanelFactory.hxx b/sc/source/ui/sidebar/ScPanelFactory.hxx
index 8154fd9eea45..2e6c7900ec3e 100644
--- a/sc/source/ui/sidebar/ScPanelFactory.hxx
+++ b/sc/source/ui/sidebar/ScPanelFactory.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_INC_SCPANELFACTORY_HXX
-#define INCLUDED_SC_INC_SCPANELFACTORY_HXX
+#pragma once
#include <cppuhelper/compbase.hxx>
#include <cppuhelper/basemutex.hxx>
@@ -56,6 +55,4 @@ public:
} // end of namespace sc::sidebar
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/unoobj/celllistsource.hxx b/sc/source/ui/unoobj/celllistsource.hxx
index b665d2cdb767..9d4f35325972 100644
--- a/sc/source/ui/unoobj/celllistsource.hxx
+++ b/sc/source/ui/unoobj/celllistsource.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_UNOOBJ_CELLLISTSOURCE_HXX
-#define INCLUDED_SC_SOURCE_UI_UNOOBJ_CELLLISTSOURCE_HXX
+#pragma once
#include <com/sun/star/form/binding/XListEntryTypedSource.hpp>
#include <cppuhelper/compbase4.hxx>
@@ -153,6 +152,4 @@ namespace calc
} // namespace calc
-#endif // INCLUDED_SC_SOURCE_UI_UNOOBJ_CELLLISTSOURCE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/unoobj/cellvaluebinding.hxx b/sc/source/ui/unoobj/cellvaluebinding.hxx
index d68a6569ba62..75fcf4eb7912 100644
--- a/sc/source/ui/unoobj/cellvaluebinding.hxx
+++ b/sc/source/ui/unoobj/cellvaluebinding.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_UNOOBJ_CELLVALUEBINDING_HXX
-#define INCLUDED_SC_SOURCE_UI_UNOOBJ_CELLVALUEBINDING_HXX
+#pragma once
#include <com/sun/star/form/binding/XValueBinding.hpp>
#include <com/sun/star/util/XModifyBroadcaster.hpp>
@@ -144,6 +143,4 @@ namespace calc
} // namespace calc
-#endif // INCLUDED_SC_SOURCE_UI_UNOOBJ_CELLVALUEBINDING_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/unoobj/exceldetect.hxx b/sc/source/ui/unoobj/exceldetect.hxx
index 3abb930badad..718963752646 100644
--- a/sc/source/ui/unoobj/exceldetect.hxx
+++ b/sc/source/ui/unoobj/exceldetect.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_UNOOBJ_EXCELDETECT_HXX
-#define INCLUDED_SC_SOURCE_UI_UNOOBJ_EXCELDETECT_HXX
+#pragma once
#include <cppuhelper/implbase.hxx>
@@ -32,6 +31,4 @@ public:
detect(css::uno::Sequence<css::beans::PropertyValue>& lDescriptor) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/unoobj/scdetect.hxx b/sc/source/ui/unoobj/scdetect.hxx
index 4507e75ef1ee..697bd8d58e3d 100644
--- a/sc/source/ui/unoobj/scdetect.hxx
+++ b/sc/source/ui/unoobj/scdetect.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_UNOOBJ_SCDETECT_HXX
-#define INCLUDED_SC_SOURCE_UI_UNOOBJ_SCDETECT_HXX
+#pragma once
#include <com/sun/star/document/XExtendedFilterDetection.hpp>
#include <cppuhelper/implbase.hxx>
@@ -47,6 +46,4 @@ public:
virtual OUString SAL_CALL detect( css::uno::Sequence<css::beans::PropertyValue>& lDescriptor ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/excelvbahelper.hxx b/sc/source/ui/vba/excelvbahelper.hxx
index b47e0b3fabe9..41d9cc0a2df1 100644
--- a/sc/source/ui/vba/excelvbahelper.hxx
+++ b/sc/source/ui/vba/excelvbahelper.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_EXCELVBAHELPER_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_EXCELVBAHELPER_HXX
+#pragma once
#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <vector>
@@ -95,6 +94,4 @@ template < typename ImplObject >
} // namespace ooo::vba::excel
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/helperdecl.hxx b/sc/source/ui/vba/helperdecl.hxx
index 9aedecc83347..b1163047ef2b 100644
--- a/sc/source/ui/vba/helperdecl.hxx
+++ b/sc/source/ui/vba/helperdecl.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_HELPERDECL_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_HELPERDECL_HXX
+#pragma once
#include <comphelper/servicedecl.hxx>
@@ -45,6 +44,4 @@ struct vba_service_class_ : public serviceimpl_base< detail::OwnServiceImpl<Impl
} // namespace service_decl
} // namespace comphelper
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbaapplication.hxx b/sc/source/ui/vba/vbaapplication.hxx
index eac54601d260..f439a91aa763 100644
--- a/sc/source/ui/vba/vbaapplication.hxx
+++ b/sc/source/ui/vba/vbaapplication.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAAPPLICATION_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAAPPLICATION_HXX
+#pragma once
#include <vector>
@@ -161,6 +160,5 @@ public:
// XSinkCaller
virtual void SAL_CALL CallSinks( const OUString& Method, css::uno::Sequence< css::uno::Any >& Arguments ) override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBAAPPLICATION_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbaassistant.hxx b/sc/source/ui/vba/vbaassistant.hxx
index ef961933e7e4..674e644451ec 100644
--- a/sc/source/ui/vba/vbaassistant.hxx
+++ b/sc/source/ui/vba/vbaassistant.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAASSISTANT_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAASSISTANT_HXX
+#pragma once
#include <cppuhelper/implbase.hxx>
#include <ooo/vba/XAssistant.hpp>
@@ -55,6 +54,4 @@ public:
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBAASSISTANT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbaaxes.hxx b/sc/source/ui/vba/vbaaxes.hxx
index ec15beba20f8..cb7c48a7fccd 100644
--- a/sc/source/ui/vba/vbaaxes.hxx
+++ b/sc/source/ui/vba/vbaaxes.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAAXES_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAAXES_HXX
+#pragma once
#include <ooo/vba/excel/XAxes.hpp>
#include <vbahelper/vbacollectionimpl.hxx>
@@ -45,6 +44,4 @@ public:
static css::uno::Reference< ov::excel::XAxis > createAxis( const css::uno::Reference< ov::excel::XChart >& xChart, const css::uno::Reference< css::uno::XComponentContext >& xContext, sal_Int32 nType, sal_Int32 nAxisGroup );
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBAAXES_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbaaxis.hxx b/sc/source/ui/vba/vbaaxis.hxx
index 88004a31514b..6636fb617c29 100644
--- a/sc/source/ui/vba/vbaaxis.hxx
+++ b/sc/source/ui/vba/vbaaxis.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAAXIS_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAAXIS_HXX
+#pragma once
#include <com/sun/star/beans/XPropertySet.hpp>
#include <ooo/vba/excel/XAxis.hpp>
#include <ooo/vba/excel/XChart.hpp>
@@ -88,6 +87,4 @@ public:
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBAAXIS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbaaxistitle.hxx b/sc/source/ui/vba/vbaaxistitle.hxx
index 048874bb4530..9226a58a3bcf 100644
--- a/sc/source/ui/vba/vbaaxistitle.hxx
+++ b/sc/source/ui/vba/vbaaxistitle.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAAXISTITLE_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAAXISTITLE_HXX
+#pragma once
#include "vbatitle.hxx"
#include <cppuhelper/implbase.hxx>
@@ -33,6 +32,5 @@ public:
virtual OUString getServiceImplName() override;
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbaborders.hxx b/sc/source/ui/vba/vbaborders.hxx
index 14c896c2b864..6d3621101c5d 100644
--- a/sc/source/ui/vba/vbaborders.hxx
+++ b/sc/source/ui/vba/vbaborders.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBABORDERS_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBABORDERS_HXX
+#pragma once
#include <ooo/vba/excel/XBorders.hpp>
@@ -65,6 +64,4 @@ public:
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBABORDERS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbacharacters.hxx b/sc/source/ui/vba/vbacharacters.hxx
index 9a7bd69229f2..1d9c3c82fa21 100644
--- a/sc/source/ui/vba/vbacharacters.hxx
+++ b/sc/source/ui/vba/vbacharacters.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBACHARACTERS_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBACHARACTERS_HXX
+#pragma once
#include <ooo/vba/excel/XCharacters.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
@@ -59,6 +58,4 @@ public:
};
-#endif /* SC_VBA_CHARACTER_HXX */
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbachart.hxx b/sc/source/ui/vba/vbachart.hxx
index 03edd255274c..eedf13b9fa61 100644
--- a/sc/source/ui/vba/vbachart.hxx
+++ b/sc/source/ui/vba/vbachart.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBACHART_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBACHART_HXX
+#pragma once
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/table/XTableChart.hpp>
@@ -101,6 +100,4 @@ public:
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBACHART_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbachartobject.hxx b/sc/source/ui/vba/vbachartobject.hxx
index 6bce2f4b54c8..85a014052c84 100644
--- a/sc/source/ui/vba/vbachartobject.hxx
+++ b/sc/source/ui/vba/vbachartobject.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBACHARTOBJECT_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBACHARTOBJECT_HXX
+#pragma once
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/table/XTableChart.hpp>
@@ -59,6 +58,4 @@ public:
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBACHARTOBJECT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbachartobjects.hxx b/sc/source/ui/vba/vbachartobjects.hxx
index 8a958bc93a3d..ce116e734bff 100644
--- a/sc/source/ui/vba/vbachartobjects.hxx
+++ b/sc/source/ui/vba/vbachartobjects.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBACHARTOBJECTS_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBACHARTOBJECTS_HXX
+#pragma once
#include <ooo/vba/excel/XChartObjects.hpp>
#include <vbahelper/vbacollectionimpl.hxx>
@@ -58,6 +57,4 @@ public:
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBACHARTOBJECTS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbacharttitle.hxx b/sc/source/ui/vba/vbacharttitle.hxx
index 9091bbf1a356..2b816357e2a2 100644
--- a/sc/source/ui/vba/vbacharttitle.hxx
+++ b/sc/source/ui/vba/vbacharttitle.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBACHARTTITLE_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBACHARTTITLE_HXX
+#pragma once
#include "vbatitle.hxx"
#include <cppuhelper/implbase.hxx>
#include <ooo/vba/excel/XChartTitle.hpp>
@@ -32,6 +31,5 @@ public:
virtual OUString getServiceImplName() override;
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbacomment.hxx b/sc/source/ui/vba/vbacomment.hxx
index f93fb76e41e2..fe801899ca5d 100644
--- a/sc/source/ui/vba/vbacomment.hxx
+++ b/sc/source/ui/vba/vbacomment.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBACOMMENT_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBACOMMENT_HXX
+#pragma once
#include <ooo/vba/excel/XComment.hpp>
#include <ooo/vba/msforms/XShape.hpp>
@@ -70,6 +69,4 @@ public:
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBACOMMENT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbacomments.hxx b/sc/source/ui/vba/vbacomments.hxx
index 9f5cb158b4bf..83a62b6e8600 100644
--- a/sc/source/ui/vba/vbacomments.hxx
+++ b/sc/source/ui/vba/vbacomments.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBACOMMENTS_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBACOMMENTS_HXX
+#pragma once
#include <ooo/vba/excel/XComments.hpp>
@@ -47,6 +46,4 @@ private:
css::uno::Reference< css::frame::XModel > mxModel;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBACOMMENTS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbacondition.hxx b/sc/source/ui/vba/vbacondition.hxx
index 585e6bc9d2d6..78faf0d5e60a 100644
--- a/sc/source/ui/vba/vbacondition.hxx
+++ b/sc/source/ui/vba/vbacondition.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBACONDITION_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBACONDITION_HXX
+#pragma once
#include <vbahelper/vbahelperinterface.hxx>
#include <com/sun/star/sheet/ConditionOperator.hpp>
@@ -45,6 +44,5 @@ public:
virtual sal_Int32 SAL_CALL Operator() override = 0;
};
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbadialog.hxx b/sc/source/ui/vba/vbadialog.hxx
index e2d60bb32fab..9317cbfaf20f 100644
--- a/sc/source/ui/vba/vbadialog.hxx
+++ b/sc/source/ui/vba/vbadialog.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBADIALOG_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBADIALOG_HXX
+#pragma once
#include <cppuhelper/implbase.hxx>
#include <ooo/vba/excel/XDialog.hpp>
@@ -38,6 +37,4 @@ public:
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBADIALOG_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbadialogs.hxx b/sc/source/ui/vba/vbadialogs.hxx
index aca56b5a6c74..97cbbda0442a 100644
--- a/sc/source/ui/vba/vbadialogs.hxx
+++ b/sc/source/ui/vba/vbadialogs.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBADIALOGS_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBADIALOGS_HXX
+#pragma once
#include <ooo/vba/excel/XDialogs.hpp>
#include <vbahelper/vbadialogsbase.hxx>
@@ -41,6 +40,4 @@ public:
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBADIALOGS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbaeventshelper.hxx b/sc/source/ui/vba/vbaeventshelper.hxx
index 7e85b8fdc3a2..e5bf11ecb340 100644
--- a/sc/source/ui/vba/vbaeventshelper.hxx
+++ b/sc/source/ui/vba/vbaeventshelper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAEVENTSHELPER_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAEVENTSHELPER_HXX
+#pragma once
#include <rtl/ref.hxx>
#include <vbahelper/vbaeventshelperbase.hxx>
@@ -82,6 +81,4 @@ private:
bool mbOpened;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbafiledialog.hxx b/sc/source/ui/vba/vbafiledialog.hxx
index 98a0c76a5dfa..c91398149f67 100644
--- a/sc/source/ui/vba/vbafiledialog.hxx
+++ b/sc/source/ui/vba/vbafiledialog.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAFILEDIALOG_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAFILEDIALOG_HXX
+#pragma once
#include <ooo/vba/excel/XFileDialog.hpp>
#include <vbahelper/vbahelperinterface.hxx>
@@ -52,6 +51,4 @@ public:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbafiledialogitems.hxx b/sc/source/ui/vba/vbafiledialogitems.hxx
index f0e2977fee7c..fa56fde53a7f 100644
--- a/sc/source/ui/vba/vbafiledialogitems.hxx
+++ b/sc/source/ui/vba/vbafiledialogitems.hxx
@@ -6,8 +6,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAFILEDIALOGSELECTEDITEMS
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAFILEDIALOGSELECTEDITEMS
+#pragma once
#include <ooo/vba/excel/XFileDialogSelectedItems.hpp>
#include <vbahelper/vbacollectionimpl.hxx>
@@ -34,6 +33,4 @@ public:
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBAFILEDIALOGSELECTEDITEMS
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbafont.hxx b/sc/source/ui/vba/vbafont.hxx
index 9aa5936dbee0..d6a01b9a05e8 100644
--- a/sc/source/ui/vba/vbafont.hxx
+++ b/sc/source/ui/vba/vbafont.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAFONT_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAFONT_HXX
+#pragma once
#include <cppuhelper/implbase.hxx>
@@ -74,6 +73,4 @@ public:
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBAFONT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbaformat.hxx b/sc/source/ui/vba/vbaformat.hxx
index 0c1819852160..5232448a0094 100644
--- a/sc/source/ui/vba/vbaformat.hxx
+++ b/sc/source/ui/vba/vbaformat.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAFORMAT_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAFORMAT_HXX
+#pragma once
#include <com/sun/star/lang/Locale.hpp>
#include <vbahelper/vbahelperinterface.hxx>
@@ -152,6 +151,4 @@ public:
virtual css::uno::Any SAL_CALL getReadingOrder( );
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbaformatcondition.hxx b/sc/source/ui/vba/vbaformatcondition.hxx
index dbf503bae84c..7d09a11b9597 100644
--- a/sc/source/ui/vba/vbaformatcondition.hxx
+++ b/sc/source/ui/vba/vbaformatcondition.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAFORMATCONDITION_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAFORMATCONDITION_HXX
+#pragma once
#include <ooo/vba/excel/XFormatCondition.hpp>
#include <ooo/vba/excel/XFormatConditions.hpp>
#include <ooo/vba/excel/XStyle.hpp>
@@ -64,6 +63,5 @@ public:
virtual OUString getServiceImplName() override;
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbaformatconditions.hxx b/sc/source/ui/vba/vbaformatconditions.hxx
index 79b220472421..fd5a7fc839f0 100644
--- a/sc/source/ui/vba/vbaformatconditions.hxx
+++ b/sc/source/ui/vba/vbaformatconditions.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAFORMATCONDITIONS_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAFORMATCONDITIONS_HXX
+#pragma once
#include <ooo/vba/excel/XFormatConditions.hpp>
#include <vbahelper/vbacollectionimpl.hxx>
@@ -64,6 +63,4 @@ public:
ScVbaFormatConditions() = delete;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBAFORMATCONDITIONS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbahyperlink.hxx b/sc/source/ui/vba/vbahyperlink.hxx
index 047a5cb69965..391853be74f5 100644
--- a/sc/source/ui/vba/vbahyperlink.hxx
+++ b/sc/source/ui/vba/vbahyperlink.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAHYPERLINK_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAHYPERLINK_HXX
+#pragma once
#include <ooo/vba/excel/XHyperlink.hpp>
@@ -84,6 +83,4 @@ private:
tools::Long mnType;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBAHYPERLINK_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbahyperlinks.hxx b/sc/source/ui/vba/vbahyperlinks.hxx
index 48aa35b4b19b..7538fe50b0f9 100644
--- a/sc/source/ui/vba/vbahyperlinks.hxx
+++ b/sc/source/ui/vba/vbahyperlinks.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAHYPERLINKS_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAHYPERLINKS_HXX
+#pragma once
#include <ooo/vba/excel/XHyperlinks.hpp>
#include <rtl/ref.hxx>
@@ -134,6 +133,4 @@ private:
ScVbaHyperlinksRef mxSheetHlinks;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbainterior.hxx b/sc/source/ui/vba/vbainterior.hxx
index c06675ee28bb..1ea226e63bd3 100644
--- a/sc/source/ui/vba/vbainterior.hxx
+++ b/sc/source/ui/vba/vbainterior.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAINTERIOR_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAINTERIOR_HXX
+#pragma once
#include <ooo/vba/excel/XInterior.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
@@ -80,6 +79,5 @@ public:
virtual OUString getServiceImplName() override;
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbalineshape.hxx b/sc/source/ui/vba/vbalineshape.hxx
index 08ce5f17b841..953bc87a3e0f 100644
--- a/sc/source/ui/vba/vbalineshape.hxx
+++ b/sc/source/ui/vba/vbalineshape.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBALINESHAPE_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBALINESHAPE_HXX
+#pragma once
#include <ooo/vba/msforms/XLine.hpp>
#include <cppuhelper/implbase.hxx>
@@ -32,6 +31,4 @@ public:
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBALINESHAPE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbamenu.hxx b/sc/source/ui/vba/vbamenu.hxx
index a6e0e23979db..284e2bc76839 100644
--- a/sc/source/ui/vba/vbamenu.hxx
+++ b/sc/source/ui/vba/vbamenu.hxx
@@ -6,8 +6,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAMENU_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAMENU_HXX
+#pragma once
#include <ooo/vba/excel/XMenu.hpp>
#include <ooo/vba/XCommandBarControl.hpp>
@@ -34,6 +33,5 @@ public:
virtual OUString getServiceImplName() override;
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBAMENU_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbamenubar.hxx b/sc/source/ui/vba/vbamenubar.hxx
index 5a07657f3a9a..75c1854c6015 100644
--- a/sc/source/ui/vba/vbamenubar.hxx
+++ b/sc/source/ui/vba/vbamenubar.hxx
@@ -6,8 +6,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAMENUBAR_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAMENUBAR_HXX
+#pragma once
#include <ooo/vba/excel/XMenuBar.hpp>
#include <ooo/vba/XCommandBar.hpp>
@@ -30,6 +29,5 @@ public:
virtual OUString getServiceImplName() override;
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBAMENUBAR_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbamenubars.hxx b/sc/source/ui/vba/vbamenubars.hxx
index 1e5568133ce7..1303a0ff358f 100644
--- a/sc/source/ui/vba/vbamenubars.hxx
+++ b/sc/source/ui/vba/vbamenubars.hxx
@@ -6,8 +6,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAMENUBARS_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAMENUBARS_HXX
+#pragma once
#include <ooo/vba/excel/XMenuBars.hpp>
#include <vbahelper/vbacollectionimpl.hxx>
@@ -38,6 +37,4 @@ public:
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBAMENUBARS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbamenuitem.hxx b/sc/source/ui/vba/vbamenuitem.hxx
index 86d22c34bde6..bf8c35b2908b 100644
--- a/sc/source/ui/vba/vbamenuitem.hxx
+++ b/sc/source/ui/vba/vbamenuitem.hxx
@@ -6,8 +6,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAMENUITEM_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAMENUITEM_HXX
+#pragma once
#include <ooo/vba/excel/XMenuItem.hpp>
#include <ooo/vba/XCommandBarControl.hpp>
@@ -35,6 +34,5 @@ public:
virtual OUString getServiceImplName() override;
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBAMENUITEM_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbamenuitems.hxx b/sc/source/ui/vba/vbamenuitems.hxx
index 1e5b7d01d83c..71f43e634c29 100644
--- a/sc/source/ui/vba/vbamenuitems.hxx
+++ b/sc/source/ui/vba/vbamenuitems.hxx
@@ -6,8 +6,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAMENUITEMS_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAMENUITEMS_HXX
+#pragma once
#include <ooo/vba/excel/XMenuItems.hpp>
#include <vbahelper/vbacollectionimpl.hxx>
@@ -40,6 +39,4 @@ public:
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBAMENUITEMS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbamenus.hxx b/sc/source/ui/vba/vbamenus.hxx
index 2cfd8b9c84c9..2a14cf3cb374 100644
--- a/sc/source/ui/vba/vbamenus.hxx
+++ b/sc/source/ui/vba/vbamenus.hxx
@@ -6,8 +6,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAMENUS_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAMENUS_HXX
+#pragma once
#include <ooo/vba/excel/XMenus.hpp>
#include <vbahelper/vbacollectionimpl.hxx>
@@ -40,6 +39,4 @@ public:
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBAMENUS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbaname.hxx b/sc/source/ui/vba/vbaname.hxx
index 7b0b762f0186..194b047faeb2 100644
--- a/sc/source/ui/vba/vbaname.hxx
+++ b/sc/source/ui/vba/vbaname.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBANAME_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBANAME_HXX
+#pragma once
#include <ooo/vba/excel/XName.hpp>
@@ -66,6 +65,5 @@ public:
virtual OUString getServiceImplName() override;
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBANAME_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbanames.hxx b/sc/source/ui/vba/vbanames.hxx
index f826428861dc..96f03d435975 100644
--- a/sc/source/ui/vba/vbanames.hxx
+++ b/sc/source/ui/vba/vbanames.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBANAMES_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBANAMES_HXX
+#pragma once
#include <ooo/vba/excel/XNames.hpp>
#include <vbahelper/vbacollectionimpl.hxx>
@@ -66,6 +65,5 @@ public:
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBANAMES_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbaoleobject.hxx b/sc/source/ui/vba/vbaoleobject.hxx
index 1b1b49bd041c..9eecf5fdc62b 100644
--- a/sc/source/ui/vba/vbaoleobject.hxx
+++ b/sc/source/ui/vba/vbaoleobject.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAOLEOBJECT_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAOLEOBJECT_HXX
+#pragma once
#include <com/sun/star/drawing/XControlShape.hpp>
#include <ooo/vba/excel/XOLEObject.hpp>
@@ -54,6 +53,5 @@ public:
virtual OUString SAL_CALL getLinkedCell() override;
virtual void SAL_CALL setLinkedCell( const OUString& _linkedcell ) override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBAOLEOBJECT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbaoleobjects.hxx b/sc/source/ui/vba/vbaoleobjects.hxx
index fbf0dd436f27..9d4eab048ce2 100644
--- a/sc/source/ui/vba/vbaoleobjects.hxx
+++ b/sc/source/ui/vba/vbaoleobjects.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAOLEOBJECTS_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAOLEOBJECTS_HXX
+#pragma once
#include <ooo/vba/excel/XOLEObjects.hpp>
@@ -44,6 +43,5 @@ public:
// ScVbaCollectionBaseImpl
virtual css::uno::Any createCollectionObject(const css::uno::Any& aSource) override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBAOLEOBJECTS_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbaoutline.hxx b/sc/source/ui/vba/vbaoutline.hxx
index c23c5f6c5036..4554083e9dab 100644
--- a/sc/source/ui/vba/vbaoutline.hxx
+++ b/sc/source/ui/vba/vbaoutline.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAOUTLINE_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAOUTLINE_HXX
+#pragma once
#include <ooo/vba/excel/XOutline.hpp>
#include <vbahelper/vbahelperinterface.hxx>
@@ -40,6 +39,5 @@ public:
virtual OUString getServiceImplName() override;
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbaovalshape.hxx b/sc/source/ui/vba/vbaovalshape.hxx
index 72ec0996af38..1155cd1fc95f 100644
--- a/sc/source/ui/vba/vbaovalshape.hxx
+++ b/sc/source/ui/vba/vbaovalshape.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAOVALSHAPE_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAOVALSHAPE_HXX
+#pragma once
#include <ooo/vba/msforms/XOval.hpp>
#include <cppuhelper/implbase.hxx>
@@ -32,6 +31,4 @@ public:
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBAOVALSHAPE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbapagebreak.hxx b/sc/source/ui/vba/vbapagebreak.hxx
index e23d651bf48e..537258923e3d 100644
--- a/sc/source/ui/vba/vbapagebreak.hxx
+++ b/sc/source/ui/vba/vbapagebreak.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAPAGEBREAK_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAPAGEBREAK_HXX
+#pragma once
#include <ooo/vba/excel/XHPageBreak.hpp>
#include <ooo/vba/excel/XVPageBreak.hpp>
@@ -85,6 +84,4 @@ public:
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbapagebreaks.hxx b/sc/source/ui/vba/vbapagebreaks.hxx
index eda42c075460..a04f94145d75 100644
--- a/sc/source/ui/vba/vbapagebreaks.hxx
+++ b/sc/source/ui/vba/vbapagebreaks.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAPAGEBREAKS_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAPAGEBREAKS_HXX
+#pragma once
#include <ooo/vba/excel/XHPageBreaks.hpp>
#include <ooo/vba/excel/XVPageBreaks.hpp>
@@ -81,6 +80,4 @@ public:
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbapagesetup.hxx b/sc/source/ui/vba/vbapagesetup.hxx
index 7ceaa3ca3384..75e3ed1d3413 100644
--- a/sc/source/ui/vba/vbapagesetup.hxx
+++ b/sc/source/ui/vba/vbapagesetup.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAPAGESETUP_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAPAGESETUP_HXX
+#pragma once
#include <cppuhelper/implbase.hxx>
#include <ooo/vba/excel/XPageSetup.hpp>
@@ -87,6 +86,5 @@ public:
virtual OUString getServiceImplName() override;
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbapalette.hxx b/sc/source/ui/vba/vbapalette.hxx
index fd1f424f8488..cc0d66f3c257 100644
--- a/sc/source/ui/vba/vbapalette.hxx
+++ b/sc/source/ui/vba/vbapalette.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAPALETTE_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAPALETTE_HXX
+#pragma once
#include <com/sun/star/uno/Reference.hxx>
@@ -42,6 +41,4 @@ public:
static css::uno::Reference< css::container::XIndexAccess > getDefaultPalette();
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBAPALETTE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbapane.hxx b/sc/source/ui/vba/vbapane.hxx
index 539b278780c2..cf4fd832803e 100644
--- a/sc/source/ui/vba/vbapane.hxx
+++ b/sc/source/ui/vba/vbapane.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAPANE_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAPANE_HXX
+#pragma once
#include <com/sun/star/sheet/XViewPane.hpp>
#include <cppuhelper/implbase.hxx>
@@ -53,6 +52,4 @@ private:
css::uno::Reference< css::uno::XComponentContext > m_xContext;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBAPANE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbapivotcache.hxx b/sc/source/ui/vba/vbapivotcache.hxx
index f7004774dffc..c02f309200e8 100644
--- a/sc/source/ui/vba/vbapivotcache.hxx
+++ b/sc/source/ui/vba/vbapivotcache.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAPIVOTCACHE_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAPIVOTCACHE_HXX
+#pragma once
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/sheet/XDataPilotTable.hpp>
@@ -38,6 +37,4 @@ public:
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBAPIVOTCACHE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbapivottable.hxx b/sc/source/ui/vba/vbapivottable.hxx
index 8c99df75d4bc..3d3392168f6b 100644
--- a/sc/source/ui/vba/vbapivottable.hxx
+++ b/sc/source/ui/vba/vbapivottable.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAPIVOTTABLE_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAPIVOTTABLE_HXX
+#pragma once
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/sheet/XDataPilotTable.hpp>
#include <ooo/vba/excel/XPivotTable.hpp>
@@ -38,6 +37,4 @@ public:
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBAPIVOTTABLE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbapivottables.hxx b/sc/source/ui/vba/vbapivottables.hxx
index ba0ac18d2061..69b16b96f7b2 100644
--- a/sc/source/ui/vba/vbapivottables.hxx
+++ b/sc/source/ui/vba/vbapivottables.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAPIVOTTABLES_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAPIVOTTABLES_HXX
+#pragma once
#include <ooo/vba/excel/XPivotTables.hpp>
@@ -47,6 +46,4 @@ public:
};
-#endif //SC_VBA_PIVOTTABLES
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbarange.hxx b/sc/source/ui/vba/vbarange.hxx
index f2ecc43a8e2d..59404f9a730c 100644
--- a/sc/source/ui/vba/vbarange.hxx
+++ b/sc/source/ui/vba/vbarange.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBARANGE_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBARANGE_HXX
+#pragma once
#include <ooo/vba/excel/XRange.hpp>
@@ -318,6 +317,4 @@ bool getScRangeListForAddress( const OUString& sName, ScDocShell* pDocSh, const
ScRangeList& aCellRanges,
formula::FormulaGrammar::AddressConvention aConv = formula::FormulaGrammar::CONV_XL_A1 );
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBARANGE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbasheetobject.hxx b/sc/source/ui/vba/vbasheetobject.hxx
index 75b5bb553d99..d88b15034f32 100644
--- a/sc/source/ui/vba/vbasheetobject.hxx
+++ b/sc/source/ui/vba/vbasheetobject.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBASHEETOBJECT_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBASHEETOBJECT_HXX
+#pragma once
#include <ooo/vba/excel/XButton.hpp>
#include <ooo/vba/excel/XControlObject.hpp>
@@ -207,6 +206,4 @@ protected:
virtual void implSetDefaultProperties() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbasheetobjects.hxx b/sc/source/ui/vba/vbasheetobjects.hxx
index 961980f965c6..38d2d1c8d69f 100644
--- a/sc/source/ui/vba/vbasheetobjects.hxx
+++ b/sc/source/ui/vba/vbasheetobjects.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBASHEETOBJECTS_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBASHEETOBJECTS_HXX
+#pragma once
#include <cppuhelper/implbase.hxx>
#include <ooo/vba/excel/XGraphicObjects.hpp>
@@ -100,6 +99,4 @@ public:
VBAHELPER_DECL_XHELPERINTERFACE
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbastyle.hxx b/sc/source/ui/vba/vbastyle.hxx
index b8cb5b6a65c2..cc002ce6ff64 100644
--- a/sc/source/ui/vba/vbastyle.hxx
+++ b/sc/source/ui/vba/vbastyle.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBASTYLE_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBASTYLE_HXX
+#pragma once
#include <ooo/vba/excel/XStyle.hpp>
#include <com/sun/star/style/XStyle.hpp>
@@ -60,6 +59,4 @@ public:
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBASTYLE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbastyles.hxx b/sc/source/ui/vba/vbastyles.hxx
index 79ffde31ab22..78990bca969c 100644
--- a/sc/source/ui/vba/vbastyles.hxx
+++ b/sc/source/ui/vba/vbastyles.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBASTYLES_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBASTYLES_HXX
+#pragma once
#include <ooo/vba/excel/XStyles.hpp>
#include <vbahelper/vbacollectionimpl.hxx>
@@ -48,6 +47,4 @@ public:
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbatextboxshape.hxx b/sc/source/ui/vba/vbatextboxshape.hxx
index edd9e0cee0f2..c97fca8d8a36 100644
--- a/sc/source/ui/vba/vbatextboxshape.hxx
+++ b/sc/source/ui/vba/vbatextboxshape.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBATEXTBOXSHAPE_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBATEXTBOXSHAPE_HXX
+#pragma once
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/text/XTextRange.hpp>
#include <ooo/vba/msforms/XTextBoxShape.hpp>
@@ -36,6 +35,5 @@ public:
virtual void SAL_CALL setText( const OUString& _text ) override;
virtual css::uno::Reference< ov::excel::XCharacters > SAL_CALL characters( const css::uno::Any& Start, const css::uno::Any& Length ) override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBATEXTBOXSHAPE_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbatextframe.hxx b/sc/source/ui/vba/vbatextframe.hxx
index 6ebaec17c835..eb7a59a931af 100644
--- a/sc/source/ui/vba/vbatextframe.hxx
+++ b/sc/source/ui/vba/vbatextframe.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBATEXTFRAME_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBATEXTFRAME_HXX
+#pragma once
#include <cppuhelper/implbase.hxx>
#include <ooo/vba/excel/XTextFrame.hpp>
#include <vbahelper/vbatextframe.hxx>
@@ -38,6 +37,4 @@ public:
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBATEXTFRAME_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbatitle.hxx b/sc/source/ui/vba/vbatitle.hxx
index 6b79867d254f..5c3114d53670 100644
--- a/sc/source/ui/vba/vbatitle.hxx
+++ b/sc/source/ui/vba/vbatitle.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBATITLE_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBATITLE_HXX
+#pragma once
#include <vbahelper/vbahelperinterface.hxx>
#include "vbainterior.hxx"
@@ -143,6 +142,5 @@ public:
return aServiceNames;
}
};
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbavalidation.hxx b/sc/source/ui/vba/vbavalidation.hxx
index a8fd6aec3d10..ab16c053337a 100644
--- a/sc/source/ui/vba/vbavalidation.hxx
+++ b/sc/source/ui/vba/vbavalidation.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAVALIDATION_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAVALIDATION_HXX
+#pragma once
#include <ooo/vba/excel/XValidation.hpp>
#include <vbahelper/vbahelperinterface.hxx>
@@ -62,6 +61,4 @@ public:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbawindow.hxx b/sc/source/ui/vba/vbawindow.hxx
index 82ee004e8fac..c4c0a0becb34 100644
--- a/sc/source/ui/vba/vbawindow.hxx
+++ b/sc/source/ui/vba/vbawindow.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAWINDOW_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAWINDOW_HXX
+#pragma once
#include <ooo/vba/excel/XWindow.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
@@ -124,6 +123,4 @@ public:
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBAWINDOW_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbawindows.hxx b/sc/source/ui/vba/vbawindows.hxx
index de75dd419c10..b827bf7e44b8 100644
--- a/sc/source/ui/vba/vbawindows.hxx
+++ b/sc/source/ui/vba/vbawindows.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAWINDOWS_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAWINDOWS_HXX
+#pragma once
#include <ooo/vba/excel/XWindows.hpp>
@@ -46,6 +45,4 @@ public:
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBAWINDOWS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbaworkbook.hxx b/sc/source/ui/vba/vbaworkbook.hxx
index f02c460da273..0afc88a3c17f 100644
--- a/sc/source/ui/vba/vbaworkbook.hxx
+++ b/sc/source/ui/vba/vbaworkbook.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAWORKBOOK_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAWORKBOOK_HXX
+#pragma once
#include <com/sun/star/frame/XModel.hpp>
#include <ooo/vba/excel/XWorkbook.hpp>
@@ -72,6 +71,4 @@ public:
virtual ::sal_Int64 SAL_CALL getSomething(const css::uno::Sequence<sal_Int8 >& rId ) override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBAWORKBOOK_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbaworkbooks.hxx b/sc/source/ui/vba/vbaworkbooks.hxx
index 1c6ae781d560..e93ca6337a9e 100644
--- a/sc/source/ui/vba/vbaworkbooks.hxx
+++ b/sc/source/ui/vba/vbaworkbooks.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAWORKBOOKS_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAWORKBOOKS_HXX
+#pragma once
#include <cppuhelper/implbase.hxx>
#include <ooo/vba/excel/XWorkbooks.hpp>
@@ -50,6 +49,4 @@ public:
virtual css::uno::Any SAL_CALL Open( const OUString& Filename, const css::uno::Any& UpdateLinks, const css::uno::Any& ReadOnly, const css::uno::Any& Format, const css::uno::Any& Password, const css::uno::Any& WriteResPassword, const css::uno::Any& IgnoreReadOnlyRecommended, const css::uno::Any& Origin, const css::uno::Any& Delimiter, const css::uno::Any& Editable, const css::uno::Any& Notify, const css::uno::Any& Converter, const css::uno::Any& AddToMru ) override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBAWORKBOOKS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbaworksheet.hxx b/sc/source/ui/vba/vbaworksheet.hxx
index 784d08b74db3..5eee3df4a175 100644
--- a/sc/source/ui/vba/vbaworksheet.hxx
+++ b/sc/source/ui/vba/vbaworksheet.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAWORKSHEET_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAWORKSHEET_HXX
+#pragma once
#include <ooo/vba/excel/XWorksheet.hpp>
#include <rtl/ref.hxx>
@@ -165,6 +164,4 @@ public:
virtual ::sal_Int64 SAL_CALL getSomething(const css::uno::Sequence<sal_Int8 >& rId ) override;
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBAWORKSHEET_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbaworksheets.hxx b/sc/source/ui/vba/vbaworksheets.hxx
index 54c324db4c76..b795fbf5a89a 100644
--- a/sc/source/ui/vba/vbaworksheets.hxx
+++ b/sc/source/ui/vba/vbaworksheets.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAWORKSHEETS_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAWORKSHEETS_HXX
+#pragma once
#include <ooo/vba/excel/XWorksheets.hpp>
@@ -66,6 +65,4 @@ public:
static bool nameExists( const css::uno::Reference <css::sheet::XSpreadsheetDocument>& xSpreadDoc, std::u16string_view name, SCTAB& nTab );
};
-#endif // INCLUDED_SC_SOURCE_UI_VBA_VBAWORKSHEETS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbawsfunction.hxx b/sc/source/ui/vba/vbawsfunction.hxx
index f204eb858e08..9a5dd821fcbe 100644
--- a/sc/source/ui/vba/vbawsfunction.hxx
+++ b/sc/source/ui/vba/vbawsfunction.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAWSFUNCTION_HXX
-#define INCLUDED_SC_SOURCE_UI_VBA_VBAWSFUNCTION_HXX
+#pragma once
#include <ooo/vba/excel/XWorksheetFunction.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
@@ -42,6 +41,5 @@ public:
virtual OUString getServiceImplName() override;
virtual css::uno::Sequence<OUString> getServiceNames() override;
};
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/view/imapwrap.hxx b/sc/source/ui/view/imapwrap.hxx
index ed1897dbffc2..9b46b1bc8378 100644
--- a/sc/source/ui/view/imapwrap.hxx
+++ b/sc/source/ui/view/imapwrap.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SC_SOURCE_UI_VIEW_IMAPWRAP_HXX
-#define INCLUDED_SC_SOURCE_UI_VIEW_IMAPWRAP_HXX
+#pragma once
#include <sal/types.h>
@@ -38,6 +37,4 @@ void ScIMapDlgSet(
Graphic const & rGraphic, ImageMap const * pImageMap,
TargetList const * pTargetList, void * pEditingObj);
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */