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>
This commit is contained in:
Bogdan B
2022-11-21 20:00:09 +01:00
committed by Ilmari Lauhakangas
parent 1cd62f8cc6
commit abe269d3f9
3 changed files with 3 additions and 15 deletions

View File

@@ -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: */

View File

@@ -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: */

View File

@@ -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: */