tdf#143148 Use #pragma once instead of include guards

Change-Id: I1a7a8b924fcd3f5e909ab42f560efb6f8d87654e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183415
Tested-by: Jenkins
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
This commit is contained in:
Manish 2025-03-28 00:20:17 +05:30 committed by Ilmari Lauhakangas
parent c448bb4754
commit e23e0132d5
4 changed files with 4 additions and 16 deletions

View File

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_CANVAS_ELAPSEDTIME_HXX
#define INCLUDED_CANVAS_ELAPSEDTIME_HXX
#pragma once
#include <canvas/canvastoolsdllapi.h>
#include <memory>
@ -158,6 +157,4 @@ namespace canvas::tools
}
#endif /* INCLUDED_CANVAS_ELAPSEDTIME_HXX */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef INCLUDED_DRAWINGLAYER_XSHAPEDUMPER_HXX
#define INCLUDED_DRAWINGLAYER_XSHAPEDUMPER_HXX
#pragma once
#include <drawinglayer/drawinglayerdllapi.h>
#include <rtl/ustring.hxx>
@ -24,6 +23,4 @@ struct DRAWINGLAYER_DLLPUBLIC XShapeDumper
static OUString dump(const css::uno::Reference<css::drawing::XShape>& xPageShapes, bool bDumpInteropProperties=false);
};
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef INCLUDED_DRAWINGLAYER_DRAWINGLAYERDLLAPI_H
#define INCLUDED_DRAWINGLAYER_DRAWINGLAYERDLLAPI_H
#pragma once
#include <sal/types.h>
@ -25,6 +24,4 @@
#define DRAWINGLAYERCORE_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
#endif
#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_STOC_SOURCE_IMPLEMENTATIONREGISTRATION_MERGEKEYS_HXX
#define INCLUDED_STOC_SOURCE_IMPLEMENTATIONREGISTRATION_MERGEKEYS_HXX
#pragma once
#include <sal/config.h>
#include <sal/types.h>
@ -41,6 +40,4 @@ void mergeKeys(
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */