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 /sd | |
parent | tdf#92492 function placed in a wrong category in customise functions list (diff) | |
download | core-6dce9c6757823b9e89863716ae70ff4e8ddd4e60.tar.gz core-6dce9c6757823b9e89863716ae70ff4e8ddd4e60.zip |
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 'sd')
-rw-r--r-- | sd/source/core/CustomAnimationPreset.cxx | 3 | ||||
-rw-r--r-- | sd/source/core/annotations/AnnotationEnumeration.cxx | 2 | ||||
-rw-r--r-- | sd/source/core/stlfamily.cxx | 1 | ||||
-rw-r--r-- | sd/source/core/stlpool.cxx | 1 | ||||
-rw-r--r-- | sd/source/filter/xml/sdxmlwrp.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/accessibility/AccessibleSlideSorterView.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/dlg/filedlg.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/dlg/tpaction.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/unoidl/randomnode.cxx | 3 | ||||
-rw-r--r-- | sd/source/ui/unoidl/unocpres.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/unoidl/unolayer.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/unoidl/unomodel.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/unoidl/unopage.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/unoidl/unosrch.cxx | 3 |
15 files changed, 20 insertions, 3 deletions
diff --git a/sd/source/core/CustomAnimationPreset.cxx b/sd/source/core/CustomAnimationPreset.cxx index 9e556b941b90..ff9aee30b2b1 100644 --- a/sd/source/core/CustomAnimationPreset.cxx +++ b/sd/source/core/CustomAnimationPreset.cxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> + +#include <com/sun/star/io/IOException.hpp> #include <com/sun/star/util/XCloneable.hpp> #include <com/sun/star/util/theMacroExpander.hpp> #include <com/sun/star/animations/XAnimationNodeSupplier.hpp> diff --git a/sd/source/core/annotations/AnnotationEnumeration.cxx b/sd/source/core/annotations/AnnotationEnumeration.cxx index 66aee30c8e6e..f8cfd974efed 100644 --- a/sd/source/core/annotations/AnnotationEnumeration.cxx +++ b/sd/source/core/annotations/AnnotationEnumeration.cxx @@ -20,7 +20,7 @@ #include "sal/config.h" #include <cppuhelper/implbase.hxx> - +#include <com/sun/star/container/NoSuchElementException.hpp> #include "com/sun/star/office/XAnnotationEnumeration.hpp" #include "AnnotationEnumeration.hxx" diff --git a/sd/source/core/stlfamily.cxx b/sd/source/core/stlfamily.cxx index d2ad712f3d09..fb80874b0486 100644 --- a/sd/source/core/stlfamily.cxx +++ b/sd/source/core/stlfamily.cxx @@ -19,6 +19,7 @@ #include <com/sun/star/lang/DisposedException.hpp> #include <com/sun/star/lang/IllegalAccessException.hpp> +#include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <cppuhelper/supportsservice.hxx> #include <osl/mutex.hxx> diff --git a/sd/source/core/stlpool.cxx b/sd/source/core/stlpool.cxx index 35fae91d8562..43f90b3c4e35 100644 --- a/sd/source/core/stlpool.cxx +++ b/sd/source/core/stlpool.cxx @@ -18,6 +18,7 @@ */ #include <com/sun/star/lang/DisposedException.hpp> +#include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <cppuhelper/supportsservice.hxx> #include <editeng/eeitem.hxx> #include <editeng/fhgtitem.hxx> diff --git a/sd/source/filter/xml/sdxmlwrp.cxx b/sd/source/filter/xml/sdxmlwrp.cxx index 7d5eba3afce6..f91acb54cf80 100644 --- a/sd/source/filter/xml/sdxmlwrp.cxx +++ b/sd/source/filter/xml/sdxmlwrp.cxx @@ -43,6 +43,7 @@ #include <com/sun/star/document/XGraphicObjectResolver.hpp> #include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/container/XNameAccess.hpp> +#include <com/sun/star/packages/WrongPasswordException.hpp> #include <com/sun/star/packages/zip/ZipIOException.hpp> #include <com/sun/star/xml/sax/XErrorHandler.hpp> diff --git a/sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx b/sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx index 22eeb2160eea..9daf8e92057e 100644 --- a/sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx +++ b/sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx @@ -30,6 +30,8 @@ #include "view/SlsPageObjectLayouter.hxx" #include <com/sun/star/accessibility/AccessibleRole.hpp> #include <com/sun/star/accessibility/AccessibleStateType.hpp> +#include <com/sun/star/accessibility/IllegalAccessibleComponentStateException.hpp> +#include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <comphelper/accessibleeventnotifier.hxx> #include <cppuhelper/supportsservice.hxx> #include <unotools/accessiblestatesethelper.hxx> diff --git a/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx b/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx index d4225e6f5e4b..c3ac9d6aa3cf 100644 --- a/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx +++ b/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx @@ -39,6 +39,7 @@ #include <com/sun/star/accessibility/AccessibleRole.hpp> #include <com/sun/star/accessibility/AccessibleEventId.hpp> #include <com/sun/star/accessibility/AccessibleStateType.hpp> +#include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <comphelper/accessibleeventnotifier.hxx> #include <cppuhelper/supportsservice.hxx> #include <unotools/accessiblestatesethelper.hxx> diff --git a/sd/source/ui/dlg/filedlg.cxx b/sd/source/ui/dlg/filedlg.cxx index 27a8c12af781..7799458da69f 100644 --- a/sd/source/ui/dlg/filedlg.cxx +++ b/sd/source/ui/dlg/filedlg.cxx @@ -18,6 +18,7 @@ */ #include <comphelper/processfactory.hxx> +#include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/ui/dialogs/CommonFilePickerElementIds.hpp> #include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp> diff --git a/sd/source/ui/dlg/tpaction.cxx b/sd/source/ui/dlg/tpaction.cxx index 3e28e9f12ada..d9b5adabeade 100644 --- a/sd/source/ui/dlg/tpaction.cxx +++ b/sd/source/ui/dlg/tpaction.cxx @@ -21,6 +21,7 @@ #include <com/sun/star/presentation/AnimationEffect.hpp> #include <com/sun/star/presentation/ClickAction.hpp> #include <com/sun/star/presentation/AnimationSpeed.hpp> +#include <com/sun/star/embed/NeedsRunningStateException.hpp> #include <com/sun/star/embed/VerbDescriptor.hpp> #include <com/sun/star/embed/EmbedStates.hpp> #include <com/sun/star/uri/XUriReferenceFactory.hpp> diff --git a/sd/source/ui/unoidl/randomnode.cxx b/sd/source/ui/unoidl/randomnode.cxx index e41558577ac6..d80f373a9b5b 100644 --- a/sd/source/ui/unoidl/randomnode.cxx +++ b/sd/source/ui/unoidl/randomnode.cxx @@ -23,6 +23,7 @@ #include <com/sun/star/animations/XAnimate.hpp> #include <com/sun/star/animations/AnimationRestart.hpp> #include <com/sun/star/animations/ParallelTimeContainer.hpp> +#include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/container/XEnumerationAccess.hpp> @@ -46,11 +47,9 @@ using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Any; using ::com::sun::star::uno::UNO_QUERY; using ::com::sun::star::uno::XInterface; -using ::com::sun::star::lang::NoSupportException; using ::com::sun::star::beans::NamedValue; using ::com::sun::star::lang::IllegalArgumentException; using ::com::sun::star::container::NoSuchElementException; -using ::com::sun::star::container::ElementExistException; using ::com::sun::star::lang::WrappedTargetException; using ::com::sun::star::container::XEnumeration; using ::com::sun::star::container::XEnumerationAccess; diff --git a/sd/source/ui/unoidl/unocpres.cxx b/sd/source/ui/unoidl/unocpres.cxx index 4dc48ceccbcb..0590871f7ffb 100644 --- a/sd/source/ui/unoidl/unocpres.cxx +++ b/sd/source/ui/unoidl/unocpres.cxx @@ -20,6 +20,7 @@ #include <algorithm> #include <com/sun/star/lang/DisposedException.hpp> +#include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <svx/svdpage.hxx> diff --git a/sd/source/ui/unoidl/unolayer.cxx b/sd/source/ui/unoidl/unolayer.cxx index e15fcafe58a0..8c67042d29dd 100644 --- a/sd/source/ui/unoidl/unolayer.cxx +++ b/sd/source/ui/unoidl/unolayer.cxx @@ -18,6 +18,7 @@ */ #include <com/sun/star/lang/DisposedException.hpp> +#include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include "unolayer.hxx" #include <osl/mutex.hxx> diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index a3b9b3418895..ff7fce02c1a8 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -20,6 +20,7 @@ #include <com/sun/star/presentation/XPresentation2.hpp> #include <com/sun/star/lang/DisposedException.hpp> +#include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <com/sun/star/lang/ServiceNotRegisteredException.hpp> #include <com/sun/star/lang/Locale.hpp> #include <com/sun/star/style/XStyle.hpp> diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx index 58400aa5c4e3..8f0c039f287a 100644 --- a/sd/source/ui/unoidl/unopage.cxx +++ b/sd/source/ui/unoidl/unopage.cxx @@ -18,6 +18,7 @@ */ #include <com/sun/star/lang/DisposedException.hpp> +#include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <com/sun/star/presentation/ClickAction.hpp> #include <com/sun/star/presentation/FadeEffect.hpp> #include <com/sun/star/presentation/AnimationEffect.hpp> diff --git a/sd/source/ui/unoidl/unosrch.cxx b/sd/source/ui/unoidl/unosrch.cxx index ad94374375dd..cd59a07b3dd5 100644 --- a/sd/source/ui/unoidl/unosrch.cxx +++ b/sd/source/ui/unoidl/unosrch.cxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> + +#include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <vcl/svapp.hxx> #include <osl/mutex.hxx> |