[Libreoffice-commits] core.git: include/cppuhelper include/osl include/rtl

Michael Stahl mstahl at redhat.com
Wed Nov 19 03:01:15 PST 2014


 include/cppuhelper/component_context.hxx |    4 ++++
 include/cppuhelper/interfacecontainer.h  |    1 +
 include/cppuhelper/weak.hxx              |    1 +
 include/cppuhelper/weakref.hxx           |    1 +
 include/osl/file.hxx                     |    1 +
 include/osl/profile.hxx                  |    2 ++
 include/rtl/stringutils.hxx              |    1 +
 7 files changed, 11 insertions(+)

New commits:
commit 40d4f917e3395611276240c75c1d825d172ed559
Author: Michael Stahl <mstahl at redhat.com>
Date:   Wed Nov 19 00:31:37 2014 +0100

    sal, cppuhelper headers a little more complete and self-contained
    
    All of them now build as-is (doing that is actually a pain because some
    are named the same as C library headers and clang looks first in the
    directory where the source file is in...).
    
    Change-Id: Ief6e245c8f49fcee678aebd46394c19e4cb47f51

diff --git a/include/cppuhelper/component_context.hxx b/include/cppuhelper/component_context.hxx
index f22ff2c..9baf861 100644
--- a/include/cppuhelper/component_context.hxx
+++ b/include/cppuhelper/component_context.hxx
@@ -20,7 +20,11 @@
 #define INCLUDED_CPPUHELPER_COMPONENT_CONTEXT_HXX
 
 #include <com/sun/star/uno/XComponentContext.hpp>
+#include <com/sun/star/uno/Any.hxx>
+#include <com/sun/star/uno/Reference.hxx>
 #include <cppuhelper/cppuhelperdllapi.h>
+#include <rtl/ustring.hxx>
+#include <sal/types.h>
 
 
 namespace cppu
diff --git a/include/cppuhelper/interfacecontainer.h b/include/cppuhelper/interfacecontainer.h
index 2813af0..650d455 100644
--- a/include/cppuhelper/interfacecontainer.h
+++ b/include/cppuhelper/interfacecontainer.h
@@ -23,6 +23,7 @@
 
 #include <functional>
 #include <vector>
+#include <utility>
 
 #include <osl/diagnose.h>
 #include <osl/mutex.hxx>
diff --git a/include/cppuhelper/weak.hxx b/include/cppuhelper/weak.hxx
index 60ee36c..9719db1 100644
--- a/include/cppuhelper/weak.hxx
+++ b/include/cppuhelper/weak.hxx
@@ -19,6 +19,7 @@
 #ifndef INCLUDED_CPPUHELPER_WEAK_HXX
 #define INCLUDED_CPPUHELPER_WEAK_HXX
 
+#include <cassert>
 #include <osl/interlck.h>
 #include <rtl/alloc.h>
 #include <com/sun/star/uno/XWeak.hpp>
diff --git a/include/cppuhelper/weakref.hxx b/include/cppuhelper/weakref.hxx
index 796e744..01ee4c8 100644
--- a/include/cppuhelper/weakref.hxx
+++ b/include/cppuhelper/weakref.hxx
@@ -19,6 +19,7 @@
 #ifndef INCLUDED_CPPUHELPER_WEAKREF_HXX
 #define INCLUDED_CPPUHELPER_WEAKREF_HXX
 
+#include <com/sun/star/uno/Reference.hxx>
 #include <com/sun/star/uno/XInterface.hpp>
 #include <cppuhelper/cppuhelperdllapi.h>
 
diff --git a/include/osl/file.hxx b/include/osl/file.hxx
index 293f18d..2c65fcd 100644
--- a/include/osl/file.hxx
+++ b/include/osl/file.hxx
@@ -26,6 +26,7 @@
 
 #include <cassert>
 
+#include <sal/log.hxx>
 #include <osl/time.h>
 #include <rtl/ustring.hxx>
 
diff --git a/include/osl/profile.hxx b/include/osl/profile.hxx
index 1c1e899..a4c9e72 100644
--- a/include/osl/profile.hxx
+++ b/include/osl/profile.hxx
@@ -22,7 +22,9 @@
 
 #include <osl/profile.h>
 #include <rtl/ustring.hxx>
+
 #include <string.h>
+#include <exception>
 #include <list>
 
 namespace osl {
diff --git a/include/rtl/stringutils.hxx b/include/rtl/stringutils.hxx
index 88034d3..52ed1d0 100644
--- a/include/rtl/stringutils.hxx
+++ b/include/rtl/stringutils.hxx
@@ -11,6 +11,7 @@
 #define INCLUDED_RTL_STRINGUTILS_HXX
 
 #include <sal/config.h>
+#include <sal/types.h>
 
 // Manually defining RTL_DISABLE_FAST_STRING allows to force turning fast string concatenation off
 // (e.g. for debugging).


More information about the Libreoffice-commits mailing list