[Libreoffice-commits] core.git: chart2/source include/svx include/vcl

George Bateman (via logerrit) logerrit at kemper.freedesktop.org
Fri Sep 4 07:02:30 UTC 2020


 chart2/source/inc/InternalData.hxx |    5 +----
 include/svx/svdmodel.hxx           |    6 +-----
 include/vcl/glxtestprocess.hxx     |    4 +---
 3 files changed, 3 insertions(+), 12 deletions(-)

New commits:
commit 4d433b21ec6fdd80e09dc042a8e204e72b1e62c8
Author:     George Bateman <george.bateman16 at gmail.com>
AuthorDate: Tue Aug 4 12:41:36 2020 +0000
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Fri Sep 4 09:01:53 2020 +0200

    tdf#124176 Replace 3 include guards with #pragma once
    
    These are the include guards mentioned in tdf#124176 as not being
    compatible with an automated fix.
    
    Change-Id: Ia74453b7b96405ad36440dcd8e24759352bd15da
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100092
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/chart2/source/inc/InternalData.hxx b/chart2/source/inc/InternalData.hxx
index 25ed60606d74..c7407d17fb11 100644
--- a/chart2/source/inc/InternalData.hxx
+++ b/chart2/source/inc/InternalData.hxx
@@ -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 INCLUDED_CHART2_SOURCE_INC_INTERNALDATA_HXX
-#define INCLUDED_CHART2_SOURCE_INC_INTERNALDATA_HXX
+#pragma once
 
 #include <com/sun/star/uno/Sequence.hxx>
 
@@ -92,8 +91,6 @@ private:
     tVecVecAny   m_aColumnLabels;//outer index is column index
 };
 
-#endif
-
 } //  namespace chart
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx
index a02cf8f5d80b..c35b259a51dc 100644
--- a/include/svx/svdmodel.hxx
+++ b/include/svx/svdmodel.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_SVX_SVDMODEL_HXX
-#define INCLUDED_SVX_SVDMODEL_HXX
+#pragma once
 
 #include <functional>
 #include <memory>
@@ -607,9 +606,6 @@ public:
     virtual void dumpAsXml(xmlTextWriterPtr pWriter) const;
 };
 
-
-#endif // INCLUDED_SVX_SVDMODEL_HXX
-
 /*
             +-----------+
             | SdrModel  |
diff --git a/include/vcl/glxtestprocess.hxx b/include/vcl/glxtestprocess.hxx
index 848135442867..c64d9f620b55 100644
--- a/include/vcl/glxtestprocess.hxx
+++ b/include/vcl/glxtestprocess.hxx
@@ -7,7 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifndef INCLUDED_INCLUDE_VCL_GLXTESTPROCESS_HXX
+#pragma once
 
 #include <sal/config.h>
 #include <config_features.h>
@@ -33,6 +33,4 @@ inline void reap_glxtest_process() {}
 
 #endif
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */


More information about the Libreoffice-commits mailing list