diff options
author | gilssonn <gilsonnyirimana@gmail.com> | 2023-05-10 03:28:50 -0400 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2023-05-10 18:33:43 +0200 |
commit | 47b1e4fdb1d70c9812fe849e6007ca74f3e18787 (patch) | |
tree | fb5983e62185d5c2c87ac638752e74e7109b9d5e /chart2 | |
parent | f5febc2888a26cdd684c9a1590c6ca0b6ff26a4b (diff) |
tdf#143148 Use pragma once instead of include guards in chart2
Change-Id: I6227accbaf35ea810828b018f0f7349f5404778f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151604
Tested-by: Jenkins
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/inc/ShapeController.h | 5 | ||||
-rw-r--r-- | chart2/source/controller/main/DrawCommandDispatch.h | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/chart2/source/controller/inc/ShapeController.h b/chart2/source/controller/inc/ShapeController.h index e326450661d3..433f6af5250f 100644 --- a/chart2/source/controller/inc/ShapeController.h +++ b/chart2/source/controller/inc/ShapeController.h @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef CHART_SHAPECONTROLLER_H -#define CHART_SHAPECONTROLLER_H +#pragma once //Shape Controller Command Ids: enum ShapeControllerCommandID @@ -36,6 +35,4 @@ enum ShapeControllerCommandID COMMAND_ID_PARAGRAPH_DIALOG = 16 }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/chart2/source/controller/main/DrawCommandDispatch.h b/chart2/source/controller/main/DrawCommandDispatch.h index c58aa4149bbf..b21febbcc033 100644 --- a/chart2/source/controller/main/DrawCommandDispatch.h +++ b/chart2/source/controller/main/DrawCommandDispatch.h @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef CHART_DRAWCOMMANDDISPATCH_HRC -#define CHART_DRAWCOMMANDDISPATCH_HRC +#pragma once //Draw Command Ids: enum DrawCommandID @@ -40,6 +39,4 @@ enum DrawCommandID COMMAND_ID_DRAWTBX_CS_STAR = 16 }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |