summaryrefslogtreecommitdiff
path: root/sc/source/filter/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/inc')
-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
157 files changed, 157 insertions, 624 deletions
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: */