vcl/inc/android/androidinst.hxx |    5 +----
 vcl/ios/DataFlavorMapping.hxx   |    5 +----
 vcl/ios/HtmlFmtFlt.hxx          |    5 +----
 vcl/ios/clipboard.hxx           |    5 +----
 vcl/ios/iOSTransferable.hxx     |    5 +----
 5 files changed, 5 insertions(+), 20 deletions(-)

New commits:
commit 7fe2ce55ab86cc7a32850fdf504e368c535949c3
Author:     Ramreiso Kashung <ramreiso...@gmail.com>
AuthorDate: Tue Dec 28 19:18:00 2021 +0530
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Wed Dec 29 05:50:15 2021 +0100

    tdf#143148 : Use pragma once instead of include guards
    
    Change-Id: Ic9318847b387fb84af6124ad94d4340cbd57c797
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127637
    Tested-by: Jenkins
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>

diff --git a/vcl/inc/android/androidinst.hxx b/vcl/inc/android/androidinst.hxx
index c157b0fd3128..771eb4b1ed81 100644
--- a/vcl/inc/android/androidinst.hxx
+++ b/vcl/inc/android/androidinst.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_VCL_INC_ANDROID_ANDROIDINST_HXX
-#define INCLUDED_VCL_INC_ANDROID_ANDROIDINST_HXX
+#pragma once
 
 #include <jni.h>
 #include <android/input.h>
@@ -48,6 +47,4 @@ public:
     virtual void releaseMainThread();
 };
 
-#endif // INCLUDED_VCL_INC_ANDROID_ANDROIDINST_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/ios/DataFlavorMapping.hxx b/vcl/ios/DataFlavorMapping.hxx
index fa45be243e9e..dd115575f28a 100644
--- a/vcl/ios/DataFlavorMapping.hxx
+++ b/vcl/ios/DataFlavorMapping.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_VCL_IOS_DATAFLAVORMAPPING_HXX
-#define INCLUDED_VCL_IOS_DATAFLAVORMAPPING_HXX
+#pragma once
 
 #include <com/sun/star/datatransfer/DataFlavor.hpp>
 #include <com/sun/star/datatransfer/XMimeContentTypeFactory.hpp>
@@ -122,6 +121,4 @@ private:
     mutable OfficeOnlyTypes maOfficeOnlyTypes;
 };
 
-#endif // INCLUDED_VCL_IOS_DATAFLAVORMAPPING_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/ios/HtmlFmtFlt.hxx b/vcl/ios/HtmlFmtFlt.hxx
index b11b19857f2c..6a2cd6f64666 100644
--- a/vcl/ios/HtmlFmtFlt.hxx
+++ b/vcl/ios/HtmlFmtFlt.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_VCL_OSX_HTMLFMTFLT_HXX
-#define INCLUDED_VCL_OSX_HTMLFMTFLT_HXX
+#pragma once
 
 #include <com/sun/star/uno/Sequence.hxx>
 
@@ -36,6 +35,4 @@ css::uno::Sequence<sal_Int8> HTMLFormatToTextHtml(const 
css::uno::Sequence<sal_I
  */
 bool isHTMLFormat(const css::uno::Sequence<sal_Int8>& aHtmlSequence);
 
-#endif // INCLUDED_VCL_OSX_HTMLFMTFLT_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/ios/clipboard.hxx b/vcl/ios/clipboard.hxx
index 66a4dd1b5591..086840912650 100644
--- a/vcl/ios/clipboard.hxx
+++ b/vcl/ios/clipboard.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_VCL_IOS_CLIPBOARD_HXX
-#define INCLUDED_VCL_IOS_CLIPBOARD_HXX
+#pragma once
 
 #include "DataFlavorMapping.hxx"
 #include <rtl/ustring.hxx>
@@ -105,6 +104,4 @@ private:
     std::shared_ptr<DataFlavorMapper> mpDataFlavorMapper;
 };
 
-#endif // INCLUDED_VCL_IOS_CLIPBOARD_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/ios/iOSTransferable.hxx b/vcl/ios/iOSTransferable.hxx
index b76bcf6c0d06..91f4e440eed4 100644
--- a/vcl/ios/iOSTransferable.hxx
+++ b/vcl/ios/iOSTransferable.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_VCL_IOS_IOSTRANSFERABLE_HXX
-#define INCLUDED_VCL_IOS_IOSTRANSFERABLE_HXX
+#pragma once
 
 #include <com/sun/star/datatransfer/XTransferable.hpp>
 #include <cppuhelper/implbase.hxx>
@@ -67,6 +66,4 @@ private:
     std::shared_ptr<DataFlavorMapper> mDataFlavorMapper;
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to