vcl/inc/unx/gendata.hxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 74501c5da13634632259f738d59b0273e2417147
Author:     deepanshuraj099 <deepanshuraj...@gmail.com>
AuthorDate: Sun Feb 12 12:44:30 2023 +0530
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Mon Feb 13 07:40:04 2023 +0000

    tdf#143148 Use pragma once in vcl
    
    Change-Id: Ib27eb3612f6c072d5c1b7a3588c9524920f86e6f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146831
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>

diff --git a/vcl/inc/unx/gendata.hxx b/vcl/inc/unx/gendata.hxx
index f0b769da08e7..4949613c0b10 100644
--- a/vcl/inc/unx/gendata.hxx
+++ b/vcl/inc/unx/gendata.hxx
@@ -7,8 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_VCL_INC_GENERIC_GENDATA_HXX
-#define INCLUDED_VCL_INC_GENERIC_GENDATA_HXX
+#pragma once
 
 #include <osl/socket.hxx>
 
@@ -116,6 +115,4 @@ inline GenericUnixSalData* GetGenericUnixSalData()
     return static_cast<GenericUnixSalData*>(ImplGetSVData()->mpSalData);
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to