diff options
author | Kevin Suo <suokunlong@126.com> | 2022-12-02 19:22:11 +0800 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-12-07 07:33:41 +0000 |
commit | 83e58fc9f19a8da751cabdc0440aded62dc67fea (patch) | |
tree | 69b5f3b348f4caca06b384e2744070f32efd186a /sdext | |
parent | 1e8c2068ec9d1551b84152d6cf66042dc2949594 (diff) |
sdext: move the include of XComponentContext.hpp to where it is used
... and remove unsed include.
XComponentContext.hpp is used in pdfiprocessor.hxx but not in drawtreevisiting.hxx.
XMultiServiceFactory.hpp is not used drawtreevisiting.hxx.
Change-Id: Ic98cbcdcacd07cf2163e02ac569781f70edd953c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143570
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/pdfimport/inc/pdfiprocessor.hxx | 1 | ||||
-rw-r--r-- | sdext/source/pdfimport/tree/drawtreevisiting.hxx | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/sdext/source/pdfimport/inc/pdfiprocessor.hxx b/sdext/source/pdfimport/inc/pdfiprocessor.hxx index 7cbe7d7a5104..3fdc146716b3 100644 --- a/sdext/source/pdfimport/inc/pdfiprocessor.hxx +++ b/sdext/source/pdfimport/inc/pdfiprocessor.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SDEXT_SOURCE_PDFIMPORT_INC_PDFIPROCESSOR_HXX #define INCLUDED_SDEXT_SOURCE_PDFIMPORT_INC_PDFIPROCESSOR_HXX +#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/task/XStatusIndicator.hpp> #include <com/sun/star/geometry/RealSize2D.hpp> #include <com/sun/star/geometry/RealRectangle2D.hpp> diff --git a/sdext/source/pdfimport/tree/drawtreevisiting.hxx b/sdext/source/pdfimport/tree/drawtreevisiting.hxx index 81bfd927354b..e3ea8e537ff5 100644 --- a/sdext/source/pdfimport/tree/drawtreevisiting.hxx +++ b/sdext/source/pdfimport/tree/drawtreevisiting.hxx @@ -24,8 +24,6 @@ #include <com/sun/star/i18n/XBreakIterator.hpp> #include <com/sun/star/i18n/XCharacterClassification.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> namespace pdfi { |