[Libreoffice-commits] .: 4 commits - sw/source
Miklos Vajna
vmiklos at kemper.freedesktop.org
Sat Nov 26 17:26:27 PST 2011
sw/source/filter/ww8/rtfexport.cxx | 22 ----------------------
sw/source/filter/ww8/rtfexport.hxx | 6 ------
sw/source/filter/ww8/rtfexportfilter.cxx | 4 ----
sw/source/filter/ww8/rtfexportfilter.hxx | 1 -
sw/source/filter/ww8/rtfimportfilter.cxx | 7 -------
sw/source/filter/ww8/rtfimportfilter.hxx | 2 --
sw/source/filter/ww8/rtfsdrexport.cxx | 12 ------------
7 files changed, 54 deletions(-)
New commits:
commit 452ba6fb9c632c81e82fe580fe1adde41ea6e00d
Author: Miklos Vajna <vmiklos at frugalware.org>
Date: Sun Nov 27 02:26:30 2011 +0100
RtfSdrExport: remove unused includes
diff --git a/sw/source/filter/ww8/rtfsdrexport.cxx b/sw/source/filter/ww8/rtfsdrexport.cxx
index d75c384..badda4e 100644
--- a/sw/source/filter/ww8/rtfsdrexport.cxx
+++ b/sw/source/filter/ww8/rtfsdrexport.cxx
@@ -28,23 +28,11 @@
************************************************************************/
#include "rtfsdrexport.hxx"
-#include "rtfexport.hxx"
-#include "writerhelper.hxx"
#include "rtfattributeoutput.hxx"
-#include <com/sun/star/i18n/ScriptType.hdl>
-#include <osl/diagnose.h>
-#include <rtl/strbuf.hxx>
-#include <rtl/ustring.hxx>
-#include <svl/itemiter.hxx>
#include <svtools/rtfkeywd.hxx>
-#include <editeng/editdata.hxx>
#include <editeng/editobj.hxx>
-#include <editeng/flditem.hxx>
-#include <editeng/fontitem.hxx>
#include <svx/svdotext.hxx>
-#include <tools/stream.hxx>
-#include <breakit.hxx>
using rtl::OString;
using rtl::OStringBuffer;
commit d21162d89685a07f1f82b6bf314caf3c64e49fa6
Author: Miklos Vajna <vmiklos at frugalware.org>
Date: Sun Nov 27 02:25:10 2011 +0100
RtfImportFilter: remove unused includes
diff --git a/sw/source/filter/ww8/rtfimportfilter.cxx b/sw/source/filter/ww8/rtfimportfilter.cxx
index 980c96f..211a509 100644
--- a/sw/source/filter/ww8/rtfimportfilter.cxx
+++ b/sw/source/filter/ww8/rtfimportfilter.cxx
@@ -32,18 +32,11 @@
#include <docsh.hxx>
#include <doc.hxx>
-#include <pam.hxx>
#include <unotxdoc.hxx>
-#include <swerror.h>
-#include <cppuhelper/factory.hxx>
#include <comphelper/mediadescriptor.hxx>
#include <unotools/ucbstreamhelper.hxx>
-#include <com/sun/star/frame/XDesktop.hpp>
-#include <com/sun/star/uno/XComponentContext.hpp>
-#include <com/sun/star/frame/XComponentLoader.hpp>
-
using namespace ::comphelper;
using namespace ::com::sun::star;
using ::rtl::OUString;
diff --git a/sw/source/filter/ww8/rtfimportfilter.hxx b/sw/source/filter/ww8/rtfimportfilter.hxx
index 9782dae..1bc29f1 100644
--- a/sw/source/filter/ww8/rtfimportfilter.hxx
+++ b/sw/source/filter/ww8/rtfimportfilter.hxx
@@ -34,8 +34,6 @@
#include <com/sun/star/document/XImporter.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <cppuhelper/implbase2.hxx>
-#include <tools/stream.hxx>
-#include <shellio.hxx>
/// The physical access to the RTF document (for reading).
class RtfImportFilter : public cppu::WeakImplHelper2
commit 5216a1e243e9d0bc912e0855bec56facf91497f9
Author: Miklos Vajna <vmiklos at frugalware.org>
Date: Sun Nov 27 02:24:15 2011 +0100
RtfExportFilter: remove unused includes
diff --git a/sw/source/filter/ww8/rtfexportfilter.cxx b/sw/source/filter/ww8/rtfexportfilter.cxx
index 0aedd4a..7c59694 100644
--- a/sw/source/filter/ww8/rtfexportfilter.cxx
+++ b/sw/source/filter/ww8/rtfexportfilter.cxx
@@ -29,14 +29,10 @@
#include <rtfexportfilter.hxx>
#include <rtfexport.hxx>
-#include <rtfimportfilter.hxx>
#include <docsh.hxx>
-#include <doc.hxx>
-#include <pam.hxx>
#include <unotxdoc.hxx>
-#include <cppuhelper/factory.hxx>
#include <comphelper/mediadescriptor.hxx>
#include <unotools/ucbstreamhelper.hxx>
diff --git a/sw/source/filter/ww8/rtfexportfilter.hxx b/sw/source/filter/ww8/rtfexportfilter.hxx
index de7c94c..5e09018 100644
--- a/sw/source/filter/ww8/rtfexportfilter.hxx
+++ b/sw/source/filter/ww8/rtfexportfilter.hxx
@@ -34,7 +34,6 @@
#include <com/sun/star/document/XExporter.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <cppuhelper/implbase2.hxx>
-#include <tools/stream.hxx>
#include <shellio.hxx>
/// Dummy Writer implementation to be able to use the string format methods of the base class
commit a0a4f4f4f858014ceb51e0c7a38a3e80419951b9
Author: Miklos Vajna <vmiklos at frugalware.org>
Date: Sun Nov 27 01:56:37 2011 +0100
RtfExport: remove unused includes
diff --git a/sw/source/filter/ww8/rtfexport.cxx b/sw/source/filter/ww8/rtfexport.cxx
index a36f233..5139102 100644
--- a/sw/source/filter/ww8/rtfexport.cxx
+++ b/sw/source/filter/ww8/rtfexport.cxx
@@ -27,61 +27,39 @@
*
************************************************************************/
-#include "rtfexport.hxx"
#include "rtfexportfilter.hxx"
#include "rtfsdrexport.hxx"
#include "rtfattributeoutput.hxx"
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
-#include <com/sun/star/document/XDocumentProperties.hpp>
#include <com/sun/star/i18n/ScriptType.hdl>
-#include <com/sun/star/frame/XModel.hpp>
-#include <map>
-#include <algorithm>
-#include <iostream>
-#include <iomanip>
-#include <string>
-#include <sstream>
-
-#include <IMark.hxx>
#include <docsh.hxx>
#include <ndtxt.hxx>
-#include <wrtww8.hxx>
-#include <fltini.hxx>
-#include <fmtline.hxx>
#include <fmtpdsc.hxx>
-#include <frmfmt.hxx>
#include <section.hxx>
#include <pagedesc.hxx>
#include <swtable.hxx>
-#include <fmtfsize.hxx>
#include <frmatr.hxx>
#include <ftninfo.hxx>
#include <fmthdft.hxx>
-#include <editeng/fontitem.hxx>
#include <editeng/colritem.hxx>
#include <editeng/udlnitem.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/brshitem.hxx>
#include <editeng/shaditem.hxx>
-#include <editeng/lrspitem.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/paperinf.hxx>
#include <editeng/protitem.hxx>
#include <docary.hxx>
#include <numrule.hxx>
-#include <charfmt.hxx>
#include <lineinfo.hxx>
#include <swmodule.hxx>
#include "ww8par.hxx"
-#include "ww8scan.hxx"
#include <comphelper/string.hxx>
-#include <rtl/ustrbuf.hxx>
-#include <vcl/font.hxx>
#include <svtools/rtfkeywd.hxx>
#include <unotools/configmgr.hxx>
diff --git a/sw/source/filter/ww8/rtfexport.hxx b/sw/source/filter/ww8/rtfexport.hxx
index a64beaa..3759f31 100644
--- a/sw/source/filter/ww8/rtfexport.hxx
+++ b/sw/source/filter/ww8/rtfexport.hxx
@@ -30,14 +30,8 @@
#ifndef _RTFEXPORT_HXX_
#define _RTFEXPORT_HXX_
-#include <set>
#include "wrtww8.hxx"
-#include <rtl/ustring.hxx>
-
-#include <cstdio>
-#include <map>
-
class RtfAttributeOutput;
class RtfExportFilter;
class RtfSdrExport;
More information about the Libreoffice-commits
mailing list