[Libreoffice-commits] core.git: include/o3tl include/vcl

Luboš Luňák (via logerrit) logerrit at kemper.freedesktop.org
Thu May 9 09:12:30 UTC 2019


 include/o3tl/temporary.hxx              |    5 +++++
 include/vcl/uitest/eventdescription.hxx |    5 +++++
 include/vcl/uitest/factory.hxx          |    5 +++++
 include/vcl/uitest/logger.hxx           |    5 +++++
 include/vcl/uitest/uitest.hxx           |    5 +++++
 5 files changed, 25 insertions(+)

New commits:
commit b4946d58eb07aac674574da466829ab19c126c69
Author:     Luboš Luňák <l.lunak at collabora.com>
AuthorDate: Wed May 8 16:33:26 2019 +0200
Commit:     Luboš Luňák <l.lunak at collabora.com>
CommitDate: Thu May 9 11:10:31 2019 +0200

    add missing include guards
    
    Change-Id: I337c0f567112f95e2a1d762e511d5b632dd2892f
    Reviewed-on: https://gerrit.libreoffice.org/71997
    Tested-by: Jenkins
    Reviewed-by: Luboš Luňák <l.lunak at collabora.com>

diff --git a/include/o3tl/temporary.hxx b/include/o3tl/temporary.hxx
index 476e934cb44a..7b6c9a1f9fc7 100644
--- a/include/o3tl/temporary.hxx
+++ b/include/o3tl/temporary.hxx
@@ -7,6 +7,9 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
+#ifndef INCLUDED_O3TL_TEMPORARY_HXX
+#define INCLUDED_O3TL_TEMPORARY_HXX
+
 #include <sal/config.h>
 
 namespace o3tl
@@ -19,4 +22,6 @@ template <typename T> constexpr T& temporary(T&& x) { return x; }
 template <typename T> constexpr T& temporary(T&) = delete;
 }
 
+#endif /* INCLUDED_O3TL_TEMPORARY_HXX */
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
diff --git a/include/vcl/uitest/eventdescription.hxx b/include/vcl/uitest/eventdescription.hxx
index ed2b54f3439b..47bf9e117ef9 100644
--- a/include/vcl/uitest/eventdescription.hxx
+++ b/include/vcl/uitest/eventdescription.hxx
@@ -7,6 +7,9 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
+#ifndef INCLUDED_VCL_UITEST_EVENTDESCRIPTION_HXX
+#define INCLUDED_VCL_UITEST_EVENTDESCRIPTION_HXX
+
 #include <rtl/ustring.hxx>
 #include <map>
 
@@ -16,4 +19,6 @@ struct EventDescription
     std::map<OUString, OUString> aParameters;
 };
 
+#endif
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/vcl/uitest/factory.hxx b/include/vcl/uitest/factory.hxx
index da645f309b79..3319c5e18583 100644
--- a/include/vcl/uitest/factory.hxx
+++ b/include/vcl/uitest/factory.hxx
@@ -7,6 +7,9 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
+#ifndef INCLUDED_VCL_UITEST_FACTORY_HXX
+#define INCLUDED_VCL_UITEST_FACTORY_HXX
+
 #include <memory>
 #include <functional>
 
@@ -20,4 +23,6 @@ class UIObject;
 
 typedef std::function<std::unique_ptr<UIObject>(vcl::Window*)> FactoryFunction;
 
+#endif
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/vcl/uitest/logger.hxx b/include/vcl/uitest/logger.hxx
index 89f7c72f693b..f707049040fe 100644
--- a/include/vcl/uitest/logger.hxx
+++ b/include/vcl/uitest/logger.hxx
@@ -7,6 +7,9 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
+#ifndef INCLUDED_VCL_UITEST_LOGGER_HXX
+#define INCLUDED_VCL_UITEST_LOGGER_HXX
+
 #include <vcl/dllapi.h>
 
 #include <tools/stream.hxx>
@@ -47,4 +50,6 @@ public:
 
 };
 
+#endif
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/vcl/uitest/uitest.hxx b/include/vcl/uitest/uitest.hxx
index 00465b0ee1e8..14356b5b7487 100644
--- a/include/vcl/uitest/uitest.hxx
+++ b/include/vcl/uitest/uitest.hxx
@@ -7,6 +7,9 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
+#ifndef INCLUDED_VCL_UITEST_UITEST_HXX
+#define INCLUDED_VCL_UITEST_UITEST_HXX
+
 #include <rtl/ustring.hxx>
 
 #include <vcl/dllapi.h>
@@ -36,4 +39,6 @@ public:
     static std::unique_ptr<UIObject> getFloatWindow();
 };
 
+#endif
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list