reportdesign/source/ui/inc/ColorChanger.hxx  |    4 +---
 reportdesign/source/ui/inc/ColorListener.hxx |    4 +---
 reportdesign/source/ui/inc/ColumnInfo.hxx    |    5 +----
 reportdesign/source/ui/inc/DateTime.hxx      |    5 +----
 reportdesign/source/ui/inc/EndMarker.hxx     |    4 +---
 svx/source/inc/ShapesUtil.hxx                |    7 +++----
 svx/source/inc/clonelist.hxx                 |    5 +----
 svx/source/inc/delayedevent.hxx              |    6 +-----
 svx/source/inc/fmcontrollayout.hxx           |    6 +-----
 svx/source/inc/fmdocumentclassification.hxx  |    6 +-----
 10 files changed, 12 insertions(+), 40 deletions(-)

New commits:
commit 49daa23d818230e80ee8f22034eef51f67eeb621
Author:     RHUSHYA.K.C <[email protected]>
AuthorDate: Mon Feb 23 10:58:02 2026 +0530
Commit:     Ilmari Lauhakangas <[email protected]>
CommitDate: Tue Feb 24 10:17:39 2026 +0100

    tdf#143148 Use #pragma once instead of include guards in svx/source/inc
    
    Replace old #ifndef/#define/#endif include guards with #pragma once
    in the following svx internal headers:
    - clonelist.hxx
    - delayedevent.hxx
    - ShapesUtil.hxx
    - fmcontrollayout.hxx
    - fmdocumentclassification.hxx
    
    Change-Id: I7a3b2c9d4e5f6a1b8c0d2e3f4a5b6c7d8e9f0a1b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200002
    Tested-by: Jenkins
    Reviewed-by: Ilmari Lauhakangas <[email protected]>

diff --git a/svx/source/inc/ShapesUtil.hxx b/svx/source/inc/ShapesUtil.hxx
index 72d6e63dc731..a9c84d52c517 100644
--- a/svx/source/inc/ShapesUtil.hxx
+++ b/svx/source/inc/ShapesUtil.hxx
@@ -16,8 +16,8 @@
  *   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_SVX_SOURCE_INC_SHAPESUTIL_HXX
-#define INCLUDED_SVX_SOURCE_INC_SHAPESUTIL_HXX
+#pragma once
+
 #include <map>
 #include <rtl/ustring.hxx>
 
@@ -35,5 +35,4 @@ public:
 
 }
 
-#endif
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/inc/clonelist.hxx b/svx/source/inc/clonelist.hxx
index 5ed3e4d8c127..a99e86a94dd5 100644
--- a/svx/source/inc/clonelist.hxx
+++ b/svx/source/inc/clonelist.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_SVX_SOURCE_INC_CLONELIST_HXX
-#define INCLUDED_SVX_SOURCE_INC_CLONELIST_HXX
+#pragma once
 
 #include <vector>
 
@@ -42,6 +41,4 @@ public:
     void CopyConnections() const;
 };
 
-#endif // INCLUDED_SVX_SOURCE_INC_CLONELIST_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/inc/delayedevent.hxx b/svx/source/inc/delayedevent.hxx
index 4f7925c94b1d..c85aeee6ab07 100644
--- a/svx/source/inc/delayedevent.hxx
+++ b/svx/source/inc/delayedevent.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SVX_SOURCE_INC_DELAYEDEVENT_HXX
-#define INCLUDED_SVX_SOURCE_INC_DELAYEDEVENT_HXX
+#pragma once
 
 #include <tools/link.hxx>
 
@@ -75,7 +74,4 @@ namespace svxform
 
 }
 
-
-#endif // INCLUDED_SVX_SOURCE_INC_DELAYEDEVENT_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/inc/fmcontrollayout.hxx 
b/svx/source/inc/fmcontrollayout.hxx
index f2494d83ef14..c296eed8973f 100644
--- a/svx/source/inc/fmcontrollayout.hxx
+++ b/svx/source/inc/fmcontrollayout.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SVX_SOURCE_INC_FMCONTROLLAYOUT_HXX
-#define INCLUDED_SVX_SOURCE_INC_FMCONTROLLAYOUT_HXX
+#pragma once
 
 #include <com/sun/star/beans/XPropertySet.hpp>
 
@@ -56,7 +55,4 @@ namespace svxform::ControlLayouter
 
 }
 
-
-#endif // INCLUDED_SVX_SOURCE_INC_FMCONTROLLAYOUT_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/inc/fmdocumentclassification.hxx 
b/svx/source/inc/fmdocumentclassification.hxx
index e5052334811e..a06554d99c41 100644
--- a/svx/source/inc/fmdocumentclassification.hxx
+++ b/svx/source/inc/fmdocumentclassification.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SVX_SOURCE_INC_FMDOCUMENTCLASSIFICATION_HXX
-#define INCLUDED_SVX_SOURCE_INC_FMDOCUMENTCLASSIFICATION_HXX
+#pragma once
 
 #include <com/sun/star/frame/XModel.hpp>
 
@@ -65,7 +64,4 @@ namespace svxform
 
 }
 
-
-#endif // INCLUDED_SVX_SOURCE_INC_FMDOCUMENTCLASSIFICATION_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
commit 65e0b33448e08dfb3bf2d0790e25955ac4dbcbe6
Author:     RHUSHYA.K.C <[email protected]>
AuthorDate: Tue Feb 24 07:10:44 2026 +0530
Commit:     Ilmari Lauhakangas <[email protected]>
CommitDate: Tue Feb 24 10:17:28 2026 +0100

    tdf#143148 Replace include guards with #pragma once in
    
    reportdesign/source/ui/inc
    
    Replace traditional #ifndef/#define include guards with #pragma once
    in the following headers:
    - ColorChanger.hxx
    - ColorListener.hxx
    - ColumnInfo.hxx
    - EndMarker.hxx
    - DateTime.hxx
    
    Change-Id: I1ee405ea07cca6859931c6e826a7b3f3c18b4031
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200135
    Tested-by: Jenkins
    Reviewed-by: Ilmari Lauhakangas <[email protected]>

diff --git a/reportdesign/source/ui/inc/ColorChanger.hxx 
b/reportdesign/source/ui/inc/ColorChanger.hxx
index 34a336b01a41..b54fa0966846 100644
--- a/reportdesign/source/ui/inc/ColorChanger.hxx
+++ b/reportdesign/source/ui/inc/ColorChanger.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_REPORTDESIGN_SOURCE_UI_INC_COLORCHANGER_HXX
-#define INCLUDED_REPORTDESIGN_SOURCE_UI_INC_COLORCHANGER_HXX
+#pragma once
 
 #include <vcl/outdev.hxx>
 
@@ -45,6 +44,5 @@ namespace rptui
         }
     };
 }
-#endif // INCLUDED_REPORTDESIGN_SOURCE_UI_INC_COLORCHANGER_HXX
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/reportdesign/source/ui/inc/ColorListener.hxx 
b/reportdesign/source/ui/inc/ColorListener.hxx
index 7249fb851ce0..e0a11b2ef7a7 100644
--- a/reportdesign/source/ui/inc/ColorListener.hxx
+++ b/reportdesign/source/ui/inc/ColorListener.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_REPORTDESIGN_SOURCE_UI_INC_COLORLISTENER_HXX
-#define INCLUDED_REPORTDESIGN_SOURCE_UI_INC_COLORLISTENER_HXX
+#pragma once
 
 #include <vcl/window.hxx>
 #include <svtools/colorcfg.hxx>
@@ -70,6 +69,5 @@ namespace rptui
         virtual void    setCollapsed(bool _bCollapsed);
     };
 }
-#endif // INCLUDED_REPORTDESIGN_SOURCE_UI_INC_COLORLISTENER_HXX
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/reportdesign/source/ui/inc/ColumnInfo.hxx 
b/reportdesign/source/ui/inc/ColumnInfo.hxx
index 58495e2c063e..93e4a6accd38 100644
--- a/reportdesign/source/ui/inc/ColumnInfo.hxx
+++ b/reportdesign/source/ui/inc/ColumnInfo.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_REPORTDESIGN_SOURCE_UI_INC_COLUMNINFO_HXX
-#define INCLUDED_REPORTDESIGN_SOURCE_UI_INC_COLUMNINFO_HXX
+#pragma once
 
 #include <rtl/ustring.hxx>
 #include <utility>
@@ -41,6 +40,4 @@ namespace rptui
 
 } // namespace rptui
 
-#endif // INCLUDED_REPORTDESIGN_SOURCE_UI_INC_COLUMNINFO_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/reportdesign/source/ui/inc/DateTime.hxx 
b/reportdesign/source/ui/inc/DateTime.hxx
index ef40dacf4eca..d5a9738f3491 100644
--- a/reportdesign/source/ui/inc/DateTime.hxx
+++ b/reportdesign/source/ui/inc/DateTime.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_REPORTDESIGN_SOURCE_UI_INC_DATETIME_HXX
-#define INCLUDED_REPORTDESIGN_SOURCE_UI_INC_DATETIME_HXX
+#pragma once
 
 #include <vcl/weld/ComboBox.hxx>
 #include <vcl/weld/DialogController.hxx>
@@ -78,6 +77,4 @@ public:
 
 } // namespace rptui
 
-#endif // INCLUDED_REPORTDESIGN_SOURCE_UI_INC_DATETIME_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/reportdesign/source/ui/inc/EndMarker.hxx 
b/reportdesign/source/ui/inc/EndMarker.hxx
index a48eb81067dc..11846f18cfb9 100644
--- a/reportdesign/source/ui/inc/EndMarker.hxx
+++ b/reportdesign/source/ui/inc/EndMarker.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_REPORTDESIGN_SOURCE_UI_INC_ENDMARKER_HXX
-#define INCLUDED_REPORTDESIGN_SOURCE_UI_INC_ENDMARKER_HXX
+#pragma once
 
 #include "ColorListener.hxx"
 
@@ -41,6 +40,5 @@ namespace rptui
         virtual void    MouseButtonDown( const MouseEvent& rMEvt ) override;
     };
 }
-#endif // INCLUDED_REPORTDESIGN_SOURCE_UI_INC_ENDMARKER_HXX
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to