[Libreoffice-commits] core.git: vcl/inc

Zeynep Yavuz (via logerrit) logerrit at kemper.freedesktop.org
Thu Aug 5 21:42:28 UTC 2021


 vcl/inc/osx/salinst.h |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit e642179f466c899365fc9539a8aca66b39fea39a
Author:     Zeynep Yavuz <zeynepyavuz2001 at hotmail.com>
AuthorDate: Mon Aug 2 20:05:38 2021 +0300
Commit:     Roman Kuznetsov <antilibreoffice at gmail.com>
CommitDate: Thu Aug 5 23:41:54 2021 +0200

    tdf#143148: Use pragma once instead of include guards (Episode 2: Endgame)
    
    Change-Id: I049bd94eaaa771584d18859903ef75e4319494b3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119893
    Tested-by: Jenkins
    Reviewed-by: Roman Kuznetsov <antilibreoffice at gmail.com>

diff --git a/vcl/inc/osx/salinst.h b/vcl/inc/osx/salinst.h
index e143f970db0d..c94d5871a1df 100644
--- a/vcl/inc/osx/salinst.h
+++ b/vcl/inc/osx/salinst.h
@@ -18,8 +18,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_VCL_INC_OSX_SALINST_H
-#define INCLUDED_VCL_INC_OSX_SALINST_H
+#pragma once
 
 #include <sal/config.h>
 
@@ -158,6 +157,5 @@ public:
 CGImageRef CreateCGImage( const Image& );
 NSImage*   CreateNSImage( const Image& );
 
-#endif // INCLUDED_VCL_INC_OSX_SALINST_H
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list