diff options
-rw-r--r-- | framework/qa/cppunit/dispatchtest.cxx | 2 | ||||
-rw-r--r-- | svx/qa/unit/xoutdev.cxx | 1 | ||||
-rw-r--r-- | sw/qa/extras/rtfimport/rtfimport.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/crsr/dropdowncontentcontrolbutton.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/txtnode/attrlinebreak.cxx | 1 | ||||
-rw-r--r-- | vcl/qa/cppunit/filter/ipdf/ipdf.cxx | 1 | ||||
-rw-r--r-- | writerfilter/source/rtftok/rtfcharsets.cxx | 4 | ||||
-rw-r--r-- | xmloff/qa/unit/draw.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/xmllinebreakcontext.cxx | 3 |
9 files changed, 5 insertions, 11 deletions
diff --git a/framework/qa/cppunit/dispatchtest.cxx b/framework/qa/cppunit/dispatchtest.cxx index 16a4ecb517f1..b0d873e61bbf 100644 --- a/framework/qa/cppunit/dispatchtest.cxx +++ b/framework/qa/cppunit/dispatchtest.cxx @@ -12,12 +12,10 @@ #include <unotest/macros_test.hxx> #include <com/sun/star/frame/Desktop.hpp> -#include <com/sun/star/frame/DispatchHelper.hpp> #include <com/sun/star/frame/XDispatchProviderInterceptor.hpp> #include <com/sun/star/frame/XInterceptorInfo.hpp> #include <com/sun/star/util/URLTransformer.hpp> -#include <comphelper/processfactory.hxx> #include <rtl/ref.hxx> using namespace ::com::sun::star; diff --git a/svx/qa/unit/xoutdev.cxx b/svx/qa/unit/xoutdev.cxx index 41b46016451c..f805f868207e 100644 --- a/svx/qa/unit/xoutdev.cxx +++ b/svx/qa/unit/xoutdev.cxx @@ -15,7 +15,6 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <sal/types.h> -#include <sfx2/app.hxx> #include <tools/stream.hxx> #include <unotest/directories.hxx> #include <unotools/tempfile.hxx> diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx index 9047d0b87f3a..e3e7f887a047 100644 --- a/sw/qa/extras/rtfimport/rtfimport.cxx +++ b/sw/qa/extras/rtfimport/rtfimport.cxx @@ -18,7 +18,6 @@ #include <com/sun/star/drawing/EnhancedCustomShapeSegment.hpp> #include <com/sun/star/drawing/FillStyle.hpp> #include <com/sun/star/graphic/XGraphic.hpp> -#include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/style/BreakType.hpp> #include <com/sun/star/style/LineSpacing.hpp> diff --git a/sw/source/core/crsr/dropdowncontentcontrolbutton.cxx b/sw/source/core/crsr/dropdowncontentcontrolbutton.cxx index 2fa456e41ee5..14f1ba7e84b0 100644 --- a/sw/source/core/crsr/dropdowncontentcontrolbutton.cxx +++ b/sw/source/core/crsr/dropdowncontentcontrolbutton.cxx @@ -14,7 +14,6 @@ #include <edtwin.hxx> #include <view.hxx> -#include <docsh.hxx> #include <strings.hrc> #include <formatcontentcontrol.hxx> #include <wrtsh.hxx> diff --git a/sw/source/core/txtnode/attrlinebreak.cxx b/sw/source/core/txtnode/attrlinebreak.cxx index 6c919a790b89..3f987f7e76cb 100644 --- a/sw/source/core/txtnode/attrlinebreak.cxx +++ b/sw/source/core/txtnode/attrlinebreak.cxx @@ -24,7 +24,6 @@ #include <vcl/svapp.hxx> #include <hintids.hxx> -#include <hints.hxx> #include <pam.hxx> #include <textlinebreak.hxx> #include <ndtxt.hxx> diff --git a/vcl/qa/cppunit/filter/ipdf/ipdf.cxx b/vcl/qa/cppunit/filter/ipdf/ipdf.cxx index ca5460e63b48..30fbccc7d2d9 100644 --- a/vcl/qa/cppunit/filter/ipdf/ipdf.cxx +++ b/vcl/qa/cppunit/filter/ipdf/ipdf.cxx @@ -13,7 +13,6 @@ #include <com/sun/star/drawing/XDrawPagesSupplier.hpp> #include <com/sun/star/drawing/XDrawView.hpp> #include <com/sun/star/frame/Desktop.hpp> -#include <com/sun/star/security/XCertificate.hpp> #include <com/sun/star/view/XSelectionSupplier.hpp> #include <com/sun/star/xml/crypto/SEInitializer.hpp> diff --git a/writerfilter/source/rtftok/rtfcharsets.cxx b/writerfilter/source/rtftok/rtfcharsets.cxx index 14d27b5f2deb..1b71bbb9951c 100644 --- a/writerfilter/source/rtftok/rtfcharsets.cxx +++ b/writerfilter/source/rtftok/rtfcharsets.cxx @@ -8,7 +8,9 @@ */ #include "rtfcharsets.hxx" -#include <array> + +#include <iterator> + #include <rtl/textenc.h> namespace writerfilter::rtftok diff --git a/xmloff/qa/unit/draw.cxx b/xmloff/qa/unit/draw.cxx index 3c6d7c707be9..fdfc6e98aa02 100644 --- a/xmloff/qa/unit/draw.cxx +++ b/xmloff/qa/unit/draw.cxx @@ -25,8 +25,6 @@ #include <com/sun/star/text/XTextRange.hpp> #include <com/sun/star/text/XTextTable.hpp> -#include <comphelper/configuration.hxx> -#include <officecfg/Office/Common.hxx> #include <unotools/mediadescriptor.hxx> #include <unotools/tempfile.hxx> #include <unotools/ucbstreamhelper.hxx> diff --git a/xmloff/source/text/xmllinebreakcontext.cxx b/xmloff/source/text/xmllinebreakcontext.cxx index 52bf7920e4b9..67b56c2d32c8 100644 --- a/xmloff/source/text/xmllinebreakcontext.cxx +++ b/xmloff/source/text/xmllinebreakcontext.cxx @@ -38,7 +38,8 @@ SvXMLLineBreakContext::SvXMLLineBreakContext(SvXMLImport& rImport, XMLTextImport void SvXMLLineBreakContext::startFastElement( sal_Int32 /*nElement*/, const uno::Reference<xml::sax::XFastAttributeList>& xAttrList) { - uno::Reference<lang::XMultiServiceFactory> xFactory(GetImport().GetModel(), uno::UNO_QUERY); + const uno::Reference<frame::XModel>& xModel = GetImport().GetModel(); + uno::Reference<lang::XMultiServiceFactory> xFactory(xModel, uno::UNO_QUERY); if (!xFactory.is()) return; |