chart2/source/controller/inc/ShapeController.h | 5 +---- chart2/source/controller/main/DrawCommandDispatch.h | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-)
New commits: commit 47b1e4fdb1d70c9812fe849e6007ca74f3e18787 Author: gilssonn <gilsonnyirim...@gmail.com> AuthorDate: Wed May 10 03:28:50 2023 -0400 Commit: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> CommitDate: Wed May 10 18:33:43 2023 +0200 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.lauhakan...@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> 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: */