[Libreoffice-commits] core.git: chart2/source sdext/source
Pelin Kuran (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jan 29 21:14:22 UTC 2020
chart2/source/controller/chartapiwrapper/WrappedScaleTextProperties.hxx | 4 +---
chart2/source/controller/inc/MultipleItemConverter.hxx | 6 ++----
chart2/source/controller/inc/TimerTriggeredControllerLock.hxx | 6 ++----
chart2/source/controller/inc/ViewElementListProvider.hxx | 5 ++---
chart2/source/controller/inc/uiobject.hxx | 5 +----
sdext/source/minimizer/optimizationstats.hxx | 6 +-----
6 files changed, 9 insertions(+), 23 deletions(-)
New commits:
commit 5d7a526ee784abc3d83835b9e43047baf5dbe0b9
Author: Pelin Kuran <pelinrkuran at gmail.com>
AuthorDate: Tue Jan 28 23:58:59 2020 +0300
Commit: Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Wed Jan 29 22:13:47 2020 +0100
tdf#124176: Use pragma once instead of header guard
Change-Id: If7c8b03238889a084070d9e96133b5cccecbe807
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87660
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>
diff --git a/chart2/source/controller/chartapiwrapper/WrappedScaleTextProperties.hxx b/chart2/source/controller/chartapiwrapper/WrappedScaleTextProperties.hxx
index 5e25c532cb67..872476a43b62 100644
--- a/chart2/source/controller/chartapiwrapper/WrappedScaleTextProperties.hxx
+++ b/chart2/source/controller/chartapiwrapper/WrappedScaleTextProperties.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_CHARTAPIWRAPPER_WRAPPEDSCALETEXTPROPERTIES_HXX
-#define INCLUDED_CHART2_SOURCE_CONTROLLER_CHARTAPIWRAPPER_WRAPPEDSCALETEXTPROPERTIES_HXX
+#pragma once
#include <sal/types.h>
#include <memory>
@@ -43,6 +42,5 @@ public:
} //namespace wrapper
} //namespace chart
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/controller/inc/MultipleItemConverter.hxx b/chart2/source/controller/inc/MultipleItemConverter.hxx
index 698f7578e2f4..f8defdb60d0b 100644
--- a/chart2/source/controller/inc/MultipleItemConverter.hxx
+++ b/chart2/source/controller/inc/MultipleItemConverter.hxx
@@ -16,8 +16,8 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_INC_MULTIPLEITEMCONVERTER_HXX
-#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_MULTIPLEITEMCONVERTER_HXX
+
+#pragma once
#include "ItemConverter.hxx"
@@ -46,6 +46,4 @@ protected:
}}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/controller/inc/TimerTriggeredControllerLock.hxx b/chart2/source/controller/inc/TimerTriggeredControllerLock.hxx
index 932700653fd5..4404c052dc87 100644
--- a/chart2/source/controller/inc/TimerTriggeredControllerLock.hxx
+++ b/chart2/source/controller/inc/TimerTriggeredControllerLock.hxx
@@ -16,8 +16,8 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_INC_TIMERTRIGGEREDCONTROLLERLOCK_HXX
-#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_TIMERTRIGGEREDCONTROLLERLOCK_HXX
+
+#pragma once
#include <com/sun/star/uno/Reference.h>
#include <vcl/timer.hxx>
@@ -48,6 +48,4 @@ private:
} //namespace chart
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/controller/inc/ViewElementListProvider.hxx b/chart2/source/controller/inc/ViewElementListProvider.hxx
index f229a514b60a..d8b8ffc42727 100644
--- a/chart2/source/controller/inc/ViewElementListProvider.hxx
+++ b/chart2/source/controller/inc/ViewElementListProvider.hxx
@@ -16,8 +16,8 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_INC_VIEWELEMENTLISTPROVIDER_HXX
-#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_VIEWELEMENTLISTPROVIDER_HXX
+
+#pragma once
#include <memory>
#include <svx/xtable.hxx>
@@ -59,6 +59,5 @@ private:
};
} //namespace chart
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/controller/inc/uiobject.hxx b/chart2/source/controller/inc/uiobject.hxx
index 31d1561b08f3..01dc8b500043 100644
--- a/chart2/source/controller/inc/uiobject.hxx
+++ b/chart2/source/controller/inc/uiobject.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_INC_UIOBJECT_HXX
-#define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_UIOBJECT_HXX
+#pragma once
#include <memory>
#include <vcl/uitest/uiobject.hxx>
@@ -66,6 +65,4 @@ protected:
virtual OUString get_name() const override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sdext/source/minimizer/optimizationstats.hxx b/sdext/source/minimizer/optimizationstats.hxx
index 6988a1096502..a1af8f30e782 100644
--- a/sdext/source/minimizer/optimizationstats.hxx
+++ b/sdext/source/minimizer/optimizationstats.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SDEXT_SOURCE_MINIMIZER_OPTIMIZATIONSTATS_HXX
-#define INCLUDED_SDEXT_SOURCE_MINIMIZER_OPTIMIZATIONSTATS_HXX
+#pragma once
#include <com/sun/star/uno/Sequence.h>
#include <com/sun/star/beans/PropertyValues.hpp>
@@ -43,7 +42,4 @@ class OptimizationStats
css::beans::PropertyValues GetStatusSequence();
};
-
-#endif // INCLUDED_SDEXT_SOURCE_MINIMIZER_OPTIMIZATIONSTATS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
More information about the Libreoffice-commits
mailing list