summaryrefslogtreecommitdiff
path: root/odk/examples
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-02-06 17:08:38 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-02-06 17:21:16 +0100
commit6dce9c6757823b9e89863716ae70ff4e8ddd4e60 (patch)
tree0cb3d7c68223f595e59800ba4cec4456a3b17642 /odk/examples
parenta73fb11cb235dd600d29f214f8a079792f6b2445 (diff)
Add missing #includes
...and remove some unncessary using directives/declarations, in preparation of removing now-unnecessary #includes from cppumaker-generated files, post e57ca02849c3d87142ff5ff9099a212e72b8139c "Remove dynamic exception specifications". Change-Id: Iaf1f268871e2ee1d1c76cf90f03557527ebc9067
Diffstat (limited to 'odk/examples')
-rw-r--r--odk/examples/cpp/complextoolbarcontrols/MyJob.h1
-rw-r--r--odk/examples/cpp/complextoolbarcontrols/MyListener.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/odk/examples/cpp/complextoolbarcontrols/MyJob.h b/odk/examples/cpp/complextoolbarcontrols/MyJob.h
index 6687dc7c8be6..0741e5eed21e 100644
--- a/odk/examples/cpp/complextoolbarcontrols/MyJob.h
+++ b/odk/examples/cpp/complextoolbarcontrols/MyJob.h
@@ -21,6 +21,7 @@
#define INCLUDED_EXAMPLES_COMPLEXTOOLBARCONTROLS_MYJOB_H
#include <com/sun/star/task/XJob.hpp>
+#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <cppuhelper/implbase2.hxx>
diff --git a/odk/examples/cpp/complextoolbarcontrols/MyListener.h b/odk/examples/cpp/complextoolbarcontrols/MyListener.h
index 303916545c14..906b266a13af 100644
--- a/odk/examples/cpp/complextoolbarcontrols/MyListener.h
+++ b/odk/examples/cpp/complextoolbarcontrols/MyListener.h
@@ -20,6 +20,9 @@
#ifndef INCLUDED_EXAMPLES_COMPLEXTOOLBARCONTROLS_MYLISTENER_H
#define INCLUDED_EXAMPLES_COMPLEXTOOLBARCONTROLS_MYLISTENER_H
+#include <sal/config.h>
+
+#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/task/XJob.hpp>