tdf#143148: Use pragma once instead of include guards

Change-Id: I43a2140dab6203e58547710f2bf8530ff72d53d6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204325
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
This commit is contained in:
Muhammad Ammar
2026-04-25 19:51:17 +02:00
committed by Ilmari Lauhakangas
parent 03e4874322
commit dec4b73618
5 changed files with 7 additions and 20 deletions
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERCONTROLLER_HXX
#define INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERCONTROLLER_HXX
#pragma once
#include "PresenterAccessibility.hxx"
#include "PresenterPaneContainer.hxx"
@@ -215,6 +214,4 @@ private:
} // end of namespace ::sdext::presenter
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERNOTESVIEW_HXX
#define INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERNOTESVIEW_HXX
#pragma once
#include "PresenterController.hxx"
#include "PresenterToolBar.hxx"
@@ -153,6 +152,4 @@ private:
} // end of namespace ::sdext::presenter
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_SFX2_STRINGHINT_HXX
#define INCLUDED_SFX2_STRINGHINT_HXX
#pragma once
#include <svl/hint.hxx>
#include <rtl/ustring.hxx>
@@ -33,6 +32,4 @@ public:
virtual ~SfxOpenUrlHint() override;
};
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+2 -4
View File
@@ -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_SFX2_SOURCE_INC_PREVIEW_HXX
#define INCLUDED_SFX2_SOURCE_INC_PREVIEW_HXX
#pragma once
#include <vcl/weld/customweld.hxx>
@@ -36,6 +36,4 @@ public:
static void ImpPaint(vcl::RenderContext& rRenderContext, GDIMetaFile* pFile);
};
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+2 -4
View File
@@ -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_INC_GALLERYCONTROL_HXX
#define INCLUDED_SVX_INC_GALLERYCONTROL_HXX
#pragma once
#include <config_options.h>
#include <sfx2/sidebar/PanelLayout.hxx>
@@ -41,6 +41,4 @@ private:
} // end of namespace svx::sidebar
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */