[Libreoffice-commits] .: xmloff/source

Takeshi Abe tabe at kemper.freedesktop.org
Wed Jun 27 04:06:26 PDT 2012


 xmloff/source/chart/SchXMLChartContext.hxx            |    5 -----
 xmloff/source/chart/SchXMLParagraphContext.hxx        |    2 --
 xmloff/source/chart/SchXMLTableContext.hxx            |    4 ----
 xmloff/source/draw/layerimp.hxx                       |    2 --
 xmloff/source/draw/sdxmlexp_impl.hxx                  |    9 ---------
 xmloff/source/draw/sdxmlimp_impl.hxx                  |    4 ----
 xmloff/source/draw/ximpcustomshape.hxx                |    1 -
 xmloff/source/forms/callbacks.hxx                     |    4 ----
 xmloff/source/forms/elementimport.hxx                 |    1 -
 xmloff/source/forms/formattributes.hxx                |    1 -
 xmloff/source/forms/layerimport.hxx                   |    4 +---
 xmloff/source/style/impastpl.hxx                      |    1 -
 xmloff/source/text/XMLRedlineExport.hxx               |    1 -
 xmloff/source/text/XMLSectionImportContext.hxx        |    1 -
 xmloff/source/text/XMLTextFrameHyperlinkContext.hxx   |    3 ---
 xmloff/source/text/XMLTrackedChangesImportContext.hxx |    4 ----
 xmloff/source/transform/CreateElemTContext.hxx        |    2 --
 xmloff/source/transform/ProcAddAttrTContext.hxx       |    2 --
 xmloff/source/transform/ProcAttrTContext.hxx          |    2 --
 19 files changed, 1 insertion(+), 52 deletions(-)

New commits:
commit 6013882bdff6265548a1511799611243a9d0e083
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Wed Jun 27 20:03:57 2012 +0900

    removed unnecessary forward declarations of class
    
    except moving SvXMLStyleContext into xmloff/source/forms/layerimport.hxx
    
    Change-Id: I5e16b54f98ccdd54bc0bb373d3fe92ed1bef3c5e

diff --git a/xmloff/source/chart/SchXMLChartContext.hxx b/xmloff/source/chart/SchXMLChartContext.hxx
index 249cbdb..4e39113 100644
--- a/xmloff/source/chart/SchXMLChartContext.hxx
+++ b/xmloff/source/chart/SchXMLChartContext.hxx
@@ -40,18 +40,13 @@
 #include <list>
 #include <map>
 
-class SchXMLImport;
 class SchXMLImportHelper;
 
 namespace com { namespace sun { namespace star {
     namespace chart {
         class XChartDocument;
-        class XDiagram;
         struct ChartSeriesAddress;
     }
-    namespace util {
-        class XStringMapping;
-    }
     namespace xml { namespace sax {
         class XAttributeList;
     }}
diff --git a/xmloff/source/chart/SchXMLParagraphContext.hxx b/xmloff/source/chart/SchXMLParagraphContext.hxx
index 31b8337..ba246ee 100644
--- a/xmloff/source/chart/SchXMLParagraphContext.hxx
+++ b/xmloff/source/chart/SchXMLParagraphContext.hxx
@@ -23,8 +23,6 @@
 #include "rtl/ustring.hxx"
 #include "rtl/ustrbuf.hxx"
 
-class SchXMLImport;
-
 namespace com { namespace sun { namespace star { namespace xml { namespace sax {
         class XAttributeList;
 }}}}}
diff --git a/xmloff/source/chart/SchXMLTableContext.hxx b/xmloff/source/chart/SchXMLTableContext.hxx
index 005fda9..3285849 100644
--- a/xmloff/source/chart/SchXMLTableContext.hxx
+++ b/xmloff/source/chart/SchXMLTableContext.hxx
@@ -28,15 +28,11 @@
 #include "transporttypes.hxx"
 
 namespace com { namespace sun { namespace star {
-    namespace frame {
-        class XModel;
-    }
     namespace xml { namespace sax {
         class XAttributeList;
     }}
     namespace chart {
         class XChartDocument;
-        struct ChartSeriesAddress;
 }}}}
 
 // ========================================
diff --git a/xmloff/source/draw/layerimp.hxx b/xmloff/source/draw/layerimp.hxx
index 47eb16a..09464a9 100644
--- a/xmloff/source/draw/layerimp.hxx
+++ b/xmloff/source/draw/layerimp.hxx
@@ -23,8 +23,6 @@
 #include <xmloff/xmlictxt.hxx>
 #include <com/sun/star/container/XNameAccess.hpp>
 
-class AnimImpImpl;
-
 //////////////////////////////////////////////////////////////////////////////
 // presentations:animations
 
diff --git a/xmloff/source/draw/sdxmlexp_impl.hxx b/xmloff/source/draw/sdxmlexp_impl.hxx
index 0558fae..bb95104 100644
--- a/xmloff/source/draw/sdxmlexp_impl.hxx
+++ b/xmloff/source/draw/sdxmlexp_impl.hxx
@@ -41,20 +41,11 @@
 
 //////////////////////////////////////////////////////////////////////////////
 
-class SvXMLUnitConverter;
-class SvXMLExportItemMapper;
-class SfxPoolItem;
-class SfxItemSet;
-class OUStrings_Impl;
 class Rectangle;
 
-class ImpPresPageDrawStylePropMapper;
 class ImpXMLEXPPageMasterInfo;
-class ImpXMLDrawPageInfoList;
 class ImpXMLAutoLayoutInfo;
-class SvXMLAutoStylePoolP;
 class XMLSdPropHdlFactory;
-class ImpXMLShapeStyleInfo;
 class XMLShapeExportPropertyMapper;
 class XMLPageExportPropertyMapper;
 
diff --git a/xmloff/source/draw/sdxmlimp_impl.hxx b/xmloff/source/draw/sdxmlimp_impl.hxx
index d6bd917..f13524a 100644
--- a/xmloff/source/draw/sdxmlimp_impl.hxx
+++ b/xmloff/source/draw/sdxmlimp_impl.hxx
@@ -169,10 +169,6 @@ typedef std::map< sal_Int32, com::sun::star::uno::Reference< com::sun::star::dra
 
 class SvXMLUnitConverter;
 class SvXMLTokenMap;
-class XMLSdPropHdlFactory;
-class XMLPropertySetMapper;
-class XMLPropStyleContext;
-class SdXMLStylesContext;
 class SdXMLMasterStylesContext;
 
 //////////////////////////////////////////////////////////////////////////////
diff --git a/xmloff/source/draw/ximpcustomshape.hxx b/xmloff/source/draw/ximpcustomshape.hxx
index 996673a..f209111 100644
--- a/xmloff/source/draw/ximpcustomshape.hxx
+++ b/xmloff/source/draw/ximpcustomshape.hxx
@@ -38,7 +38,6 @@ namespace com { namespace sun { namespace star {
     namespace xml { namespace sax { class XAttributeList; } }
 } } }
 
-class SdXMLCustomShapeContext;
 class XMLEnhancedCustomShapeContext : public SvXMLImportContext
 {
     SvXMLUnitConverter& mrUnitConverter;
diff --git a/xmloff/source/forms/callbacks.hxx b/xmloff/source/forms/callbacks.hxx
index ed3818a..a2cde7d 100644
--- a/xmloff/source/forms/callbacks.hxx
+++ b/xmloff/source/forms/callbacks.hxx
@@ -35,18 +35,14 @@
 #include <com/sun/star/script/ScriptEventDescriptor.hpp>
 #include <rtl/ref.hxx>
 
-class SvXMLImport;
 class SvXMLExport;
 class SvXMLExportPropertyMapper;
-class SvXMLStyleContext;
 
 //.........................................................................
 namespace xmloff
 {
 //.........................................................................
 
-    class OAttribute2Property;
-
     //=====================================================================
     //= IFormsExportContext
     //=====================================================================
diff --git a/xmloff/source/forms/elementimport.hxx b/xmloff/source/forms/elementimport.hxx
index ac002f9..e5b5872 100644
--- a/xmloff/source/forms/elementimport.hxx
+++ b/xmloff/source/forms/elementimport.hxx
@@ -43,7 +43,6 @@ namespace xmloff
 {
 //.........................................................................
 
-    class IControlIdMap;
     class OFormLayerXMLImport_Impl;
 
     //=====================================================================
diff --git a/xmloff/source/forms/formattributes.hxx b/xmloff/source/forms/formattributes.hxx
index 28cfb86..778d6bf 100644
--- a/xmloff/source/forms/formattributes.hxx
+++ b/xmloff/source/forms/formattributes.hxx
@@ -34,7 +34,6 @@
 #include <salhelper/simplereferenceobject.hxx>
 #include <comphelper/stl_types.hxx>
 
-class SvXMLExport;
 struct SvXMLEnumMapEntry;
 
 //.........................................................................
diff --git a/xmloff/source/forms/layerimport.hxx b/xmloff/source/forms/layerimport.hxx
index 22515f4..8a414fc 100644
--- a/xmloff/source/forms/layerimport.hxx
+++ b/xmloff/source/forms/layerimport.hxx
@@ -39,9 +39,7 @@
 
 class SvXMLImport;
 class SvXMLImportContext;
-class XMLPropertyHandlerFactory;
-class SvXMLImportPropertyMapper;
-class XMLPropStyleContext;
+class SvXMLStyleContext;
 
 SV_DECL_REF( SvXMLStylesContext )
     // unfortunately, we can't put this into our namespace, as the macro expands to (amongst others) a forward
diff --git a/xmloff/source/style/impastpl.hxx b/xmloff/source/style/impastpl.hxx
index 03b54ee..3392bc9 100644
--- a/xmloff/source/style/impastpl.hxx
+++ b/xmloff/source/style/impastpl.hxx
@@ -42,7 +42,6 @@
 class SvXMLAutoStylePoolP;
 class SvXMLAutoStylePoolParentsP_Impl;
 class SvXMLAutoStylePoolNamesP_Impl;
-class SvXMLAttributeList;
 class SvXMLExportPropertyMapper;
 class SvXMLExport;
 
diff --git a/xmloff/source/text/XMLRedlineExport.hxx b/xmloff/source/text/XMLRedlineExport.hxx
index 15d6d2e..ddbc362 100644
--- a/xmloff/source/text/XMLRedlineExport.hxx
+++ b/xmloff/source/text/XMLRedlineExport.hxx
@@ -38,7 +38,6 @@ namespace com { namespace sun { namespace star {
  } } }
 namespace rtl {
     class OUString;
-    class OUStringBuffer;
 }
 
 // store a list of redline properties
diff --git a/xmloff/source/text/XMLSectionImportContext.hxx b/xmloff/source/text/XMLSectionImportContext.hxx
index 9be7972..6feb1b4 100644
--- a/xmloff/source/text/XMLSectionImportContext.hxx
+++ b/xmloff/source/text/XMLSectionImportContext.hxx
@@ -30,7 +30,6 @@ namespace com { namespace sun { namespace star {
     namespace xml { namespace sax { class XAttributeList; } }
 } } }
 namespace rtl { class OUString; }
-class XMLTextImportHelper;
 
 
 /**
diff --git a/xmloff/source/text/XMLTextFrameHyperlinkContext.hxx b/xmloff/source/text/XMLTextFrameHyperlinkContext.hxx
index a2f0d2e..5046831 100644
--- a/xmloff/source/text/XMLTextFrameHyperlinkContext.hxx
+++ b/xmloff/source/text/XMLTextFrameHyperlinkContext.hxx
@@ -29,9 +29,6 @@ namespace com { namespace sun { namespace star {
     namespace beans { class XPropertySet; }
 } } }
 
-// OD 2004-04-21 #i26791#
-class XMLTextFrameHint_Impl;
-
 class XMLTextFrameHyperlinkContext : public SvXMLImportContext
 {
     ::rtl::OUString              sHRef;
diff --git a/xmloff/source/text/XMLTrackedChangesImportContext.hxx b/xmloff/source/text/XMLTrackedChangesImportContext.hxx
index b5ac143..53ac928 100644
--- a/xmloff/source/text/XMLTrackedChangesImportContext.hxx
+++ b/xmloff/source/text/XMLTrackedChangesImportContext.hxx
@@ -26,9 +26,6 @@
 
 
 namespace com { namespace sun { namespace star {
-    namespace text {
-        class XTextRange;
-    }
     namespace xml { namespace sax {
         class XAttributeList;
     } }
@@ -36,7 +33,6 @@ namespace com { namespace sun { namespace star {
 namespace rtl {
     class OUString;
 }
-class XMLTextImportHelper;
 
 /**
  */
diff --git a/xmloff/source/transform/CreateElemTContext.hxx b/xmloff/source/transform/CreateElemTContext.hxx
index 51fe80b..69a7eae 100644
--- a/xmloff/source/transform/CreateElemTContext.hxx
+++ b/xmloff/source/transform/CreateElemTContext.hxx
@@ -23,8 +23,6 @@
 #include <xmloff/xmltoken.hxx>
 #include "TransformerContext.hxx"
 
-class XMLMutableAttributeList;
-class XMLTransformerActions;
 class XMLCreateElemTransformerContext : public XMLTransformerContext
 {
     sal_uInt16 m_nActionMap;
diff --git a/xmloff/source/transform/ProcAddAttrTContext.hxx b/xmloff/source/transform/ProcAddAttrTContext.hxx
index d2718fd..c490431 100644
--- a/xmloff/source/transform/ProcAddAttrTContext.hxx
+++ b/xmloff/source/transform/ProcAddAttrTContext.hxx
@@ -22,8 +22,6 @@
 
 #include "ProcAttrTContext.hxx"
 
-class XMLMutableAttributeList;
-class XMLTransformerActions;
 class XMLProcAddAttrTransformerContext : public XMLProcAttrTransformerContext
 {
     ::rtl::OUString m_aAttrQName;
diff --git a/xmloff/source/transform/ProcAttrTContext.hxx b/xmloff/source/transform/ProcAttrTContext.hxx
index 8653a1d..214221f 100644
--- a/xmloff/source/transform/ProcAttrTContext.hxx
+++ b/xmloff/source/transform/ProcAttrTContext.hxx
@@ -23,8 +23,6 @@
 #include <xmloff/xmltoken.hxx>
 #include "TransformerContext.hxx"
 
-class XMLMutableAttributeList;
-class XMLTransformerActions;
 class XMLProcAttrTransformerContext : public XMLTransformerContext
 {
     ::rtl::OUString m_aElemQName;


More information about the Libreoffice-commits mailing list