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

Sabyasachi Bhoi (via logerrit) logerrit at kemper.freedesktop.org
Thu Jul 22 14:31:35 UTC 2021


 vcl/source/bitmap/impvect.hxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit cf717f6d41dd3a2a582ee1478e83c281b18b9c3f
Author:     Sabyasachi Bhoi <sabyabhoi at gmail.com>
AuthorDate: Thu Jul 22 16:09:58 2021 +0530
Commit:     Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
CommitDate: Thu Jul 22 16:30:49 2021 +0200

    tdf#143148: Use pragma once instead of include guards
    
    Replace include guards with pragma once in header file
    
    Change-Id: I8f845a3eb563ab3e6d5ce57b3b411a46bce54889
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119368
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>

diff --git a/vcl/source/bitmap/impvect.hxx b/vcl/source/bitmap/impvect.hxx
index 41f0884e9626..257d1b5e5a87 100644
--- a/vcl/source/bitmap/impvect.hxx
+++ b/vcl/source/bitmap/impvect.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_VCL_SOURCE_GDI_IMPVECT_HXX
-#define INCLUDED_VCL_SOURCE_GDI_IMPVECT_HXX
+#pragma once
 
 #include <vcl/gdimtf.hxx>
 
@@ -30,6 +29,4 @@ namespace ImplVectorizer
                             sal_uInt8 cReduce, const Link<tools::Long,void>* pProgress );
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list