vcl/osx/HtmlFmtFlt.hxx      |    5 +----
 vcl/osx/OSXTransferable.hxx |    5 +----
 vcl/osx/PictToBmpFlt.hxx    |    5 +----
 3 files changed, 3 insertions(+), 12 deletions(-)

New commits:
commit f2daf6c28fea2b8a1c7c8638ed14f3c0e6c5a034
Author:     Bogdan B <buzea.bog...@libreoffice.org>
AuthorDate: Mon Nov 21 20:11:31 2022 +0100
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Tue Nov 22 10:20:45 2022 +0100

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

diff --git a/vcl/osx/HtmlFmtFlt.hxx b/vcl/osx/HtmlFmtFlt.hxx
index a50b72a6b32d..5286efb1deda 100644
--- a/vcl/osx/HtmlFmtFlt.hxx
+++ b/vcl/osx/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/osx/OSXTransferable.hxx b/vcl/osx/OSXTransferable.hxx
index 2e7056145dd1..e4a00b880eb6 100644
--- a/vcl/osx/OSXTransferable.hxx
+++ b/vcl/osx/OSXTransferable.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_VCL_OSX_OSXTRANSFERABLE_HXX
-#define INCLUDED_VCL_OSX_OSXTRANSFERABLE_HXX
+#pragma once
 
 #include <com/sun/star/datatransfer/XTransferable.hpp>
 #include <cppuhelper/implbase.hxx>
@@ -69,6 +68,4 @@ private:
   NSPasteboard* mPasteboard;
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/osx/PictToBmpFlt.hxx b/vcl/osx/PictToBmpFlt.hxx
index e0e111818d99..d43146e03fcb 100644
--- a/vcl/osx/PictToBmpFlt.hxx
+++ b/vcl/osx/PictToBmpFlt.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_VCL_OSX_PICTTOBMPFLT_HXX
-#define INCLUDED_VCL_OSX_PICTTOBMPFLT_HXX
+#pragma once
 
 #include <com/sun/star/uno/Sequence.hxx>
 
@@ -32,6 +31,4 @@ bool ImageToPNG(css::uno::Sequence<sal_Int8> const& rImgData,
 bool PNGToImage(css::uno::Sequence<sal_Int8> const& rPngData,
                 css::uno::Sequence<sal_Int8>& rImgData, NSBitmapImageFileType 
eOutFormat);
 
-#endif // INCLUDED_VCL_OSX_PICTTOBMPFLT_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to