vcl/osx/DataFlavorMapping.hxx |    5 +----
 vcl/osx/DragSource.hxx        |    5 +----
 vcl/osx/DragSourceContext.hxx |    5 +----
 vcl/osx/DropTarget.hxx        |    5 +----
 4 files changed, 4 insertions(+), 16 deletions(-)

New commits:
commit b813326ac01b8c8773b499afc9c5ec7dafcbf44f
Author:     Bogdan B <buzea.bog...@libreoffice.org>
AuthorDate: Mon Nov 21 20:13:34 2022 +0100
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Tue Nov 22 07:43:28 2022 +0100

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

diff --git a/vcl/osx/DataFlavorMapping.hxx b/vcl/osx/DataFlavorMapping.hxx
index 4720a7f73423..fb5c8070025f 100644
--- a/vcl/osx/DataFlavorMapping.hxx
+++ b/vcl/osx/DataFlavorMapping.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_VCL_OSX_DATAFLAVORMAPPING_HXX
-#define INCLUDED_VCL_OSX_DATAFLAVORMAPPING_HXX
+#pragma once
 
 #include <com/sun/star/datatransfer/DataFlavor.hpp>
 #include <com/sun/star/datatransfer/XMimeContentTypeFactory.hpp>
@@ -124,6 +123,4 @@ private:
 
 typedef std::shared_ptr<DataFlavorMapper> DataFlavorMapperPtr_t;
 
-#endif // INCLUDED_VCL_OSX_DATAFLAVORMAPPING_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/osx/DragSource.hxx b/vcl/osx/DragSource.hxx
index 9027ac455a7c..96a8fb48a833 100644
--- a/vcl/osx/DragSource.hxx
+++ b/vcl/osx/DragSource.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_VCL_OSX_DRAGSOURCE_HXX
-#define INCLUDED_VCL_OSX_DRAGSOURCE_HXX
+#pragma once
 
 #include <com/sun/star/datatransfer/dnd/XDragSource.hpp>
 #include <com/sun/star/datatransfer/dnd/XDragSourceContext.hpp>
@@ -123,6 +122,4 @@ public:
 
 };
 
-#endif // INCLUDED_VCL_OSX_DRAGSOURCE_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/osx/DragSourceContext.hxx b/vcl/osx/DragSourceContext.hxx
index 3ebeb362b4d9..e1f986d3d476 100644
--- a/vcl/osx/DragSourceContext.hxx
+++ b/vcl/osx/DragSourceContext.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_VCL_OSX_DRAGSOURCECONTEXT_HXX
-#define INCLUDED_VCL_OSX_DRAGSOURCECONTEXT_HXX
+#pragma once
 
 #include <com/sun/star/datatransfer/dnd/XDragSourceContext.hpp>
 #include <cppuhelper/compbase.hxx>
@@ -48,6 +47,4 @@ public:
   virtual void SAL_CALL transferablesFlavorsChanged(  ) override;
 };
 
-#endif // INCLUDED_VCL_OSX_DRAGSOURCECONTEXT_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/osx/DropTarget.hxx b/vcl/osx/DropTarget.hxx
index aafb6449599f..ffc53a4e17ec 100644
--- a/vcl/osx/DropTarget.hxx
+++ b/vcl/osx/DropTarget.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_VCL_OSX_DROPTARGET_HXX
-#define INCLUDED_VCL_OSX_DROPTARGET_HXX
+#pragma once
 
 #include "DataFlavorMapping.hxx"
 #include <cppuhelper/compbase.hxx>
@@ -152,6 +151,4 @@ private:
   sal_Int8 mDefaultActions;
 };
 
-#endif // INCLUDED_VCL_OSX_DROPTARGET_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to