include/svx/zoom_def.hxx | 5 +---- include/ucbhelper/authenticationfallback.hxx | 5 +---- include/unotools/docinfohelper.hxx | 5 +---- include/vcl/IContext.hxx | 5 +---- include/vcl/sound.hxx | 5 +---- 5 files changed, 5 insertions(+), 20 deletions(-)
New commits: commit 34330368088109fd140cad345f3de1077d195ddd Author: Mehmet Emin Başoğlu <mehmeteminbaso...@hotmail.com> AuthorDate: Sat Jan 25 16:23:02 2020 +0300 Commit: Muhammet Kara <muhammet.k...@collabora.com> CommitDate: Sun Jan 26 20:10:59 2020 +0100 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.k...@collabora.com> diff --git a/include/svx/zoom_def.hxx b/include/svx/zoom_def.hxx index 0289805e0e50..e75dd9a27ac3 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 @@ enum class ZoomButtonId WHOLEPAGE = 0x0004, }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/ucbhelper/authenticationfallback.hxx b/include/ucbhelper/authenticationfallback.hxx index 171ebb7fe15f..a2634b06069b 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 @@ public: } // 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 ddc28b05279b..081bc3660c97 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 @@ public: } // 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 532242f213e5..6af9b20c4453 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 @@ private: } // 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 84d3d25c4e35..2df3c800442e 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 @@ public: static void Beep(); }; -#endif // INCLUDED_VCL_SOUND_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits