summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authortoadkarter <vrakhmanin1@gmail.com>2025-09-09 17:17:37 +0100
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2025-09-09 20:31:38 +0200
commitc84c50de0d2f71d39250b80ac577fc363072d5b3 (patch)
tree8a19066609658249bd1d852a68457094e9d4c6d2 /sd
parentbe739cff91a9ee31a8055061f97e6de802f3da3d (diff)
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 <ilmari.lauhakangas@libreoffice.org> Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/console/PresenterTextView.hxx5
-rw-r--r--sd/source/console/PresenterTheme.hxx5
-rw-r--r--sd/source/console/PresenterTimer.hxx5
-rw-r--r--sd/source/console/PresenterToolBar.hxx5
-rw-r--r--sd/source/console/PresenterUIPainter.hxx5
-rw-r--r--sd/source/console/PresenterViewFactory.hxx5
-rw-r--r--sd/source/console/PresenterWindowManager.hxx5
7 files changed, 7 insertions, 28 deletions
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: */