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 /svx/source | |
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 'svx/source')
27 files changed, 38 insertions, 0 deletions
diff --git a/svx/source/accessibility/charmapacc.cxx b/svx/source/accessibility/charmapacc.cxx index 74da070ffba9..816c68b8e505 100644 --- a/svx/source/accessibility/charmapacc.cxx +++ b/svx/source/accessibility/charmapacc.cxx @@ -24,6 +24,7 @@ #include "charmapacc.hxx" #include <com/sun/star/accessibility/AccessibleRole.hpp> #include <com/sun/star/accessibility/AccessibleStateType.hpp> +#include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <toolkit/helper/externallock.hxx> #include <toolkit/helper/convert.hxx> #include <osl/interlck.h> diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx index 0fa2357ccced..b1980f9dd7c3 100644 --- a/svx/source/fmcomp/fmgridif.cxx +++ b/svx/source/fmcomp/fmgridif.cxx @@ -36,6 +36,7 @@ #include <com/sun/star/form/XFormComponent.hpp> #include <com/sun/star/form/XLoadable.hpp> #include <com/sun/star/lang/DisposedException.hpp> +#include <com/sun/star/lang/NoSupportException.hpp> #include <com/sun/star/sdbc/ResultSetType.hpp> #include <com/sun/star/sdbcx/XColumnsSupplier.hpp> #include <com/sun/star/util/URLTransformer.hpp> diff --git a/svx/source/form/fmPropBrw.cxx b/svx/source/form/fmPropBrw.cxx index f9f5202eaabb..2f1fd012ec42 100644 --- a/svx/source/form/fmPropBrw.cxx +++ b/svx/source/form/fmPropBrw.cxx @@ -48,6 +48,7 @@ #include <com/sun/star/inspection/ObjectInspectorModel.hpp> #include <com/sun/star/inspection/XObjectInspectorUI.hpp> #include <com/sun/star/inspection/DefaultHelpProvider.hpp> +#include <com/sun/star/util/VetoException.hpp> #include <comphelper/processfactory.hxx> #include <comphelper/property.hxx> diff --git a/svx/source/form/fmscriptingenv.cxx b/svx/source/form/fmscriptingenv.cxx index 071ebf753e03..6965231cc87f 100644 --- a/svx/source/form/fmscriptingenv.cxx +++ b/svx/source/form/fmscriptingenv.cxx @@ -24,6 +24,7 @@ #include <com/sun/star/awt/XControl.hpp> #include <com/sun/star/frame/Desktop.hpp> +#include <com/sun/star/frame/TerminationVetoException.hpp> #include <com/sun/star/frame/XTerminateListener.hpp> #include <com/sun/star/lang/DisposedException.hpp> #include <com/sun/star/lang/EventObject.hpp> diff --git a/svx/source/form/fmvwimp.cxx b/svx/source/form/fmvwimp.cxx index 35742d528b2f..a0f10465b8c7 100644 --- a/svx/source/form/fmvwimp.cxx +++ b/svx/source/form/fmvwimp.cxx @@ -43,6 +43,7 @@ #include "svx/svdpagv.hxx" #include "svx/xmlexchg.hxx" +#include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <com/sun/star/ui/dialogs/XExecutableDialog.hpp> #include <com/sun/star/sdbc/XRowSet.hpp> #include <com/sun/star/form/XLoadable.hpp> diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx index 668125ff2dc8..bd1b79ef4564 100644 --- a/svx/source/form/formcontroller.cxx +++ b/svx/source/form/formcontroller.cxx @@ -48,6 +48,8 @@ #include <com/sun/star/form/XReset.hpp> #include <com/sun/star/form/control/FilterControl.hpp> #include <com/sun/star/frame/XController.hpp> +#include <com/sun/star/lang/IndexOutOfBoundsException.hpp> +#include <com/sun/star/lang/NoSupportException.hpp> #include <com/sun/star/sdb/ParametersRequest.hpp> #include <com/sun/star/sdb/RowChangeAction.hpp> #include <com/sun/star/sdb/XInteractionSupplyParameters.hpp> diff --git a/svx/source/sidebar/shapes/DefaultShapesPanel.cxx b/svx/source/sidebar/shapes/DefaultShapesPanel.cxx index dfc621874664..8f30ac1ff5af 100644 --- a/svx/source/sidebar/shapes/DefaultShapesPanel.cxx +++ b/svx/source/sidebar/shapes/DefaultShapesPanel.cxx @@ -18,6 +18,7 @@ */ #include "DefaultShapesPanel.hxx" +#include <com/sun/star/lang/IllegalArgumentException.hpp> #include <sfx2/imagemgr.hxx> #include <comphelper/dispatchcommand.hxx> #include <vcl/outdev.hxx> diff --git a/svx/source/sidebar/styles/StylesPropertyPanel.cxx b/svx/source/sidebar/styles/StylesPropertyPanel.cxx index c93277f0913e..d06dcd3687c3 100644 --- a/svx/source/sidebar/styles/StylesPropertyPanel.cxx +++ b/svx/source/sidebar/styles/StylesPropertyPanel.cxx @@ -1,3 +1,7 @@ +#include <sal/config.h> + +#include <com/sun/star/lang/IllegalArgumentException.hpp> + #include "StylesPropertyPanel.hxx" using namespace css; diff --git a/svx/source/sidebar/text/TextPropertyPanel.cxx b/svx/source/sidebar/text/TextPropertyPanel.cxx index 12b909210587..3518e0368a4b 100644 --- a/svx/source/sidebar/text/TextPropertyPanel.cxx +++ b/svx/source/sidebar/text/TextPropertyPanel.cxx @@ -19,6 +19,7 @@ #include "TextPropertyPanel.hxx" +#include <com/sun/star/lang/IllegalArgumentException.hpp> #include <vcl/toolbox.hxx> using namespace css; diff --git a/svx/source/svdraw/svdoole2.cxx b/svx/source/svdraw/svdoole2.cxx index ee7a1dfb03bf..a29932740f20 100644 --- a/svx/source/svdraw/svdoole2.cxx +++ b/svx/source/svdraw/svdoole2.cxx @@ -26,6 +26,7 @@ #include <com/sun/star/embed/ElementModes.hpp> #include <com/sun/star/embed/EmbedMisc.hpp> #include <com/sun/star/embed/Aspects.hpp> +#include <com/sun/star/embed/ObjectSaveVetoException.hpp> #include <com/sun/star/embed/XEmbedPersist2.hpp> #include <com/sun/star/embed/XInplaceClient.hpp> #include <com/sun/star/embed/XInplaceObject.hpp> diff --git a/svx/source/table/cellcursor.cxx b/svx/source/table/cellcursor.cxx index 37b9e04577c8..486d55435c69 100644 --- a/svx/source/table/cellcursor.cxx +++ b/svx/source/table/cellcursor.cxx @@ -17,7 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include "sal/config.h" +#include "com/sun/star/lang/NoSupportException.hpp" #include "svx/svdotable.hxx" #include "cellcursor.hxx" #include "tablelayouter.hxx" diff --git a/svx/source/table/cellrange.cxx b/svx/source/table/cellrange.cxx index b5e8001c283d..416d104d8a9a 100644 --- a/svx/source/table/cellrange.cxx +++ b/svx/source/table/cellrange.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 "cellrange.hxx" diff --git a/svx/source/table/tablecolumn.cxx b/svx/source/table/tablecolumn.cxx index 06166e67488f..c7fc17be00f5 100644 --- a/svx/source/table/tablecolumn.cxx +++ b/svx/source/table/tablecolumn.cxx @@ -19,6 +19,7 @@ #include <com/sun/star/lang/DisposedException.hpp> +#include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include "tablecolumn.hxx" #include "tableundo.hxx" diff --git a/svx/source/table/tablecolumns.cxx b/svx/source/table/tablecolumns.cxx index d80581ee30d0..d56a124f05a3 100644 --- a/svx/source/table/tablecolumns.cxx +++ b/svx/source/table/tablecolumns.cxx @@ -19,6 +19,7 @@ #include <com/sun/star/lang/DisposedException.hpp> +#include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include "tablecolumns.hxx" #include "tablecolumn.hxx" diff --git a/svx/source/table/tabledesign.cxx b/svx/source/table/tabledesign.cxx index 49b44de1b05b..ab837d68ca82 100644 --- a/svx/source/table/tabledesign.cxx +++ b/svx/source/table/tabledesign.cxx @@ -19,6 +19,7 @@ #include <com/sun/star/style/XStyle.hpp> +#include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XComponent.hpp> #include <com/sun/star/lang/XSingleServiceFactory.hpp> diff --git a/svx/source/table/tablemodel.cxx b/svx/source/table/tablemodel.cxx index e608aef83b54..54e543c218b6 100644 --- a/svx/source/table/tablemodel.cxx +++ b/svx/source/table/tablemodel.cxx @@ -17,7 +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 <com/sun/star/table/XMergeableCell.hpp> #include <algorithm> diff --git a/svx/source/table/tablerow.cxx b/svx/source/table/tablerow.cxx index 4f2ced4932c8..ceda77a7fb41 100644 --- a/svx/source/table/tablerow.cxx +++ b/svx/source/table/tablerow.cxx @@ -19,6 +19,7 @@ #include <com/sun/star/lang/DisposedException.hpp> +#include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include "cell.hxx" #include "tablerow.hxx" diff --git a/svx/source/unodraw/gluepts.cxx b/svx/source/unodraw/gluepts.cxx index 9f2953b2f039..d3c27b391c91 100644 --- a/svx/source/unodraw/gluepts.cxx +++ b/svx/source/unodraw/gluepts.cxx @@ -20,6 +20,7 @@ #include <com/sun/star/container/XIdentifierContainer.hpp> #include <com/sun/star/container/XIndexContainer.hpp> #include <com/sun/star/drawing/GluePoint2.hpp> +#include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <cppuhelper/implbase.hxx> diff --git a/svx/source/unodraw/unomod.cxx b/svx/source/unodraw/unomod.cxx index 5f5fbd251f61..0d3ad2967104 100644 --- a/svx/source/unodraw/unomod.cxx +++ b/svx/source/unodraw/unomod.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 <com/sun/star/lang/ServiceNotRegisteredException.hpp> #include <com/sun/star/lang/NoSupportException.hpp> #include <com/sun/star/drawing/XShape.hpp> diff --git a/svx/source/unodraw/unopage.cxx b/svx/source/unodraw/unopage.cxx index 2e5868465298..72413a7c328b 100644 --- a/svx/source/unodraw/unopage.cxx +++ b/svx/source/unodraw/unopage.cxx @@ -21,6 +21,7 @@ #include <com/sun/star/document/EventObject.hpp> #include <com/sun/star/lang/DisposedException.hpp> +#include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <osl/mutex.hxx> #include <sfx2/dispatch.hxx> #include <comphelper/classids.hxx> diff --git a/svx/source/unodraw/unoshap2.cxx b/svx/source/unodraw/unoshap2.cxx index 3c75438f99e6..dcdcbe683de9 100644 --- a/svx/source/unodraw/unoshap2.cxx +++ b/svx/source/unodraw/unoshap2.cxx @@ -20,6 +20,7 @@ #include <com/sun/star/drawing/PolyPolygonBezierCoords.hpp> #include <com/sun/star/drawing/FlagSequence.hpp> #include <com/sun/star/lang/DisposedException.hpp> +#include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <com/sun/star/awt/FontSlant.hpp> #include <com/sun/star/style/VerticalAlignment.hpp> #include <com/sun/star/drawing/TextVerticalAdjust.hpp> diff --git a/svx/source/unodraw/unoshap3.cxx b/svx/source/unodraw/unoshap3.cxx index 3af24f0f1fb2..5c1d9c67ae72 100644 --- a/svx/source/unodraw/unoshap3.cxx +++ b/svx/source/unodraw/unoshap3.cxx @@ -22,6 +22,7 @@ #include <com/sun/star/drawing/Direction3D.hpp> #include <com/sun/star/drawing/DoubleSequence.hpp> #include <com/sun/star/drawing/CameraGeometry.hpp> +#include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <vcl/svapp.hxx> #include <osl/mutex.hxx> #include <comphelper/servicehelper.hxx> diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index bb6e8fad528f..86dd8a3932da 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -23,6 +23,7 @@ #include <com/sun/star/awt/Rectangle.hpp> #include <com/sun/star/drawing/CircleKind.hpp> #include <com/sun/star/embed/NoVisualAreaSizeException.hpp> +#include <com/sun/star/lang/NoSupportException.hpp> #include <vcl/svapp.hxx> #include <svl/itemprop.hxx> #include <vcl/fltcall.hxx> diff --git a/svx/source/unodraw/unoshcol.cxx b/svx/source/unodraw/unoshcol.cxx index a8754dbbb9c9..607f155ed8ee 100644 --- a/svx/source/unodraw/unoshcol.cxx +++ b/svx/source/unodraw/unoshcol.cxx @@ -19,6 +19,8 @@ #include <com/sun/star/document/EventObject.hpp> #include <com/sun/star/drawing/XShapes.hpp> +#include <com/sun/star/lang/IndexOutOfBoundsException.hpp> +#include <com/sun/star/lang/NoSupportException.hpp> #include <com/sun/star/lang/XComponent.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/uno/XComponentContext.hpp> diff --git a/svx/source/unogallery/unogaltheme.cxx b/svx/source/unogallery/unogaltheme.cxx index ea3181bdc6b2..72b641bf7d1c 100644 --- a/svx/source/unogallery/unogaltheme.cxx +++ b/svx/source/unogallery/unogaltheme.cxx @@ -31,6 +31,7 @@ #include <osl/mutex.hxx> #include <vcl/svapp.hxx> #include <unotools/pathoptions.hxx> +#include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <comphelper/servicehelper.hxx> #include <cppuhelper/supportsservice.hxx> diff --git a/svx/source/unogallery/unogalthemeprovider.cxx b/svx/source/unogallery/unogalthemeprovider.cxx index 755979493096..e248d31210d9 100644 --- a/svx/source/unogallery/unogalthemeprovider.cxx +++ b/svx/source/unogallery/unogalthemeprovider.cxx @@ -28,6 +28,7 @@ #include <comphelper/servicehelper.hxx> #include <cppuhelper/implbase.hxx> #include <cppuhelper/supportsservice.hxx> +#include <com/sun/star/container/ElementExistException.hpp> #include <com/sun/star/gallery/XGalleryTheme.hpp> #include <com/sun/star/gallery/XGalleryThemeProvider.hpp> #include <com/sun/star/lang/XInitialization.hpp> diff --git a/svx/source/xml/xmlgrhlp.cxx b/svx/source/xml/xmlgrhlp.cxx index bb922a2b2cbd..04b92711aa69 100644 --- a/svx/source/xml/xmlgrhlp.cxx +++ b/svx/source/xml/xmlgrhlp.cxx @@ -24,6 +24,7 @@ #include <com/sun/star/embed/XTransactedObject.hpp> #include <com/sun/star/embed/ElementModes.hpp> #include <com/sun/star/beans/XPropertySet.hpp> +#include <com/sun/star/io/NotConnectedException.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XInitialization.hpp> #include <cppuhelper/compbase.hxx> |