[Libreoffice-commits] core.git: UnoControls/inc UnoControls/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Sat Dec 28 09:32:13 UTC 2019


 UnoControls/inc/basecontainercontrol.hxx                   |    4 +---
 UnoControls/inc/basecontrol.hxx                            |    4 +---
 UnoControls/inc/multiplexer.hxx                            |    4 +---
 UnoControls/source/inc/OConnectionPointContainerHelper.hxx |    4 +---
 UnoControls/source/inc/OConnectionPointHelper.hxx          |    4 +---
 UnoControls/source/inc/framecontrol.hxx                    |    4 +---
 UnoControls/source/inc/progressbar.hxx                     |    4 +---
 UnoControls/source/inc/progressmonitor.hxx                 |    4 +---
 UnoControls/source/inc/statusindicator.hxx                 |    4 +---
 9 files changed, 9 insertions(+), 27 deletions(-)

New commits:
commit 0104c28ceac5f2802a34305e85edc2d9ffe252ba
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sat Dec 28 00:51:41 2019 +0100
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sat Dec 28 10:31:38 2019 +0100

    tdf#124176: Use "pragma once" on UnoControls/*
    
    It passed "make check" on Linux
    
    Change-Id: I4b0427e86063de0d4b1fd916ab4dfb1505db5a04
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85888
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/UnoControls/inc/basecontainercontrol.hxx b/UnoControls/inc/basecontainercontrol.hxx
index 500313fc9096..56e2f9373af3 100644
--- a/UnoControls/inc/basecontainercontrol.hxx
+++ b/UnoControls/inc/basecontainercontrol.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_UNOCONTROLS_INC_BASECONTAINERCONTROL_HXX
-#define INCLUDED_UNOCONTROLS_INC_BASECONTAINERCONTROL_HXX
+#pragma once
 
 #include <memory>
 #include <vector>
@@ -151,6 +150,5 @@ private:
 
 }
 
-#endif // INCLUDED_UNOCONTROLS_INC_BASECONTAINERCONTROL_HXX
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/UnoControls/inc/basecontrol.hxx b/UnoControls/inc/basecontrol.hxx
index c19e3d9cb04b..495664626b03 100644
--- a/UnoControls/inc/basecontrol.hxx
+++ b/UnoControls/inc/basecontrol.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_UNOCONTROLS_INC_BASECONTROL_HXX
-#define INCLUDED_UNOCONTROLS_INC_BASECONTROL_HXX
+#pragma once
 
 #include <com/sun/star/awt/XPaintListener.hpp>
 #include <com/sun/star/awt/XWindowListener.hpp>
@@ -328,6 +327,5 @@ private:
 
 }
 
-#endif // INCLUDED_UNOCONTROLS_INC_BASECONTROL_HXX
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/UnoControls/inc/multiplexer.hxx b/UnoControls/inc/multiplexer.hxx
index 640435ad520e..1c5aa98caf41 100644
--- a/UnoControls/inc/multiplexer.hxx
+++ b/UnoControls/inc/multiplexer.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_UNOCONTROLS_INC_MULTIPLEXER_HXX
-#define INCLUDED_UNOCONTROLS_INC_MULTIPLEXER_HXX
+#pragma once
 
 #include <com/sun/star/awt/XKeyListener.hpp>
 #include <com/sun/star/awt/XPaintListener.hpp>
@@ -230,6 +229,5 @@ private:
 
 }
 
-#endif // INCLUDED_UNOCONTROLS_INC_MULTIPLEXER_HXX
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/UnoControls/source/inc/OConnectionPointContainerHelper.hxx b/UnoControls/source/inc/OConnectionPointContainerHelper.hxx
index 728542188f92..45579f33f200 100644
--- a/UnoControls/source/inc/OConnectionPointContainerHelper.hxx
+++ b/UnoControls/source/inc/OConnectionPointContainerHelper.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_UNOCONTROLS_SOURCE_INC_OCONNECTIONPOINTCONTAINERHELPER_HXX
-#define INCLUDED_UNOCONTROLS_SOURCE_INC_OCONNECTIONPOINTCONTAINERHELPER_HXX
+#pragma once
 
 #include <com/sun/star/lang/XConnectionPointContainer.hpp>
 #include <cppuhelper/weak.hxx>
@@ -102,6 +101,5 @@ private:
 
 }
 
-#endif // INCLUDED_UNOCONTROLS_SOURCE_INC_OCONNECTIONPOINTCONTAINERHELPER_HXX
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/UnoControls/source/inc/OConnectionPointHelper.hxx b/UnoControls/source/inc/OConnectionPointHelper.hxx
index 852c91664020..3de932caa765 100644
--- a/UnoControls/source/inc/OConnectionPointHelper.hxx
+++ b/UnoControls/source/inc/OConnectionPointHelper.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_UNOCONTROLS_SOURCE_INC_OCONNECTIONPOINTHELPER_HXX
-#define INCLUDED_UNOCONTROLS_SOURCE_INC_OCONNECTIONPOINTHELPER_HXX
+#pragma once
 
 #include <com/sun/star/lang/XConnectionPoint.hpp>
 #include <cppuhelper/weak.hxx>
@@ -105,6 +104,5 @@ private:
 
 }
 
-#endif // INCLUDED_UNOCONTROLS_SOURCE_INC_OCONNECTIONPOINTHELPER_HXX
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/UnoControls/source/inc/framecontrol.hxx b/UnoControls/source/inc/framecontrol.hxx
index 2ed78f7bddfe..2261490421b8 100644
--- a/UnoControls/source/inc/framecontrol.hxx
+++ b/UnoControls/source/inc/framecontrol.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_UNOCONTROLS_SOURCE_INC_FRAMECONTROL_HXX
-#define INCLUDED_UNOCONTROLS_SOURCE_INC_FRAMECONTROL_HXX
+#pragma once
 
 #include <com/sun/star/lang/XConnectionPointContainer.hpp>
 #include <cppuhelper/propshlp.hxx>
@@ -180,6 +179,5 @@ private:
 
 }
 
-#endif // INCLUDED_UNOCONTROLS_SOURCE_INC_FRAMECONTROL_HXX
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/UnoControls/source/inc/progressbar.hxx b/UnoControls/source/inc/progressbar.hxx
index 9313bcb45e92..8a3f4db1b181 100644
--- a/UnoControls/source/inc/progressbar.hxx
+++ b/UnoControls/source/inc/progressbar.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_UNOCONTROLS_SOURCE_INC_PROGRESSBAR_HXX
-#define INCLUDED_UNOCONTROLS_SOURCE_INC_PROGRESSBAR_HXX
+#pragma once
 
 #include <com/sun/star/awt/XProgressBar.hpp>
 
@@ -142,6 +141,5 @@ private:
 
 }
 
-#endif // INCLUDED_UNOCONTROLS_SOURCE_INC_PROGRESSBAR_HXX
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/UnoControls/source/inc/progressmonitor.hxx b/UnoControls/source/inc/progressmonitor.hxx
index 339b6e6cb6cc..bbb4837347a6 100644
--- a/UnoControls/source/inc/progressmonitor.hxx
+++ b/UnoControls/source/inc/progressmonitor.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_UNOCONTROLS_SOURCE_INC_PROGRESSMONITOR_HXX
-#define INCLUDED_UNOCONTROLS_SOURCE_INC_PROGRESSMONITOR_HXX
+#pragma once
 
 #include <com/sun/star/awt/XProgressMonitor.hpp>
 #include <com/sun/star/awt/XButton.hpp>
@@ -253,6 +252,5 @@ private:
 
 }
 
-#endif // INCLUDED_UNOCONTROLS_SOURCE_INC_PROGRESSMONITOR_HXX
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/UnoControls/source/inc/statusindicator.hxx b/UnoControls/source/inc/statusindicator.hxx
index daff3e169b47..7676f12902d3 100644
--- a/UnoControls/source/inc/statusindicator.hxx
+++ b/UnoControls/source/inc/statusindicator.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_UNOCONTROLS_SOURCE_INC_STATUSINDICATOR_HXX
-#define INCLUDED_UNOCONTROLS_SOURCE_INC_STATUSINDICATOR_HXX
+#pragma once
 
 #include <com/sun/star/awt/XLayoutConstrains.hpp>
 #include <com/sun/star/task/XStatusIndicator.hpp>
@@ -176,6 +175,5 @@ private:
 
 }
 
-#endif // INCLUDED_UNOCONTROLS_SOURCE_INC_STATUSINDICATOR_HXX
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list