summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorBogdan B <buzea.bogdan@libreoffice.org>2022-11-21 20:00:09 +0100
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2022-11-22 10:22:17 +0100
commitabe269d3f9ca01bb1151d3ef8c20bcfa6530c65c (patch)
treed9120f6abe5279c5e90dae5db4a2b4fa0618b58f /vcl
parent1cd62f8cc6d47d1d3ba695e00fc36d650084fede (diff)
tdf#143148 Use pragma once instead of include guards
Change-Id: Id18265f8d6470870730ffdc9ad879ef99f120aae Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143056 Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/filter/idxf/dxfgrprd.hxx6
-rw-r--r--vcl/source/filter/idxf/dxfreprd.hxx6
-rw-r--r--vcl/source/filter/idxf/dxftblrd.hxx6
3 files changed, 3 insertions, 15 deletions
diff --git a/vcl/source/filter/idxf/dxfgrprd.hxx b/vcl/source/filter/idxf/dxfgrprd.hxx
index 4d20ae2bff0f..6bf3d38a099f 100644
--- a/vcl/source/filter/idxf/dxfgrprd.hxx
+++ b/vcl/source/filter/idxf/dxfgrprd.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FILTER_SOURCE_GRAPHICFILTER_IDXF_DXFGRPRD_HXX
-#define INCLUDED_FILTER_SOURCE_GRAPHICFILTER_IDXF_DXFGRPRD_HXX
+#pragma once
#include <rtl/string.hxx>
#include <sal/types.h>
@@ -109,7 +108,4 @@ inline const OString& DXFGroupReader::GetS() const
return S;
}
-#endif
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/source/filter/idxf/dxfreprd.hxx b/vcl/source/filter/idxf/dxfreprd.hxx
index e9c6bc6530a8..734193fcec84 100644
--- a/vcl/source/filter/idxf/dxfreprd.hxx
+++ b/vcl/source/filter/idxf/dxfreprd.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FILTER_SOURCE_GRAPHICFILTER_IDXF_DXFREPRD_HXX
-#define INCLUDED_FILTER_SOURCE_GRAPHICFILTER_IDXF_DXFREPRD_HXX
+#pragma once
#include "dxfblkrd.hxx"
#include "dxftblrd.hxx"
@@ -123,7 +122,4 @@ inline sal_uInt8 DXFPalette::GetRed(sal_uInt8 nIndex) const { return pRed[nIndex
inline sal_uInt8 DXFPalette::GetGreen(sal_uInt8 nIndex) const { return pGreen[nIndex]; }
inline sal_uInt8 DXFPalette::GetBlue(sal_uInt8 nIndex) const { return pBlue[nIndex]; }
-#endif
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/source/filter/idxf/dxftblrd.hxx b/vcl/source/filter/idxf/dxftblrd.hxx
index f60c0461e2a7..9e0f83f3ed56 100644
--- a/vcl/source/filter/idxf/dxftblrd.hxx
+++ b/vcl/source/filter/idxf/dxftblrd.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FILTER_SOURCE_GRAPHICFILTER_IDXF_DXFTBLRD_HXX
-#define INCLUDED_FILTER_SOURCE_GRAPHICFILTER_IDXF_DXFTBLRD_HXX
+#pragma once
#include <sal/config.h>
@@ -169,7 +168,4 @@ public:
};
-#endif
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */