Kaydet (Commit) b3c4dbf4 authored tarafından Miklos Vajna's avatar Miklos Vajna

Fix IWYU warnings

Change-Id: I0442d201a5175a9929d3ea79d79f80db7930b565
Reviewed-on: https://gerrit.libreoffice.org/55394Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
üst 4bb89359
...@@ -250,4 +250,5 @@ blacklist: ...@@ -250,4 +250,5 @@ blacklist:
- com/sun/star/text/XDocumentIndexMark.hpp - com/sun/star/text/XDocumentIndexMark.hpp
sw/qa/extras/rtfexport/rtfexport.cxx: sw/qa/extras/rtfexport/rtfexport.cxx:
# complete type is wanted # complete type is wanted
- com/sun/star/awt/XBitmap.hpp
- com/sun/star/text/XTextColumns.hpp - com/sun/star/text/XTextColumns.hpp
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#include <ndtxt.hxx> #include <ndtxt.hxx>
#include <txatbase.hxx> #include <txatbase.hxx>
#include <fmtfsize.hxx> #include <fmtfsize.hxx>
#include <drawdoc.hxx>
#include <frmatr.hxx> #include <frmatr.hxx>
#include "docxattributeoutput.hxx" #include "docxattributeoutput.hxx"
#include "docxexportfilter.hxx" #include "docxexportfilter.hxx"
......
...@@ -65,7 +65,6 @@ ...@@ -65,7 +65,6 @@
#include <filter/msfilter/rtfutil.hxx> #include <filter/msfilter/rtfutil.hxx>
#include <sfx2/sfxbasemodel.hxx> #include <sfx2/sfxbasemodel.hxx>
#include <svx/xflgrit.hxx> #include <svx/xflgrit.hxx>
#include <drawdoc.hxx>
#include <docufld.hxx> #include <docufld.hxx>
#include <fmtclds.hxx> #include <fmtclds.hxx>
#include <fmtrowsplt.hxx> #include <fmtrowsplt.hxx>
...@@ -82,7 +81,6 @@ ...@@ -82,7 +81,6 @@
#include <ndole.hxx> #include <ndole.hxx>
#include <lineinfo.hxx> #include <lineinfo.hxx>
#include <rtf.hxx> #include <rtf.hxx>
#include <IDocumentDrawModelAccess.hxx>
#include <IDocumentSettingAccess.hxx> #include <IDocumentSettingAccess.hxx>
#include <vcl/cvtgrf.hxx> #include <vcl/cvtgrf.hxx>
#include <oox/mathml/export.hxx> #include <oox/mathml/export.hxx>
......
...@@ -6,3 +6,6 @@ blacklist: ...@@ -6,3 +6,6 @@ blacklist:
# the case for all of LO's supported platforms. # the case for all of LO's supported platforms.
# See <https://github.com/include-what-you-use/include-what-you-use/issues/175>. # See <https://github.com/include-what-you-use/include-what-you-use/issues/175>.
- dmapper/GraphicZOrderHelper.hxx - dmapper/GraphicZOrderHelper.hxx
writerfilter/source/rtftok/rtfvalue.cxx:
# complete type is needed
- com/sun/star/embed/XEmbeddedObject.hpp
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include <com/sun/star/document/DocumentProperties.hpp> #include <com/sun/star/document/DocumentProperties.hpp>
#include <com/sun/star/drawing/XDrawPageSupplier.hpp> #include <com/sun/star/drawing/XDrawPageSupplier.hpp>
#include <com/sun/star/text/VertOrientation.hpp> #include <com/sun/star/text/VertOrientation.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <filter/msfilter/escherex.hxx> #include <filter/msfilter/escherex.hxx>
#include <rtl/character.hxx> #include <rtl/character.hxx>
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
#include <com/sun/star/drawing/XEnhancedCustomShapeDefaulter.hpp> #include <com/sun/star/drawing/XEnhancedCustomShapeDefaulter.hpp>
#include <com/sun/star/text/RelOrientation.hpp> #include <com/sun/star/text/RelOrientation.hpp>
#include <com/sun/star/text/VertOrientation.hpp> #include <com/sun/star/text/VertOrientation.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <filter/msfilter/escherex.hxx> #include <filter/msfilter/escherex.hxx>
......
...@@ -9,8 +9,9 @@ ...@@ -9,8 +9,9 @@
#include "rtfdocumentimpl.hxx" #include "rtfdocumentimpl.hxx"
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/text/WrapTextMode.hpp> #include <com/sun/star/text/WrapTextMode.hpp>
#include <com/sun/star/document/XDocumentProperties.hpp>
#include <comphelper/sequence.hxx> #include <comphelper/sequence.hxx>
#include <i18nlangtag/languagetag.hxx> #include <i18nlangtag/languagetag.hxx>
#include <osl/thread.h> #include <osl/thread.h>
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
#include "rtfdocumentimpl.hxx" #include "rtfdocumentimpl.hxx"
#include <memory> #include <memory>
#include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/graphic/GraphicProvider.hpp>
#include <com/sun/star/io/WrongFormatException.hpp> #include <com/sun/star/io/WrongFormatException.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/text/WrapTextMode.hpp> #include <com/sun/star/text/WrapTextMode.hpp>
...@@ -21,7 +20,6 @@ ...@@ -21,7 +20,6 @@
#include <filter/msfilter/util.hxx> #include <filter/msfilter/util.hxx>
#include <filter/msfilter/rtfutil.hxx> #include <filter/msfilter/rtfutil.hxx>
#include <comphelper/string.hxx> #include <comphelper/string.hxx>
#include <vcl/GraphicObject.hxx>
#include <tools/globname.hxx> #include <tools/globname.hxx>
#include <tools/datetimeutils.hxx> #include <tools/datetimeutils.hxx>
#include <comphelper/classids.hxx> #include <comphelper/classids.hxx>
...@@ -35,6 +33,8 @@ ...@@ -35,6 +33,8 @@
#include <rtl/uri.hxx> #include <rtl/uri.hxx>
#include <rtl/tencinfo.h> #include <rtl/tencinfo.h>
#include <oox/helper/graphichelper.hxx> #include <oox/helper/graphichelper.hxx>
#include <vcl/wmfexternal.hxx>
#include <vcl/graph.hxx>
#include "rtfsdrimport.hxx" #include "rtfsdrimport.hxx"
#include "rtfreferenceproperties.hxx" #include "rtfreferenceproperties.hxx"
#include "rtfskipdestination.hxx" #include "rtfskipdestination.hxx"
......
...@@ -15,9 +15,6 @@ ...@@ -15,9 +15,6 @@
#include <vector> #include <vector>
#include <boost/optional.hpp> #include <boost/optional.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/document/XDocumentProperties.hpp>
#include <com/sun/star/text/WrapTextMode.hpp> #include <com/sun/star/text/WrapTextMode.hpp>
#include <oox/mathml/importutils.hxx> #include <oox/mathml/importutils.hxx>
#include <rtl/strbuf.hxx> #include <rtl/strbuf.hxx>
...@@ -34,6 +31,27 @@ namespace oox ...@@ -34,6 +31,27 @@ namespace oox
{ {
class GraphicHelper; class GraphicHelper;
} }
namespace com
{
namespace sun
{
namespace star
{
namespace beans
{
class XPropertySet;
}
namespace document
{
class XDocumentProperties;
}
namespace lang
{
class XMultiServiceFactory;
}
}
}
}
namespace writerfilter namespace writerfilter
{ {
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include <com/sun/star/text/WritingMode.hpp> #include <com/sun/star/text/WritingMode.hpp>
#include <com/sun/star/text/TextContentAnchorType.hpp> #include <com/sun/star/text/TextContentAnchorType.hpp>
#include <com/sun/star/text/XTextRange.hpp> #include <com/sun/star/text/XTextRange.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <ooxml/resourceids.hxx> #include <ooxml/resourceids.hxx>
#include <filter/msfilter/escherex.hxx> #include <filter/msfilter/escherex.hxx>
#include <filter/msfilter/util.hxx> #include <filter/msfilter/util.hxx>
......
...@@ -14,10 +14,30 @@ ...@@ -14,10 +14,30 @@
#include <vector> #include <vector>
#include <dmapper/GraphicZOrderHelper.hxx> #include <dmapper/GraphicZOrderHelper.hxx>
#include <com/sun/star/drawing/XShapes.hpp>
#include <com/sun/star/lang/XComponent.hpp> namespace com
#include <com/sun/star/beans/PropertyValue.hpp> {
#include <com/sun/star/beans/XPropertySet.hpp> namespace sun
{
namespace star
{
namespace beans
{
class XPropertySet;
struct PropertyValue;
}
namespace drawing
{
class XShape;
class XShapes;
}
namespace lang
{
class XComponent;
}
}
}
}
namespace writerfilter namespace writerfilter
{ {
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include "rtfreferenceproperties.hxx" #include "rtfreferenceproperties.hxx"
#include "rtfdocumentimpl.hxx" #include "rtfdocumentimpl.hxx"
#include <com/sun/star/embed/XEmbeddedObject.hpp>
using namespace com::sun::star; using namespace com::sun::star;
......
...@@ -11,8 +11,24 @@ ...@@ -11,8 +11,24 @@
#define INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFVALUE_HXX #define INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFVALUE_HXX
#include <dmapper/resourcemodel.hxx> #include <dmapper/resourcemodel.hxx>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/embed/XEmbeddedObject.hpp> namespace com
{
namespace sun
{
namespace star
{
namespace embed
{
class XEmbeddedObject;
}
namespace io
{
class XInputStream;
}
}
}
}
namespace writerfilter namespace writerfilter
{ {
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include <com/sun/star/text/XPageCursor.hpp> #include <com/sun/star/text/XPageCursor.hpp>
#include <com/sun/star/text/XTextViewCursorSupplier.hpp> #include <com/sun/star/text/XTextViewCursorSupplier.hpp>
#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
#include <comphelper/genericpropertyset.hxx> #include <comphelper/genericpropertyset.hxx>
#include <comphelper/propertysetinfo.hxx> #include <comphelper/propertysetinfo.hxx>
......
...@@ -17,7 +17,20 @@ ...@@ -17,7 +17,20 @@
#include <com/sun/star/document/XFilter.hpp> #include <com/sun/star/document/XFilter.hpp>
#include <com/sun/star/document/XExporter.hpp> #include <com/sun/star/document/XExporter.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
namespace com
{
namespace sun
{
namespace star
{
namespace uno
{
class XComponentContext;
}
}
}
}
namespace writerperfect namespace writerperfect
{ {
......
---
blacklist:
xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx:
# complete type is needed
- com/sun/star/security/DocumentSignatureInformation.hpp
...@@ -26,12 +26,33 @@ ...@@ -26,12 +26,33 @@
#include <svl/sigstruct.hxx> #include <svl/sigstruct.hxx>
#include "xmlsignaturehelper.hxx" #include "xmlsignaturehelper.hxx"
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/embed/XStorage.hpp>
#include <com/sun/star/graphic/XGraphic.hpp>
#include "documentsignaturehelper.hxx" #include "documentsignaturehelper.hxx"
#include <com/sun/star/beans/PropertyValue.hpp>
namespace com
{
namespace sun
{
namespace star
{
namespace beans
{
struct PropertyValue;
}
namespace embed
{
class XStorage;
}
namespace graphic
{
class XGraphic;
}
namespace uno
{
class XComponentContext;
}
}
}
}
class PDFSignatureHelper; class PDFSignatureHelper;
/// Manages signatures (addition, removal), used by DigitalSignaturesDialog. /// Manages signatures (addition, removal), used by DigitalSignaturesDialog.
......
...@@ -29,12 +29,11 @@ ...@@ -29,12 +29,11 @@
#include <com/sun/star/embed/XTransactedObject.hpp> #include <com/sun/star/embed/XTransactedObject.hpp>
#include <com/sun/star/xml/crypto/SEInitializer.hpp> #include <com/sun/star/xml/crypto/SEInitializer.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/graphic/XGraphic.hpp> #include <com/sun/star/beans/PropertyValue.hpp>
#include <comphelper/base64.hxx> #include <comphelper/base64.hxx>
#include <comphelper/storagehelper.hxx> #include <comphelper/storagehelper.hxx>
#include <rtl/ustrbuf.hxx> #include <rtl/ustrbuf.hxx>
#include <sax/tools/converter.hxx>
#include <tools/datetime.hxx> #include <tools/datetime.hxx>
#include <o3tl/make_unique.hxx> #include <o3tl/make_unique.hxx>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment