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 /desktop/source/deployment | |
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 'desktop/source/deployment')
22 files changed, 40 insertions, 2 deletions
diff --git a/desktop/source/deployment/dp_log.cxx b/desktop/source/deployment/dp_log.cxx index d88defcc9897..ee814f312b7b 100644 --- a/desktop/source/deployment/dp_log.cxx +++ b/desktop/source/deployment/dp_log.cxx @@ -30,6 +30,7 @@ #include <com/sun/star/deployment/DeploymentException.hpp> #include <com/sun/star/ucb/XProgressHandler.hpp> #include <com/sun/star/ucb/SimpleFileAccess.hpp> +#include <com/sun/star/io/IOException.hpp> #include <com/sun/star/io/XSeekable.hpp> #include <stdio.h> diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx index b6ae76a39e96..14e39ce0e287 100644 --- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx +++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx @@ -57,9 +57,9 @@ #include <unotools/configmgr.hxx> #include <com/sun/star/beans/StringPair.hpp> - +#include <com/sun/star/deployment/DeploymentException.hpp> #include <com/sun/star/i18n/CollatorOptions.hpp> - +#include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/system/SystemShellExecuteFlags.hpp> #include <com/sun/star/system/SystemShellExecute.hpp> diff --git a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx index 037c6f3c2e37..5486a4ec69a6 100644 --- a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx +++ b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx @@ -29,6 +29,7 @@ #include <com/sun/star/i18n/CollatorOptions.hpp> #include <com/sun/star/deployment/DependencyException.hpp> #include <com/sun/star/deployment/DeploymentException.hpp> +#include <com/sun/star/deployment/ExtensionRemovedException.hpp> #include <cppuhelper/weakref.hxx> #include <vcl/settings.hxx> #include <vcl/builderfactory.hxx> diff --git a/desktop/source/deployment/gui/dp_gui_theextmgr.cxx b/desktop/source/deployment/gui/dp_gui_theextmgr.cxx index 257dfb0c6a6c..3170f8192d14 100644 --- a/desktop/source/deployment/gui/dp_gui_theextmgr.cxx +++ b/desktop/source/deployment/gui/dp_gui_theextmgr.cxx @@ -26,7 +26,11 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/configuration/theDefaultProvider.hpp> +#include <com/sun/star/deployment/DeploymentException.hpp> #include <com/sun/star/frame/Desktop.hpp> +#include <com/sun/star/frame/TerminationVetoException.hpp> +#include <com/sun/star/ucb/CommandAbortedException.hpp> +#include <com/sun/star/ucb/CommandFailedException.hpp> #include "dp_gui_dialog2.hxx" #include "dp_gui_extensioncmdqueue.hxx" diff --git a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx index f6047d23eace..35b6aa40ccf8 100644 --- a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx +++ b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx @@ -40,6 +40,7 @@ #include <com/sun/star/ucb/InteractiveAugmentedIOException.hpp> #include <com/sun/star/ucb/XCommandEnvironment.hpp> #include <com/sun/star/ucb/XProgressHandler.hpp> +#include <com/sun/star/deployment/DeploymentException.hpp> #include <com/sun/star/deployment/XExtensionManager.hpp> #include <com/sun/star/deployment/ExtensionManager.hpp> #include <com/sun/star/deployment/XUpdateInformationProvider.hpp> diff --git a/desktop/source/deployment/manager/dp_extensionmanager.cxx b/desktop/source/deployment/manager/dp_extensionmanager.cxx index fc4832d8fe2c..0426abbe4349 100644 --- a/desktop/source/deployment/manager/dp_extensionmanager.cxx +++ b/desktop/source/deployment/manager/dp_extensionmanager.cxx @@ -23,6 +23,7 @@ #include <comphelper/servicedecl.hxx> #include <cppuhelper/exc_hlp.hxx> #include <rtl/bootstrap.hxx> +#include <com/sun/star/deployment/DeploymentException.hpp> #include <com/sun/star/deployment/ExtensionManager.hpp> #include <com/sun/star/deployment/XExtensionManager.hpp> #include <com/sun/star/deployment/thePackageManagerFactory.hpp> @@ -32,11 +33,13 @@ #include <com/sun/star/deployment/InstallException.hpp> #include <com/sun/star/deployment/VersionException.hpp> #include <com/sun/star/deployment/LicenseException.hpp> +#include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/registry/XRegistryKey.hpp> #include <com/sun/star/beans/Optional.hpp> #include <com/sun/star/task/XInteractionApprove.hpp> #include <com/sun/star/beans/Ambiguous.hpp> +#include <com/sun/star/ucb/CommandFailedException.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/io/XInputStream.hpp> #include <com/sun/star/util/XModifyBroadcaster.hpp> diff --git a/desktop/source/deployment/manager/dp_informationprovider.cxx b/desktop/source/deployment/manager/dp_informationprovider.cxx index 8634ecca4886..a19a5c728516 100644 --- a/desktop/source/deployment/manager/dp_informationprovider.cxx +++ b/desktop/source/deployment/manager/dp_informationprovider.cxx @@ -25,6 +25,7 @@ #include <com/sun/star/deployment/XPackageInformationProvider.hpp> #include <com/sun/star/deployment/ExtensionManager.hpp> #include <com/sun/star/deployment/XUpdateInformationProvider.hpp> +#include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/registry/XRegistryKey.hpp> #include <com/sun/star/task/XAbortChannel.hpp> diff --git a/desktop/source/deployment/manager/dp_manager.cxx b/desktop/source/deployment/manager/dp_manager.cxx index 7cfcc98e006d..09ba8fe81dd0 100644 --- a/desktop/source/deployment/manager/dp_manager.cxx +++ b/desktop/source/deployment/manager/dp_manager.cxx @@ -42,13 +42,18 @@ #include <xmlscript/xml_helper.hxx> #include <svl/inettype.hxx> #include <com/sun/star/lang/DisposedException.hpp> +#include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/lang/WrappedTargetRuntimeException.hpp> #include <com/sun/star/beans/UnknownPropertyException.hpp> #include <com/sun/star/util/XUpdatable.hpp> #include <com/sun/star/sdbc/XResultSet.hpp> #include <com/sun/star/sdbc/XRow.hpp> +#include <com/sun/star/ucb/CommandAbortedException.hpp> +#include <com/sun/star/ucb/CommandFailedException.hpp> #include <com/sun/star/ucb/XContentAccess.hpp> #include <com/sun/star/ucb/NameClash.hpp> +#include <com/sun/star/deployment/DeploymentException.hpp> +#include <com/sun/star/deployment/InvalidRemovedParameterException.hpp> #include <com/sun/star/deployment/VersionException.hpp> #include <com/sun/star/deployment/InstallException.hpp> #include <com/sun/star/deployment/Prerequisites.hpp> diff --git a/desktop/source/deployment/misc/dp_descriptioninfoset.cxx b/desktop/source/deployment/misc/dp_descriptioninfoset.cxx index 848fd3dc6603..f17e4c4471da 100644 --- a/desktop/source/deployment/misc/dp_descriptioninfoset.cxx +++ b/desktop/source/deployment/misc/dp_descriptioninfoset.cxx @@ -28,6 +28,7 @@ #include <boost/optional.hpp> #include <com/sun/star/configuration/theDefaultProvider.hpp> #include <com/sun/star/container/XNameAccess.hpp> +#include <com/sun/star/deployment/DeploymentException.hpp> #include <com/sun/star/beans/Optional.hpp> #include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/beans/XPropertySet.hpp> @@ -43,6 +44,7 @@ #include <com/sun/star/xml/dom/XNodeList.hpp> #include <com/sun/star/xml/dom/DocumentBuilder.hpp> #include <com/sun/star/xml/xpath/XPathAPI.hpp> +#include <com/sun/star/xml/xpath/XPathException.hpp> #include <com/sun/star/ucb/InteractiveIOException.hpp> #include <cppuhelper/implbase.hxx> #include <cppuhelper/weak.hxx> diff --git a/desktop/source/deployment/misc/dp_update.cxx b/desktop/source/deployment/misc/dp_update.cxx index 891e1537cd48..405e4d4ec4a6 100644 --- a/desktop/source/deployment/misc/dp_update.cxx +++ b/desktop/source/deployment/misc/dp_update.cxx @@ -24,6 +24,8 @@ #include "dp_identifier.hxx" #include "dp_descriptioninfoset.hxx" +#include <com/sun/star/ucb/CommandAbortedException.hpp> +#include <com/sun/star/ucb/CommandFailedException.hpp> #include <osl/diagnose.h> #include <rtl/bootstrap.hxx> diff --git a/desktop/source/deployment/registry/component/dp_compbackenddb.cxx b/desktop/source/deployment/registry/component/dp_compbackenddb.cxx index d0b2d490129c..dba37ae4db07 100644 --- a/desktop/source/deployment/registry/component/dp_compbackenddb.cxx +++ b/desktop/source/deployment/registry/component/dp_compbackenddb.cxx @@ -21,6 +21,7 @@ #include <rtl/string.h> #include <rtl/bootstrap.hxx> #include <cppuhelper/exc_hlp.hxx> +#include <com/sun/star/deployment/DeploymentException.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/xml/dom/XDocumentBuilder.hpp> #include <com/sun/star/xml/xpath/XXPathAPI.hpp> diff --git a/desktop/source/deployment/registry/component/dp_component.cxx b/desktop/source/deployment/registry/component/dp_component.cxx index d00143157765..bc0f75170d5f 100644 --- a/desktop/source/deployment/registry/component/dp_component.cxx +++ b/desktop/source/deployment/registry/component/dp_component.cxx @@ -35,6 +35,7 @@ #include <comphelper/sequence.hxx> #include <xmlscript/xml_helper.hxx> #include <svl/inettype.hxx> +#include <com/sun/star/deployment/DeploymentException.hpp> #include <com/sun/star/lang/WrappedTargetRuntimeException.hpp> #include <com/sun/star/container/XNameContainer.hpp> #include <com/sun/star/container/XSet.hpp> diff --git a/desktop/source/deployment/registry/configuration/dp_configuration.cxx b/desktop/source/deployment/registry/configuration/dp_configuration.cxx index 21bc2e49d976..b1b0e08cdcc4 100644 --- a/desktop/source/deployment/registry/configuration/dp_configuration.cxx +++ b/desktop/source/deployment/registry/configuration/dp_configuration.cxx @@ -43,6 +43,7 @@ #include <com/sun/star/configuration/Update.hpp> #include <com/sun/star/ucb/NameClash.hpp> #include <com/sun/star/io/XActiveDataSink.hpp> +#include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/lang/WrappedTargetRuntimeException.hpp> #include <com/sun/star/util/XRefreshable.hpp> #include <list> diff --git a/desktop/source/deployment/registry/configuration/dp_configurationbackenddb.cxx b/desktop/source/deployment/registry/configuration/dp_configurationbackenddb.cxx index 81a807e1990e..a77fef4fbb3a 100644 --- a/desktop/source/deployment/registry/configuration/dp_configurationbackenddb.cxx +++ b/desktop/source/deployment/registry/configuration/dp_configurationbackenddb.cxx @@ -21,6 +21,7 @@ #include <rtl/string.h> #include <rtl/bootstrap.hxx> #include <cppuhelper/exc_hlp.hxx> +#include <com/sun/star/deployment/DeploymentException.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/xml/dom/XDocumentBuilder.hpp> #include <com/sun/star/xml/xpath/XXPathAPI.hpp> diff --git a/desktop/source/deployment/registry/dp_backend.cxx b/desktop/source/deployment/registry/dp_backend.cxx index 2c2ee723f43d..2ef737c75ea1 100644 --- a/desktop/source/deployment/registry/dp_backend.cxx +++ b/desktop/source/deployment/registry/dp_backend.cxx @@ -33,8 +33,12 @@ #include <comphelper/unwrapargs.hxx> #include <ucbhelper/content.hxx> #include <com/sun/star/lang/WrappedTargetRuntimeException.hpp> +#include <com/sun/star/deployment/DeploymentException.hpp> +#include <com/sun/star/deployment/ExtensionRemovedException.hpp> #include <com/sun/star/deployment/InvalidRemovedParameterException.hpp> #include <com/sun/star/deployment/thePackageManagerFactory.hpp> +#include <com/sun/star/ucb/CommandAbortedException.hpp> +#include <com/sun/star/ucb/CommandFailedException.hpp> #include <com/sun/star/ucb/InteractiveAugmentedIOException.hpp> #include <com/sun/star/ucb/IOErrorCode.hpp> #include <com/sun/star/beans/StringPair.hpp> diff --git a/desktop/source/deployment/registry/dp_backenddb.cxx b/desktop/source/deployment/registry/dp_backenddb.cxx index cf3f75b11541..dcc54711736c 100644 --- a/desktop/source/deployment/registry/dp_backenddb.cxx +++ b/desktop/source/deployment/registry/dp_backenddb.cxx @@ -23,6 +23,7 @@ #include <rtl/bootstrap.hxx> #include <cppuhelper/exc_hlp.hxx> #include <osl/file.hxx> +#include <com/sun/star/deployment/DeploymentException.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/xml/dom/DocumentBuilder.hpp> #include <com/sun/star/xml/xpath/XPathAPI.hpp> diff --git a/desktop/source/deployment/registry/dp_registry.cxx b/desktop/source/deployment/registry/dp_registry.cxx index 7edf53fd2860..3e9463d2636b 100644 --- a/desktop/source/deployment/registry/dp_registry.cxx +++ b/desktop/source/deployment/registry/dp_registry.cxx @@ -35,6 +35,7 @@ #include <ucbhelper/content.hxx> #include <com/sun/star/uno/DeploymentException.hpp> #include <com/sun/star/lang/DisposedException.hpp> +#include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/lang/WrappedTargetRuntimeException.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XSingleComponentFactory.hpp> diff --git a/desktop/source/deployment/registry/executable/dp_executable.cxx b/desktop/source/deployment/registry/executable/dp_executable.cxx index 50a14b9b9428..4c256a337aa8 100644 --- a/desktop/source/deployment/registry/executable/dp_executable.cxx +++ b/desktop/source/deployment/registry/executable/dp_executable.cxx @@ -23,6 +23,7 @@ #include "dp_services.hxx" #include "dp_ucb.h" #include "dp_interact.h" +#include <com/sun/star/lang/IllegalArgumentException.hpp> #include <rtl/string.hxx> #include <osl/file.hxx> #include <ucbhelper/content.hxx> diff --git a/desktop/source/deployment/registry/help/dp_help.cxx b/desktop/source/deployment/registry/help/dp_help.cxx index 6c29f8a43c84..e84676cc43e6 100644 --- a/desktop/source/deployment/registry/help/dp_help.cxx +++ b/desktop/source/deployment/registry/help/dp_help.cxx @@ -37,6 +37,8 @@ #include <helpcompiler/compilehelp.hxx> #include <helpcompiler/HelpIndexer.hxx> #endif +#include <com/sun/star/deployment/DeploymentException.hpp> +#include <com/sun/star/deployment/ExtensionRemovedException.hpp> #include <com/sun/star/ucb/SimpleFileAccess.hpp> #include <com/sun/star/util/XMacroExpander.hpp> #include <com/sun/star/uri/XUriReferenceFactory.hpp> diff --git a/desktop/source/deployment/registry/help/dp_helpbackenddb.cxx b/desktop/source/deployment/registry/help/dp_helpbackenddb.cxx index 219d9128c1eb..14df597abbf7 100644 --- a/desktop/source/deployment/registry/help/dp_helpbackenddb.cxx +++ b/desktop/source/deployment/registry/help/dp_helpbackenddb.cxx @@ -21,6 +21,7 @@ #include <rtl/string.h> #include <rtl/bootstrap.hxx> #include <cppuhelper/exc_hlp.hxx> +#include <com/sun/star/deployment/DeploymentException.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/xml/dom/XDocumentBuilder.hpp> #include <com/sun/star/xml/xpath/XXPathAPI.hpp> diff --git a/desktop/source/deployment/registry/package/dp_extbackenddb.cxx b/desktop/source/deployment/registry/package/dp_extbackenddb.cxx index 0e2f7e2220fc..e2c33b53d26d 100644 --- a/desktop/source/deployment/registry/package/dp_extbackenddb.cxx +++ b/desktop/source/deployment/registry/package/dp_extbackenddb.cxx @@ -20,6 +20,7 @@ #include <rtl/bootstrap.hxx> #include <cppuhelper/exc_hlp.hxx> +#include <com/sun/star/deployment/DeploymentException.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/xml/dom/XDocumentBuilder.hpp> #include <com/sun/star/xml/xpath/XXPathAPI.hpp> diff --git a/desktop/source/deployment/registry/package/dp_package.cxx b/desktop/source/deployment/registry/package/dp_package.cxx index 08ba82f8cc8f..e01901c1f17b 100644 --- a/desktop/source/deployment/registry/package/dp_package.cxx +++ b/desktop/source/deployment/registry/package/dp_package.cxx @@ -47,6 +47,7 @@ #include <com/sun/star/io/XInputStream.hpp> #include <com/sun/star/task/InteractionClassification.hpp> #include <com/sun/star/task/XInteractionApprove.hpp> +#include <com/sun/star/ucb/CommandFailedException.hpp> #include <com/sun/star/ucb/XInteractionReplaceExistingData.hpp> #include <com/sun/star/ucb/NameClashResolveRequest.hpp> #include <com/sun/star/ucb/XContentAccess.hpp> @@ -57,6 +58,8 @@ #include <com/sun/star/packages/manifest/ManifestReader.hpp> #include <com/sun/star/packages/manifest/ManifestWriter.hpp> #include <com/sun/star/deployment/DependencyException.hpp> +#include <com/sun/star/deployment/DeploymentException.hpp> +#include <com/sun/star/deployment/ExtensionRemovedException.hpp> #include <com/sun/star/deployment/LicenseException.hpp> #include <com/sun/star/deployment/PlatformException.hpp> #include <com/sun/star/deployment/Prerequisites.hpp> |