include/oox/drawingml/chart/chartconverter.hxx | 5 +---- include/oox/drawingml/chart/modelbase.hxx | 5 +---- include/oox/drawingml/clrscheme.hxx | 5 +---- include/oox/drawingml/color.hxx | 5 +---- include/oox/drawingml/connectorshapecontext.hxx | 5 +---- include/oox/drawingml/diagram/diagram.hxx | 5 +---- include/oox/drawingml/diagram/diagramhelper_oox.hxx | 5 +---- include/oox/drawingml/drawingmltypes.hxx | 5 +---- include/oox/drawingml/effectproperties.hxx | 5 +---- include/oox/drawingml/graphicshapecontext.hxx | 5 +---- include/oox/drawingml/shape.hxx | 5 +---- include/oox/drawingml/shapecontext.hxx | 5 +---- include/oox/drawingml/shapepropertymap.hxx | 5 +---- include/oox/drawingml/theme.hxx | 5 +---- include/oox/drawingml/themefragmenthandler.hxx | 5 +---- 15 files changed, 15 insertions(+), 60 deletions(-)
New commits: commit 563bae2601d02e617717468d07c607bf3f6dbfb5 Author: Simon Chenery <[email protected]> AuthorDate: Tue Jan 27 21:53:30 2026 +0100 Commit: Julien Nabet <[email protected]> CommitDate: Wed Jan 28 18:19:19 2026 +0100 tdf#143148 replace include guards with pragma once in include/oox/drawingml Change-Id: I27e6eb743b1429b736aea78d08eca1d9201dae38 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198230 Reviewed-by: Julien Nabet <[email protected]> Tested-by: Julien Nabet <[email protected]> diff --git a/include/oox/drawingml/chart/chartconverter.hxx b/include/oox/drawingml/chart/chartconverter.hxx index d83520381090..fdf227453d57 100644 --- a/include/oox/drawingml/chart/chartconverter.hxx +++ b/include/oox/drawingml/chart/chartconverter.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_OOX_DRAWINGML_CHART_CHARTCONVERTER_HXX -#define INCLUDED_OOX_DRAWINGML_CHART_CHARTCONVERTER_HXX +#pragma once #include <oox/core/xmlfilterbase.hxx> #include <oox/drawingml/chart/modelbase.hxx> @@ -147,6 +146,4 @@ private: } // namespace oox::drawingml::chart -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/oox/drawingml/chart/modelbase.hxx b/include/oox/drawingml/chart/modelbase.hxx index 581713bbc9e1..143c6c70c6c0 100644 --- a/include/oox/drawingml/chart/modelbase.hxx +++ b/include/oox/drawingml/chart/modelbase.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_OOX_DRAWINGML_CHART_MODELBASE_HXX -#define INCLUDED_OOX_DRAWINGML_CHART_MODELBASE_HXX +#pragma once #include <memory> @@ -116,6 +115,4 @@ struct LayoutModel } // namespace oox::drawingml::chart -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/oox/drawingml/clrscheme.hxx b/include/oox/drawingml/clrscheme.hxx index 11c6b96d66a9..716b471e48cc 100644 --- a/include/oox/drawingml/clrscheme.hxx +++ b/include/oox/drawingml/clrscheme.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_OOX_DRAWINGML_CLRSCHEME_HXX -#define INCLUDED_OOX_DRAWINGML_CLRSCHEME_HXX +#pragma once #include <cstddef> #include <map> @@ -86,6 +85,4 @@ public: } -#endif // INCLUDED_OOX_DRAWINGML_CLRSCHEME_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/oox/drawingml/color.hxx b/include/oox/drawingml/color.hxx index c875d7db4eef..5062a1192471 100644 --- a/include/oox/drawingml/color.hxx +++ b/include/oox/drawingml/color.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_OOX_DRAWINGML_COLOR_HXX -#define INCLUDED_OOX_DRAWINGML_COLOR_HXX +#pragma once #include <vector> @@ -163,6 +162,4 @@ private: } // namespace oox::drawingml -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/oox/drawingml/connectorshapecontext.hxx b/include/oox/drawingml/connectorshapecontext.hxx index f268011985b3..7f46e1ade40b 100644 --- a/include/oox/drawingml/connectorshapecontext.hxx +++ b/include/oox/drawingml/connectorshapecontext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_OOX_DRAWINGML_CONNECTORSHAPECONTEXT_HXX -#define INCLUDED_OOX_DRAWINGML_CONNECTORSHAPECONTEXT_HXX +#pragma once #include <oox/core/contexthandler.hxx> #include <oox/dllapi.h> @@ -66,6 +65,4 @@ public: } -#endif // INCLUDED_OOX_DRAWINGML_CONNECTORSHAPECONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/oox/drawingml/diagram/diagram.hxx b/include/oox/drawingml/diagram/diagram.hxx index a5963c5015ba..d6902dbc113e 100644 --- a/include/oox/drawingml/diagram/diagram.hxx +++ b/include/oox/drawingml/diagram/diagram.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_OOX_DRAWINGML_DIAGRAM_DIAGRAM_HXX -#define INCLUDED_OOX_DRAWINGML_DIAGRAM_DIAGRAM_HXX +#pragma once #include <rtl/ustring.hxx> #include <oox/core/xmlfilterbase.hxx> @@ -42,6 +41,4 @@ void loadDiagram( ShapePtr const & pShape, } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/oox/drawingml/diagram/diagramhelper_oox.hxx b/include/oox/drawingml/diagram/diagramhelper_oox.hxx index ecc9a3f3629b..82195e9381d1 100644 --- a/include/oox/drawingml/diagram/diagramhelper_oox.hxx +++ b/include/oox/drawingml/diagram/diagramhelper_oox.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_OOX_DRAWINGML_DIAGRAM_DIAGRAMHELPER_HXX -#define INCLUDED_OOX_DRAWINGML_DIAGRAM_DIAGRAMHELPER_HXX +#pragma once #include <rtl/ustring.hxx> #include <oox/drawingml/theme.hxx> @@ -103,6 +102,4 @@ public: } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/oox/drawingml/drawingmltypes.hxx b/include/oox/drawingml/drawingmltypes.hxx index fda24edb0f92..d3bce6ba7e16 100644 --- a/include/oox/drawingml/drawingmltypes.hxx +++ b/include/oox/drawingml/drawingmltypes.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_OOX_DRAWINGML_DRAWINGMLTYPES_HXX -#define INCLUDED_OOX_DRAWINGML_DRAWINGMLTYPES_HXX +#pragma once #include <memory> #include <optional> @@ -238,6 +237,4 @@ model::RectangleAlignment convertToRectangleAlignment(sal_Int32 nToken); } // namespace oox::drawingml -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/oox/drawingml/effectproperties.hxx b/include/oox/drawingml/effectproperties.hxx index 71b05af78752..ae6059dfc574 100644 --- a/include/oox/drawingml/effectproperties.hxx +++ b/include/oox/drawingml/effectproperties.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_OOX_DRAWINGML_EFFECTPROPERTIES_HXX -#define INCLUDED_OOX_DRAWINGML_EFFECTPROPERTIES_HXX +#pragma once #include <oox/drawingml/color.hxx> #include <oox/helper/propertymap.hxx> @@ -84,6 +83,4 @@ struct EffectProperties } // namespace oox::drawingml -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/oox/drawingml/graphicshapecontext.hxx b/include/oox/drawingml/graphicshapecontext.hxx index 277210b3a546..cd736271b725 100644 --- a/include/oox/drawingml/graphicshapecontext.hxx +++ b/include/oox/drawingml/graphicshapecontext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_OOX_DRAWINGML_GRAPHICSHAPECONTEXT_HXX -#define INCLUDED_OOX_DRAWINGML_GRAPHICSHAPECONTEXT_HXX +#pragma once #include <oox/core/contexthandler.hxx> #include <oox/dllapi.h> @@ -105,6 +104,4 @@ private: } -#endif // INCLUDED_OOX_DRAWINGML_GRAPHICSHAPECONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/oox/drawingml/shape.hxx b/include/oox/drawingml/shape.hxx index ed6b5a18ac94..15b20665a000 100644 --- a/include/oox/drawingml/shape.hxx +++ b/include/oox/drawingml/shape.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_OOX_DRAWINGML_SHAPE_HXX -#define INCLUDED_OOX_DRAWINGML_SHAPE_HXX +#pragma once #include <map> #include <memory> @@ -456,6 +455,4 @@ private: } -#endif // INCLUDED_OOX_DRAWINGML_SHAPE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/oox/drawingml/shapecontext.hxx b/include/oox/drawingml/shapecontext.hxx index 0d6475fed7d4..c0fe5a4c5451 100644 --- a/include/oox/drawingml/shapecontext.hxx +++ b/include/oox/drawingml/shapecontext.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_OOX_DRAWINGML_SHAPECONTEXT_HXX -#define INCLUDED_OOX_DRAWINGML_SHAPECONTEXT_HXX +#pragma once #include <oox/core/contexthandler.hxx> #include <oox/core/contexthandler2.hxx> @@ -46,6 +45,4 @@ protected: } -#endif // INCLUDED_OOX_DRAWINGML_SHAPECONTEXT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/oox/drawingml/shapepropertymap.hxx b/include/oox/drawingml/shapepropertymap.hxx index 7870ddee304b..6847e4ae9020 100644 --- a/include/oox/drawingml/shapepropertymap.hxx +++ b/include/oox/drawingml/shapepropertymap.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_OOX_DRAWINGML_SHAPEPROPERTYMAP_HXX -#define INCLUDED_OOX_DRAWINGML_SHAPEPROPERTYMAP_HXX +#pragma once #include <com/sun/star/uno/Any.hxx> #include <o3tl/enumarray.hxx> @@ -163,6 +162,4 @@ private: } // namespace oox::drawingml -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/oox/drawingml/theme.hxx b/include/oox/drawingml/theme.hxx index 7ceed358579c..7c41b4670576 100644 --- a/include/oox/drawingml/theme.hxx +++ b/include/oox/drawingml/theme.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_OOX_DRAWINGML_THEME_HXX -#define INCLUDED_OOX_DRAWINGML_THEME_HXX +#pragma once #include <com/sun/star/uno/Reference.hxx> #include <oox/drawingml/clrscheme.hxx> @@ -139,6 +138,4 @@ private: } // namespace oox::drawingml -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/oox/drawingml/themefragmenthandler.hxx b/include/oox/drawingml/themefragmenthandler.hxx index c5b223734a83..b6bbea015e0b 100644 --- a/include/oox/drawingml/themefragmenthandler.hxx +++ b/include/oox/drawingml/themefragmenthandler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_OOX_DRAWINGML_THEMEFRAGMENTHANDLER_HXX -#define INCLUDED_OOX_DRAWINGML_THEMEFRAGMENTHANDLER_HXX +#pragma once #include <oox/core/contexthandler.hxx> #include <oox/core/fragmenthandler2.hxx> @@ -51,6 +50,4 @@ private: } // namespace oox::drawingml -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
