diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-11-23 20:22:00 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-11-24 08:09:53 +0100 |
commit | c130063895c7a733ad121db1bf5fbceac38f6ad5 (patch) | |
tree | 201b50fc778801df47aab14b2619933816b8e457 /oox | |
parent | 8ba1c4e27376cbd73892768d1e741067918eb897 (diff) |
Remove some unused includes
Mostly com/sun/star/frame/Desktop.hpp is unused after inheriting from
UnoApiTest.
Change-Id: Ifba307353a11a14e033a230a291314bee86b51c8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143190
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/qa/unit/drawingml.cxx | 4 | ||||
-rw-r--r-- | oox/qa/unit/export.cxx | 6 | ||||
-rw-r--r-- | oox/qa/unit/mathml.cxx | 1 | ||||
-rw-r--r-- | oox/qa/unit/shape.cxx | 5 | ||||
-rw-r--r-- | oox/qa/unit/vml.cxx | 3 | ||||
-rw-r--r-- | oox/source/shape/WpsContext.cxx | 2 |
6 files changed, 3 insertions, 18 deletions
diff --git a/oox/qa/unit/drawingml.cxx b/oox/qa/unit/drawingml.cxx index e25d980f09cb..ab1a73a150c9 100644 --- a/oox/qa/unit/drawingml.cxx +++ b/oox/qa/unit/drawingml.cxx @@ -16,8 +16,6 @@ #include <com/sun/star/drawing/XDrawPagesSupplier.hpp> #include <com/sun/star/drawing/FillStyle.hpp> #include <com/sun/star/drawing/XShape.hpp> -#include <com/sun/star/frame/Desktop.hpp> -#include <com/sun/star/frame/XStorable.hpp> #include <com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.hpp> #include <com/sun/star/chart2/XChartDocument.hpp> #include <com/sun/star/chart2/XCoordinateSystemContainer.hpp> @@ -32,8 +30,6 @@ #include <com/sun/star/table/XCellRange.hpp> #include <comphelper/sequenceashashmap.hxx> -#include <unotools/mediadescriptor.hxx> -#include <unotools/tempfile.hxx> using namespace ::com::sun::star; diff --git a/oox/qa/unit/export.cxx b/oox/qa/unit/export.cxx index 4ea35c527e67..289bdf49611c 100644 --- a/oox/qa/unit/export.cxx +++ b/oox/qa/unit/export.cxx @@ -9,12 +9,6 @@ #include <test/unoapixml_test.hxx> -#include <com/sun/star/frame/Desktop.hpp> -#include <com/sun/star/frame/XStorable.hpp> - -#include <unotools/mediadescriptor.hxx> -#include <unotools/tempfile.hxx> - using namespace ::com::sun::star; namespace diff --git a/oox/qa/unit/mathml.cxx b/oox/qa/unit/mathml.cxx index 62a9b99896b6..0cc750aa0c7a 100644 --- a/oox/qa/unit/mathml.cxx +++ b/oox/qa/unit/mathml.cxx @@ -10,7 +10,6 @@ #include <test/unoapi_test.hxx> #include <com/sun/star/drawing/XDrawPagesSupplier.hpp> -#include <com/sun/star/frame/Desktop.hpp> using namespace ::com::sun::star; diff --git a/oox/qa/unit/shape.cxx b/oox/qa/unit/shape.cxx index 9a85db9f3894..21261dc39930 100644 --- a/oox/qa/unit/shape.cxx +++ b/oox/qa/unit/shape.cxx @@ -9,15 +9,14 @@ #include <sal/config.h> -#include <string_view> - #include <test/unoapi_test.hxx> +#include <string_view> + #include <com/sun/star/awt/Size.hpp> #include <com/sun/star/drawing/TextHorizontalAdjust.hpp> #include <com/sun/star/drawing/TextVerticalAdjust.hpp> #include <com/sun/star/drawing/XDrawPagesSupplier.hpp> -#include <com/sun/star/frame/Desktop.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/text/XTextRange.hpp> diff --git a/oox/qa/unit/vml.cxx b/oox/qa/unit/vml.cxx index 6e14025f5659..6a8eab8098ab 100644 --- a/oox/qa/unit/vml.cxx +++ b/oox/qa/unit/vml.cxx @@ -9,8 +9,6 @@ #include <sal/config.h> -#include <string_view> - #include <test/unoapi_test.hxx> #include <com/sun/star/beans/XPropertySet.hpp> @@ -20,7 +18,6 @@ #include <com/sun/star/drawing/PolygonKind.hpp> #include <com/sun/star/drawing/PolyPolygonBezierCoords.hpp> #include <com/sun/star/drawing/XDrawPagesSupplier.hpp> -#include <com/sun/star/frame/Desktop.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/drawing/ColorMode.hpp> diff --git a/oox/source/shape/WpsContext.cxx b/oox/source/shape/WpsContext.cxx index 4c1b8146df52..9a7458ac6a85 100644 --- a/oox/source/shape/WpsContext.cxx +++ b/oox/source/shape/WpsContext.cxx @@ -22,7 +22,6 @@ #include <com/sun/star/text/XTextCursor.hpp> #include <com/sun/star/text/WritingMode.hpp> #include <com/sun/star/text/WritingMode2.hpp> -#include <svx/svdtrans.hxx> #include <oox/helper/attributelist.hxx> #include <oox/token/namespaces.hxx> #include <oox/token/tokens.hxx> @@ -30,6 +29,7 @@ #include <oox/drawingml/drawingmltypes.hxx> #include <drawingml/textbody.hxx> #include <drawingml/textbodyproperties.hxx> +#include <tools/helpers.hxx> #include <optional> |