tdf#124176: Use pragma once instead of include guards
Change-Id: I045ce53c74bfb24be77537986fb5a8fcad3ed173
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87401
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
diff --git a/include/svx/zoom_def.hxx b/include/svx/zoom_def.hxx
index 0289805..e75dd9a 100644
--- a/include/svx/zoom_def.hxx
+++ b/include/svx/zoom_def.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_SVX_ZOOM_DEF_HXX
#define INCLUDED_SVX_ZOOM_DEF_HXX
#pragma once
enum class ZoomButtonId
{
@@ -28,6 +27,4 @@
WHOLEPAGE = 0x0004,
};
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/ucbhelper/authenticationfallback.hxx b/include/ucbhelper/authenticationfallback.hxx
index 171ebb7..a2634b0 100644
--- a/include/ucbhelper/authenticationfallback.hxx
+++ b/include/ucbhelper/authenticationfallback.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef INCLUDED_UCBHELPER_AUTHENTICATIONFALLBACK_HXX
#define INCLUDED_UCBHELPER_AUTHENTICATIONFALLBACK_HXX
#pragma once
#include <rtl/ref.hxx>
#include <ucbhelper/interactionrequest.hxx>
@@ -46,6 +45,4 @@
} // namespace ucbhelper
#endif /* ! INCLUDED_UCBHELPER_AUTHENTICATIONFALLBACK_HXX*/
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/unotools/docinfohelper.hxx b/include/unotools/docinfohelper.hxx
index ddc28b0..081bc36 100644
--- a/include/unotools/docinfohelper.hxx
+++ b/include/unotools/docinfohelper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_UNOTOOLS_DOCINFOHELPER_HXX
#define INCLUDED_UNOTOOLS_DOCINFOHELPER_HXX
#pragma once
#include <unotools/unotoolsdllapi.h>
#include <rtl/ustring.hxx>
@@ -34,6 +33,4 @@
} // namespace utl
#endif // INCLUDED_UNOTOOLS_DOCINFOHELPER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/vcl/IContext.hxx b/include/vcl/IContext.hxx
index 532242f..6af9b20 100644
--- a/include/vcl/IContext.hxx
+++ b/include/vcl/IContext.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef INCLUDED_VCL_ICONTEXT_HXX
#define INCLUDED_VCL_ICONTEXT_HXX
#pragma once
#include <vcl/EnumContext.hxx>
#include <vector>
@@ -46,6 +45,4 @@
} // namespace vcl
#endif // INCLUDED_VCL_ICONTEXT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
diff --git a/include/vcl/sound.hxx b/include/vcl/sound.hxx
index 84d3d25..2df3c80 100644
--- a/include/vcl/sound.hxx
+++ b/include/vcl/sound.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_VCL_SOUND_HXX
#define INCLUDED_VCL_SOUND_HXX
#pragma once
#include <vcl/dllapi.h>
@@ -29,6 +28,4 @@
static void Beep();
};
#endif // INCLUDED_VCL_SOUND_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */