sd/source/console/PresenterButton.hxx | 5 +---- sd/source/console/PresenterConfigurationAccess.hxx | 5 +---- sd/source/console/PresenterPane.hxx | 5 +---- sd/source/console/PresenterPaneBase.hxx | 5 +---- sd/source/console/PresenterScrollBar.hxx | 5 +---- sd/source/console/PresenterSprite.hxx | 5 +---- 6 files changed, 6 insertions(+), 24 deletions(-)
New commits: commit b9b65c3907186ac5a458a9339a23213b00f826c8 Author: shark <[email protected]> AuthorDate: Mon Jan 26 13:38:30 2026 +0000 Commit: Julien Nabet <[email protected]> CommitDate: Wed Jan 28 18:15:39 2026 +0100 tdf#143148 Used #pragma once instead of include guards in sd Change-Id: Iecf4648ee9dbd05896fa7800eb0084314b040523 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198175 Tested-by: Jenkins Reviewed-by: Julien Nabet <[email protected]> diff --git a/sd/source/console/PresenterButton.hxx b/sd/source/console/PresenterButton.hxx index 313748f22125..2d3ee149c941 100644 --- a/sd/source/console/PresenterButton.hxx +++ b/sd/source/console/PresenterButton.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERBUTTON_HXX -#define INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERBUTTON_HXX +#pragma once #include "PresenterBitmapContainer.hxx" #include "PresenterTheme.hxx" @@ -132,6 +131,4 @@ private: } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/console/PresenterConfigurationAccess.hxx b/sd/source/console/PresenterConfigurationAccess.hxx index 6d7867d1dc29..ae32c9f8ca57 100644 --- a/sd/source/console/PresenterConfigurationAccess.hxx +++ b/sd/source/console/PresenterConfigurationAccess.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERCONFIGURATIONACCESS_HXX -#define INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERCONFIGURATIONACCESS_HXX +#pragma once #include <rtl/ustring.hxx> #include <com/sun/star/beans/XPropertySet.hpp> @@ -172,6 +171,4 @@ private: } // end of namespace sdext::presenter -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/console/PresenterPane.hxx b/sd/source/console/PresenterPane.hxx index 9665f75e5123..9adc79408846 100644 --- a/sd/source/console/PresenterPane.hxx +++ b/sd/source/console/PresenterPane.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERPANE_HXX -#define INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERPANE_HXX +#pragma once #include "PresenterPaneBase.hxx" #include <com/sun/star/uno/XComponentContext.hpp> @@ -75,6 +74,4 @@ private: } // end of namespace ::sd::presenter -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/console/PresenterPaneBase.hxx b/sd/source/console/PresenterPaneBase.hxx index b2604fce0ea9..146b6d4add11 100644 --- a/sd/source/console/PresenterPaneBase.hxx +++ b/sd/source/console/PresenterPaneBase.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERPANEBASE_HXX -#define INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERPANEBASE_HXX +#pragma once #include "PresenterPaneBorderPainter.hxx" @@ -113,6 +112,4 @@ protected: } // end of namespace ::sd::presenter -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/console/PresenterScrollBar.hxx b/sd/source/console/PresenterScrollBar.hxx index d09924785c58..5ac3e31051d4 100644 --- a/sd/source/console/PresenterScrollBar.hxx +++ b/sd/source/console/PresenterScrollBar.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERSCROLLBAR_HXX -#define INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERSCROLLBAR_HXX +#pragma once #include "PresenterBitmapContainer.hxx" #include <PresenterHelper.hxx> @@ -252,6 +251,4 @@ private: } // end of namespace ::sdext::presenter -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/console/PresenterSprite.hxx b/sd/source/console/PresenterSprite.hxx index b550ec0a815f..93b4325624ca 100644 --- a/sd/source/console/PresenterSprite.hxx +++ b/sd/source/console/PresenterSprite.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERSPRITE_HXX -#define INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERSPRITE_HXX +#pragma once #include <com/sun/star/rendering/XCustomSprite.hpp> #include <com/sun/star/rendering/XSpriteCanvas.hpp> @@ -68,6 +67,4 @@ private: }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
