sd/source/console/PresenterTextView.hxx      |    5 +----
 sd/source/console/PresenterTheme.hxx         |    5 +----
 sd/source/console/PresenterTimer.hxx         |    5 +----
 sd/source/console/PresenterToolBar.hxx       |    5 +----
 sd/source/console/PresenterUIPainter.hxx     |    5 +----
 sd/source/console/PresenterViewFactory.hxx   |    5 +----
 sd/source/console/PresenterWindowManager.hxx |    5 +----
 7 files changed, 7 insertions(+), 28 deletions(-)

New commits:
commit c84c50de0d2f71d39250b80ac577fc363072d5b3
Author:     toadkarter <[email protected]>
AuthorDate: Tue Sep 9 17:17:37 2025 +0100
Commit:     Ilmari Lauhakangas <[email protected]>
CommitDate: Tue Sep 9 20:31:38 2025 +0200

    tdf#143148 - Use pragma once instead of include guards.
    
    Change-Id: Idcb8299ca284e24c2326ee76ee7f5bb875ab4176
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190724
    Reviewed-by: Ilmari Lauhakangas <[email protected]>
    Tested-by: Jenkins
    Tested-by: Ilmari Lauhakangas <[email protected]>

diff --git a/sd/source/console/PresenterTextView.hxx 
b/sd/source/console/PresenterTextView.hxx
index 6dd2da3b2372..42b9ba35fb25 100644
--- a/sd/source/console/PresenterTextView.hxx
+++ b/sd/source/console/PresenterTextView.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERTEXTVIEW_HXX
-#define INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERTEXTVIEW_HXX
+#pragma once
 
 #include "PresenterTheme.hxx"
 #include <com/sun/star/accessibility/TextSegment.hpp>
@@ -274,6 +273,4 @@ private:
 
 } // end of namespace ::sdext::presenter
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/console/PresenterTheme.hxx 
b/sd/source/console/PresenterTheme.hxx
index ae92433a676c..863c17dcb9da 100644
--- a/sd/source/console/PresenterTheme.hxx
+++ b/sd/source/console/PresenterTheme.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERTHEME_HXX
-#define INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERTHEME_HXX
+#pragma once
 
 #include "PresenterBitmapContainer.hxx"
 #include "PresenterConfigurationAccess.hxx"
@@ -129,6 +128,4 @@ private:
 
 } // end of namespace ::sd::presenter
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/console/PresenterTimer.hxx 
b/sd/source/console/PresenterTimer.hxx
index 7b022d6be1ea..ba11d498ad0a 100644
--- a/sd/source/console/PresenterTimer.hxx
+++ b/sd/source/console/PresenterTimer.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERTIMER_HXX
-#define INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERTIMER_HXX
+#pragma once
 
 #include <cppuhelper/basemutex.hxx>
 #include <cppuhelper/compbase.hxx>
@@ -113,6 +112,4 @@ private:
 
 } // end of namespace ::sdext::presenter
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/console/PresenterToolBar.hxx 
b/sd/source/console/PresenterToolBar.hxx
index 7eb139595abd..cef953b8c580 100644
--- a/sd/source/console/PresenterToolBar.hxx
+++ b/sd/source/console/PresenterToolBar.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERTOOLBAR_HXX
-#define INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERTOOLBAR_HXX
+#pragma once
 
 #include "PresenterController.hxx"
 #include "PresenterViewFactory.hxx"
@@ -240,6 +239,4 @@ private:
 
 } // end of namespace ::sdext::presenter
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/console/PresenterUIPainter.hxx 
b/sd/source/console/PresenterUIPainter.hxx
index f21ca291a147..89bbd480a835 100644
--- a/sd/source/console/PresenterUIPainter.hxx
+++ b/sd/source/console/PresenterUIPainter.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERUIPAINTER_HXX
-#define INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERUIPAINTER_HXX
+#pragma once
 
 #include <com/sun/star/awt/Rectangle.hpp>
 #include <com/sun/star/rendering/XCanvas.hpp>
@@ -51,6 +50,4 @@ public:
 };
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/console/PresenterViewFactory.hxx 
b/sd/source/console/PresenterViewFactory.hxx
index e61996c94af0..e59589416450 100644
--- a/sd/source/console/PresenterViewFactory.hxx
+++ b/sd/source/console/PresenterViewFactory.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERVIEWFACTORY_HXX
-#define INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERVIEWFACTORY_HXX
+#pragma once
 
 #include "PresenterController.hxx"
 #include <framework/ResourceFactory.hxx>
@@ -149,6 +148,4 @@ private:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/console/PresenterWindowManager.hxx 
b/sd/source/console/PresenterWindowManager.hxx
index f75d6c02de94..766958963b3b 100644
--- a/sd/source/console/PresenterWindowManager.hxx
+++ b/sd/source/console/PresenterWindowManager.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERWINDOWMANAGER_HXX
-#define INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERWINDOWMANAGER_HXX
+#pragma once
 
 #include "PresenterPaneContainer.hxx"
 #include "PresenterTheme.hxx"
@@ -203,6 +202,4 @@ private:
 
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to