summaryrefslogtreecommitdiff
path: root/include/cppuhelper
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-11-19 00:31:37 +0100
committerMichael Stahl <mstahl@redhat.com>2014-11-19 11:55:11 +0100
commit40d4f917e3395611276240c75c1d825d172ed559 (patch)
treee55869e4bc3089d8de9cf8de63b3c119bc35235f /include/cppuhelper
parentdb222b74f1482870aac76d51646215d756901b8d (diff)
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
Diffstat (limited to 'include/cppuhelper')
-rw-r--r--include/cppuhelper/component_context.hxx4
-rw-r--r--include/cppuhelper/interfacecontainer.h1
-rw-r--r--include/cppuhelper/weak.hxx1
-rw-r--r--include/cppuhelper/weakref.hxx1
4 files changed, 7 insertions, 0 deletions
diff --git a/include/cppuhelper/component_context.hxx b/include/cppuhelper/component_context.hxx
index f22ff2c1df6d..9baf861efad0 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 2813af03c943..650d455532e0 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 60ee36cc2275..9719db1a2e62 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 796e744ed17b..01ee4c8671e5 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>