[Libreoffice-commits] core.git: xmloff/inc xmloff/source
Jelle van der Waa
jelle at vdwaa.nl
Sat Aug 10 07:55:47 PDT 2013
xmloff/inc/SchXMLExport.hxx | 2
xmloff/inc/SchXMLImport.hxx | 6
xmloff/inc/XMLBasicExportFilter.hxx | 3
xmloff/inc/XMLBitmapLogicalSizePropertyHandler.hxx | 1
xmloff/inc/XMLBitmapRepeatOffsetPropertyHandler.hxx | 2
xmloff/inc/XMLChartPropertySetMapper.hxx | 9 -
xmloff/inc/XMLFillBitmapSizePropertyHandler.hxx | 1
xmloff/inc/XMLNumberStylesImport.hxx | 1
xmloff/inc/XMLRectangleMembersHandler.hxx | 1
xmloff/inc/animationimport.hxx | 1
xmloff/inc/animimp.hxx | 1
xmloff/inc/forms/form_handler_factory.hxx | 6
xmloff/inc/forms/property_handler.hxx | 10 -
xmloff/inc/forms/property_ids.hxx | 6
xmloff/inc/xexptran.hxx | 14 -
xmloff/inc/xmlversion.hxx | 6
xmloff/source/chart/ColorPropertySet.cxx | 5
xmloff/source/chart/MultiPropertySetHandler.hxx | 26 ---
xmloff/source/chart/PropertyMap.hxx | 4
xmloff/source/chart/PropertyMaps.cxx | 10 -
xmloff/source/chart/SchXMLAxisContext.cxx | 25 --
xmloff/source/chart/SchXMLAxisContext.hxx | 2
xmloff/source/chart/SchXMLChartContext.cxx | 14 -
xmloff/source/chart/SchXMLChartContext.hxx | 4
xmloff/source/chart/SchXMLEnumConverter.cxx | 7
xmloff/source/chart/SchXMLExport.cxx | 42 ----
xmloff/source/chart/SchXMLImport.cxx | 45 -----
xmloff/source/chart/SchXMLLegendContext.cxx | 4
xmloff/source/chart/SchXMLLegendContext.hxx | 2
xmloff/source/chart/SchXMLPlotAreaContext.cxx | 15 -
xmloff/source/chart/SchXMLPlotAreaContext.hxx | 17 --
xmloff/source/chart/SchXMLSeries2Context.cxx | 6
xmloff/source/chart/SchXMLSeriesHelper.cxx | 2
xmloff/source/chart/SchXMLTableContext.cxx | 39 ----
xmloff/source/chart/SchXMLTableContext.hxx | 16 -
xmloff/source/chart/SchXMLTextListContext.cxx | 4
xmloff/source/chart/SchXMLTools.cxx | 5
xmloff/source/chart/contexts.cxx | 10 -
xmloff/source/chart/contexts.hxx | 12 -
xmloff/source/chart/transporttypes.hxx | 6
xmloff/source/core/DocumentSettingsContext.cxx | 27 ---
xmloff/source/core/ProgressBarHelper.cxx | 6
xmloff/source/core/PropertySetMerger.cxx | 3
xmloff/source/core/RDFaExportHelper.cxx | 7
xmloff/source/core/RDFaImportHelper.cxx | 9 -
xmloff/source/core/XMLBase64ImportContext.cxx | 7
xmloff/source/core/XMLBasicExportFilter.cxx | 23 --
xmloff/source/core/XMLEmbeddedObjectImportContext.cxx | 4
xmloff/source/core/unoatrcn.cxx | 4
xmloff/source/core/xmlexp.cxx | 23 --
xmloff/source/core/xmlimp.cxx | 13 -
xmloff/source/core/xmlmultiimagehelper.cxx | 6
xmloff/source/core/xmltkmap.cxx | 4
xmloff/source/draw/XMLGraphicsDefaultStyle.cxx | 4
xmloff/source/draw/XMLNumberStyles.cxx | 7
xmloff/source/draw/XMLShapePropertySetContext.cxx | 4
xmloff/source/draw/XMLShapeStyleContext.cxx | 4
xmloff/source/draw/animationimport.cxx | 16 -
xmloff/source/draw/animimp.cxx | 9 -
xmloff/source/draw/descriptionimp.cxx | 4
xmloff/source/draw/descriptionimp.hxx | 1
xmloff/source/draw/eventimp.cxx | 12 -
xmloff/source/draw/eventimp.hxx | 1
xmloff/source/draw/layerimp.hxx | 1
xmloff/source/draw/numithdl.cxx | 1
xmloff/source/draw/propimp0.cxx | 10 -
xmloff/source/draw/propimp0.hxx | 2
xmloff/source/draw/sdpropls.cxx | 22 --
xmloff/source/draw/sdpropls.hxx | 21 --
xmloff/source/draw/sdxmlexp.cxx | 61 -------
xmloff/source/draw/sdxmlexp_impl.hxx | 9 -
xmloff/source/draw/sdxmlimp.cxx | 71 --------
xmloff/source/draw/sdxmlimp_impl.hxx | 10 -
xmloff/source/draw/shapeexport.cxx | 54 ------
xmloff/source/draw/shapeexport2.cxx | 51 ------
xmloff/source/draw/shapeexport3.cxx | 10 -
xmloff/source/draw/shapeexport4.cxx | 4
xmloff/source/draw/shapeimport.cxx | 41 ----
xmloff/source/draw/xexptran.cxx | 38 ----
xmloff/source/draw/ximp3dobject.cxx | 55 ------
xmloff/source/draw/ximp3dobject.hxx | 6
xmloff/source/draw/ximp3dscene.cxx | 15 -
xmloff/source/draw/ximp3dscene.hxx | 2
xmloff/source/draw/ximpbody.cxx | 14 -
xmloff/source/draw/ximpbody.hxx | 3
xmloff/source/draw/ximpgrp.cxx | 12 -
xmloff/source/draw/ximpgrp.hxx | 2
xmloff/source/draw/ximplink.cxx | 12 -
xmloff/source/draw/ximplink.hxx | 2
xmloff/source/draw/ximpnote.cxx | 15 -
xmloff/source/draw/ximpnote.hxx | 2
xmloff/source/draw/ximppage.cxx | 14 -
xmloff/source/draw/ximppage.hxx | 2
xmloff/source/draw/ximpshap.cxx | 153 ------------------
xmloff/source/draw/ximpshap.hxx | 20 --
xmloff/source/draw/ximpshow.cxx | 7
xmloff/source/draw/ximpshow.hxx | 1
xmloff/source/draw/ximpstyl.cxx | 57 ------
xmloff/source/draw/ximpstyl.hxx | 9 -
xmloff/source/forms/attriblistmerge.cxx | 15 -
xmloff/source/forms/attriblistmerge.hxx | 7
xmloff/source/forms/callbacks.hxx | 10 -
xmloff/source/forms/controlelement.cxx | 7
xmloff/source/forms/controlelement.hxx | 6
xmloff/source/forms/controlpropertyhdl.cxx | 32 ---
xmloff/source/forms/controlpropertymap.cxx | 13 -
xmloff/source/forms/controlpropertymap.hxx | 7
xmloff/source/forms/elementexport.cxx | 77 ---------
xmloff/source/forms/elementexport.hxx | 12 -
xmloff/source/forms/elementimport.cxx | 134 ---------------
xmloff/source/forms/elementimport.hxx | 45 -----
xmloff/source/forms/elementimport_impl.hxx | 9 -
xmloff/source/forms/eventexport.cxx | 13 -
xmloff/source/forms/eventexport.hxx | 7
xmloff/source/forms/eventimport.cxx | 13 -
xmloff/source/forms/eventimport.hxx | 8
xmloff/source/forms/formattributes.cxx | 31 ---
xmloff/source/forms/formattributes.hxx | 8
xmloff/source/forms/formcellbinding.cxx | 33 ---
xmloff/source/forms/formcellbinding.hxx | 6
xmloff/source/forms/formenums.cxx | 5
xmloff/source/forms/formenums.hxx | 6
xmloff/source/forms/formevents.cxx | 6
xmloff/source/forms/formevents.hxx | 6
xmloff/source/forms/formlayerexport.cxx | 25 --
xmloff/source/forms/formlayerimport.cxx | 16 -
xmloff/source/forms/gridcolumnproptranslator.cxx | 34 ----
xmloff/source/forms/gridcolumnproptranslator.hxx | 6
xmloff/source/forms/handler/form_handler_factory.cxx | 8
xmloff/source/forms/handler/property_handler_base.cxx | 6
xmloff/source/forms/handler/property_handler_base.hxx | 6
xmloff/source/forms/handler/vcl_date_handler.cxx | 11 -
xmloff/source/forms/handler/vcl_date_handler.hxx | 6
xmloff/source/forms/handler/vcl_time_handler.cxx | 11 -
xmloff/source/forms/handler/vcl_time_handler.hxx | 6
xmloff/source/forms/ifacecompare.hxx | 6
xmloff/source/forms/layerexport.cxx | 48 -----
xmloff/source/forms/layerexport.hxx | 6
xmloff/source/forms/layerimport.cxx | 26 ---
xmloff/source/forms/layerimport.hxx | 6
xmloff/source/forms/logging.cxx | 9 -
xmloff/source/forms/logging.hxx | 6
xmloff/source/forms/officeforms.cxx | 20 --
xmloff/source/forms/officeforms.hxx | 9 -
xmloff/source/forms/property_description.hxx | 13 -
xmloff/source/forms/property_group.hxx | 6
xmloff/source/forms/property_meta_data.cxx | 24 --
xmloff/source/forms/property_meta_data.hxx | 4
xmloff/source/forms/propertyexport.cxx | 31 ---
xmloff/source/forms/propertyexport.hxx | 9 -
xmloff/source/forms/propertyimport.cxx | 40 ----
xmloff/source/forms/propertyimport.hxx | 17 --
xmloff/source/forms/valueproperties.cxx | 11 -
xmloff/source/forms/valueproperties.hxx | 7
xmloff/source/meta/MetaImportComponent.cxx | 5
xmloff/source/meta/xmlmetae.cxx | 9 -
xmloff/source/meta/xmlmetai.cxx | 9 -
xmloff/source/meta/xmlversion.cxx | 18 --
xmloff/source/script/xmlbasici.cxx | 28 ---
xmloff/source/script/xmlbasici.hxx | 6
xmloff/source/script/xmlscripti.cxx | 22 --
xmloff/source/style/AttributeContainerHandler.cxx | 2
xmloff/source/style/DashStyle.cxx | 8
xmloff/source/style/DrawAspectHdl.cxx | 4
xmloff/source/style/EnumPropertyHdl.cxx | 2
xmloff/source/style/FillStyleContext.cxx | 20 --
xmloff/source/style/FillStyleContext.hxx | 6
xmloff/source/style/GradientStyle.cxx | 10 -
xmloff/source/style/HatchStyle.cxx | 8
xmloff/source/style/MarkerStyle.cxx | 10 -
xmloff/source/style/NamedBoolPropertyHdl.cxx | 2
xmloff/source/style/PageHeaderFooterContext.cxx | 3
xmloff/source/style/PageMasterExportPropMapper.cxx | 6
xmloff/source/style/PageMasterExportPropMapper.hxx | 2
xmloff/source/style/PageMasterPropHdl.cxx | 17 --
xmloff/source/style/PageMasterPropHdl.hxx | 11 -
xmloff/source/style/PageMasterPropHdlFactory.cxx | 6
xmloff/source/style/PageMasterPropHdlFactory.hxx | 3
xmloff/source/style/PageMasterPropMapper.cxx | 5
xmloff/source/style/PageMasterPropMapper.hxx | 3
xmloff/source/style/PageMasterStyleMap.cxx | 3
xmloff/source/style/TransGradientStyle.cxx | 11 -
xmloff/source/style/WordWrapPropertyHdl.cxx | 2
xmloff/source/style/XMLClipPropertyHandler.cxx | 2
xmloff/source/style/XMLPageExport.cxx | 4
xmloff/source/style/adjushdl.cxx | 2
xmloff/source/style/backhdl.cxx | 2
xmloff/source/style/bordrhdl.cxx | 6
xmloff/source/style/breakhdl.cxx | 3
xmloff/source/style/cdouthdl.cxx | 13 -
xmloff/source/style/chrhghdl.cxx | 5
xmloff/source/style/chrlohdl.cxx | 10 -
xmloff/source/style/csmaphdl.cxx | 7
xmloff/source/style/durationhdl.cxx | 4
xmloff/source/style/escphdl.cxx | 4
xmloff/source/style/fonthdl.cxx | 15 -
xmloff/source/style/impastp1.cxx | 8
xmloff/source/style/impastp2.cxx | 8
xmloff/source/style/impastp3.cxx | 13 -
xmloff/source/style/impastp4.cxx | 23 --
xmloff/source/style/impastpl.hxx | 15 -
xmloff/source/style/kernihdl.cxx | 2
xmloff/source/style/lspachdl.cxx | 4
xmloff/source/style/opaquhdl.cxx | 6
xmloff/source/style/postuhdl.cxx | 2
xmloff/source/style/prhdlfac.cxx | 11 -
xmloff/source/style/shadwhdl.cxx | 2
xmloff/source/style/shdwdhdl.cxx | 2
xmloff/source/style/styleexp.cxx | 3
xmloff/source/style/tabsthdl.cxx | 1
xmloff/source/style/undlihdl.cxx | 7
xmloff/source/style/weighhdl.cxx | 5
xmloff/source/style/xmlbahdl.cxx | 69 --------
xmloff/source/style/xmlexppr.cxx | 26 ---
xmloff/source/style/xmlnumfe.cxx | 53 ------
xmloff/source/style/xmlnumfi.cxx | 33 ---
xmloff/source/style/xmlnumi.cxx | 14 -
xmloff/source/style/xmlprmap.cxx | 14 -
xmloff/source/style/xmlstyle.cxx | 13 -
xmloff/source/table/XMLTableExport.cxx | 38 ----
xmloff/source/table/XMLTableImport.cxx | 73 --------
xmloff/source/text/XMLTextColumnsContext.cxx | 9 -
xmloff/source/text/XMLTextFrameContext.cxx | 10 -
xmloff/source/text/XMLTextMasterStylesContext.cxx | 3
xmloff/source/text/XMLTextShapeStyleContext.cxx | 4
xmloff/source/text/txtparae.cxx | 11 -
xmloff/source/text/txtparai.cxx | 44 -----
xmloff/source/text/txtparaimphint.hxx | 4
xmloff/source/text/txtprhdl.cxx | 42 ----
xmloff/source/transform/ChartOASISTContext.cxx | 3
xmloff/source/transform/ChartOOoTContext.cxx | 3
xmloff/source/transform/DlgOASISTContext.cxx | 3
xmloff/source/transform/EventOASISTContext.cxx | 3
xmloff/source/transform/EventOOoTContext.cxx | 3
xmloff/source/transform/FormPropOOoTContext.cxx | 3
xmloff/source/transform/OOo2Oasis.cxx | 16 -
xmloff/source/transform/Oasis2OOo.cxx | 16 -
xmloff/source/transform/PersMixedContentTContext.cxx | 4
xmloff/source/transform/StyleOASISTContext.cxx | 6
xmloff/source/transform/StyleOOoTContext.cxx | 11 -
xmloff/source/transform/TransformerActions.hxx | 7
xmloff/source/transform/XMLFilterRegistration.cxx | 9 -
242 files changed, 12 insertions(+), 3313 deletions(-)
New commits:
commit 4f360266cd1335861c182493bde6ade0e67b753b
Author: Jelle van der Waa <jelle at vdwaa.nl>
Date: Fri Aug 9 20:04:34 2013 +0200
fdo#62475 removed pointless comments
Change-Id: I176886fbc9f3d9e2b8ad2308ac2b127d9c68d9a6
Reviewed-on: https://gerrit.libreoffice.org/5331
Reviewed-by: Norbert Thiebaud <nthiebaud at gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud at gmail.com>
diff --git a/xmloff/inc/SchXMLExport.hxx b/xmloff/inc/SchXMLExport.hxx
index a585eec..9c97966 100644
--- a/xmloff/inc/SchXMLExport.hxx
+++ b/xmloff/inc/SchXMLExport.hxx
@@ -32,9 +32,7 @@ namespace com { namespace sun { namespace star {
}
}}}
-// ------------------------------------------
// export class for a complete chart document
-// ------------------------------------------
class SchXMLExport : public SvXMLExport
{
diff --git a/xmloff/inc/SchXMLImport.hxx b/xmloff/inc/SchXMLImport.hxx
index d1e7b85..b9e3c0a 100644
--- a/xmloff/inc/SchXMLImport.hxx
+++ b/xmloff/inc/SchXMLImport.hxx
@@ -26,11 +26,11 @@
#include <xmloff/prhdlfac.hxx>
#include <xmloff/families.hxx>
-/* ----------------------------------------
+/*
these enums are used for the
SvXMLTokenMapEntries to distinguish
the tokens in switch-directives
- ----------------------------------------*/
+*/
enum SchXMLDocElemTokenMap
{
@@ -82,8 +82,6 @@ enum SchXMLSeriesElemTokenMap
XML_TOK_SERIES_ERROR_INDICATOR
};
-// ----------------------------------------
-
enum SchXMLChartAttrMap
{
XML_TOK_CHART_HREF,
diff --git a/xmloff/inc/XMLBasicExportFilter.hxx b/xmloff/inc/XMLBasicExportFilter.hxx
index 795b8d1..1bd2c2e 100644
--- a/xmloff/inc/XMLBasicExportFilter.hxx
+++ b/xmloff/inc/XMLBasicExportFilter.hxx
@@ -23,10 +23,7 @@
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
#include <cppuhelper/implbase1.hxx>
-
-// =============================================================================
// class XMLBasicExportFilter
-// =============================================================================
typedef ::cppu::WeakImplHelper1<
::com::sun::star::xml::sax::XDocumentHandler > XMLBasicExportFilter_BASE;
diff --git a/xmloff/inc/XMLBitmapLogicalSizePropertyHandler.hxx b/xmloff/inc/XMLBitmapLogicalSizePropertyHandler.hxx
index afed180..22d96e5 100644
--- a/xmloff/inc/XMLBitmapLogicalSizePropertyHandler.hxx
+++ b/xmloff/inc/XMLBitmapLogicalSizePropertyHandler.hxx
@@ -24,7 +24,6 @@
struct SvXMLEnumMapEntry;
-///////////////////////////////////////////////////////////////////////////
//
/** Abstract base-class for different XML-types. Derivations of this class
knows how to compare, im/export a special XML-type
diff --git a/xmloff/inc/XMLBitmapRepeatOffsetPropertyHandler.hxx b/xmloff/inc/XMLBitmapRepeatOffsetPropertyHandler.hxx
index a42281e..54e28e1 100644
--- a/xmloff/inc/XMLBitmapRepeatOffsetPropertyHandler.hxx
+++ b/xmloff/inc/XMLBitmapRepeatOffsetPropertyHandler.hxx
@@ -24,8 +24,6 @@
struct SvXMLEnumMapEntry;
-///////////////////////////////////////////////////////////////////////////
-//
/** Abstract base-class for different XML-types. Derivations of this class
knows how to compare, im/export a special XML-type
*/
diff --git a/xmloff/inc/XMLChartPropertySetMapper.hxx b/xmloff/inc/XMLChartPropertySetMapper.hxx
index b5655c0..5d35383 100644
--- a/xmloff/inc/XMLChartPropertySetMapper.hxx
+++ b/xmloff/inc/XMLChartPropertySetMapper.hxx
@@ -25,13 +25,10 @@
#include <xmloff/xmlimppr.hxx>
#include <xmloff/xmlimp.hxx>
-
extern const XMLPropertyMapEntry aXMLChartPropMap[];
class SvXMLExport;
-// ----------------------------------------
-
class XMLChartPropHdlFactory : public XMLPropertyHandlerFactory
{
private:
@@ -42,8 +39,6 @@ public:
virtual const XMLPropertyHandler* GetPropertyHandler( sal_Int32 nType ) const;
};
-// ----------------------------------------
-
class XMLChartPropertySetMapper : public XMLPropertySetMapper
{
public:
@@ -51,8 +46,6 @@ public:
~XMLChartPropertySetMapper();
};
-// ----------------------------------------
-
class XMLChartExportPropertyMapper : public SvXMLExportPropertyMapper
{
private:
@@ -95,8 +88,6 @@ public:
com::sun::star::chart2::XChartDocument > xChartDoc );
};
-// ----------------------------------------
-
class XMLChartImportPropertyMapper : public SvXMLImportPropertyMapper
{
private:
diff --git a/xmloff/inc/XMLFillBitmapSizePropertyHandler.hxx b/xmloff/inc/XMLFillBitmapSizePropertyHandler.hxx
index 6f56217..3b57c55 100644
--- a/xmloff/inc/XMLFillBitmapSizePropertyHandler.hxx
+++ b/xmloff/inc/XMLFillBitmapSizePropertyHandler.hxx
@@ -24,7 +24,6 @@
struct SvXMLEnumMapEntry;
-///////////////////////////////////////////////////////////////////////////
//
/** Abstract base-class for different XML-types. Derivations of this class
knows how to compare, im/export a special XML-type
diff --git a/xmloff/inc/XMLNumberStylesImport.hxx b/xmloff/inc/XMLNumberStylesImport.hxx
index afc000e..c7a2c94 100644
--- a/xmloff/inc/XMLNumberStylesImport.hxx
+++ b/xmloff/inc/XMLNumberStylesImport.hxx
@@ -23,7 +23,6 @@
#include <xmloff/xmlnumfi.hxx>
#include <com/sun/star/container/XNameAccess.hpp>
-//////////////////////////////////////////////////////////////////////////////
// presentations:animations
struct SdXMLFixedDataStyle;
diff --git a/xmloff/inc/XMLRectangleMembersHandler.hxx b/xmloff/inc/XMLRectangleMembersHandler.hxx
index 8c1be6c..1f478af 100644
--- a/xmloff/inc/XMLRectangleMembersHandler.hxx
+++ b/xmloff/inc/XMLRectangleMembersHandler.hxx
@@ -24,7 +24,6 @@
struct SvXMLEnumMapEntry;
-///////////////////////////////////////////////////////////////////////////
//
/** Abstract base-class for different XML-types. Derivations of this class
knows how to compare, im/export a special XML-type
diff --git a/xmloff/inc/animationimport.hxx b/xmloff/inc/animationimport.hxx
index eacbea8..b905c87 100644
--- a/xmloff/inc/animationimport.hxx
+++ b/xmloff/inc/animationimport.hxx
@@ -23,7 +23,6 @@
#include <xmloff/xmlictxt.hxx>
#include <com/sun/star/animations/XAnimationNode.hpp>
-//////////////////////////////////////////////////////////////////////////////
// presentations:animations
namespace xmloff
diff --git a/xmloff/inc/animimp.hxx b/xmloff/inc/animimp.hxx
index 2b38170..e0d45b9 100644
--- a/xmloff/inc/animimp.hxx
+++ b/xmloff/inc/animimp.hxx
@@ -25,7 +25,6 @@
class AnimImpImpl;
-//////////////////////////////////////////////////////////////////////////////
// presentations:animations
class XMLAnimationsContext : public SvXMLImportContext
diff --git a/xmloff/inc/forms/form_handler_factory.hxx b/xmloff/inc/forms/form_handler_factory.hxx
index 01f1a22..f29a5f9 100644
--- a/xmloff/inc/forms/form_handler_factory.hxx
+++ b/xmloff/inc/forms/form_handler_factory.hxx
@@ -22,23 +22,17 @@
#include "forms/property_handler.hxx"
-//......................................................................................................................
namespace xmloff
{
-//......................................................................................................................
- //==================================================================================================================
//= FormHandlerFactory
- //==================================================================================================================
class FormHandlerFactory
{
public:
static PPropertyHandler getFormPropertyHandler( const PropertyId i_propertyId );
};
-//......................................................................................................................
} // namespace xmloff
-//......................................................................................................................
#endif // XMLOFF_FORM_HANDLER_FACTORY_HXX
diff --git a/xmloff/inc/forms/property_handler.hxx b/xmloff/inc/forms/property_handler.hxx
index 25c3d45..a727f6b 100644
--- a/xmloff/inc/forms/property_handler.hxx
+++ b/xmloff/inc/forms/property_handler.hxx
@@ -29,16 +29,12 @@
#include <map>
#include <vector>
-//......................................................................................................................
namespace xmloff
{
-//......................................................................................................................
typedef ::std::map< PropertyId, ::com::sun::star::uno::Any > PropertyValues;
- //==================================================================================================================
//= IPropertyHandler
- //==================================================================================================================
class IPropertyHandler : public ::rtl::IReference
{
public:
@@ -60,19 +56,13 @@ namespace xmloff
virtual ~IPropertyHandler() { }
};
- //==================================================================================================================
//= PPropertyHandler
- //==================================================================================================================
typedef ::rtl::Reference< IPropertyHandler > PPropertyHandler;
- //==================================================================================================================
//= PropertyHandlerFactory
- //==================================================================================================================
typedef PPropertyHandler (*PropertyHandlerFactory)( const PropertyId i_propertyId );
-//......................................................................................................................
} // namespace xmloff
-//......................................................................................................................
#endif // XMLOFF_PROPERTY_HANDLER_HXX
diff --git a/xmloff/inc/forms/property_ids.hxx b/xmloff/inc/forms/property_ids.hxx
index f3e9e9a..48a06e6 100644
--- a/xmloff/inc/forms/property_ids.hxx
+++ b/xmloff/inc/forms/property_ids.hxx
@@ -20,14 +20,10 @@
#ifndef XMLOFF_PROPERTY_IDS_HXX
#define XMLOFF_PROPERTY_IDS_HXX
-//......................................................................................................................
namespace xmloff
{
-//......................................................................................................................
- //==================================================================================================================
//= PropertyId
- //==================================================================================================================
enum PropertyId
{
PID_DATE_MIN,
@@ -42,9 +38,7 @@ namespace xmloff
PID_INVALID
};
-//......................................................................................................................
} // namespace xmloff
-//......................................................................................................................
#endif // XMLOFF_PROPERTY_IDS_HXX
diff --git a/xmloff/inc/xexptran.hxx b/xmloff/inc/xexptran.hxx
index b17b85c..52c4267 100644
--- a/xmloff/inc/xexptran.hxx
+++ b/xmloff/inc/xexptran.hxx
@@ -30,7 +30,6 @@
#include <vector>
-//////////////////////////////////////////////////////////////////////////////
// predeclarations
struct ImpSdXMLExpTransObj2DBase;
@@ -46,13 +45,9 @@ namespace basegfx
class B3DHomMatrix;
} // end of namespace basegfx
-//////////////////////////////////////////////////////////////////////////////
-
typedef ::std::vector< ImpSdXMLExpTransObj2DBase* > ImpSdXMLExpTransObj2DBaseList;
typedef ::std::vector< ImpSdXMLExpTransObj3DBase* > ImpSdXMLExpTransObj3DBaseList;
-//////////////////////////////////////////////////////////////////////////////
-
class SdXMLImExTransform2D
{
ImpSdXMLExpTransObj2DBaseList maList;
@@ -74,8 +69,6 @@ public:
void SetString(const OUString& rNew, const SvXMLUnitConverter& rConv);
};
-//////////////////////////////////////////////////////////////////////////////
-
class SdXMLImExTransform3D
{
ImpSdXMLExpTransObj3DBaseList maList;
@@ -98,8 +91,6 @@ public:
void SetString(const OUString& rNew, const SvXMLUnitConverter& rConv);
};
-//////////////////////////////////////////////////////////////////////////////
-
class SdXMLImExViewBox
{
OUString msString;
@@ -119,8 +110,6 @@ public:
const OUString& GetExportString();
};
-//////////////////////////////////////////////////////////////////////////////
-
class SdXMLImExPointsElement
{
OUString msString;
@@ -143,8 +132,6 @@ public:
const com::sun::star::drawing::PointSequenceSequence& GetPointSequenceSequence() const { return maPoly; }
};
-//////////////////////////////////////////////////////////////////////////////
-
class SdXMLImExSvgDElement
{
OUString msString;
@@ -179,7 +166,6 @@ public:
const com::sun::star::drawing::FlagSequenceSequence& GetFlagSequenceSequence() const { return maPoly.Flags; }
};
-
#endif // _XEXPTRANSFORM_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/inc/xmlversion.hxx b/xmloff/inc/xmlversion.hxx
index 95ff607..0a96bde 100644
--- a/xmloff/inc/xmlversion.hxx
+++ b/xmloff/inc/xmlversion.hxx
@@ -32,7 +32,6 @@
#include <xmloff/xmlnmspe.hxx>
#include <xmloff/xmltoken.hxx>
-// ------------------------------------------------------------------------
class XMLVersionListExport : public SvXMLExport
{
private:
@@ -51,7 +50,6 @@ public:
void _ExportContent() {}
};
-// ------------------------------------------------------------------------
class XMLVersionListImport : public SvXMLImport
{
private:
@@ -77,7 +75,6 @@ public:
GetList() { return maVersions; }
};
-// ------------------------------------------------------------------------
class XMLVersionListContext : public SvXMLImportContext
{
private:
@@ -100,7 +97,6 @@ public:
};
-// ------------------------------------------------------------------------
class XMLVersionContext: public SvXMLImportContext
{
private:
@@ -121,8 +117,6 @@ public:
~XMLVersionContext();
};
-
-// ------------------------------------------------------------------------
class XMLVersionListPersistence : public ::cppu::WeakImplHelper1< ::com::sun::star::document::XDocumentRevisionListPersistence >
{
public:
diff --git a/xmloff/source/chart/ColorPropertySet.cxx b/xmloff/source/chart/ColorPropertySet.cxx
index e171214..da97013 100644
--- a/xmloff/source/chart/ColorPropertySet.cxx
+++ b/xmloff/source/chart/ColorPropertySet.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "ColorPropertySet.hxx"
#include <cppuhelper/implbase1.hxx>
@@ -29,8 +28,6 @@ using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::Sequence;
using ::com::sun::star::uno::RuntimeException;
-// ================================================================================
-
namespace
{
class lcl_ColorPropertySetInfo : public ::cppu::WeakImplHelper1<
@@ -80,8 +77,6 @@ sal_Bool SAL_CALL lcl_ColorPropertySetInfo::hasPropertyByName( const OUString& N
} // anonymous namespace
-// ================================================================================
-
namespace xmloff
{
namespace chart
diff --git a/xmloff/source/chart/MultiPropertySetHandler.hxx b/xmloff/source/chart/MultiPropertySetHandler.hxx
index ba0b964..53e42c8 100644
--- a/xmloff/source/chart/MultiPropertySetHandler.hxx
+++ b/xmloff/source/chart/MultiPropertySetHandler.hxx
@@ -24,7 +24,6 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/XMultiPropertySet.hpp>
-
/** @descr MultiPropertySetHandler handles the two slightly different
interfaces XPropertySet and XMultiPorpertySet for accessing
properties of an object.
@@ -60,9 +59,6 @@ public:
const OUString msName;
};
-
-
-
/** @descr For every property type there will be one instantiation of this
template class with its own and type specific version of SetValue.
*/
@@ -89,9 +85,6 @@ private:
T & mrValue;
};
-
-
-
/** @descr Function object for comparing two OUStrings.
*/
class OUStringComparison
@@ -104,9 +97,6 @@ public:
}
};
-
-
-
/** @descr This class lets you get the values from an object that either
supports the interface XPropertySet or XMultiPropertySet. If it
supports both interfaces then XMultiPropertySet is preferred.
@@ -184,19 +174,12 @@ private:
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface> mxObject;
};
-
-
-//===== Inline implementation of the methods declared above ==========================
-
MultiPropertySetHandler::MultiPropertySetHandler (::com::sun::star::uno::Reference<
::com::sun::star::uno::XInterface> xObject)
: mxObject (xObject)
{
}
-
-
-
MultiPropertySetHandler::~MultiPropertySetHandler (void)
{
::std::map< OUString, PropertyWrapperBase*, OUStringComparison>::iterator I;
@@ -204,8 +187,6 @@ MultiPropertySetHandler::~MultiPropertySetHandler (void)
delete I->second;
}
-
-
sal_Bool MultiPropertySetHandler::GetProperties (void)
{
::std::map< OUString, PropertyWrapperBase*, OUStringComparison>::iterator I;
@@ -219,9 +200,6 @@ sal_Bool MultiPropertySetHandler::GetProperties (void)
return sal_True;
}
-
-
-
sal_Bool MultiPropertySetHandler::MultiGet (const ::com::sun::star::uno::Sequence<
OUString> & rNameList)
{
@@ -247,9 +225,6 @@ sal_Bool MultiPropertySetHandler::MultiGet (const ::com::sun::star::uno::Se
return sal_True;
}
-
-
-
sal_Bool MultiPropertySetHandler::SingleGet (const ::com::sun::star::uno::Sequence<
OUString> & rNameList)
{
@@ -273,7 +248,6 @@ sal_Bool MultiPropertySetHandler::SingleGet (const ::com::sun::star::uno::Se
return sal_True;
}
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/chart/PropertyMap.hxx b/xmloff/source/chart/PropertyMap.hxx
index fb2a522..2757756 100644
--- a/xmloff/source/chart/PropertyMap.hxx
+++ b/xmloff/source/chart/PropertyMap.hxx
@@ -92,11 +92,9 @@
#define MAP_SPECIAL_ODF12( a, ns, nm, t, c ) { a, sizeof(a)-1, XML_NAMESPACE_##ns, xmloff::token::nm, t|XML_TYPE_PROP_CHART | MID_FLAG_SPECIAL_ITEM, c, SvtSaveOptions::ODFVER_012 }
#define MAP_ENTRY_END { 0,0,0,xmloff::token::XML_TOKEN_INVALID,0,0,SvtSaveOptions::ODFVER_010 }
-// ---------------------------------------------------------
// PropertyMap for Chart properties drawing- and
// textproperties are added later using the chaining
// mechanism
-// ---------------------------------------------------------
// only create maps once!
// this define is set in PropertyMaps.cxx
@@ -222,9 +220,7 @@ const XMLPropertyMapEntry aXMLChartPropMap[] =
MAP_ENTRY_END
};
-// ----------------------------------------
// maps for enums to XML attributes
-// ----------------------------------------
SvXMLEnumMapEntry aXMLChartAxisLabelPositionEnumMap[] =
{
diff --git a/xmloff/source/chart/PropertyMaps.cxx b/xmloff/source/chart/PropertyMaps.cxx
index a21bced..ce07cbd 100644
--- a/xmloff/source/chart/PropertyMaps.cxx
+++ b/xmloff/source/chart/PropertyMaps.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
// include PropertyMap.hxx with this define
// to create the maps
#ifndef _PROPERTYMAP_HXX_
@@ -76,8 +75,6 @@ using namespace ::xmloff::token;
// * XMLChartImportPropertyMapper
// * SchXMLStyleExport
-// ----------------------------------------
-
XMLChartPropHdlFactory::~XMLChartPropHdlFactory()
{
}
@@ -166,8 +163,6 @@ const XMLPropertyHandler* XMLChartPropHdlFactory::GetPropertyHandler( sal_Int32
return pHdl;
}
-// ----------------------------------------
-
XMLChartPropertySetMapper::XMLChartPropertySetMapper() :
XMLPropertySetMapper( aXMLChartPropMap, new XMLChartPropHdlFactory )
{
@@ -177,8 +172,6 @@ XMLChartPropertySetMapper::~XMLChartPropertySetMapper()
{
}
-// ----------------------------------------
-
XMLChartExportPropertyMapper::XMLChartExportPropertyMapper( const UniReference< XMLPropertySetMapper >& rMapper,
SvXMLExport& rExport) :
SvXMLExportPropertyMapper( rMapper ),
@@ -506,8 +499,6 @@ void XMLChartExportPropertyMapper::setChartDoc( uno::Reference< chart2::XChartDo
mxChartDoc = xChartDoc;
}
-// ----------------------------------------
-
XMLChartImportPropertyMapper::XMLChartImportPropertyMapper( const UniReference< XMLPropertySetMapper >& rMapper,
const SvXMLImport& _rImport ) :
SvXMLImportPropertyMapper( rMapper, const_cast< SvXMLImport & >( _rImport )),
@@ -662,7 +653,6 @@ bool XMLChartImportPropertyMapper::handleSpecialItem(
}
}
-
// if we didn't handle it, the parent should
if( !bRet )
{
diff --git a/xmloff/source/chart/SchXMLAxisContext.cxx b/xmloff/source/chart/SchXMLAxisContext.cxx
index 7844ae5..9f5a6d6 100644
--- a/xmloff/source/chart/SchXMLAxisContext.cxx
+++ b/xmloff/source/chart/SchXMLAxisContext.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <sax/tools/converter.hxx>
#include "SchXMLAxisContext.hxx"
@@ -52,9 +51,6 @@ using namespace com::sun::star;
using com::sun::star::uno::Reference;
-//----------------------------------------
-//----------------------------------------
-
static SvXMLEnumMapEntry aXMLAxisDimensionMap[] =
{
{ XML_X, SCH_XML_AXIS_X },
@@ -71,9 +67,6 @@ static SvXMLEnumMapEntry aXMLAxisTypeMap[] =
{ XML_TOKEN_INVALID, 0 }
};
-//----------------------------------------
-//----------------------------------------
-
class SchXMLCategoriesContext : public SvXMLImportContext
{
private:
@@ -88,10 +81,6 @@ public:
virtual void StartElement( const Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList );
};
-//----------------------------------------
-//----------------------------------------
-
-
class DateScaleContext : public SvXMLImportContext
{
public:
@@ -106,10 +95,6 @@ private:
Reference< beans::XPropertySet > m_xAxisProps;
};
-
-//----------------------------------------
-//----------------------------------------
-
SchXMLAxisContext::SchXMLAxisContext( SchXMLImportHelper& rImpHelper,
SvXMLImport& rImport, const OUString& rLocalName,
Reference< chart::XDiagram > xDiagram,
@@ -449,7 +434,6 @@ void SchXMLAxisContext::CreateAxis()
return;
}
-
m_xAxisProps = Reference<beans::XPropertySet>( lcl_getChartAxis( m_aCurrentAxis, m_xDiagram ), uno::UNO_QUERY );
if( m_bAddMissingXAxisForNetCharts && m_aCurrentAxis.eDimension==SCH_XML_AXIS_Y && m_aCurrentAxis.nAxisIndex==0 )
@@ -607,7 +591,6 @@ void SchXMLAxisContext::SetAxisTitle()
}
}
-//-----------------------------------------------------------------------
namespace
{
enum AxisChildTokens
@@ -728,8 +711,6 @@ void SchXMLAxisContext::EndElement()
SetAxisTitle();
}
-// ========================================
-
namespace
{
@@ -867,8 +848,6 @@ void SchXMLAxisContext::CorrectAxisPositions( const Reference< chart2::XChartDoc
}
}
-// ========================================
-
SchXMLCategoriesContext::SchXMLCategoriesContext(
SvXMLImport& rImport,
sal_uInt16 nPrefix,
@@ -902,8 +881,6 @@ void SchXMLCategoriesContext::StartElement( const Reference< xml::sax::XAttribut
}
}
-// ========================================
-
DateScaleContext::DateScaleContext(
SvXMLImport& rImport,
sal_uInt16 nPrefix,
@@ -1033,6 +1010,4 @@ void DateScaleContext::StartElement( const Reference< xml::sax::XAttributeList >
m_xAxisProps->setPropertyValue("TimeIncrement", uno::makeAny( aIncrement ) );
}
-// ========================================
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/chart/SchXMLAxisContext.hxx b/xmloff/source/chart/SchXMLAxisContext.hxx
index b166e97..9845983 100644
--- a/xmloff/source/chart/SchXMLAxisContext.hxx
+++ b/xmloff/source/chart/SchXMLAxisContext.hxx
@@ -22,8 +22,6 @@
#include "SchXMLImport.hxx"
#include "transporttypes.hxx"
-// ----------------------------------------
-
class SchXMLAxisContext : public SvXMLImportContext
{
public:
diff --git a/xmloff/source/chart/SchXMLChartContext.cxx b/xmloff/source/chart/SchXMLChartContext.cxx
index 9331e24..04291e1 100644
--- a/xmloff/source/chart/SchXMLChartContext.cxx
+++ b/xmloff/source/chart/SchXMLChartContext.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "SchXMLChartContext.hxx"
#include "SchXMLImport.hxx"
#include "SchXMLLegendContext.hxx"
@@ -57,7 +56,6 @@
#include <com/sun/star/chart2/XChartTypeContainer.hpp>
#include <com/sun/star/chart2/XTitled.hpp>
-
using namespace com::sun::star;
using namespace ::xmloff::token;
using com::sun::star::uno::Reference;
@@ -221,8 +219,6 @@ uno::Sequence< sal_Int32 > lcl_getNumberSequenceFromString( const OUString& rStr
} // anonymous namespace
-// ----------------------------------------
-
SchXMLChartContext::SchXMLChartContext( SchXMLImportHelper& rImpHelper,
SvXMLImport& rImport, const OUString& rLocalName ) :
SvXMLImportContext( rImport, XML_NAMESPACE_CHART, rLocalName ),
@@ -480,7 +476,6 @@ void lcl_swapPointAndSeriesStylesForDonutCharts( ::std::list< DataRowPointStyle
nOldSeriesCount = nMaxOldSeriesIndex+1;
}
-
//initialize new series styles
::std::map< Reference< chart2::XDataSeries >, sal_Int32 >::const_iterator aSeriesMapIt( aSeriesMap.begin() );
::std::map< Reference< chart2::XDataSeries >, sal_Int32 >::const_iterator aSeriesMapEnd( aSeriesMap.end() );
@@ -582,7 +577,6 @@ bool lcl_SpecialHandlingForDonutChartNeeded(
} // anonymous namespace
-
static void lcl_ApplyDataFromRectangularRangeToDiagram(
const uno::Reference< chart2::XChartDocument >& xNewDoc
, const OUString& rRectangularRange
@@ -661,7 +655,6 @@ static void lcl_ApplyDataFromRectangularRangeToDiagram(
}
}
-
uno::Reference< chart2::data::XDataSource > xDataSource(
xDataProvider->createDataSource( aArgs ));
@@ -1105,7 +1098,6 @@ SvXMLImportContext* SchXMLChartContext::CreateChildContext(
return pContext;
}
-
/*
With a locked controller the following is done here:
1. Hide title, subtitle, and legend.
@@ -1144,8 +1136,6 @@ void SchXMLChartContext::InitChart(
}
}
-// ----------------------------------------
-
SchXMLTitleContext::SchXMLTitleContext( SchXMLImportHelper& rImpHelper, SvXMLImport& rImport,
const OUString& rLocalName,
OUString& rTitle,
@@ -1197,7 +1187,6 @@ void SchXMLTitleContext::StartElement( const uno::Reference< xml::sax::XAttribut
}
}
-
if( mxTitleShape.is())
{
if( bHasXPosition && bHasYPosition )
@@ -1237,7 +1226,4 @@ SvXMLImportContext* SchXMLTitleContext::CreateChildContext(
return pContext;
}
-// ----------------------------------------
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/chart/SchXMLChartContext.hxx b/xmloff/source/chart/SchXMLChartContext.hxx
index 1e86bb3..124ddc8 100644
--- a/xmloff/source/chart/SchXMLChartContext.hxx
+++ b/xmloff/source/chart/SchXMLChartContext.hxx
@@ -45,8 +45,6 @@ namespace com { namespace sun { namespace star {
}
}}}
-// ----------------------------------------
-
struct SeriesDefaultsAndStyles
{
//default values for series:
@@ -133,8 +131,6 @@ private:
void MergeSeriesForStockChart();
};
-// ----------------------------------------
-
class SchXMLTitleContext : public SvXMLImportContext
{
private:
diff --git a/xmloff/source/chart/SchXMLEnumConverter.cxx b/xmloff/source/chart/SchXMLEnumConverter.cxx
index 9350f86..8e1e5da 100644
--- a/xmloff/source/chart/SchXMLEnumConverter.cxx
+++ b/xmloff/source/chart/SchXMLEnumConverter.cxx
@@ -31,7 +31,6 @@ using namespace ::com::sun::star;
namespace
{
-//-----------------------------------------------------------------------
SvXMLEnumMapEntry aXMLLegendPositionEnumMap[] =
{
@@ -54,8 +53,6 @@ struct TheLegendPositionPropertyHdl : public rtl::Static< XMLLegendPositionPrope
{
};
-//-----------------------------------------------------------------------
-
SvXMLEnumMapEntry aXMLLegendExpansionEnumMap[] =
{
{ XML_WIDE, chart::ChartLegendExpansion_WIDE },
@@ -77,12 +74,8 @@ struct TheLegendExpansionPropertyHdl : public rtl::Static< XMLLegendExpansionPro
{
};
-//-----------------------------------------------------------------------
-
}//end anonymous namespace
-//-----------------------------------------------------------------------
-
XMLEnumPropertyHdl& SchXMLEnumConverter::getLegendPositionConverter()
{
return TheLegendPositionPropertyHdl::get();
diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx
index da7e24e2..15b7278 100644
--- a/xmloff/source/chart/SchXMLExport.cxx
+++ b/xmloff/source/chart/SchXMLExport.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <sax/tools/converter.hxx>
#include <xmloff/xmlprmap.hxx>
@@ -101,7 +100,6 @@
#include <com/sun/star/embed/XVisualObject.hpp>
#include <com/sun/star/container/XChild.hpp>
-
#include "MultiPropertySetHandler.hxx"
#include "PropertyMap.hxx"
@@ -114,9 +112,7 @@ using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::Any;
using ::std::vector;
-// ========================================
// class SchXMLExportHelper_Impl
-// ========================================
class SchXMLExportHelper_Impl
{
@@ -728,7 +724,6 @@ template< class T >
typename T::value_type m_fDefaultValue;
};
-
typedef ::std::map< sal_Int32, SchXMLExportHelper_Impl::tLabelValuesDataPair >
lcl_DataSequenceMap;
@@ -777,7 +772,6 @@ void lcl_ReorderInternalSequencesAccordingToTheirRangeName(
}
}
-
lcl_TableData lcl_getDataForLocalTable(
const SchXMLExportHelper_Impl::tDataSequenceCont & aSequencesToExport,
const Reference< chart2::XAnyDescriptionAccess >& xAnyDescriptionAccess,
@@ -998,9 +992,7 @@ struct SchXMLDataPointStruct
SchXMLDataPointStruct() : mnRepeat( 1 ) {}
};
-// ========================================
// class SchXMLExportHelper
-// ========================================
SchXMLExportHelper::SchXMLExportHelper( SvXMLExport& rExport, SvXMLAutoStylePoolP& rASPool )
: m_pImpl( new SchXMLExportHelper_Impl( rExport, rASPool ) )
@@ -1046,7 +1038,6 @@ void SchXMLExportHelper_Impl::exportAutoStyles()
}
// private methods
-// ---------------
SchXMLExportHelper_Impl::SchXMLExportHelper_Impl(
SvXMLExport& rExport,
@@ -1218,9 +1209,8 @@ void SchXMLExportHelper_Impl::parseDocument( Reference< chart::XChartDocument >&
}
// chart element
- // -------------
-
SvXMLElementExport* pElChart = 0;
+
// get property states for autostyles
if( mxExpPropMapper.is())
{
@@ -1302,8 +1292,6 @@ void SchXMLExportHelper_Impl::parseDocument( Reference< chart::XChartDocument >&
aPropertyStates.clear();
// title element
- // -------------
-
if( bHasMainTitle )
{
// get property states for autostyles
@@ -1345,8 +1333,6 @@ void SchXMLExportHelper_Impl::parseDocument( Reference< chart::XChartDocument >&
}
// subtitle element
- // ----------------
-
if( bHasSubTitle )
{
// get property states for autostyles
@@ -1389,7 +1375,6 @@ void SchXMLExportHelper_Impl::parseDocument( Reference< chart::XChartDocument >&
}
// legend element
- // --------------
if( bHasLegend )
{
// get property states for autostyles
@@ -1468,12 +1453,10 @@ void SchXMLExportHelper_Impl::parseDocument( Reference< chart::XChartDocument >&
}
// plot-area element
- // -----------------
if( xDiagram.is())
exportPlotArea( xDiagram, xNewDiagram, aPageSize, bExportContent, bIncludeTable );
// export additional shapes
- // ------------------------
if( xDocPropSet.is() )
{
if( bExportContent )
@@ -1551,7 +1534,6 @@ void SchXMLExportHelper_Impl::parseDocument( Reference< chart::XChartDocument >&
// table element
// (is included as subelement of chart)
- // ------------------------------------
if( bExportContent )
{
// #85929# always export table, otherwise clipboard may loose data
@@ -1584,7 +1566,6 @@ static void lcl_exportComplexLabel( const Sequence< uno::Any >& rComplexLabel, S
void SchXMLExportHelper_Impl::exportTable()
{
// table element
- // -------------
mrExport.AddAttribute( XML_NAMESPACE_TABLE, XML_NAME, msTableName );
try
@@ -1883,7 +1864,6 @@ void SchXMLExportHelper_Impl::exportPlotArea(
msStringBuffer.setLength( 0 );
// plot-area element
- // -----------------
SvXMLElementExport* pElPlotArea = 0;
// get property states for autostyles
@@ -2018,11 +1998,9 @@ void SchXMLExportHelper_Impl::exportPlotArea(
aPropertyStates.clear();
// axis elements
- // -------------
exportAxes( xDiagram, xNewDiagram, bExportContent );
// series elements
- // ---------------
Reference< chart2::XAxis > xSecondYAxis = lcl_getAxis( lcl_getCooSys( xNewDiagram ), XML_Y, false );
exportSeries( xNewDiagram, rPageSize, bExportContent, xSecondYAxis.is() );
@@ -2102,8 +2080,6 @@ void SchXMLExportHelper_Impl::exportPlotArea(
}
// wall and floor element
- // ----------------------
-
Reference< chart::X3DDisplay > xWallFloorSupplier( xDiagram, uno::UNO_QUERY );
if( mxExpPropMapper.is() &&
xWallFloorSupplier.is())
@@ -2134,8 +2110,6 @@ void SchXMLExportHelper_Impl::exportPlotArea(
}
// floor element
- // -------------
-
// remove property states for autostyles
aPropertyStates.clear();
@@ -3259,7 +3233,6 @@ void SchXMLExportHelper_Impl::exportDataPoints(
OUString( "VaryColorsByPoint" )) >>= bVaryColorsByPoint;
}
-
sal_Int32 nSize = aDataPointSeq.getLength();
SAL_WARN_IF( nSize > nSeriesLength, "xmloff.chart", "Too many point attributes" );
@@ -3488,7 +3461,6 @@ void SchXMLExportHelper_Impl::addSize( const awt::Size & rSize, bool bIsOOoNames
msString = msStringBuffer.makeStringAndClear();
mrExport.AddAttribute( bIsOOoNamespace ? XML_NAMESPACE_CHART_EXT : XML_NAMESPACE_SVG , XML_WIDTH, msString );
-
mrExport.GetMM100UnitConverter().convertMeasureToXML(
msStringBuffer, rSize.Height);
msString = msStringBuffer.makeStringAndClear();
@@ -3534,9 +3506,7 @@ void SchXMLExportHelper_Impl::exportText( const OUString& rText, bool bConvertTa
SchXMLTools::exportText( mrExport, rText, bConvertTabsLFs );
}
-// ========================================
// class SchXMLExport
-// ========================================
SchXMLExport::SchXMLExport(
const Reference< uno::XComponentContext >& xContext,
@@ -3550,7 +3520,6 @@ SchXMLExport::SchXMLExport(
_GetNamespaceMap().Add( GetXMLToken(XML_NP_CHART_EXT), GetXMLToken(XML_N_CHART_EXT), XML_NAMESPACE_CHART_EXT);
}
-
SchXMLExport::~SchXMLExport()
{
// stop progress view
@@ -3722,8 +3691,6 @@ void SchXMLExportHelper_Impl::InitRangeSegmentationProperties( const Reference<
}
}
-// export components ========================================
-
// first version: everything goes in one storage
Sequence< OUString > SAL_CALL SchXMLExport_getSupportedServiceNames() throw()
@@ -3765,8 +3732,6 @@ Reference< uno::XInterface > SAL_CALL SchXMLExport_Oasis_createInstance(const Re
(EXPORT_ALL ^ ( EXPORT_SETTINGS | EXPORT_MASTERSTYLES | EXPORT_SCRIPTS )) | EXPORT_OASIS );
}
-// ============================================================
-
// multiple storage version: one for content / styles / meta
Sequence< OUString > SAL_CALL SchXMLExport_Styles_getSupportedServiceNames() throw()
@@ -3805,8 +3770,6 @@ Reference< uno::XInterface > SAL_CALL SchXMLExport_Oasis_Styles_createInstance(c
return (cppu::OWeakObject*)new SchXMLExport( comphelper::getComponentContext(rSMgr), EXPORT_STYLES | EXPORT_OASIS );
}
-// ------------------------------------------------------------
-
Sequence< OUString > SAL_CALL SchXMLExport_Content_getSupportedServiceNames() throw()
{
const OUString aServiceName( "com.sun.star.comp.Chart.XMLContentExporter" );
@@ -3843,8 +3806,6 @@ Reference< uno::XInterface > SAL_CALL SchXMLExport_Oasis_Content_createInstance(
return (cppu::OWeakObject*)new SchXMLExport( comphelper::getComponentContext(rSMgr), EXPORT_AUTOSTYLES | EXPORT_CONTENT | EXPORT_FONTDECLS | EXPORT_OASIS );
}
-// ------------------------------------------------------------
-
// Oasis format
Sequence< OUString > SAL_CALL SchXMLExport_Oasis_Meta_getSupportedServiceNames() throw()
{
@@ -3863,7 +3824,6 @@ Reference< uno::XInterface > SAL_CALL SchXMLExport_Oasis_Meta_createInstance(con
return (cppu::OWeakObject*)new SchXMLExport( comphelper::getComponentContext(rSMgr), EXPORT_META | EXPORT_OASIS );
}
-
// XServiceInfo
OUString SAL_CALL SchXMLExport::getImplementationName() throw( uno::RuntimeException )
{
diff --git a/xmloff/source/chart/SchXMLImport.cxx b/xmloff/source/chart/SchXMLImport.cxx
index 3c43f5f..749ff73 100644
--- a/xmloff/source/chart/SchXMLImport.cxx
+++ b/xmloff/source/chart/SchXMLImport.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "SchXMLImport.hxx"
#include "SchXMLChartContext.hxx"
#include "contexts.hxx"
@@ -76,34 +75,12 @@ private:
};
} // anonymous namespace
-/* ----------------------------------------
- TokenMaps for distinguishing different
- tokens in different contexts
- ----------------------------------------*/
+ // TokenMaps for distinguishing different
+ // tokens in different contexts
-// ----------------------------------------
// element maps
-// ----------------------------------------
-
-
-
-
-
-
-// ----------------------------------------
// attribute maps
-// ----------------------------------------
-
-
-
-
-
-
-
-
-
-// ========================================
SchXMLImportHelper::SchXMLImportHelper() :
mpAutoStyles( 0 ),
@@ -172,9 +149,7 @@ SvXMLImportContext* SchXMLImportHelper::CreateChartContext(
return pContext;
}
-/* ----------------------------------------
- get various token maps
- ----------------------------------------*/
+// get various token maps
const SvXMLTokenMap& SchXMLImportHelper::GetDocElemTokenMap()
{
@@ -281,8 +256,6 @@ const SvXMLTokenMap& SchXMLImportHelper::GetSeriesElemTokenMap()
return *mpSeriesElemTokenMap;
}
-// ----------------------------------------
-
const SvXMLTokenMap& SchXMLImportHelper::GetChartAttrTokenMap()
{
if( ! mpChartAttrTokenMap )
@@ -395,8 +368,6 @@ const SvXMLTokenMap& SchXMLImportHelper::GetRegEquationAttrTokenMap()
return *mpRegEquationAttrTokenMap;
}
-// ----------------------------------------
-
//static
void SchXMLImportHelper::DeleteDataSeries(
const Reference< chart2::XDataSeries > & xSeries,
@@ -520,8 +491,6 @@ Reference< chart2::XDataSeries > SchXMLImportHelper::GetNewDataSeries(
return xResult;
}
-// ========================================
-
// #110680#
SchXMLImport::SchXMLImport(
const Reference< uno::XComponentContext >& xContext,
@@ -673,8 +642,6 @@ void SAL_CALL SchXMLImport::setTargetDocument( const uno::Reference< lang::XComp
}
}
-// export components ========================================
-
// first version: everything comes from one storage
Sequence< OUString > SAL_CALL SchXMLImport_getSupportedServiceNames() throw()
@@ -695,8 +662,6 @@ Reference< uno::XInterface > SAL_CALL SchXMLImport_createInstance(const Referenc
return (cppu::OWeakObject*)new SchXMLImport( comphelper::getComponentContext(rSMgr));
}
-// ============================================================
-
// multiple storage version: one for content / styles / meta
Sequence< OUString > SAL_CALL SchXMLImport_Styles_getSupportedServiceNames() throw()
@@ -717,8 +682,6 @@ Reference< uno::XInterface > SAL_CALL SchXMLImport_Styles_createInstance(const R
return (cppu::OWeakObject*)new SchXMLImport( comphelper::getComponentContext(rSMgr), IMPORT_STYLES );
}
-// ------------------------------------------------------------
-
Sequence< OUString > SAL_CALL SchXMLImport_Content_getSupportedServiceNames() throw()
{
const OUString aServiceName( "com.sun.star.comp.Chart.XMLOasisContentImporter" );
@@ -737,8 +700,6 @@ Reference< uno::XInterface > SAL_CALL SchXMLImport_Content_createInstance(const
return (cppu::OWeakObject*)new SchXMLImport( comphelper::getComponentContext(rSMgr), IMPORT_CONTENT | IMPORT_AUTOSTYLES | IMPORT_FONTDECLS );
}
-// ------------------------------------------------------------
-
Sequence< OUString > SAL_CALL SchXMLImport_Meta_getSupportedServiceNames() throw()
{
const OUString aServiceName( "com.sun.star.comp.Chart.XMLOasisMetaImporter" );
diff --git a/xmloff/source/chart/SchXMLLegendContext.cxx b/xmloff/source/chart/SchXMLLegendContext.cxx
index 0d0fe40..592167c 100644
--- a/xmloff/source/chart/SchXMLLegendContext.cxx
+++ b/xmloff/source/chart/SchXMLLegendContext.cxx
@@ -35,8 +35,6 @@ using namespace com::sun::star;
using com::sun::star::uno::Reference;
-//----------------------------------------
-
namespace
{
@@ -81,8 +79,6 @@ struct theLegendAttributeTokenMap : public rtl::Static< LegendAttributeTokenMap,
}//end anonymous namespace
-//----------------------------------------
-
SchXMLLegendContext::SchXMLLegendContext( SchXMLImportHelper& rImpHelper, SvXMLImport& rImport, const OUString& rLocalName ) :
SvXMLImportContext( rImport, XML_NAMESPACE_CHART, rLocalName ),
mrImportHelper( rImpHelper )
diff --git a/xmloff/source/chart/SchXMLLegendContext.hxx b/xmloff/source/chart/SchXMLLegendContext.hxx
index 980af70..f2f8f38 100644
--- a/xmloff/source/chart/SchXMLLegendContext.hxx
+++ b/xmloff/source/chart/SchXMLLegendContext.hxx
@@ -21,8 +21,6 @@
#include "SchXMLImport.hxx"
-// ----------------------------------------
-
class SchXMLLegendContext : public SvXMLImportContext
{
public:
diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.cxx b/xmloff/source/chart/SchXMLPlotAreaContext.cxx
index 684be43..070614e 100644
--- a/xmloff/source/chart/SchXMLPlotAreaContext.cxx
+++ b/xmloff/source/chart/SchXMLPlotAreaContext.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <sax/tools/converter.hxx>
#include "SchXMLPlotAreaContext.hxx"
@@ -624,8 +623,6 @@ void SchXMLPlotAreaContext::EndElement()
SchXMLAxisContext::CorrectAxisPositions( uno::Reference< chart2::XChartDocument >( mrImportHelper.GetChartDocument(), uno::UNO_QUERY ), maChartTypeServiceName, GetImport().GetODFVersion(), m_bAxisPositionAttributeImported );
}
-// ========================================
-
SchXMLDataPointContext::SchXMLDataPointContext( SvXMLImport& rImport, const OUString& rLocalName,
::std::list< DataRowPointStyle >& rStyleList,
const ::com::sun::star::uno::Reference<
@@ -676,8 +673,6 @@ void SchXMLDataPointContext::StartElement( const uno::Reference< xml::sax::XAttr
mrIndex += nRepeat;
}
-// ========================================
-
SchXMLPositonAttributesHelper::SchXMLPositonAttributesHelper( SvXMLImport& rImporter )
: m_rImport( rImporter )
, m_aPosition(0,0)
@@ -756,7 +751,6 @@ bool SchXMLPositonAttributesHelper::readPositioningAttribute( sal_uInt16 nPrefix
return bReturn;
}
-
void SchXMLPositonAttributesHelper::readAutomaticPositioningProperties( XMLPropStyleContext* pPropStyleContext, const SvXMLStylesContext* pStylesCtxt )
{
if( pPropStyleContext && pStylesCtxt )
@@ -769,8 +763,6 @@ void SchXMLPositonAttributesHelper::readAutomaticPositioningProperties( XMLPropS
}
}
-// ========================================
-
SchXMLCoordinateRegionContext::SchXMLCoordinateRegionContext(
SvXMLImport& rImport
, sal_uInt16 nPrefix
@@ -800,8 +792,6 @@ void SchXMLCoordinateRegionContext::StartElement( const uno::Reference< xml::sax
}
}
-// ========================================
-
SchXMLWallFloorContext::SchXMLWallFloorContext(
SchXMLImportHelper& rImpHelper,
SvXMLImport& rImport,
@@ -863,8 +853,6 @@ void SchXMLWallFloorContext::StartElement( const uno::Reference< xml::sax::XAttr
}
}
-// ========================================
-
SchXMLStockContext::SchXMLStockContext(
SchXMLImportHelper& rImpHelper,
SvXMLImport& rImport,
@@ -935,8 +923,6 @@ void SchXMLStockContext::StartElement( const uno::Reference< xml::sax::XAttribut
}
}
-// ========================================
-
static void lcl_setErrorBarSequence ( const uno::Reference< chart2::XChartDocument > &xDoc,
const uno::Reference< beans::XPropertySet > &xBarProp,
const OUString &aXMLRange,
@@ -1190,7 +1176,6 @@ void SchXMLStatisticsObjectContext::StartElement( const uno::Reference< xml::sax
xBarProp->setPropertyValue("ShowPositiveError",uno::makeAny(sal_True));
xBarProp->setPropertyValue("ShowNegativeError",uno::makeAny(sal_True));
-
// first import defaults from parent style
SetErrorBarPropertiesFromStyleName( maSeriesStyleName, xBarProp, mrImportHelper, aPosRange, aNegRange );
SetErrorBarPropertiesFromStyleName( sAutoStyleName, xBarProp, mrImportHelper, aPosRange, aNegRange );
diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.hxx b/xmloff/source/chart/SchXMLPlotAreaContext.hxx
index 7fee620..692c244 100644
--- a/xmloff/source/chart/SchXMLPlotAreaContext.hxx
+++ b/xmloff/source/chart/SchXMLPlotAreaContext.hxx
@@ -42,8 +42,6 @@ namespace com { namespace sun { namespace star {
class XAttributeList;
}}}}}
-// ----------------------------------------
-
class SchXML3DSceneAttributesHelper : public SdXML3DSceneAttributesHelper
{
public:
@@ -56,8 +54,6 @@ private:
SchXML3DSceneAttributesHelper();
};
-// ----------------------------------------
-
class SchXMLPositonAttributesHelper
{
public:
@@ -71,7 +67,6 @@ public:
bool isAutomatic() const;
::com::sun::star::awt::Rectangle getRectangle() const;
-
private:
bool hasSize() const;
bool hasPosition() const;
@@ -89,8 +84,6 @@ private:
sal_Bool m_bAutoPosition;
};
-// ----------------------------------------
-
class SchXMLPlotAreaContext : public SvXMLImportContext
{
public:
@@ -149,8 +142,6 @@ private:
::com::sun::star::awt::Size maChartSize;
};
-//----------------------------------------
-
class SchXMLDataPointContext : public SvXMLImportContext
{
private:
@@ -171,8 +162,6 @@ public:
virtual void StartElement( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList );
};
-// ----------------------------------------
-
class SchXMLCoordinateRegionContext : public SvXMLImportContext
{
public:
@@ -188,8 +177,6 @@ private:
SchXMLPositonAttributesHelper& m_rPositioning;
};
-// ----------------------------------------
-
class SchXMLWallFloorContext : public SvXMLImportContext
{
public:
@@ -215,8 +202,6 @@ public:
virtual void StartElement( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList );
};
-// ----------------------------------------
-
class SchXMLStockContext : public SvXMLImportContext
{
public:
@@ -243,8 +228,6 @@ public:
virtual void StartElement( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList );
};
-// ----------------------------------------
-
class SchXMLStatisticsObjectContext : public SvXMLImportContext
{
public:
diff --git a/xmloff/source/chart/SchXMLSeries2Context.cxx b/xmloff/source/chart/SchXMLSeries2Context.cxx
index 1663572..e881298 100644
--- a/xmloff/source/chart/SchXMLSeries2Context.cxx
+++ b/xmloff/source/chart/SchXMLSeries2Context.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "SchXMLSeries2Context.hxx"
#include "SchXMLPlotAreaContext.hxx"
#include "SchXMLRegressionCurveObjectContext.hxx"
@@ -62,8 +61,6 @@ using namespace ::xmloff::token;
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::Sequence;
-// ================================================================================
-
namespace
{
@@ -254,8 +251,6 @@ XMLPropStyleContext* lcl_GetStylePropContext(
} // anonymous namespace
-// ================================================================================
-
SchXMLSeries2Context::SchXMLSeries2Context(
SchXMLImportHelper& rImpHelper,
SvXMLImport& rImport, const OUString& rLocalName,
@@ -455,7 +450,6 @@ void SchXMLSeries2Context::StartElement( const uno::Reference< xml::sax::XAttrib
tSchXMLLSequencesPerIndex::value_type(
tSchXMLIndexWithPart( m_rGlobalSeriesImportInfo.nCurrentDataIndex, SCH_XML_PART_LABEL ), xLabeledSeq ));
-
Sequence< Reference< chart2::data::XLabeledDataSequence > > aSeq( &xLabeledSeq, 1 );
Reference< chart2::data::XDataSink > xSink( m_xSeries, uno::UNO_QUERY_THROW );
xSink->setData( aSeq );
diff --git a/xmloff/source/chart/SchXMLSeriesHelper.cxx b/xmloff/source/chart/SchXMLSeriesHelper.cxx
index 61f7ee1..f433bf1 100644
--- a/xmloff/source/chart/SchXMLSeriesHelper.cxx
+++ b/xmloff/source/chart/SchXMLSeriesHelper.cxx
@@ -36,8 +36,6 @@ using namespace ::com::sun::star;
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::Sequence;
-// ----------------------------------------
-
::std::vector< Reference< chart2::XDataSeries > >
SchXMLSeriesHelper::getDataSeriesFromDiagram(
const Reference< chart2::XDiagram > & xDiagram )
diff --git a/xmloff/source/chart/SchXMLTableContext.cxx b/xmloff/source/chart/SchXMLTableContext.cxx
index ffc0e3bb..902dad1 100644
--- a/xmloff/source/chart/SchXMLTableContext.cxx
+++ b/xmloff/source/chart/SchXMLTableContext.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <sax/tools/converter.hxx>
#include "SchXMLTableContext.hxx"
@@ -213,11 +212,7 @@ template< typename T >
} // anonymous namespace
-
-// ----------------------------------------
// class SchXMLTableContext
-// ----------------------------------------
-
SchXMLTableContext::SchXMLTableContext( SchXMLImportHelper& rImpHelper,
SvXMLImport& rImport,
const OUString& rLName,
@@ -412,14 +407,8 @@ void SchXMLTableContext::setColumnPermutation( const uno::Sequence< sal_Int32 >
}
}
-// ========================================
// classes for columns
-// ========================================
-
-// ----------------------------------------
// class SchXMLTableColumnsContext
-// ----------------------------------------
-
SchXMLTableColumnsContext::SchXMLTableColumnsContext(
SvXMLImport& rImport,
const OUString& rLocalName,
@@ -451,10 +440,7 @@ SvXMLImportContext* SchXMLTableColumnsContext::CreateChildContext(
return pContext;
}
-// ----------------------------------------
// class SchXMLTableColumnContext
-// ----------------------------------------
-
SchXMLTableColumnContext::SchXMLTableColumnContext(
SvXMLImport& rImport,
const OUString& rLocalName,
@@ -513,14 +499,8 @@ SchXMLTableColumnContext::~SchXMLTableColumnContext()
{
}
-// ========================================
// classes for rows
-// ========================================
-
-// ----------------------------------------
// class SchXMLTableRowsContext
-// ----------------------------------------
-
SchXMLTableRowsContext::SchXMLTableRowsContext(
SchXMLImportHelper& rImpHelper,
SvXMLImport& rImport,
@@ -556,10 +536,7 @@ SvXMLImportContext* SchXMLTableRowsContext::CreateChildContext(
return pContext;
}
-// ----------------------------------------
// class SchXMLTableRowContext
-// ----------------------------------------
-
SchXMLTableRowContext::SchXMLTableRowContext(
SchXMLImportHelper& rImpHelper,
SvXMLImport& rImport,
@@ -603,9 +580,6 @@ SvXMLImportContext* SchXMLTableRowContext::CreateChildContext(
return pContext;
}
-//---------------------------------------------------------------------------------------------------
-//---------------------------------------------------------------------------------------------------
-
class SchXMLRangeSomewhereContext : public SvXMLImportContext
{
//#i113950# previously the range was exported to attribute text:id,
@@ -631,17 +605,8 @@ public:
virtual void EndElement();
};
-//---------------------------------------------------------------------------------------------------
-//---------------------------------------------------------------------------------------------------
-
-// ========================================
// classes for cells and their content
-// ========================================
-
-// ----------------------------------------
// class SchXMLTableCellContext
-// ----------------------------------------
-
SchXMLTableCellContext::SchXMLTableCellContext(
SchXMLImportHelper& rImpHelper,
SvXMLImport& rImport,
@@ -752,8 +717,6 @@ void SchXMLTableCellContext::EndElement()
mrTable.aData[ mrTable.nRowIndex ][ mrTable.nColumnIndex ].aRangeId = maRangeId;
}
-// ========================================
-
static void lcl_ApplyCellToComplexLabel( const SchXMLCell& rCell, Sequence< uno::Any >& rComplexLabel )
{
if( rCell.eType == SCH_CELL_TYPE_STRING )
@@ -1155,8 +1118,6 @@ void SchXMLTableHelper::switchRangesFromOuterToInternalIfNecessary(
}
}
-//---------------------------------------------------------------------------------------------------
-
SchXMLRangeSomewhereContext::SchXMLRangeSomewhereContext( SvXMLImport& rImport,
sal_uInt16 nPrefix,
const OUString& rLocalName,
diff --git a/xmloff/source/chart/SchXMLTableContext.hxx b/xmloff/source/chart/SchXMLTableContext.hxx
index 864fa4e..f6b212b 100644
--- a/xmloff/source/chart/SchXMLTableContext.hxx
+++ b/xmloff/source/chart/SchXMLTableContext.hxx
@@ -35,8 +35,6 @@ namespace com { namespace sun { namespace star {
class XChartDocument;
}}}}
-// ========================================
-
class SchXMLTableContext : public SvXMLImportContext
{
private:
@@ -66,8 +64,6 @@ public:
void setColumnPermutation( const ::com::sun::star::uno::Sequence< sal_Int32 > & rPermutation );
};
-// ----------------------------------------
-
class SchXMLTableHelper
{
private:
@@ -90,11 +86,7 @@ public:
::com::sun::star::chart::ChartDataRowSource eDataRowSource );
};
-// ========================================
-
-// ----------------------------------------
// classes for columns
-// ----------------------------------------
/** With this context all column elements are parsed to
determine the index of the column containing
@@ -118,8 +110,6 @@ public:
const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList >& xAttrList );
};
-// ----------------------------------------
-
class SchXMLTableColumnContext : public SvXMLImportContext
{
private:
@@ -133,9 +123,7 @@ public:
virtual void StartElement( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList );
};
-// ----------------------------------------
// classes for rows
-// ----------------------------------------
class SchXMLTableRowsContext : public SvXMLImportContext
{
@@ -156,8 +144,6 @@ public:
const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList >& xAttrList );
};
-// ----------------------------------------
-
class SchXMLTableRowContext : public SvXMLImportContext
{
private:
@@ -177,9 +163,7 @@ public:
const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList >& xAttrList );
};
-// ----------------------------------------
// classes for cells and their content
-// ----------------------------------------
class SchXMLTableCellContext : public SvXMLImportContext
{
diff --git a/xmloff/source/chart/SchXMLTextListContext.cxx b/xmloff/source/chart/SchXMLTextListContext.cxx
index fbf15a2..d0424c7 100644
--- a/xmloff/source/chart/SchXMLTextListContext.cxx
+++ b/xmloff/source/chart/SchXMLTextListContext.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "SchXMLImport.hxx"
#include "SchXMLTextListContext.hxx"
#include "SchXMLParagraphContext.hxx"
@@ -31,7 +30,6 @@ using ::com::sun::star::uno::Reference;
using namespace com::sun::star;
using namespace ::xmloff::token;
-//-------------------------------------------------
class SchXMLListItemContext : public SvXMLImportContext
{
public:
@@ -81,8 +79,6 @@ SvXMLImportContext* SchXMLListItemContext::CreateChildContext(
return pContext;
}
-//-------------------------------------------------
-
SchXMLTextListContext::SchXMLTextListContext(
SvXMLImport& rImport
, const OUString& rLocalName
diff --git a/xmloff/source/chart/SchXMLTools.cxx b/xmloff/source/chart/SchXMLTools.cxx
index bc0b6be..b3c8660 100644
--- a/xmloff/source/chart/SchXMLTools.cxx
+++ b/xmloff/source/chart/SchXMLTools.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "SchXMLTools.hxx"
#include <rtl/ustrbuf.hxx>
@@ -128,8 +127,6 @@ Reference< chart2::data::XDataSequence > lcl_createNewSequenceFromCachedXMLRange
} // anonymous namespace
-// ----------------------------------------
-
namespace SchXMLTools
{
@@ -200,7 +197,6 @@ const tMakeStringStringMap& lcl_getChartTypeNameMap()
return g_aChartTypeNameMap;
}
-
OUString GetNewChartTypeName( const OUString & rOldChartTypeName )
{
OUString aNew(rOldChartTypeName);
@@ -503,7 +499,6 @@ void CreateCategories(
}
}
-
uno::Any getPropertyFromContext( const OUString& rPropertyName, const XMLPropStyleContext* pPropStyleContext, const SvXMLStylesContext* pStylesCtxt )
{
uno::Any aRet;
diff --git a/xmloff/source/chart/contexts.cxx b/xmloff/source/chart/contexts.cxx
index 80dd860..74bad3d 100644
--- a/xmloff/source/chart/contexts.cxx
+++ b/xmloff/source/chart/contexts.cxx
@@ -31,8 +31,6 @@
using namespace com::sun::star;
using namespace ::xmloff::token;
-// ==================================================
-
class SchXMLBodyContext_Impl : public SvXMLImportContext
{
private:
@@ -71,8 +69,6 @@ SvXMLImportContext *SchXMLBodyContext_Impl::CreateChildContext(
rLocalName );
}
-// ==================================================
-
SchXMLDocContext::SchXMLDocContext( SchXMLImportHelper& rImpHelper,
SvXMLImport& rImport,
sal_uInt16 nPrefix,
@@ -134,8 +130,6 @@ SvXMLImportContext* SchXMLDocContext::CreateChildContext(
return pContext;
}
-// ==================================================
-
SchXMLFlatDocContext_Impl::SchXMLFlatDocContext_Impl(
SchXMLImportHelper& i_rImpHelper,
SchXMLImport& i_rImport,
@@ -150,7 +144,6 @@ SchXMLFlatDocContext_Impl::SchXMLFlatDocContext_Impl(
SchXMLFlatDocContext_Impl::~SchXMLFlatDocContext_Impl() { }
-
SvXMLImportContext *SchXMLFlatDocContext_Impl::CreateChildContext(
sal_uInt16 i_nPrefix, const OUString& i_rLocalName,
const uno::Reference<xml::sax::XAttributeList>& i_xAttrList)
@@ -167,8 +160,6 @@ SvXMLImportContext *SchXMLFlatDocContext_Impl::CreateChildContext(
}
}
-// ----------------------------------------
-
SchXMLBodyContext::SchXMLBodyContext( SchXMLImportHelper& rImpHelper,
SvXMLImport& rImport,
sal_uInt16 nPrefix,
@@ -217,5 +208,4 @@ SvXMLImportContext* SchXMLBodyContext::CreateChildContext(
return pContext;
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/chart/contexts.hxx b/xmloff/source/chart/contexts.hxx
index 4a7b830..b728b45 100644
--- a/xmloff/source/chart/contexts.hxx
+++ b/xmloff/source/chart/contexts.hxx
@@ -30,13 +30,11 @@ namespace com { namespace sun { namespace star { namespace xml { namespace sax {
class XAttributeList;
}}}}}
-/* ========================================
-
+/*
These contexts are only nedded by
SchXMLImport not by the SchXMLImportHelper
that is also used by other applications
-
- ======================================== */
+*/
class SchXMLDocContext : public virtual SvXMLImportContext
{
@@ -59,8 +57,6 @@ public:
const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList >& xAttrList );
};
-// ========================================
-
// context for flat file xml format
class SchXMLFlatDocContext_Impl
: public SchXMLDocContext, public SvXMLMetaDocumentContext
@@ -79,8 +75,6 @@ public:
const com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList>& i_xAttrList);
};
-// ========================================
-
class SchXMLBodyContext : public SvXMLImportContext
{
private:
@@ -101,8 +95,6 @@ public:
const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList >& xAttrList );
};
-// ========================================
-
#endif // _SCH_XML_CONTEXTS_HXX_
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/chart/transporttypes.hxx b/xmloff/source/chart/transporttypes.hxx
index 65afd19..0060154 100644
--- a/xmloff/source/chart/transporttypes.hxx
+++ b/xmloff/source/chart/transporttypes.hxx
@@ -89,8 +89,6 @@ typedef ::std::multimap< tSchXMLIndexWithPart,
bool operator < ( const tSchXMLIndexWithPart & rFirst, const tSchXMLIndexWithPart & rSecond );
-// ----------------------------------------
-
struct SchNumericCellRangeAddress
{
sal_Int32 nRow1, nRow2;
@@ -108,8 +106,6 @@ struct SchNumericCellRangeAddress
}
};
-// ----------------------------------------
-
enum SchXMLAxisDimension
{
SCH_XML_AXIS_X = 0,
@@ -129,8 +125,6 @@ struct SchXMLAxis
SchXMLAxis() : eDimension( SCH_XML_AXIS_UNDEF ), nAxisIndex( 0 ), bHasCategories( false ) {}
};
-// ----------------------------------------
-
struct GlobalSeriesImportInfo
{
GlobalSeriesImportInfo( sal_Bool& rAllRangeAddressesAvailable )
diff --git a/xmloff/source/core/DocumentSettingsContext.cxx b/xmloff/source/core/DocumentSettingsContext.cxx
index b741d51..72b7bef 100644
--- a/xmloff/source/core/DocumentSettingsContext.cxx
+++ b/xmloff/source/core/DocumentSettingsContext.cxx
@@ -119,8 +119,6 @@ uno::Reference<container::XIndexContainer> XMLMyList::GetIndexContainer()
return xIndexContainer;
}
-//=============================================================================
-
class XMLConfigBaseContext : public SvXMLImportContext
{
protected:
@@ -137,8 +135,6 @@ public:
void AddPropertyValue() { maProps.push_back(maProp); }
};
-//=============================================================================
-
class XMLConfigItemContext : public SvXMLImportContext
{
OUString msType;
@@ -168,8 +164,6 @@ public:
virtual void ManipulateConfigItem();
};
-//=============================================================================
-
class XMLConfigItemSetContext : public XMLConfigBaseContext
{
public:
@@ -188,8 +182,6 @@ public:
virtual void EndElement();
};
-//=============================================================================
-
class XMLConfigItemMapNamedContext : public XMLConfigBaseContext
{
public:
@@ -208,8 +200,6 @@ public:
virtual void EndElement();
};
-//=============================================================================
-
class XMLConfigItemMapIndexedContext : public XMLConfigBaseContext
{
private:
@@ -233,8 +223,6 @@ public:
virtual void EndElement();
};
-//=============================================================================
-
SvXMLImportContext *CreateSettingsContext(SvXMLImport& rImport, sal_uInt16 p_nPrefix,
const OUString& rLocalName,
const uno::Reference<xml::sax::XAttributeList>& xAttrList,
@@ -278,7 +266,6 @@ SvXMLImportContext *CreateSettingsContext(SvXMLImport& rImport, sal_uInt16 p_nPr
return pContext;
}
-//=============================================================================
namespace
{
struct SettingsGroup
@@ -307,8 +294,6 @@ struct XMLDocumentSettingsContext_Data
::std::list< SettingsGroup > aDocSpecificSettings;
};
-//=============================================================================
-
XMLDocumentSettingsContext::XMLDocumentSettingsContext(SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName,
const uno::Reference<xml::sax::XAttributeList>& )
: SvXMLImportContext( rImport, nPrfx, rLName )
@@ -455,8 +440,6 @@ void XMLDocumentSettingsContext::EndElement()
}
}
-//=============================================================================
-
XMLConfigBaseContext::XMLConfigBaseContext(SvXMLImport& rImport, sal_uInt16 nPrfx,
const OUString& rLName, com::sun::star::uno::Any& rTempAny,
XMLConfigBaseContext* pTempBaseContext)
@@ -472,8 +455,6 @@ XMLConfigBaseContext::~XMLConfigBaseContext()
{
}
-//=============================================================================
-
XMLConfigItemSetContext::XMLConfigItemSetContext(SvXMLImport& rImport, sal_uInt16 nPrfx,
const OUString& rLName,
const ::com::sun::star::uno::Reference<
@@ -504,8 +485,6 @@ void XMLConfigItemSetContext::EndElement()
mpBaseContext->AddPropertyValue();
}
-//=============================================================================
-
XMLConfigItemContext::XMLConfigItemContext(SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName,
const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList>& xAttrList,
@@ -583,7 +562,6 @@ void XMLConfigItemContext::Characters( const OUString& rChars )
msValue += rChars;
}
-
void XMLConfigItemContext::EndElement()
{
if (mpBaseContext)
@@ -694,9 +672,6 @@ void XMLConfigItemContext::ManipulateConfigItem()
}
}
-
-//=============================================================================
-
XMLConfigItemMapNamedContext::XMLConfigItemMapNamedContext(SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName,
const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList>&,
@@ -730,8 +705,6 @@ void XMLConfigItemMapNamedContext::EndElement()
}
}
-//=============================================================================
-
XMLConfigItemMapIndexedContext::XMLConfigItemMapIndexedContext(SvXMLImport& rImport, sal_uInt16 nPrfx,
const OUString& rLName,
const ::com::sun::star::uno::Reference<
diff --git a/xmloff/source/core/ProgressBarHelper.cxx b/xmloff/source/core/ProgressBarHelper.cxx
index 18a24c7..4c7b8fd 100644
--- a/xmloff/source/core/ProgressBarHelper.cxx
+++ b/xmloff/source/core/ProgressBarHelper.cxx
@@ -17,12 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
-
-
-
-
-//___________________________________________________________________
#include <xmloff/ProgressBarHelper.hxx>
#include <tools/debug.hxx>
#include <xmloff/xmltoken.hxx>
diff --git a/xmloff/source/core/PropertySetMerger.cxx b/xmloff/source/core/PropertySetMerger.cxx
index 43355a5..0369e32 100644
--- a/xmloff/source/core/PropertySetMerger.cxx
+++ b/xmloff/source/core/PropertySetMerger.cxx
@@ -20,7 +20,6 @@
#include <com/sun/star/beans/XPropertyState.hpp>
#include "PropertySetMerger.hxx"
-
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
@@ -64,9 +63,7 @@ public:
virtual sal_Bool SAL_CALL hasPropertyByName( const OUString& Name ) throw(RuntimeException);
};
-// --------------------------------------------------------------------
// Interface implementation
-// --------------------------------------------------------------------
PropertySetMergerImpl::PropertySetMergerImpl( Reference< XPropertySet > rPropSet1, Reference< XPropertySet > rPropSet2 )
: mxPropSet1( rPropSet1 )
diff --git a/xmloff/source/core/RDFaExportHelper.cxx b/xmloff/source/core/RDFaExportHelper.cxx
index eb79360..d2b830f 100644
--- a/xmloff/source/core/RDFaExportHelper.cxx
+++ b/xmloff/source/core/RDFaExportHelper.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "RDFaExportHelper.hxx"
#include "xmloff/xmlnmspe.hxx"
@@ -52,7 +51,6 @@
#include <functional>
#include <algorithm>
-
using namespace ::com::sun::star;
namespace xmloff {
@@ -103,9 +101,6 @@ getRelativeReference(SvXMLExport const& rExport, OUString const& rURI)
return relativeURI;
}
-
-////////////////////////////////////////////////////////////////////////////
-
RDFaExportHelper::RDFaExportHelper(SvXMLExport & i_rExport)
: m_rExport(i_rExport), m_xRepository(0), m_Counter(0)
{
@@ -131,8 +126,6 @@ RDFaExportHelper::LookupBlankNode(
return rEntry;
}
-////////////////////////////////////////////////////////////////////////////
-
void
RDFaExportHelper::AddRDFa(
uno::Reference<rdf::XMetadatable> const & i_xMetadatable)
diff --git a/xmloff/source/core/RDFaImportHelper.cxx b/xmloff/source/core/RDFaImportHelper.cxx
index 3ff61d1..1e8aea4 100644
--- a/xmloff/source/core/RDFaImportHelper.cxx
+++ b/xmloff/source/core/RDFaImportHelper.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "RDFaImportHelper.hxx"
#include <xmloff/xmlimp.hxx>
@@ -45,7 +44,6 @@
#include <functional>
#include <algorithm>
-
using namespace ::com::sun::star;
namespace xmloff {
@@ -148,9 +146,6 @@ struct SAL_DLLPRIVATE RDFaEntry
{ }
};
-////////////////////////////////////////////////////////////////////////////
-
-
static inline bool isWS(const sal_Unicode i_Char)
{
return ('\t' == i_Char) || ('\n' == i_Char) || ('\r' == i_Char)
@@ -264,8 +259,6 @@ RDFaReader::ReadURIOrSafeCURIE(OUString const & i_rURIOrSafeCURIE) const
}
}
-////////////////////////////////////////////////////////////////////////////
-
uno::Reference< rdf::XBlankNode >
RDFaInserter::LookupBlankNode(OUString const & i_rNodeId )
{
@@ -391,8 +384,6 @@ void RDFaInserter::InsertRDFaEntry(
}
}
-////////////////////////////////////////////////////////////////////////////
-
RDFaImportHelper::RDFaImportHelper(const SvXMLImport & i_rImport)
: m_rImport(i_rImport)
{
diff --git a/xmloff/source/core/XMLBase64ImportContext.cxx b/xmloff/source/core/XMLBase64ImportContext.cxx
index 22a6f46..72b98932 100644
--- a/xmloff/source/core/XMLBase64ImportContext.cxx
+++ b/xmloff/source/core/XMLBase64ImportContext.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <com/sun/star/io/XOutputStream.hpp>
#include <sax/tools/converter.hxx>
@@ -25,16 +24,12 @@
#include <xmloff/xmlimp.hxx>
#include <xmloff/XMLBase64ImportContext.hxx>
-
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
using namespace ::com::sun::star::io;
-//-----------------------------------------------------------------------------
-
TYPEINIT1( XMLBase64ImportContext, SvXMLImportContext );
-
XMLBase64ImportContext::XMLBase64ImportContext(
SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName,
const Reference< XAttributeList >&,
@@ -48,7 +43,6 @@ XMLBase64ImportContext::~XMLBase64ImportContext()
{
}
-
void XMLBase64ImportContext::EndElement()
{
xOut->closeOutput();
@@ -79,5 +73,4 @@ void XMLBase64ImportContext::Characters( const OUString& rChars )
}
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/core/XMLBasicExportFilter.cxx b/xmloff/source/core/XMLBasicExportFilter.cxx
index abc408c..eb3f0ec 100644
--- a/xmloff/source/core/XMLBasicExportFilter.cxx
+++ b/xmloff/source/core/XMLBasicExportFilter.cxx
@@ -22,25 +22,18 @@
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
-
-// =============================================================================
// XMLBasicExportFilter
-// =============================================================================
XMLBasicExportFilter::XMLBasicExportFilter( const Reference< xml::sax::XDocumentHandler >& rxHandler )
:m_xHandler( rxHandler )
{
}
-// -----------------------------------------------------------------------------
-
XMLBasicExportFilter::~XMLBasicExportFilter()
{
}
-// -----------------------------------------------------------------------------
// XDocumentHandler
-// -----------------------------------------------------------------------------
void XMLBasicExportFilter::startDocument()
throw (xml::sax::SAXException, RuntimeException)
@@ -48,16 +41,12 @@ void XMLBasicExportFilter::startDocument()
// do nothing, filter this
}
-// -----------------------------------------------------------------------------
-
void XMLBasicExportFilter::endDocument()
throw (xml::sax::SAXException, RuntimeException)
{
// do nothing, filter this
}
-// -----------------------------------------------------------------------------
-
void XMLBasicExportFilter::startElement( const OUString& aName,
const Reference< xml::sax::XAttributeList >& xAttribs )
throw (xml::sax::SAXException, RuntimeException)
@@ -66,8 +55,6 @@ void XMLBasicExportFilter::startElement( const OUString& aName,
m_xHandler->startElement( aName, xAttribs );
}
-// -----------------------------------------------------------------------------
-
void XMLBasicExportFilter::endElement( const OUString& aName )
throw (xml::sax::SAXException, RuntimeException)
{
@@ -75,8 +62,6 @@ void XMLBasicExportFilter::endElement( const OUString& aName )
m_xHandler->endElement( aName );
}
-// -----------------------------------------------------------------------------
-
void XMLBasicExportFilter::characters( const OUString& aChars )
throw (xml::sax::SAXException, RuntimeException)
{
@@ -84,8 +69,6 @@ void XMLBasicExportFilter::characters( const OUString& aChars )
m_xHandler->characters( aChars );
}
-// -----------------------------------------------------------------------------
-
void XMLBasicExportFilter::ignorableWhitespace( const OUString& aWhitespaces )
throw (xml::sax::SAXException, RuntimeException)
{
@@ -93,8 +76,6 @@ void XMLBasicExportFilter::ignorableWhitespace( const OUString& aWhitespaces )
m_xHandler->ignorableWhitespace( aWhitespaces );
}
-// -----------------------------------------------------------------------------
-
void XMLBasicExportFilter::processingInstruction( const OUString& aTarget,
const OUString& aData )
throw (xml::sax::SAXException, RuntimeException)
@@ -103,8 +84,6 @@ void XMLBasicExportFilter::processingInstruction( const OUString& aTarget,
m_xHandler->processingInstruction( aTarget, aData );
}
-// -----------------------------------------------------------------------------
-
void XMLBasicExportFilter::setDocumentLocator( const Reference< xml::sax::XLocator >& xLocator )
throw (xml::sax::SAXException, RuntimeException)
{
@@ -112,6 +91,4 @@ void XMLBasicExportFilter::setDocumentLocator( const Reference< xml::sax::XLocat
m_xHandler->setDocumentLocator( xLocator );
}
-// -----------------------------------------------------------------------------
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx b/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx
index a3b0004..562ddee 100644
--- a/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx
+++ b/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx
@@ -32,7 +32,6 @@
#include "xmloff/XMLFilterServiceNames.h"
#include "XMLEmbeddedObjectImportContext.hxx"
-
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::util;
using namespace ::com::sun::star::beans;
@@ -135,8 +134,6 @@ void XMLEmbeddedObjectImportContext_Impl::Characters( const OUString& rChars )
xHandler->characters( rChars );
}
-//-----------------------------------------------------------------------------
-
TYPEINIT1( XMLEmbeddedObjectImportContext, SvXMLImportContext );
sal_Bool XMLEmbeddedObjectImportContext::SetComponent(
@@ -145,7 +142,6 @@ sal_Bool XMLEmbeddedObjectImportContext::SetComponent(
if( !rComp.is() || sFilterService.isEmpty() )
return sal_False;
-
Sequence<Any> aArgs( 0 );
Reference< XComponentContext > xContext( GetImport().GetComponentContext() );
diff --git a/xmloff/source/core/unoatrcn.cxx b/xmloff/source/core/unoatrcn.cxx
index f479ba5..d5a3f34 100644
--- a/xmloff/source/core/unoatrcn.cxx
+++ b/xmloff/source/core/unoatrcn.cxx
@@ -27,12 +27,9 @@
#include "xmloff/unoatrcn.hxx"
-
using namespace ::com::sun::star;
-// --------------------------------------------------------------------
// Interface implementation
-// --------------------------------------------------------------------
uno::Reference< uno::XInterface > SvUnoAttributeContainer_CreateInstance()
{
@@ -278,5 +275,4 @@ sal_Bool SvUnoAttributeContainer::supportsService(const OUString& ServiceName)
return sal_False;
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx
index 1dfb82e..a8955ca 100644
--- a/xmloff/source/core/xmlexp.cxx
+++ b/xmloff/source/core/xmlexp.cxx
@@ -88,7 +88,6 @@
#include <comphelper/xmltools.hxx>
-
using namespace ::osl;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
@@ -139,8 +138,6 @@ const XMLServiceMapEntry_Impl aServiceMap[] =
{ 0, 0, 0, 0 }
};
-//==============================================================================
-
class SAL_DLLPRIVATE SettingsExportFacade : public ::xmloff::XMLSettingsExportContext
{
public:
@@ -205,8 +202,6 @@ Reference< XComponentContext > SettingsExportFacade::GetComponentContext() const
return m_rExport.getComponentContext();
}
-//==============================================================================
-
class SvXMLExportEventListener : public cppu::WeakImplHelper1<
com::sun::star::lang::XEventListener >
{
@@ -241,8 +236,6 @@ void SAL_CALL SvXMLExportEventListener::disposing( const lang::EventObject& )
}
}
-//==============================================================================
-
class SAL_DLLPRIVATE SvXMLExport_Impl
{
public:
@@ -299,8 +292,6 @@ SvXMLExport_Impl::SvXMLExport_Impl()
mxUriReferenceFactory = uri::UriReferenceFactory::create( comphelper::getProcessComponentContext() );
}
-//==============================================================================
-
void SvXMLExport::SetDocHandler( const uno::Reference< xml::sax::XDocumentHandler > &rHandler )
{
mxHandler = rHandler;
@@ -594,8 +585,6 @@ SvXMLExport::~SvXMLExport()
delete mpImpl;
}
-///////////////////////////////////////////////////////////////////////
-
// XExporter
void SAL_CALL SvXMLExport::setSourceDocument( const uno::Reference< lang::XComponent >& xDoc )
throw(lang::IllegalArgumentException, uno::RuntimeException)
@@ -881,7 +870,6 @@ void SAL_CALL SvXMLExport::setName( const OUString& )
// do nothing, because it is not possible to set the FilterName
}
-
// XServiceInfo
OUString SAL_CALL SvXMLExport::getImplementationName( ) throw(uno::RuntimeException)
{
@@ -905,8 +893,6 @@ uno::Sequence< OUString > SAL_CALL SvXMLExport::getSupportedServiceNames( )
return aSeq;
}
-///////////////////////////////////////////////////////////////////////
-
OUString
SvXMLExport::EnsureNamespace(OUString const & i_rNamespace,
OUString const & i_rPreferredPrefix)
@@ -953,8 +939,6 @@ SvXMLExport::EnsureNamespace(OUString const & i_rNamespace,
return sPrefix;
}
-///////////////////////////////////////////////////////////////////////
-
void SvXMLExport::AddAttributeASCII( sal_uInt16 nPrefixKey,
const sal_Char *pName,
const sal_Char *pValue )
@@ -1422,8 +1406,6 @@ sal_uInt32 SvXMLExport::exportDoc( enum ::xmloff::token::XMLTokenEnum eClass )
nPos = mpNamespaceMap->GetNextKey( nPos );
}
-
-
// office:version = ...
if( !mbExtended )
{
@@ -1519,7 +1501,6 @@ sal_uInt32 SvXMLExport::exportDoc( enum ::xmloff::token::XMLTokenEnum eClass )
ImplExportContent();
}
-
mxHandler->endDocument();
if( bOwnGraphicResolver )
@@ -1944,7 +1925,6 @@ sal_Int32 SvXMLExport::dataStyleForceSystemLanguage(sal_Int32 nFormat) const
? mpNumExport->ForceSystemLanguage( nFormat ) : nFormat;
}
-
OUString SvXMLExport::AddEmbeddedGraphicObject( const OUString& rGraphicObjectURL )
{
OUString sRet( rGraphicObjectURL );
@@ -2381,7 +2361,6 @@ void SvXMLExport::IgnorableWhitespace()
}
}
-
void SvXMLExport::SetError(
sal_Int32 nId,
const Sequence<OUString>& rMsgParams,
@@ -2565,8 +2544,6 @@ sal_Bool SvXMLExport::SetNullDateOnUnitConverter()
return mpImpl->mbNullDateInitialized;
}
-//=============================================================================
-
void SvXMLElementExport::StartElement( SvXMLExport& rExp,
sal_uInt16 nPrefixKey,
const OUString& rLName,
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index d7f43ba..d59d8b8 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -62,7 +62,6 @@
using ::com::sun::star::beans::XPropertySetInfo;
-
using namespace ::osl;
using namespace ::com::sun::star;
using namespace ::com::sun::star::frame;
@@ -115,8 +114,6 @@ sal_Char const sXML_np__text_old[] = "__text";
sal_Char const sXML_np__table_old[] = "__table";
sal_Char const sXML_np__meta_old[] = "__meta";
-
-
class SvXMLImportEventListener : public cppu::WeakImplHelper1<
com::sun::star::lang::XEventListener >
{
@@ -823,8 +820,6 @@ void SvXMLImport::SetStatistics(const uno::Sequence< beans::NamedValue> &)
GetProgressBarHelper()->SetReference(0);
}
-///////////////////////////////////////////////////////////////////////
-
// XImporter
void SAL_CALL SvXMLImport::setTargetDocument( const uno::Reference< lang::XComponent >& xDoc )
throw(lang::IllegalArgumentException, uno::RuntimeException)
@@ -1009,8 +1004,6 @@ uno::Sequence< OUString > SAL_CALL SvXMLImport::getSupportedServiceNames( )
return aSeq;
}
-///////////////////////////////////////////////////////////////////////
-
XMLTextImportHelper* SvXMLImport::CreateTextImport()
{
return new XMLTextImportHelper( mxModel, *this );
@@ -1031,8 +1024,6 @@ SchXMLImportHelper* SvXMLImport::CreateChartImport()
return new ::xmloff::OFormLayerXMLImport(*this);
}
-
-///////////////////////////////////////////////////////////////////////////////
//
// Get or create fill/line/lineend-style-helper
//
@@ -1649,7 +1640,6 @@ void SvXMLImport::_CreateNumberFormatsSupplier()
uno::Reference< util::XNumberFormatsSupplier> (mxModel, uno::UNO_QUERY);
}
-
void SvXMLImport::_CreateDataStylesImport()
{
SAL_WARN_IF( mpNumImport != NULL, "xmloff.core", "data styles import already exists!" );
@@ -1659,7 +1649,6 @@ void SvXMLImport::_CreateDataStylesImport()
mpNumImport = new SvXMLNumFmtHelper(xNum, GetComponentContext() );
}
-
sal_Unicode SvXMLImport::ConvStarBatsCharToStarSymbol( sal_Unicode c )
{
sal_Unicode cNew = c;
@@ -1696,8 +1685,6 @@ sal_Unicode SvXMLImport::ConvStarMathCharToStarSymbol( sal_Unicode c )
return cNew;
}
-
-
void SvXMLImport::SetError(
sal_Int32 nId,
const Sequence<OUString>& rMsgParams,
diff --git a/xmloff/source/core/xmlmultiimagehelper.cxx b/xmloff/source/core/xmlmultiimagehelper.cxx
index 5159720..998b773 100644
--- a/xmloff/source/core/xmlmultiimagehelper.cxx
+++ b/xmloff/source/core/xmlmultiimagehelper.cxx
@@ -20,12 +20,8 @@
#include <xmloff/xmlmultiimagehelper.hxx>
#include <rtl/ustring.hxx>
-//////////////////////////////////////////////////////////////////////////////
-
using namespace ::com::sun::star;
-//////////////////////////////////////////////////////////////////////////////
-
namespace
{
sal_uInt32 getQualityIndex(const OUString& rString)
@@ -72,8 +68,6 @@ namespace
}
}
-//////////////////////////////////////////////////////////////////////////////
-
MultiImageImportHelper::MultiImageImportHelper()
: maImplContextVector(),
mbSupportsMultipleContents(false)
diff --git a/xmloff/source/core/xmltkmap.cxx b/xmloff/source/core/xmltkmap.cxx
index 1087017..dd6ce09 100644
--- a/xmloff/source/core/xmltkmap.cxx
+++ b/xmloff/source/core/xmltkmap.cxx
@@ -24,7 +24,6 @@
using namespace ::xmloff::token;
-
class SvXMLTokenMapEntry_Impl
{
sal_uInt16 nPrefixKey;
@@ -64,8 +63,6 @@ public:
class SvXMLTokenMap_Impl : public boost::ptr_set<SvXMLTokenMapEntry_Impl> {};
-// ---------------------------------------------------------------------
-
SvXMLTokenMapEntry_Impl *SvXMLTokenMap::_Find( sal_uInt16 nKeyPrefix,
const OUString& rLName ) const
{
@@ -106,5 +103,4 @@ sal_uInt16 SvXMLTokenMap::Get( sal_uInt16 nKeyPrefix,
return XML_TOK_UNKNOWN;
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/draw/XMLGraphicsDefaultStyle.cxx b/xmloff/source/draw/XMLGraphicsDefaultStyle.cxx
index dafadbf..0490ebe 100644
--- a/xmloff/source/draw/XMLGraphicsDefaultStyle.cxx
+++ b/xmloff/source/draw/XMLGraphicsDefaultStyle.cxx
@@ -27,7 +27,6 @@
#include "XMLShapePropertySetContext.hxx"
#include <xmloff/XMLGraphicsDefaultStyle.hxx>
-
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
@@ -39,8 +38,6 @@ using ::xmloff::token::XML_TEXT_PROPERTIES;
using ::xmloff::token::XML_GRAPHIC_PROPERTIES;
using ::xmloff::token::XML_PARAGRAPH_PROPERTIES;
-// ---------------------------------------------------------------------
-
TYPEINIT1( XMLGraphicsDefaultStyle, XMLPropStyleContext );
XMLGraphicsDefaultStyle::XMLGraphicsDefaultStyle( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, const Reference< XAttributeList >& xAttrList, SvXMLStylesContext& rStyles )
@@ -119,5 +116,4 @@ void XMLGraphicsDefaultStyle::SetDefaults()
FillPropertySet( xDefaults );
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/draw/XMLNumberStyles.cxx b/xmloff/source/draw/XMLNumberStyles.cxx
index 26dd94a..0fbbf79 100644
--- a/xmloff/source/draw/XMLNumberStyles.cxx
+++ b/xmloff/source/draw/XMLNumberStyles.cxx
@@ -31,7 +31,6 @@
using namespace ::xmloff::token;
-
struct SdXMLDataStyleNumber
{
enum XMLTokenEnum meNumberStyle;
@@ -86,7 +85,6 @@ struct SdXMLDataStyleNumber
#define DATA_STYLE_NUMBER_SECONDS 18 // <number:seconds/>
#define DATA_STYLE_NUMBER_SECONDS_02 19 // <number:seconds number:/>
-
struct SdXMLFixedDataStyle
{
const char* mpName;
@@ -312,8 +310,6 @@ const SdXMLFixedDataStyle* aSdXMLFixedTimeFormats[SdXMLTimeFormatCount] =
&aSdXML_TimeStyle_7
};
-
-///////////////////////////////////////////////////////////////////////
// export
static void SdXMLExportDataStyleNumber( SdXMLExport& rExport, SdXMLDataStyleNumber& rElement )
@@ -478,8 +474,6 @@ OUString SdXMLNumberStylesExporter::getDateStyleName(const sal_Int32 nDateFormat
}
}
-
-///////////////////////////////////////////////////////////////////////
// import
class SdXMLNumberFormatMemberImportContext : public SvXMLImportContext
@@ -587,7 +581,6 @@ void SdXMLNumberFormatMemberImportContext::Characters( const OUString& rChars )
TYPEINIT1( SdXMLNumberFormatImportContext, SvXMLImportContext );
-
SdXMLNumberFormatImportContext::SdXMLNumberFormatImportContext( SdXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLocalName, SvXMLNumImpData* pNewData, sal_uInt16 nNewType, const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList>& xAttrList, SvXMLStylesContext& rStyles)
: SvXMLNumFormatContext(rImport, nPrfx, rLocalName, pNewData, nNewType, xAttrList, rStyles),
mbAutomatic( sal_False ),
diff --git a/xmloff/source/draw/XMLShapePropertySetContext.cxx b/xmloff/source/draw/XMLShapePropertySetContext.cxx
index 22aacdf..226954d 100644
--- a/xmloff/source/draw/XMLShapePropertySetContext.cxx
+++ b/xmloff/source/draw/XMLShapePropertySetContext.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "XMLShapePropertySetContext.hxx"
#include <xmloff/xmlimp.hxx>
#include <xmloff/xmlnumi.hxx>
@@ -26,12 +25,9 @@
#include "sdpropls.hxx"
-
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
-//////////////////////////////////////////////////////////////////////////////
-
TYPEINIT1( XMLShapePropertySetContext, SvXMLPropertySetContext );
XMLShapePropertySetContext::XMLShapePropertySetContext(
diff --git a/xmloff/source/draw/XMLShapeStyleContext.cxx b/xmloff/source/draw/XMLShapeStyleContext.cxx
index a35a1da..736a5d1 100644
--- a/xmloff/source/draw/XMLShapeStyleContext.cxx
+++ b/xmloff/source/draw/XMLShapeStyleContext.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <tools/debug.hxx>
#include <xmloff/XMLShapeStyleContext.hxx>
#include "XMLShapePropertySetContext.hxx"
@@ -34,7 +33,6 @@
#include "sdpropls.hxx"
-
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
@@ -43,8 +41,6 @@ using ::xmloff::token::XML_TEXT_PROPERTIES;
using ::xmloff::token::XML_GRAPHIC_PROPERTIES;
using ::xmloff::token::XML_PARAGRAPH_PROPERTIES;
-//////////////////////////////////////////////////////////////////////////////
-
TYPEINIT1( XMLShapeStyleContext, XMLPropStyleContext );
XMLShapeStyleContext::XMLShapeStyleContext(
diff --git a/xmloff/source/draw/animationimport.cxx b/xmloff/source/draw/animationimport.cxx
index 99beb23..4ea26ce 100644
--- a/xmloff/source/draw/animationimport.cxx
+++ b/xmloff/source/draw/animationimport.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <xmloff/unointerfacetouniqueidentifiermapper.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
@@ -67,7 +66,6 @@
#include "animations.hxx"
#include "animationimport.hxx"
-
using namespace ::std;
using namespace ::cppu;
using namespace ::com::sun::star::beans;
@@ -90,15 +88,6 @@ using ::com::sun::star::lang::XInitialization;
namespace xmloff
{
-///////////////////////////////////////////////////////////////////////
-
-
-
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-
class AnimationsImportHelperImpl
{
private:
@@ -622,8 +611,6 @@ Any AnimationsImportHelperImpl::convertPath( const OUString& rValue )
return makeAny( rValue );
}
-///////////////////////////////////////////////////////////////////////
-
TYPEINIT1( AnimationNodeContext, SvXMLImportContext );
AnimationNodeContext::AnimationNodeContext(
@@ -1253,8 +1240,6 @@ SvXMLImportContext * AnimationNodeContext::CreateChildContext( sal_uInt16 nPrefi
return new SvXMLImportContext( GetImport(), nPrefix, rLocalName );
}
-// --------------------------------------------------------------------
-
class AnimationsImport: public SvXMLImport, public XAnimationNodeSupplier
{
public:
@@ -1377,7 +1362,6 @@ void AnimationNodeContext::postProcessRootNode( SvXMLImport& /*rImport*/, const
{
Reference< XTransitionFilter > xTransFilter( xChildNode, UNO_QUERY_THROW );
-
xPageProps->setPropertyValue("TransitionType", Any( xTransFilter->getTransition() ) );
xPageProps->setPropertyValue("TransitionSubtype", Any( xTransFilter->getSubtype() ) );
xPageProps->setPropertyValue("TransitionDirection", Any( xTransFilter->getDirection() ) );
diff --git a/xmloff/source/draw/animimp.cxx b/xmloff/source/draw/animimp.cxx
index f696488..3c73c03 100644
--- a/xmloff/source/draw/animimp.cxx
+++ b/xmloff/source/draw/animimp.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <xmloff/unointerfacetouniqueidentifiermapper.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/presentation/AnimationEffect.hpp>
@@ -37,7 +36,6 @@
#include "anim.hxx"
#include "animimp.hxx"
-
using namespace ::std;
using namespace ::cppu;
using namespace ::com::sun::star;
@@ -317,8 +315,6 @@ AnimationEffect ImplSdXMLgetEffect( XMLEffect eKind, XMLEffectDirection eDirecti
}
}
-///////////////////////////////////////////////////////////////////////
-
class AnimImpImpl
{
public:
@@ -356,8 +352,6 @@ public:
{}
};
-///////////////////////////////////////////////////////////////////////
-
enum XMLActionKind
{
XMLE_SHOW,
@@ -449,7 +443,6 @@ XMLAnimationsSoundContext::~XMLAnimationsSoundContext()
{
}
-
TYPEINIT1( XMLAnimationsEffectContext, SvXMLImportContext );
XMLAnimationsEffectContext::XMLAnimationsEffectContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLocalName, const Reference< XAttributeList >& xAttrList, AnimImpImpl* pImpl )
@@ -656,8 +649,6 @@ void XMLAnimationsEffectContext::EndElement()
}
}
-///////////////////////////////////////////////////////////////////////
-
TYPEINIT1( XMLAnimationsContext, SvXMLImportContext );
XMLAnimationsContext::XMLAnimationsContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLocalName,
diff --git a/xmloff/source/draw/descriptionimp.cxx b/xmloff/source/draw/descriptionimp.cxx
index 265918c..66df45a 100644
--- a/xmloff/source/draw/descriptionimp.cxx
+++ b/xmloff/source/draw/descriptionimp.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/xml/sax/XAttributeList.hpp>
#include <xmloff/xmltoken.hxx>
@@ -27,7 +26,6 @@
#include "descriptionimp.hxx"
-
using namespace ::std;
using namespace ::cppu;
using namespace ::com::sun::star;
@@ -38,8 +36,6 @@ using namespace ::com::sun::star::drawing;
using namespace ::com::sun::star::beans;
using namespace ::xmloff::token;
-///////////////////////////////////////////////////////////////////////
-
TYPEINIT1( SdXMLDescriptionContext, SvXMLImportContext );
SdXMLDescriptionContext::SdXMLDescriptionContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLocalName,
diff --git a/xmloff/source/draw/descriptionimp.hxx b/xmloff/source/draw/descriptionimp.hxx
index 5b77fa9..0284116 100644
--- a/xmloff/source/draw/descriptionimp.hxx
+++ b/xmloff/source/draw/descriptionimp.hxx
@@ -23,7 +23,6 @@
#include <xmloff/xmlictxt.hxx>
#include <com/sun/star/drawing/XShape.hpp>
-//////////////////////////////////////////////////////////////////////////////
// office:events inside a shape
class SdXMLDescriptionContext : public SvXMLImportContext
diff --git a/xmloff/source/draw/eventimp.cxx b/xmloff/source/draw/eventimp.cxx
index ba288e6..36e4156 100644
--- a/xmloff/source/draw/eventimp.cxx
+++ b/xmloff/source/draw/eventimp.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <tools/debug.hxx>
#include <com/sun/star/document/XEventsSupplier.hpp>
#include <com/sun/star/container/XNameReplace.hpp>
@@ -38,7 +37,6 @@
#include "eventimp.hxx"
#include "anim.hxx"
-
using namespace ::std;
using namespace ::cppu;
using namespace ::com::sun::star;
@@ -53,8 +51,6 @@ using namespace ::com::sun::star::container;
using namespace ::com::sun::star::presentation;
using namespace ::xmloff::token;
-///////////////////////////////////////////////////////////////////////
-
SvXMLEnumMapEntry const aXML_EventActions_EnumMap[] =
{
{ XML_NONE, ClickAction_NONE },
@@ -74,8 +70,6 @@ SvXMLEnumMapEntry const aXML_EventActions_EnumMap[] =
{ XML_TOKEN_INVALID, 0 }
};
-///////////////////////////////////////////////////////////////////////
-
class SdXMLEventContext : public SvXMLImportContext
{
private:
@@ -105,8 +99,6 @@ public:
OUString msLanguage;
};
-///////////////////////////////////////////////////////////////////////
-
class XMLEventSoundContext : public SvXMLImportContext
{
SdXMLEventContext* mpParent;
@@ -155,8 +147,6 @@ XMLEventSoundContext::~XMLEventSoundContext()
{
}
-///////////////////////////////////////////////////////////////////////
-
TYPEINIT1( SdXMLEventContext, SvXMLImportContext );
SdXMLEventContext::SdXMLEventContext( SvXMLImport& rImp, sal_uInt16 nPrfx, const OUString& rLocalName, const Reference< XAttributeList >& xAttrList, const Reference< XShape >& rxShape )
@@ -493,8 +483,6 @@ void SdXMLEventContext::EndElement()
} while(0);
}
-///////////////////////////////////////////////////////////////////////
-
TYPEINIT1( SdXMLEventsContext, SvXMLImportContext );
SdXMLEventsContext::SdXMLEventsContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLocalName,
diff --git a/xmloff/source/draw/eventimp.hxx b/xmloff/source/draw/eventimp.hxx
index 8704d99..59828d9 100644
--- a/xmloff/source/draw/eventimp.hxx
+++ b/xmloff/source/draw/eventimp.hxx
@@ -23,7 +23,6 @@
#include <xmloff/xmlictxt.hxx>
#include <com/sun/star/drawing/XShape.hpp>
-//////////////////////////////////////////////////////////////////////////////
// office:events inside a shape
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list