include/svx/sidebar/AreaPropertyPanelBase.hxx         |    5 +----
 include/svx/sidebar/AreaTransparencyGradientPopup.hxx |    5 +----
 include/svx/sidebar/ContextChangeEventMultiplexer.hxx |    5 +----
 include/svx/sidebar/LinePropertyPanelBase.hxx         |    5 +----
 include/svx/sidebar/LineWidthPopup.hxx                |    5 +----
 include/svx/sidebar/SelectionAnalyzer.hxx             |    5 +----
 include/svx/sidebar/SelectionChangeHandler.hxx        |    5 +----
 7 files changed, 7 insertions(+), 28 deletions(-)

New commits:
commit 7390eeb0b023991c7ad64d1cc31aaff2fcd1621d
Author:     Simon Chenery <[email protected]>
AuthorDate: Wed Dec 3 20:51:48 2025 +0100
Commit:     Hossein <[email protected]>
CommitDate: Sat Dec 20 00:32:00 2025 +0100

    tdf#143148 Replace include guards with pragma once
    
    Used pragma once in include/svx/sidebar
    
    Change-Id: Iaafd0cd7d6818c3da6b805adcc454bed1645c10f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194966
    Reviewed-by: Hossein <[email protected]>
    Tested-by: Jenkins

diff --git a/include/svx/sidebar/AreaPropertyPanelBase.hxx 
b/include/svx/sidebar/AreaPropertyPanelBase.hxx
index f1bff240466c..4c7642807cc5 100644
--- a/include/svx/sidebar/AreaPropertyPanelBase.hxx
+++ b/include/svx/sidebar/AreaPropertyPanelBase.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_SIDEBAR_AREA_AREAPROPERTYPANELBASE_HXX
-#define INCLUDED_SVX_SOURCE_SIDEBAR_AREA_AREAPROPERTYPANELBASE_HXX
+#pragma once
 
 #include <memory>
 #include <sfx2/sidebar/IContextChangeReceiver.hxx>
@@ -183,6 +182,4 @@ protected:
 
 } // end of namespace svx::sidebar
 
-#endif // INCLUDED_SVX_SOURCE_SIDEBAR_AREA_AREAPROPERTYPANEL_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/svx/sidebar/AreaTransparencyGradientPopup.hxx 
b/include/svx/sidebar/AreaTransparencyGradientPopup.hxx
index 96d9643a7a83..3179a07a7243 100644
--- a/include/svx/sidebar/AreaTransparencyGradientPopup.hxx
+++ b/include/svx/sidebar/AreaTransparencyGradientPopup.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_SIDEBAR_AREA_AREATRANSPARENCYGRADIENTPOPUP_HXX
-#define INCLUDED_SVX_SOURCE_SIDEBAR_AREA_AREATRANSPARENCYGRADIENTPOPUP_HXX
+#pragma once
 
 #include <basegfx/utils/bgradient.hxx>
 #include <vcl/weld/MetricSpinButton.hxx>
@@ -65,6 +64,4 @@ public:
 
 } // end of namespace svx::sidebar
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/svx/sidebar/ContextChangeEventMultiplexer.hxx 
b/include/svx/sidebar/ContextChangeEventMultiplexer.hxx
index 1c8f58d1cc81..c2f30fa18c30 100644
--- a/include/svx/sidebar/ContextChangeEventMultiplexer.hxx
+++ b/include/svx/sidebar/ContextChangeEventMultiplexer.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_SIDEBAR_CONTEXTCHANGEEVENTMULTIPLEXER_HXX
-#define INCLUDED_SVX_SIDEBAR_CONTEXTCHANGEEVENTMULTIPLEXER_HXX
+#pragma once
 
 #include <svx/svxdllapi.h>
 #include <vcl/EnumContext.hxx>
@@ -60,6 +59,4 @@ private:
         const css::uno::Reference<css::frame::XFrame>& rxFrame);
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/svx/sidebar/LinePropertyPanelBase.hxx 
b/include/svx/sidebar/LinePropertyPanelBase.hxx
index ea1fc8475eee..0e9fa5e3072b 100644
--- a/include/svx/sidebar/LinePropertyPanelBase.hxx
+++ b/include/svx/sidebar/LinePropertyPanelBase.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_SIDEBAR_LINE_LINEPROPERTYPANELBASE_HXX
-#define INCLUDED_SVX_SOURCE_SIDEBAR_LINE_LINEPROPERTYPANELBASE_HXX
+#pragma once
 
 #include <vcl/weld/MetricSpinButton.hxx>
 #include <vcl/weld/weld.hxx>
@@ -120,6 +119,4 @@ private:
 
 } // end of namespace svx::sidebar
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/svx/sidebar/LineWidthPopup.hxx 
b/include/svx/sidebar/LineWidthPopup.hxx
index b57674313fe4..f1544d3142d8 100644
--- a/include/svx/sidebar/LineWidthPopup.hxx
+++ b/include/svx/sidebar/LineWidthPopup.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_SIDEBAR_LINE_LINEWIDTHPOPUP_HXX
-#define INCLUDED_SVX_SOURCE_SIDEBAR_LINE_LINEWIDTHPOPUP_HXX
+#pragma once
 
 #include <tools/mapunit.hxx>
 #include <vcl/image.hxx>
@@ -67,6 +66,4 @@ private:
 
 } // end of namespace svx::sidebar
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/svx/sidebar/SelectionAnalyzer.hxx 
b/include/svx/sidebar/SelectionAnalyzer.hxx
index 349db88513b5..eb90c7d2b187 100644
--- a/include/svx/sidebar/SelectionAnalyzer.hxx
+++ b/include/svx/sidebar/SelectionAnalyzer.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_SIDEBAR_SELECTIONANALYZER_HXX
-#define INCLUDED_SVX_SIDEBAR_SELECTIONANALYZER_HXX
+#pragma once
 
 #include <vcl/EnumContext.hxx>
 #include <svx/svxdllapi.h>
@@ -71,6 +70,4 @@ private:
 
 } // end of namespace svx::sidebar
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/svx/sidebar/SelectionChangeHandler.hxx 
b/include/svx/sidebar/SelectionChangeHandler.hxx
index 2502cb97812f..1c4fe6740726 100644
--- a/include/svx/sidebar/SelectionChangeHandler.hxx
+++ b/include/svx/sidebar/SelectionChangeHandler.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_SIDEBAR_SELECTIONCHANGEHANDLER_HXX
-#define INCLUDED_SVX_SIDEBAR_SELECTIONCHANGEHANDLER_HXX
+#pragma once
 
 #include <svx/svxdllapi.h>
 #include <vcl/EnumContext.hxx>
@@ -68,6 +67,4 @@ private:
 } // end of namespace svx::sidebar
 
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to