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

Fix some IWYU warnings

Change-Id: Iab61e0a7cac2dc89e6b04875a62894b181aa0ff4
Reviewed-on: https://gerrit.libreoffice.org/54016Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
üst 536bd91e
......@@ -20,7 +20,6 @@
#include <writer/WTable.hxx>
#include <com/sun/star/sdbc/ColumnValue.hpp>
#include <com/sun/star/sdbc/DataType.hpp>
#include <com/sun/star/text/XTextDocument.hpp>
#include <com/sun/star/text/XTextTable.hpp>
#include <com/sun/star/text/XTextTablesSupplier.hpp>
#include <com/sun/star/table/XCellRange.hpp>
......@@ -30,6 +29,20 @@
#include <writer/WConnection.hxx>
#include <connectivity/sdbcx/VColumn.hxx>
namespace com
{
namespace sun
{
namespace star
{
namespace text
{
class XTextDocument;
}
}
}
}
using namespace ::com::sun::star;
static void lcl_GetDataArea(const uno::Reference<text::XTextTable>& xTable, sal_Int32& rColumnCount, sal_Int32& rRowCount)
......
......@@ -22,7 +22,19 @@
#include <file/FDriver.hxx>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
namespace com
{
namespace sun
{
namespace star
{
namespace lang
{
class XMultiServiceFactory;
}
}
}
}
namespace connectivity
{
......
......@@ -8,7 +8,6 @@
*/
#include <com/sun/star/document/XExtendedFilterDetection.hpp>
#include <com/sun/star/io/XInputStream.hpp>
#include <comphelper/processfactory.hxx>
#include <comphelper/propertyvalue.hxx>
......@@ -16,6 +15,20 @@
#include <unotools/mediadescriptor.hxx>
#include <unotools/streamwrap.hxx>
namespace com
{
namespace sun
{
namespace star
{
namespace io
{
class XInputStream;
}
}
}
}
using namespace com::sun::star;
namespace
......
......@@ -13,7 +13,6 @@
#include <svtools/rtfkeywd.hxx>
#include <rtl/character.hxx>
#include <tools/stream.hxx>
#include <unotools/streamwrap.hxx>
namespace msfilter
{
......
......@@ -15,12 +15,26 @@
#include <map>
#include <vector>
#include <com/sun/star/security/XCertificate.hpp>
#include <com/sun/star/uno/Reference.h>
#include <tools/stream.hxx>
#include <vcl/dllapi.h>
namespace com
{
namespace sun
{
namespace star
{
namespace security
{
class XCertificate;
}
}
}
}
namespace vcl
{
namespace filter
......
......@@ -10,10 +10,23 @@
#ifndef INCLUDED_OOX_SOURCE_SHAPE_WPSCONTEXT_HXX
#define INCLUDED_OOX_SOURCE_SHAPE_WPSCONTEXT_HXX
#include <com/sun/star/drawing/XShape.hpp>
#include <oox/core/contexthandler2.hxx>
#include <oox/drawingml/drawingmltypes.hxx>
namespace com
{
namespace sun
{
namespace star
{
namespace drawing
{
class XShape;
}
}
}
}
namespace oox
{
namespace shape
......
......@@ -242,3 +242,12 @@ blacklist:
- class SvxCharSetColorItem
# used in extern declaration
- struct SfxItemInfo
sw/inc/textboxhelper.hxx:
# used as a template parameter
- class SwFormatContent
sw/qa/extras/rtfimport/rtfimport.cxx:
# complete type is wanted
- com/sun/star/text/XDocumentIndexMark.hpp
sw/qa/extras/rtfexport/rtfexport.cxx:
# complete type is wanted
- com/sun/star/text/XTextColumns.hpp
......@@ -36,15 +36,27 @@
#include <com/sun/star/text/WrapTextMode.hpp>
#include <com/sun/star/text/HoriOrientation.hpp>
#include <com/sun/star/text/VertOrientation.hpp>
#include <com/sun/star/graphic/XGraphic.hpp>
#include <com/sun/star/text/XFormField.hpp>
#include <rtl/ustring.hxx>
#include <vcl/settings.hxx>
#include <unotools/ucbstreamhelper.hxx>
#include <comphelper/sequenceashashmap.hxx>
#include <comphelper/configuration.hxx>
namespace com
{
namespace sun
{
namespace star
{
namespace graphic
{
class XGraphic;
}
}
}
}
class Test : public SwModelTestBase
{
public:
......
......@@ -11,7 +11,6 @@
#include <comphelper/scopeguard.hxx>
#include <filter/msfilter/rtfutil.hxx>
#include <rtl/character.hxx>
#include <rtl/strbuf.hxx>
#include <sot/storage.hxx>
#include <svtools/parrtf.hxx>
......
......@@ -13,10 +13,13 @@
#include <memory>
#include <rtl/strbuf.hxx>
#include <rtl/ref.hxx>
#include <sax/fshelper.hxx>
#include <tools/solar.h>
namespace rtl
{
template <typename> class Reference;
}
namespace oox
{
namespace drawingml
......@@ -25,7 +28,6 @@ class DrawingML;
}
}
class Size;
class Point;
class SdrObject;
class SvxBoxItem;
......@@ -34,7 +36,6 @@ namespace ww8
class Frame;
}
class SwFrameFormat;
class SwNode;
class DocxExport;
......
......@@ -12,10 +12,21 @@
#include <memory>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <sax/fshelper.hxx>
namespace com
{
namespace sun
{
namespace star
{
namespace beans
{
struct PropertyValue;
}
}
}
}
class SwDoc;
/// Handles DOCX export of table styles, based on InteropGrabBag.
......
......@@ -22,10 +22,23 @@
#include <com/sun/star/document/XFilter.hpp>
#include <com/sun/star/document/XExporter.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <cppuhelper/implbase.hxx>
#include <shellio.hxx>
namespace com
{
namespace sun
{
namespace star
{
namespace uno
{
class XComponentContext;
}
}
}
}
/// Dummy Writer implementation to be able to use the string format methods of the base class
class RtfWriter : public Writer
{
......
......@@ -11,8 +11,20 @@
#define INCLUDED_VCL_SOURCE_FILTER_IPDF_PDFREAD_HXX
#include <tools/stream.hxx>
#include <com/sun/star/uno/Sequence.hxx>
namespace com
{
namespace sun
{
namespace star
{
namespace uno
{
template <typename> class Sequence;
}
}
}
}
class Bitmap;
class Graphic;
......
......@@ -17,7 +17,6 @@
#include <fpdf_save.h>
#endif
#include <vcl/bitmapaccess.hxx>
#include <vcl/graph.hxx>
#include <bitmapwriteaccess.hxx>
......
......@@ -11,6 +11,7 @@
#include <com/sun/star/rdf/Literal.hpp>
#include <com/sun/star/rdf/URI.hpp>
#include <com/sun/star/rdf/XDocumentMetadataAccess.hpp>
#include <ooxml/resourceids.hxx>
......
......@@ -11,13 +11,31 @@
#include <vector>
#include <com/sun/star/rdf/XDocumentMetadataAccess.hpp>
#include <com/sun/star/text/XTextDocument.hpp>
#include <com/sun/star/text/XTextRange.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include "LoggedResources.hxx"
namespace com
{
namespace sun
{
namespace star
{
namespace rdf
{
class XDocumentMetadataAccess;
}
namespace text
{
class XTextDocument;
class XTextRange;
}
namespace uno
{
class XComponentContext;
}
}
}
}
namespace writerfilter
{
namespace dmapper
......
......@@ -11,7 +11,20 @@
#include "LoggedResources.hxx"
#include <memory>
#include <com/sun/star/beans/PropertyValue.hpp>
namespace com
{
namespace sun
{
namespace star
{
namespace beans
{
struct PropertyValue;
}
}
}
}
namespace writerfilter
{
......
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