summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordeepanshuraj099 <deepanshuraj099@gmail.com>2023-02-12 12:44:30 +0530
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2023-02-13 07:40:04 +0000
commit74501c5da13634632259f738d59b0273e2417147 (patch)
tree0c027f00597556f5f3adcf139ff1c529aee6841f
parent429cf15472b6900852c618a0e90879554562f69a (diff)
tdf#143148 Use pragma once in vcl
Change-Id: Ib27eb3612f6c072d5c1b7a3588c9524920f86e6f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146831 Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
-rw-r--r--vcl/inc/unx/gendata.hxx5
1 files changed, 1 insertions, 4 deletions
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: */