include/oox/export/DMLPresetShapeExport.hxx |    5 +----
 include/oox/export/chartexport.hxx          |    5 +----
 include/oox/export/drawingml.hxx            |    5 +----
 include/oox/export/shapes.hxx               |    5 +----
 include/oox/export/utils.hxx                |    5 +----
 include/oox/export/vmlexport.hxx            |    5 +----
 6 files changed, 6 insertions(+), 24 deletions(-)

New commits:
commit 7abc18922155df0cdbe8acf21896f44db08aa0f3
Author:     Simon Chenery <[email protected]>
AuthorDate: Thu Nov 27 20:20:04 2025 +0100
Commit:     Hossein <[email protected]>
CommitDate: Tue Dec 16 10:21:15 2025 +0100

    tdf#143148 replace include guards with pragma once in include/oox/export
    
    Change-Id: Ia00e3f45b4d90d32053f29af74c2fe732dd1d2c4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194739
    Tested-by: Jenkins
    Reviewed-by: Hossein <[email protected]>

diff --git a/include/oox/export/DMLPresetShapeExport.hxx 
b/include/oox/export/DMLPresetShapeExport.hxx
index b92f49e71666..7103175d2ce6 100644
--- a/include/oox/export/DMLPresetShapeExport.hxx
+++ b/include/oox/export/DMLPresetShapeExport.hxx
@@ -7,8 +7,7 @@
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */
 
-#ifndef INCLUDED_OOX_EXPORT_DMLPRESETSHAPEXPORT_HXX
-#define INCLUDED_OOX_EXPORT_DMLPRESETSHAPEXPORT_HXX
+#pragma once
 
 #include <com/sun/star/uno/Any.hxx>
 #include <com/sun/star/uno/Reference.hxx>
@@ -134,6 +133,4 @@ private:
 
 } // end of namespace oox::drawingml
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/oox/export/chartexport.hxx 
b/include/oox/export/chartexport.hxx
index 1fa895d0e9fd..95b79545755c 100644
--- a/include/oox/export/chartexport.hxx
+++ b/include/oox/export/chartexport.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_OOX_EXPORT_CHARTEXPORT_HXX
-#define INCLUDED_OOX_EXPORT_CHARTEXPORT_HXX
+#pragma once
 
 #include <set>
 #include <vector>
@@ -323,6 +322,4 @@ public:
 
 }
 
-#endif // INCLUDED_OOX_EXPORT_CHARTEXPORT_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/oox/export/drawingml.hxx b/include/oox/export/drawingml.hxx
index 5fa0a2caa435..312cee450ffa 100644
--- a/include/oox/export/drawingml.hxx
+++ b/include/oox/export/drawingml.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_OOX_EXPORT_DRAWINGML_HXX
-#define INCLUDED_OOX_EXPORT_DRAWINGML_HXX
+#pragma once
 
 #include <map>
 #include <stack>
@@ -558,6 +557,4 @@ public:
 }
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/oox/export/shapes.hxx b/include/oox/export/shapes.hxx
index f5b88f04724c..1b37ec0cf7df 100644
--- a/include/oox/export/shapes.hxx
+++ b/include/oox/export/shapes.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_OOX_EXPORT_SHAPES_HXX
-#define INCLUDED_OOX_EXPORT_SHAPES_HXX
+#pragma once
 
 #include <memory>
 #include <string_view>
@@ -205,6 +204,4 @@ public:
 
 }
 
-#endif // INCLUDED_OOX_EXPORT_SHAPES_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/oox/export/utils.hxx b/include/oox/export/utils.hxx
index 7bea6f3c36d4..a4f9a5fd3e4f 100644
--- a/include/oox/export/utils.hxx
+++ b/include/oox/export/utils.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_OOX_EXPORT_UTILS_HXX
-#define INCLUDED_OOX_EXPORT_UTILS_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -87,6 +86,4 @@ namespace oox::drawingml {
     enum DocumentType { DOCUMENT_DOCX, DOCUMENT_PPTX, DOCUMENT_XLSX };
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/oox/export/vmlexport.hxx b/include/oox/export/vmlexport.hxx
index 3df20ea2dee9..ee12c8c6d835 100644
--- a/include/oox/export/vmlexport.hxx
+++ b/include/oox/export/vmlexport.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_OOX_EXPORT_VMLEXPORT_HXX
-#define INCLUDED_OOX_EXPORT_VMLEXPORT_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -204,6 +203,4 @@ private:
 
 } // namespace oox::vml
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to