diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-02-06 17:08:38 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-02-06 17:21:16 +0100 |
commit | 6dce9c6757823b9e89863716ae70ff4e8ddd4e60 (patch) | |
tree | 0cb3d7c68223f595e59800ba4cec4456a3b17642 /embeddedobj | |
parent | a73fb11cb235dd600d29f214f8a079792f6b2445 (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 'embeddedobj')
-rw-r--r-- | embeddedobj/source/commonembedding/embedobj.cxx | 4 | ||||
-rw-r--r-- | embeddedobj/source/commonembedding/inplaceobj.cxx | 1 | ||||
-rw-r--r-- | embeddedobj/source/commonembedding/miscobj.cxx | 1 | ||||
-rw-r--r-- | embeddedobj/source/commonembedding/persistence.cxx | 4 | ||||
-rw-r--r-- | embeddedobj/source/commonembedding/specialobject.cxx | 2 | ||||
-rw-r--r-- | embeddedobj/source/commonembedding/visobj.cxx | 1 | ||||
-rw-r--r-- | embeddedobj/source/commonembedding/xfactory.cxx | 2 | ||||
-rw-r--r-- | embeddedobj/source/general/docholder.cxx | 2 | ||||
-rw-r--r-- | embeddedobj/source/general/dummyobject.cxx | 4 | ||||
-rw-r--r-- | embeddedobj/source/msole/closepreventer.cxx | 1 | ||||
-rw-r--r-- | embeddedobj/source/msole/oleembed.cxx | 1 | ||||
-rw-r--r-- | embeddedobj/source/msole/olemisc.cxx | 2 | ||||
-rw-r--r-- | embeddedobj/source/msole/olepersist.cxx | 2 | ||||
-rw-r--r-- | embeddedobj/source/msole/olevisual.cxx | 1 | ||||
-rw-r--r-- | embeddedobj/source/msole/xolefactory.cxx | 1 |
15 files changed, 28 insertions, 1 deletions
diff --git a/embeddedobj/source/commonembedding/embedobj.cxx b/embeddedobj/source/commonembedding/embedobj.cxx index 8184d88ec9dc..304c7cc4f508 100644 --- a/embeddedobj/source/commonembedding/embedobj.cxx +++ b/embeddedobj/source/commonembedding/embedobj.cxx @@ -20,6 +20,9 @@ #include <com/sun/star/embed/EmbedStates.hpp> #include <com/sun/star/embed/EmbedVerbs.hpp> #include <com/sun/star/embed/EmbedUpdateModes.hpp> +#include <com/sun/star/embed/ObjectSaveVetoException.hpp> +#include <com/sun/star/embed/StorageWrappedTargetException.hpp> +#include <com/sun/star/embed/UnreachableStateException.hpp> #include <com/sun/star/embed/XEmbeddedClient.hpp> #include <com/sun/star/embed/XInplaceClient.hpp> #include <com/sun/star/embed/XWindowSupplier.hpp> @@ -27,6 +30,7 @@ #include <com/sun/star/embed/Aspects.hpp> #include <com/sun/star/awt/XWindowPeer.hpp> +#include <com/sun/star/io/IOException.hpp> #include <com/sun/star/util/XCloseBroadcaster.hpp> #include <com/sun/star/util/XCloseable.hpp> #include <com/sun/star/util/XModifiable.hpp> diff --git a/embeddedobj/source/commonembedding/inplaceobj.cxx b/embeddedobj/source/commonembedding/inplaceobj.cxx index 42135a5cc0d4..1ebf16e67a6a 100644 --- a/embeddedobj/source/commonembedding/inplaceobj.cxx +++ b/embeddedobj/source/commonembedding/inplaceobj.cxx @@ -18,6 +18,7 @@ */ #include <com/sun/star/embed/EmbedStates.hpp> +#include <com/sun/star/embed/WrongStateException.hpp> #include <com/sun/star/lang/DisposedException.hpp> #include "commonembobj.hxx" diff --git a/embeddedobj/source/commonembedding/miscobj.cxx b/embeddedobj/source/commonembedding/miscobj.cxx index 865ebd89cf23..f6657edc17ce 100644 --- a/embeddedobj/source/commonembedding/miscobj.cxx +++ b/embeddedobj/source/commonembedding/miscobj.cxx @@ -24,6 +24,7 @@ #include <com/sun/star/embed/EmbedUpdateModes.hpp> #include <com/sun/star/embed/XInplaceClient.hpp> #include <com/sun/star/lang/DisposedException.hpp> +#include <com/sun/star/lang/NoSupportException.hpp> #include <com/sun/star/beans/NamedValue.hpp> #include <cppuhelper/typeprovider.hxx> diff --git a/embeddedobj/source/commonembedding/persistence.cxx b/embeddedobj/source/commonembedding/persistence.cxx index a711988631a2..6acde548f497 100644 --- a/embeddedobj/source/commonembedding/persistence.cxx +++ b/embeddedobj/source/commonembedding/persistence.cxx @@ -23,17 +23,21 @@ #include <com/sun/star/embed/EmbedStates.hpp> #include <com/sun/star/embed/EmbedVerbs.hpp> #include <com/sun/star/embed/EntryInitModes.hpp> +#include <com/sun/star/embed/StorageWrappedTargetException.hpp> +#include <com/sun/star/embed/WrongStateException.hpp> #include <com/sun/star/embed/XStorage.hpp> #include <com/sun/star/embed/XOptimizedStorage.hpp> #include <com/sun/star/embed/ElementModes.hpp> #include <com/sun/star/embed/EmbedUpdateModes.hpp> #include <com/sun/star/embed/StorageFactory.hpp> +#include <com/sun/star/io/IOException.hpp> #include <com/sun/star/io/TempFile.hpp> #include <com/sun/star/frame/XModel.hpp> #include <com/sun/star/frame/XStorable.hpp> #include <com/sun/star/frame/XLoadable.hpp> #include <com/sun/star/frame/XComponentLoader.hpp> #include <com/sun/star/frame/XModule.hpp> +#include <com/sun/star/lang/NoSupportException.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/lang/DisposedException.hpp> diff --git a/embeddedobj/source/commonembedding/specialobject.cxx b/embeddedobj/source/commonembedding/specialobject.cxx index 5f0e18e0b365..0fe8fb1cd26c 100644 --- a/embeddedobj/source/commonembedding/specialobject.cxx +++ b/embeddedobj/source/commonembedding/specialobject.cxx @@ -21,6 +21,8 @@ #include <com/sun/star/embed/EmbedStates.hpp> #include <com/sun/star/embed/EmbedVerbs.hpp> #include <com/sun/star/embed/EmbedUpdateModes.hpp> +#include <com/sun/star/embed/UnreachableStateException.hpp> +#include <com/sun/star/embed/WrongStateException.hpp> #include <com/sun/star/embed/XEmbeddedClient.hpp> #include <com/sun/star/embed/XInplaceClient.hpp> #include <com/sun/star/embed/XWindowSupplier.hpp> diff --git a/embeddedobj/source/commonembedding/visobj.cxx b/embeddedobj/source/commonembedding/visobj.cxx index d5d5ec744600..8862590d49fc 100644 --- a/embeddedobj/source/commonembedding/visobj.cxx +++ b/embeddedobj/source/commonembedding/visobj.cxx @@ -19,6 +19,7 @@ #include <com/sun/star/embed/Aspects.hpp> #include <com/sun/star/embed/EmbedStates.hpp> +#include <com/sun/star/embed/WrongStateException.hpp> #include <com/sun/star/datatransfer/XTransferable.hpp> #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/lang/DisposedException.hpp> diff --git a/embeddedobj/source/commonembedding/xfactory.cxx b/embeddedobj/source/commonembedding/xfactory.cxx index 8f09dcd42776..89477128ef72 100644 --- a/embeddedobj/source/commonembedding/xfactory.cxx +++ b/embeddedobj/source/commonembedding/xfactory.cxx @@ -23,7 +23,7 @@ #include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/container/XNameAccess.hpp> - +#include <com/sun/star/io/IOException.hpp> #include <comphelper/processfactory.hxx> #include <cppuhelper/supportsservice.hxx> #include <comphelper/documentconstants.hxx> diff --git a/embeddedobj/source/general/docholder.cxx b/embeddedobj/source/general/docholder.cxx index f9b2bcdd4204..73ba0e138326 100644 --- a/embeddedobj/source/general/docholder.cxx +++ b/embeddedobj/source/general/docholder.cxx @@ -19,11 +19,13 @@ #include <com/sun/star/embed/Aspects.hpp> #include <com/sun/star/frame/TaskCreator.hpp> +#include <com/sun/star/frame/TerminationVetoException.hpp> #include <com/sun/star/frame/XComponentLoader.hpp> #include <com/sun/star/frame/XSynchronousFrameLoader.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/lang/XSingleComponentFactory.hpp> +#include <com/sun/star/util/CloseVetoException.hpp> #include <com/sun/star/util/XCloseBroadcaster.hpp> #include <com/sun/star/util/XCloseable.hpp> #include <com/sun/star/container/XNameAccess.hpp> diff --git a/embeddedobj/source/general/dummyobject.cxx b/embeddedobj/source/general/dummyobject.cxx index c48f62f49adc..2ab7a69b0124 100644 --- a/embeddedobj/source/general/dummyobject.cxx +++ b/embeddedobj/source/general/dummyobject.cxx @@ -20,6 +20,7 @@ #include <com/sun/star/embed/EmbedStates.hpp> #include <com/sun/star/embed/EmbedVerbs.hpp> #include <com/sun/star/embed/EmbedUpdateModes.hpp> +#include <com/sun/star/embed/UnreachableStateException.hpp> #include <com/sun/star/embed/XEmbeddedClient.hpp> #include <com/sun/star/embed/XInplaceClient.hpp> #include <com/sun/star/embed/XWindowSupplier.hpp> @@ -28,7 +29,10 @@ #include <com/sun/star/embed/EmbedMapUnits.hpp> #include <com/sun/star/embed/EntryInitModes.hpp> #include <com/sun/star/embed/NoVisualAreaSizeException.hpp> +#include <com/sun/star/io/IOException.hpp> #include <com/sun/star/lang/DisposedException.hpp> +#include <com/sun/star/lang/IllegalArgumentException.hpp> +#include <com/sun/star/lang/NoSupportException.hpp> #include <dummyobject.hxx> diff --git a/embeddedobj/source/msole/closepreventer.cxx b/embeddedobj/source/msole/closepreventer.cxx index 69cf44b0d6f1..6a6e35f0d730 100644 --- a/embeddedobj/source/msole/closepreventer.cxx +++ b/embeddedobj/source/msole/closepreventer.cxx @@ -19,6 +19,7 @@ #include "closepreventer.hxx" +#include <com/sun/star/util/CloseVetoException.hpp> #include <osl/diagnose.h> void SAL_CALL OClosePreventer::queryClosing( const css::lang::EventObject&, sal_Bool ) diff --git a/embeddedobj/source/msole/oleembed.cxx b/embeddedobj/source/msole/oleembed.cxx index 3bd35a7d4ac7..e5bd8646aac9 100644 --- a/embeddedobj/source/msole/oleembed.cxx +++ b/embeddedobj/source/msole/oleembed.cxx @@ -21,6 +21,7 @@ #include <com/sun/star/embed/EmbedStates.hpp> #include <com/sun/star/embed/EmbedVerbs.hpp> #include <com/sun/star/embed/EntryInitModes.hpp> +#include <com/sun/star/embed/UnreachableStateException.hpp> #include <com/sun/star/embed/XStorage.hpp> #include <com/sun/star/embed/ElementModes.hpp> #include <com/sun/star/embed/EmbedUpdateModes.hpp> diff --git a/embeddedobj/source/msole/olemisc.cxx b/embeddedobj/source/msole/olemisc.cxx index a5121aac9971..4e617d0f4c0a 100644 --- a/embeddedobj/source/msole/olemisc.cxx +++ b/embeddedobj/source/msole/olemisc.cxx @@ -23,6 +23,8 @@ #include <com/sun/star/embed/EmbedUpdateModes.hpp> #include <com/sun/star/embed/EmbedStates.hpp> +#include <com/sun/star/embed/WrongStateException.hpp> +#include <com/sun/star/lang/NoSupportException.hpp> #include <com/sun/star/lang/XComponent.hpp> #include <com/sun/star/lang/DisposedException.hpp> diff --git a/embeddedobj/source/msole/olepersist.cxx b/embeddedobj/source/msole/olepersist.cxx index 036dd496157f..30095d175760 100644 --- a/embeddedobj/source/msole/olepersist.cxx +++ b/embeddedobj/source/msole/olepersist.cxx @@ -22,6 +22,7 @@ #include <com/sun/star/embed/EmbedStates.hpp> #include <com/sun/star/embed/EmbedVerbs.hpp> #include <com/sun/star/embed/EntryInitModes.hpp> +#include <com/sun/star/embed/WrongStateException.hpp> #include <com/sun/star/embed/XStorage.hpp> #include <com/sun/star/embed/XTransactedObject.hpp> #include <com/sun/star/embed/ElementModes.hpp> @@ -36,6 +37,7 @@ #include <com/sun/star/io/XSeekable.hpp> #include <com/sun/star/io/XTruncate.hpp> #include <com/sun/star/beans/XPropertySet.hpp> +#include <com/sun/star/packages/WrongPasswordException.hpp> #include <com/sun/star/ucb/SimpleFileAccess.hpp> #include <comphelper/processfactory.hxx> diff --git a/embeddedobj/source/msole/olevisual.cxx b/embeddedobj/source/msole/olevisual.cxx index f73df4f3cbdc..0676d4dba68b 100644 --- a/embeddedobj/source/msole/olevisual.cxx +++ b/embeddedobj/source/msole/olevisual.cxx @@ -22,6 +22,7 @@ #include <com/sun/star/embed/EmbedMapUnits.hpp> #include <com/sun/star/embed/EmbedMisc.hpp> #include <com/sun/star/embed/Aspects.hpp> +#include <com/sun/star/embed/WrongStateException.hpp> #include <com/sun/star/io/XSeekable.hpp> #include <com/sun/star/embed/NoVisualAreaSizeException.hpp> diff --git a/embeddedobj/source/msole/xolefactory.cxx b/embeddedobj/source/msole/xolefactory.cxx index 81b0d04c8481..9f726d39e243 100644 --- a/embeddedobj/source/msole/xolefactory.cxx +++ b/embeddedobj/source/msole/xolefactory.cxx @@ -23,6 +23,7 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/container/XNameAccess.hpp> #include <com/sun/star/embed/Aspects.hpp> +#include <com/sun/star/io/IOException.hpp> #include "xolefactory.hxx" #include "oleembobj.hxx" |