diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 18:16:42 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 08:18:05 +0000 |
commit | a238b1f8d304bf1e2ffb357937f3ec888ee8ac89 (patch) | |
tree | 083c0582d4bf80e313ed256ca476ba8f69c7f7a6 /xmloff | |
parent | 538f276ae0414ea34ede6090b5f56e8fecd6fc65 (diff) |
Remove excess newlines
A ridiculously fast way of doing this is:
for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \
--exclude-dir=workdir --exclude-dir=instdir '^
{3,}' .)
do
perl -0777 -i -pe 's/^
{3,}/
/gm' $i
done
Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c
Reviewed-on: https://gerrit.libreoffice.org/22224
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'xmloff')
93 files changed, 0 insertions, 335 deletions
diff --git a/xmloff/inc/DomBuilderContext.hxx b/xmloff/inc/DomBuilderContext.hxx index 2b01b462d0ea..89b9e2ad100b 100644 --- a/xmloff/inc/DomBuilderContext.hxx +++ b/xmloff/inc/DomBuilderContext.hxx @@ -23,7 +23,6 @@ #include <xmloff/xmlictxt.hxx> - // forward declarations @@ -62,7 +61,6 @@ public: virtual ~DomBuilderContext(); - // access to the DOM tree @@ -70,7 +68,6 @@ public: css::uno::Reference<css::xml::dom::XDocument> getTree(); - // implement SvXMLImportContext methods: diff --git a/xmloff/inc/MultiPropertySetHelper.hxx b/xmloff/inc/MultiPropertySetHelper.hxx index 028a3437b6d3..924e0d201c5e 100644 --- a/xmloff/inc/MultiPropertySetHelper.hxx +++ b/xmloff/inc/MultiPropertySetHelper.hxx @@ -116,7 +116,6 @@ public: void getValues( const css::uno::Reference<css::beans::XPropertySet> & ); - /** * Get a value from the values array. * diff --git a/xmloff/inc/txtflde.hxx b/xmloff/inc/txtflde.hxx index a064f0d3face..3b50ba4ccd9d 100644 --- a/xmloff/inc/txtflde.hxx +++ b/xmloff/inc/txtflde.hxx @@ -149,7 +149,6 @@ enum FieldIdEnum { }; - class XMLTextFieldExport { SvXMLExport& rExport; @@ -503,10 +502,6 @@ private: }; - - - - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/inc/txtvfldi.hxx b/xmloff/inc/txtvfldi.hxx index 43c8a28bd6e4..1d3807980b4c 100644 --- a/xmloff/inc/txtvfldi.hxx +++ b/xmloff/inc/txtvfldi.hxx @@ -93,7 +93,6 @@ public: }; - /** * abstract parent class for all variable related fields * - variable-set/get/decl (not -decls), @@ -194,7 +193,6 @@ protected: }; - /** import variable get fields (<text:variable-get>) */ class XMLVariableGetFieldImportContext : public XMLVarFieldImportContext { @@ -216,7 +214,6 @@ protected: }; - /** import expression fields (<text:expression>) */ class XMLExpressionFieldImportContext : public XMLVarFieldImportContext { @@ -258,10 +255,6 @@ protected: }; - - - - /** * uperclass for variable/user-set, var/user-input, and sequence fields * inds field master of appropriate type and attaches field to it. @@ -308,7 +301,6 @@ protected: }; - /** import variable set fields (<text:variable-set>) */ class XMLVariableSetFieldImportContext : public XMLSetVarFieldImportContext { @@ -330,7 +322,6 @@ protected: }; - /** variable input fields (<text:variable-input>) */ class XMLVariableInputFieldImportContext : public XMLSetVarFieldImportContext { @@ -354,7 +345,6 @@ protected: }; - /** user fields (<text:user-field-get>) */ class XMLUserFieldImportContext : public XMLSetVarFieldImportContext { @@ -387,7 +377,6 @@ public: }; - /** sequence fields (<text:sequence>) */ class XMLSequenceFieldImportContext : public XMLSetVarFieldImportContext { @@ -420,10 +409,6 @@ protected: }; - - - - /** * variable declaration container for all variable fields * (variable-decls, user-field-decls, sequence-decls) @@ -485,7 +470,6 @@ public: }; - /** import table formula fields (deprecated; for Writer 2.0 compatibility) */ class XMLTableFormulaImportContext : public XMLTextFieldImportContext { @@ -518,7 +502,6 @@ protected: }; - /** import database display fields (<text:database-display>) */ class XMLDatabaseDisplayImportContext : public XMLDatabaseFieldImportContext { diff --git a/xmloff/source/chart/SchXMLCalculationSettingsContext.cxx b/xmloff/source/chart/SchXMLCalculationSettingsContext.cxx index d988c932c7ca..573941ec64d3 100644 --- a/xmloff/source/chart/SchXMLCalculationSettingsContext.cxx +++ b/xmloff/source/chart/SchXMLCalculationSettingsContext.cxx @@ -29,7 +29,6 @@ #include <xmloff/xmltoken.hxx> - using namespace ::com::sun::star::uno; using namespace ::com::sun::star::beans; using namespace ::com::sun::star; diff --git a/xmloff/source/chart/XMLChartStyleContext.cxx b/xmloff/source/chart/XMLChartStyleContext.cxx index 5e2322e590ac..d3421909be04 100644 --- a/xmloff/source/chart/XMLChartStyleContext.cxx +++ b/xmloff/source/chart/XMLChartStyleContext.cxx @@ -37,7 +37,6 @@ using ::xmloff::token::XML_GRAPHIC_PROPERTIES; using ::xmloff::token::XML_CHART_PROPERTIES; - void XMLChartStyleContext::SetAttribute( sal_uInt16 nPrefixKey, const OUString& rLocalName, diff --git a/xmloff/source/core/DomBuilderContext.cxx b/xmloff/source/core/DomBuilderContext.cxx index 2aa6935027aa..7969b171e471 100644 --- a/xmloff/source/core/DomBuilderContext.cxx +++ b/xmloff/source/core/DomBuilderContext.cxx @@ -179,7 +179,6 @@ void DomBuilderContext::Characters( const OUString& rCharacters ) } - // helper function implementations diff --git a/xmloff/source/core/DomExport.cxx b/xmloff/source/core/DomExport.cxx index 1d7d1ae1e623..816334967b0d 100644 --- a/xmloff/source/core/DomExport.cxx +++ b/xmloff/source/core/DomExport.cxx @@ -55,7 +55,6 @@ using std::vector; using namespace com::sun::star::xml::dom; - class DomVisitor { public: @@ -70,7 +69,6 @@ void visit( DomVisitor&, const Reference<XDocument>& ); void visit( DomVisitor&, const Reference<XNode>& ); - void visitNode( DomVisitor& rVisitor, const Reference<XNode>& xNode ) { switch( xNode->getNodeType() ) @@ -126,7 +124,6 @@ void visit( DomVisitor& rVisitor, const Reference<XNode>& xNode ) } - class DomExport: public DomVisitor { SvXMLExport& mrExport; diff --git a/xmloff/source/core/SvXMLAttr.cxx b/xmloff/source/core/SvXMLAttr.cxx index a5be7be2698c..5fa0f5ce5ce4 100644 --- a/xmloff/source/core/SvXMLAttr.cxx +++ b/xmloff/source/core/SvXMLAttr.cxx @@ -35,6 +35,4 @@ bool SvXMLAttr::operator== (const SvXMLAttr &rCmp) const } - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/core/attrlist.cxx b/xmloff/source/core/attrlist.cxx index af62a69db10e..c3a651c964b3 100644 --- a/xmloff/source/core/attrlist.cxx +++ b/xmloff/source/core/attrlist.cxx @@ -69,7 +69,6 @@ struct SvXMLAttributeList_Impl }; - sal_Int16 SAL_CALL SvXMLAttributeList::getLength() throw( css::uno::RuntimeException, std::exception ) { return sal::static_int_cast< sal_Int16 >(m_pImpl->vecAttribute.size()); @@ -145,7 +144,6 @@ SvXMLAttributeList::SvXMLAttributeList() } - SvXMLAttributeList::~SvXMLAttributeList() { } diff --git a/xmloff/source/core/xmlerror.cxx b/xmloff/source/core/xmlerror.cxx index 738e1ac0d2c2..eebd4ba91746 100644 --- a/xmloff/source/core/xmlerror.cxx +++ b/xmloff/source/core/xmlerror.cxx @@ -35,7 +35,6 @@ using ::com::sun::star::xml::sax::XLocator; using ::com::sun::star::xml::sax::SAXParseException; - /// ErrorRecord: contains all information for one error @@ -85,8 +84,6 @@ ErrorRecord::~ErrorRecord() } - - XMLErrors::XMLErrors() { } diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx index f910b09ba792..8ebfcf13e607 100644 --- a/xmloff/source/core/xmlexp.cxx +++ b/xmloff/source/core/xmlexp.cxx @@ -2530,7 +2530,6 @@ bool SvXMLExport::SetNullDateOnUnitConverter() } - void SvXMLElementExport::StartElement( const sal_uInt16 nPrefixKey, const OUString& rLName, diff --git a/xmloff/source/core/xmltoken.cxx b/xmloff/source/core/xmltoken.cxx index d3af42ff251b..4b780a4016d7 100644 --- a/xmloff/source/core/xmltoken.cxx +++ b/xmloff/source/core/xmltoken.cxx @@ -40,8 +40,6 @@ namespace xmloff { namespace token { } - - #if OSL_DEBUG_LEVEL > 0 #define TOKEN( s, e ) { sizeof(s)-1, s, nullptr, e } #else diff --git a/xmloff/source/draw/XMLImageMapContext.cxx b/xmloff/source/draw/XMLImageMapContext.cxx index ee7290abfc73..12ca0fb16286 100644 --- a/xmloff/source/draw/XMLImageMapContext.cxx +++ b/xmloff/source/draw/XMLImageMapContext.cxx @@ -94,7 +94,6 @@ static SvXMLTokenMapEntry aImageMapObjectTokenMap[] = }; - class XMLImageMapObjectContext : public SvXMLImportContext { @@ -153,7 +152,6 @@ protected: }; - XMLImageMapObjectContext::XMLImageMapObjectContext( SvXMLImport& rImport, sal_uInt16 nPrefix, @@ -300,7 +298,6 @@ void XMLImageMapObjectContext::Prepare( } - class XMLImageMapRectangleContext : public XMLImageMapObjectContext { awt::Rectangle aRectangle; @@ -330,8 +327,6 @@ protected: }; - - XMLImageMapRectangleContext::XMLImageMapRectangleContext( SvXMLImport& rImport, sal_uInt16 nPrefix, @@ -436,8 +431,6 @@ protected: }; - - XMLImageMapPolygonContext::XMLImageMapPolygonContext( SvXMLImport& rImport, sal_uInt16 nPrefix, @@ -603,15 +596,6 @@ void XMLImageMapCircleContext::Prepare( } - - - - - - - - - XMLImageMapContext::XMLImageMapContext( SvXMLImport& rImport, sal_uInt16 nPrefix, diff --git a/xmloff/source/draw/layerimp.cxx b/xmloff/source/draw/layerimp.cxx index b923c78fa0ad..e7079456e540 100644 --- a/xmloff/source/draw/layerimp.cxx +++ b/xmloff/source/draw/layerimp.cxx @@ -142,7 +142,6 @@ void SdXMLLayerContext::EndElement() } - SdXMLLayerSetContext::SdXMLLayerSetContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>&) : SvXMLImportContext(rImport, nPrfx, rLocalName) diff --git a/xmloff/source/draw/ximpstyl.cxx b/xmloff/source/draw/ximpstyl.cxx index 6c9b6d5c9759..978199e4c722 100644 --- a/xmloff/source/draw/ximpstyl.cxx +++ b/xmloff/source/draw/ximpstyl.cxx @@ -1457,7 +1457,6 @@ uno::Reference< container::XNameAccess > SdXMLStylesContext::getPageLayouts() co } - SdXMLMasterStylesContext::SdXMLMasterStylesContext( SdXMLImport& rImport, sal_uInt16 nPrfx, diff --git a/xmloff/source/script/XMLEventsImportContext.cxx b/xmloff/source/script/XMLEventsImportContext.cxx index 3e60c2d5d769..9e7c3be94114 100644 --- a/xmloff/source/script/XMLEventsImportContext.cxx +++ b/xmloff/source/script/XMLEventsImportContext.cxx @@ -38,7 +38,6 @@ using ::com::sun::star::document::XEventsSupplier; using ::com::sun::star::lang::IllegalArgumentException; - XMLEventsImportContext::XMLEventsImportContext( SvXMLImport& rImport, sal_uInt16 nPrfx, diff --git a/xmloff/source/style/MultiPropertySetHelper.cxx b/xmloff/source/style/MultiPropertySetHelper.cxx index 382a1908cc4e..8d334469b4a2 100644 --- a/xmloff/source/style/MultiPropertySetHelper.cxx +++ b/xmloff/source/style/MultiPropertySetHelper.cxx @@ -110,7 +110,6 @@ bool MultiPropertySetHelper::checkedProperties() } - void MultiPropertySetHelper::getValues( const Reference<XMultiPropertySet> & rMultiPropertySet ) { diff --git a/xmloff/source/style/XMLBackgroundImageContext.cxx b/xmloff/source/style/XMLBackgroundImageContext.cxx index 27249882f56c..1337227b63ea 100644 --- a/xmloff/source/style/XMLBackgroundImageContext.cxx +++ b/xmloff/source/style/XMLBackgroundImageContext.cxx @@ -71,7 +71,6 @@ static const SvXMLTokenMapEntry* lcl_getBGImgAttributesAttrTokenMap() } - static const SvXMLEnumMapEntry psXML_BrushHoriPos[] = { { XML_LEFT, GraphicLocation_LEFT_MIDDLE }, diff --git a/xmloff/source/style/XMLElementPropertyContext.cxx b/xmloff/source/style/XMLElementPropertyContext.cxx index 8127ba5163ea..176936a4830c 100644 --- a/xmloff/source/style/XMLElementPropertyContext.cxx +++ b/xmloff/source/style/XMLElementPropertyContext.cxx @@ -20,7 +20,6 @@ #include "XMLElementPropertyContext.hxx" - XMLElementPropertyContext::XMLElementPropertyContext ( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, diff --git a/xmloff/source/style/XMLFontStylesContext.cxx b/xmloff/source/style/XMLFontStylesContext.cxx index 3d8f24accb6f..2d5469d3d282 100644 --- a/xmloff/source/style/XMLFontStylesContext.cxx +++ b/xmloff/source/style/XMLFontStylesContext.cxx @@ -230,7 +230,6 @@ SvXMLImportContext * XMLFontStyleContextFontFaceSrc::CreateChildContext( } - XMLFontStyleContextFontFaceUri::XMLFontStyleContextFontFaceUri( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList, diff --git a/xmloff/source/style/XMLFootnoteSeparatorImport.cxx b/xmloff/source/style/XMLFootnoteSeparatorImport.cxx index 4a8383baa6d2..83775bdd2976 100644 --- a/xmloff/source/style/XMLFootnoteSeparatorImport.cxx +++ b/xmloff/source/style/XMLFootnoteSeparatorImport.cxx @@ -52,8 +52,6 @@ using ::com::sun::star::uno::Reference; using ::com::sun::star::xml::sax::XAttributeList; - - XMLFootnoteSeparatorImport::XMLFootnoteSeparatorImport( SvXMLImport& rImport, sal_uInt16 nPrefix, diff --git a/xmloff/source/style/xmlimppr.cxx b/xmloff/source/style/xmlimppr.cxx index 91b167e58169..fd11c9c54d8e 100644 --- a/xmloff/source/style/xmlimppr.cxx +++ b/xmloff/source/style/xmlimppr.cxx @@ -549,7 +549,6 @@ bool SvXMLImportPropertyMapper::_FillPropertySet( } - typedef pair<const OUString*, const Any* > PropertyPair; typedef vector<PropertyPair> PropertyPairs; diff --git a/xmloff/source/style/xmlnume.cxx b/xmloff/source/style/xmlnume.cxx index 5293539cd486..8b0aa079c32d 100644 --- a/xmloff/source/style/xmlnume.cxx +++ b/xmloff/source/style/xmlnume.cxx @@ -50,7 +50,6 @@ #include <tools/fontenum.hxx> - using namespace ::com::sun::star; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::style; diff --git a/xmloff/source/style/xmltabi.cxx b/xmloff/source/style/xmltabi.cxx index 4d6445f9ee06..d922b4b233d5 100644 --- a/xmloff/source/style/xmltabi.cxx +++ b/xmloff/source/style/xmltabi.cxx @@ -54,7 +54,6 @@ static SvXMLTokenMapEntry aTabsAttributesAttrTokenMap[] = }; - class SvxXMLTabStopContext_Impl : public SvXMLImportContext { private: @@ -259,6 +258,4 @@ void SvxXMLTabStopImportContext::EndElement( ) } - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLAutoMarkFileContext.cxx b/xmloff/source/text/XMLAutoMarkFileContext.cxx index 0fae935e9da5..bbf03c0959e0 100644 --- a/xmloff/source/text/XMLAutoMarkFileContext.cxx +++ b/xmloff/source/text/XMLAutoMarkFileContext.cxx @@ -38,7 +38,6 @@ using ::xmloff::token::IsXMLToken; using ::xmloff::token::XML_HREF; - XMLAutoMarkFileContext::XMLAutoMarkFileContext( SvXMLImport& rImport, sal_uInt16 nPrefix, diff --git a/xmloff/source/text/XMLAutoTextContainerEventImport.cxx b/xmloff/source/text/XMLAutoTextContainerEventImport.cxx index ad8babb73adf..56d3f02e2f80 100644 --- a/xmloff/source/text/XMLAutoTextContainerEventImport.cxx +++ b/xmloff/source/text/XMLAutoTextContainerEventImport.cxx @@ -38,8 +38,6 @@ using ::xmloff::token::IsXMLToken; using ::xmloff::token::XML_EVENT_LISTENERS; - - XMLAutoTextContainerEventImport::XMLAutoTextContainerEventImport( SvXMLImport& rImport, sal_uInt16 nPrfx, diff --git a/xmloff/source/text/XMLAutoTextEventExport.cxx b/xmloff/source/text/XMLAutoTextEventExport.cxx index e1a9a71d72ae..99c3a2fed640 100644 --- a/xmloff/source/text/XMLAutoTextEventExport.cxx +++ b/xmloff/source/text/XMLAutoTextEventExport.cxx @@ -194,7 +194,6 @@ void XMLAutoTextEventExport::exportEvents() } - // methods without content: void XMLAutoTextEventExport::_ExportMeta() {} @@ -206,7 +205,6 @@ void XMLAutoTextEventExport::_ExportMasterStyles() {} void XMLAutoTextEventExport::_ExportContent() {} - // methods to support the component registration Sequence< OUString > SAL_CALL XMLAutoTextEventExport_getSupportedServiceNames() diff --git a/xmloff/source/text/XMLAutoTextEventImport.cxx b/xmloff/source/text/XMLAutoTextEventImport.cxx index 64682909af88..c78c5a92d2ee 100644 --- a/xmloff/source/text/XMLAutoTextEventImport.cxx +++ b/xmloff/source/text/XMLAutoTextEventImport.cxx @@ -85,7 +85,6 @@ void XMLAutoTextEventImport::initialize( } - SvXMLImportContext* XMLAutoTextEventImport::CreateContext( sal_uInt16 nPrefix, const OUString& rLocalName, diff --git a/xmloff/source/text/XMLCalculationSettingsContext.cxx b/xmloff/source/text/XMLCalculationSettingsContext.cxx index d699313d2e2c..95d5deb0ee89 100644 --- a/xmloff/source/text/XMLCalculationSettingsContext.cxx +++ b/xmloff/source/text/XMLCalculationSettingsContext.cxx @@ -31,7 +31,6 @@ #include <xmloff/xmltoken.hxx> - using namespace ::com::sun::star::uno; using namespace ::com::sun::star::beans; using namespace ::com::sun::star::text; diff --git a/xmloff/source/text/XMLChangeElementImportContext.cxx b/xmloff/source/text/XMLChangeElementImportContext.cxx index ad97de857083..da88a8e3257d 100644 --- a/xmloff/source/text/XMLChangeElementImportContext.cxx +++ b/xmloff/source/text/XMLChangeElementImportContext.cxx @@ -26,7 +26,6 @@ #include <xmloff/xmltoken.hxx> - using ::com::sun::star::uno::Reference; using ::com::sun::star::xml::sax::XAttributeList; using ::xmloff::token::IsXMLToken; diff --git a/xmloff/source/text/XMLChangeElementImportContext.hxx b/xmloff/source/text/XMLChangeElementImportContext.hxx index 5e6967edba46..3713a2dbfd3c 100644 --- a/xmloff/source/text/XMLChangeElementImportContext.hxx +++ b/xmloff/source/text/XMLChangeElementImportContext.hxx @@ -33,7 +33,6 @@ namespace com { namespace sun { namespace star { class XMLChangedRegionImportContext; - /** * Import <text:deletion> and <text:insertion> elements contained in a * <text:changed-region> element. diff --git a/xmloff/source/text/XMLChangeImportContext.hxx b/xmloff/source/text/XMLChangeImportContext.hxx index 3c0afa1e0106..9bd88cb7ed0b 100644 --- a/xmloff/source/text/XMLChangeImportContext.hxx +++ b/xmloff/source/text/XMLChangeImportContext.hxx @@ -32,7 +32,6 @@ namespace com { namespace sun { namespace star { } } } - /** * import change tracking/redlining markers * <text:change>, <text:change-start>, <text:change-end> diff --git a/xmloff/source/text/XMLChangeInfoContext.cxx b/xmloff/source/text/XMLChangeInfoContext.cxx index c8c85d4d479e..48ec70531c21 100644 --- a/xmloff/source/text/XMLChangeInfoContext.cxx +++ b/xmloff/source/text/XMLChangeInfoContext.cxx @@ -27,14 +27,12 @@ #include <xmloff/xmlimp.hxx> - using namespace ::xmloff::token; using ::com::sun::star::uno::Reference; using ::com::sun::star::xml::sax::XAttributeList; - XMLChangeInfoContext::XMLChangeInfoContext( SvXMLImport& rImport, sal_uInt16 nPrefix, diff --git a/xmloff/source/text/XMLChangeInfoContext.hxx b/xmloff/source/text/XMLChangeInfoContext.hxx index e58a6dc34038..0599a4ce2a5b 100644 --- a/xmloff/source/text/XMLChangeInfoContext.hxx +++ b/xmloff/source/text/XMLChangeInfoContext.hxx @@ -32,7 +32,6 @@ namespace com { namespace sun { namespace star { class XMLChangedRegionImportContext; - /** * Import <office:change-info> elements as children of <text:changed-region> * elements. The attribute values will be passed to the enclosing diff --git a/xmloff/source/text/XMLChangedRegionImportContext.cxx b/xmloff/source/text/XMLChangedRegionImportContext.cxx index fc10bbf58b57..a8b54740a5dd 100644 --- a/xmloff/source/text/XMLChangedRegionImportContext.cxx +++ b/xmloff/source/text/XMLChangedRegionImportContext.cxx @@ -39,8 +39,6 @@ using namespace ::com::sun::star; using ::com::sun::star::xml::sax::XAttributeList; - - XMLChangedRegionImportContext::XMLChangedRegionImportContext( SvXMLImport& rImport, sal_uInt16 nPrefix, diff --git a/xmloff/source/text/XMLFootnoteBodyImportContext.cxx b/xmloff/source/text/XMLFootnoteBodyImportContext.cxx index a7f124bdd6aa..c55e1164caff 100644 --- a/xmloff/source/text/XMLFootnoteBodyImportContext.cxx +++ b/xmloff/source/text/XMLFootnoteBodyImportContext.cxx @@ -31,7 +31,6 @@ using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::xml::sax::XAttributeList; - XMLFootnoteBodyImportContext::XMLFootnoteBodyImportContext( SvXMLImport& rImport, sal_uInt16 nPrfx, diff --git a/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx b/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx index c38d7f978777..b2edb7c5175d 100644 --- a/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx +++ b/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx @@ -42,7 +42,6 @@ #include <com/sun/star/style/NumberingType.hpp> - using namespace ::com::sun::star::text; using namespace ::com::sun::star::beans; using namespace ::com::sun::star::uno; @@ -108,12 +107,9 @@ void XMLFootnoteConfigHelper::Characters( const OUString& rChars ) } - // XMLFootnoteConfigurationImportContext - - XMLFootnoteConfigurationImportContext::XMLFootnoteConfigurationImportContext( SvXMLImport& rImport, sal_uInt16 nPrfx, diff --git a/xmloff/source/text/XMLFootnoteImportContext.cxx b/xmloff/source/text/XMLFootnoteImportContext.cxx index e85d90e155ba..a3eeb5da0551 100644 --- a/xmloff/source/text/XMLFootnoteImportContext.cxx +++ b/xmloff/source/text/XMLFootnoteImportContext.cxx @@ -37,7 +37,6 @@ #include <com/sun/star/text/XFootnote.hpp> - using namespace ::com::sun::star::uno; using namespace ::com::sun::star::text; using namespace ::com::sun::star::lang; diff --git a/xmloff/source/text/XMLIndexAlphabeticalSourceContext.cxx b/xmloff/source/text/XMLIndexAlphabeticalSourceContext.cxx index b194a2fd6f16..b5b19233241e 100644 --- a/xmloff/source/text/XMLIndexAlphabeticalSourceContext.cxx +++ b/xmloff/source/text/XMLIndexAlphabeticalSourceContext.cxx @@ -38,8 +38,6 @@ #include <rtl/ustring.hxx> - - using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Any; @@ -60,7 +58,6 @@ const sal_Char sAPI_SortAlgorithm[] = "SortAlgorithm"; const sal_Char sAPI_Locale[] = "Locale"; - XMLIndexAlphabeticalSourceContext::XMLIndexAlphabeticalSourceContext( SvXMLImport& rImport, sal_uInt16 nPrfx, diff --git a/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx b/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx index 7ea90a7066d4..19e15810f37c 100644 --- a/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx +++ b/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx @@ -44,7 +44,6 @@ const sal_Char sAPI_FieldMaster_Bibliography[] = "com.sun.star.text.FieldMaster.Bibliography"; - XMLIndexBibliographyConfigurationContext::XMLIndexBibliographyConfigurationContext( SvXMLImport& rImport, sal_uInt16 nPrfx, diff --git a/xmloff/source/text/XMLIndexBibliographySourceContext.cxx b/xmloff/source/text/XMLIndexBibliographySourceContext.cxx index 301ec6185234..8cebc1329eb7 100644 --- a/xmloff/source/text/XMLIndexBibliographySourceContext.cxx +++ b/xmloff/source/text/XMLIndexBibliographySourceContext.cxx @@ -41,8 +41,6 @@ using ::com::sun::star::uno::Any; using ::com::sun::star::xml::sax::XAttributeList; - - XMLIndexBibliographySourceContext::XMLIndexBibliographySourceContext( SvXMLImport& rImport, sal_uInt16 nPrfx, diff --git a/xmloff/source/text/XMLIndexBodyContext.cxx b/xmloff/source/text/XMLIndexBodyContext.cxx index f5752a21b03c..23529f632e4d 100644 --- a/xmloff/source/text/XMLIndexBodyContext.cxx +++ b/xmloff/source/text/XMLIndexBodyContext.cxx @@ -27,7 +27,6 @@ using ::com::sun::star::uno::Reference; using ::com::sun::star::xml::sax::XAttributeList; - XMLIndexBodyContext::XMLIndexBodyContext( SvXMLImport& rImport, sal_uInt16 nPrfx, diff --git a/xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx b/xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx index 50c02bcf1a83..554e7514e63a 100644 --- a/xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx +++ b/xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx @@ -45,8 +45,6 @@ using ::com::sun::star::uno::Any; using ::com::sun::star::xml::sax::XAttributeList; - - XMLIndexChapterInfoEntryContext::XMLIndexChapterInfoEntryContext( SvXMLImport& rImport, XMLIndexTemplateContext& rTemplate, diff --git a/xmloff/source/text/XMLIndexIllustrationSourceContext.cxx b/xmloff/source/text/XMLIndexIllustrationSourceContext.cxx index 81d2a88d43a0..c3e8ea08dad5 100644 --- a/xmloff/source/text/XMLIndexIllustrationSourceContext.cxx +++ b/xmloff/source/text/XMLIndexIllustrationSourceContext.cxx @@ -38,7 +38,6 @@ using ::xmloff::token::XML_ILLUSTRATION_INDEX_ENTRY_TEMPLATE; using ::xmloff::token::XML_TOKEN_INVALID; - XMLIndexIllustrationSourceContext::XMLIndexIllustrationSourceContext( SvXMLImport& rImport, sal_uInt16 nPrfx, diff --git a/xmloff/source/text/XMLIndexMarkExport.cxx b/xmloff/source/text/XMLIndexMarkExport.cxx index 6e88b5066c5f..b4f0ad1d7ea9 100644 --- a/xmloff/source/text/XMLIndexMarkExport.cxx +++ b/xmloff/source/text/XMLIndexMarkExport.cxx @@ -37,7 +37,6 @@ using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Any; - XMLIndexMarkExport::XMLIndexMarkExport( SvXMLExport& rExp) : sLevel("Level") diff --git a/xmloff/source/text/XMLIndexObjectSourceContext.cxx b/xmloff/source/text/XMLIndexObjectSourceContext.cxx index 5bd8eaf1dfc3..fba25b3e7353 100644 --- a/xmloff/source/text/XMLIndexObjectSourceContext.cxx +++ b/xmloff/source/text/XMLIndexObjectSourceContext.cxx @@ -53,7 +53,6 @@ const sal_Char sAPI_CreateFromStarMath[] = "CreateFromStarMath"; const sal_Char sAPI_CreateFromOtherEmbeddedObjects[] = "CreateFromOtherEmbeddedObjects"; - XMLIndexObjectSourceContext::XMLIndexObjectSourceContext( SvXMLImport& rImport, sal_uInt16 nPrfx, diff --git a/xmloff/source/text/XMLIndexSourceBaseContext.cxx b/xmloff/source/text/XMLIndexSourceBaseContext.cxx index 41c17c527afb..2d841e3d6747 100644 --- a/xmloff/source/text/XMLIndexSourceBaseContext.cxx +++ b/xmloff/source/text/XMLIndexSourceBaseContext.cxx @@ -33,7 +33,6 @@ #include <rtl/ustring.hxx> - using namespace ::xmloff::token; using ::com::sun::star::beans::XPropertySet; @@ -145,7 +144,6 @@ static const SvXMLTokenMapEntry aIndexSourceTokenMap[] = }; - XMLIndexSourceBaseContext::XMLIndexSourceBaseContext( SvXMLImport& rImport, sal_uInt16 nPrfx, diff --git a/xmloff/source/text/XMLIndexSpanEntryContext.cxx b/xmloff/source/text/XMLIndexSpanEntryContext.cxx index 19b35714450c..d3bfef932e83 100644 --- a/xmloff/source/text/XMLIndexSpanEntryContext.cxx +++ b/xmloff/source/text/XMLIndexSpanEntryContext.cxx @@ -28,7 +28,6 @@ using ::com::sun::star::uno::Any; using ::com::sun::star::beans::PropertyValue; - XMLIndexSpanEntryContext::XMLIndexSpanEntryContext( SvXMLImport& rImport, XMLIndexTemplateContext& rTemplate, diff --git a/xmloff/source/text/XMLIndexTOCContext.cxx b/xmloff/source/text/XMLIndexTOCContext.cxx index c51bf801ac5f..9ed5e223c363 100644 --- a/xmloff/source/text/XMLIndexTOCContext.cxx +++ b/xmloff/source/text/XMLIndexTOCContext.cxx @@ -58,7 +58,6 @@ using ::com::sun::star::lang::XMultiServiceFactory; using ::com::sun::star::lang::IllegalArgumentException; - static const sal_Char* aIndexServiceMap[] = { "com.sun.star.text.ContentIndex", diff --git a/xmloff/source/text/XMLIndexTOCSourceContext.cxx b/xmloff/source/text/XMLIndexTOCSourceContext.cxx index 5c697ff2f0cb..59f8497f40b5 100644 --- a/xmloff/source/text/XMLIndexTOCSourceContext.cxx +++ b/xmloff/source/text/XMLIndexTOCSourceContext.cxx @@ -33,7 +33,6 @@ #include <rtl/ustring.hxx> - using namespace ::xmloff::token; using ::com::sun::star::beans::XPropertySet; @@ -47,7 +46,6 @@ const sal_Char sAPI_Level[] = "Level"; const sal_Char sAPI_CreateFromLevelParagraphStyles[] = "CreateFromLevelParagraphStyles"; - XMLIndexTOCSourceContext::XMLIndexTOCSourceContext( SvXMLImport& rImport, sal_uInt16 nPrfx, diff --git a/xmloff/source/text/XMLIndexTOCStylesContext.cxx b/xmloff/source/text/XMLIndexTOCStylesContext.cxx index aabd907ab7f9..d218d9ad9c93 100644 --- a/xmloff/source/text/XMLIndexTOCStylesContext.cxx +++ b/xmloff/source/text/XMLIndexTOCStylesContext.cxx @@ -44,7 +44,6 @@ using ::com::sun::star::xml::sax::XAttributeList; const sal_Char sAPI_LevelParagraphStyles[] = "LevelParagraphStyles"; - XMLIndexTOCStylesContext::XMLIndexTOCStylesContext( SvXMLImport& rImport, Reference<XPropertySet> & rPropSet, sal_uInt16 nPrfx, const OUString& rLocalName) diff --git a/xmloff/source/text/XMLIndexTabStopEntryContext.cxx b/xmloff/source/text/XMLIndexTabStopEntryContext.cxx index c5ae4f36f3f3..614c4f07c0e3 100644 --- a/xmloff/source/text/XMLIndexTabStopEntryContext.cxx +++ b/xmloff/source/text/XMLIndexTabStopEntryContext.cxx @@ -42,7 +42,6 @@ using ::com::sun::star::beans::PropertyValue; using ::com::sun::star::xml::sax::XAttributeList; - XMLIndexTabStopEntryContext::XMLIndexTabStopEntryContext( SvXMLImport& rImport, XMLIndexTemplateContext& rTemplate, diff --git a/xmloff/source/text/XMLIndexTableSourceContext.cxx b/xmloff/source/text/XMLIndexTableSourceContext.cxx index 6e88ad50ad53..871a75589604 100644 --- a/xmloff/source/text/XMLIndexTableSourceContext.cxx +++ b/xmloff/source/text/XMLIndexTableSourceContext.cxx @@ -52,8 +52,6 @@ const sal_Char sAPI_LabelCategory[] = "LabelCategory"; const sal_Char sAPI_LabelDisplayType[] = "LabelDisplayType"; - - XMLIndexTableSourceContext::XMLIndexTableSourceContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLocalName, Reference<XPropertySet> & rPropSet) diff --git a/xmloff/source/text/XMLIndexTemplateContext.cxx b/xmloff/source/text/XMLIndexTemplateContext.cxx index c94a753a5f12..906fabff092e 100644 --- a/xmloff/source/text/XMLIndexTemplateContext.cxx +++ b/xmloff/source/text/XMLIndexTemplateContext.cxx @@ -60,7 +60,6 @@ const sal_Char sAPI_TokenBibliographyDataField[] = "TokenBibliographyDataField"; - XMLIndexTemplateContext::XMLIndexTemplateContext( SvXMLImport& rImport, Reference<XPropertySet> & rPropSet, @@ -220,7 +219,6 @@ void XMLIndexTemplateContext::EndElement() } - /// template token types; used for aTokenTypeMap parameter enum TemplateTokenType { @@ -329,12 +327,9 @@ SvXMLImportContext *XMLIndexTemplateContext::CreateChildContext( } - - // maps for the XMLIndexTemplateContext constructor - // table of content and user defined index: const SvXMLEnumMapEntry aSvLevelNameTOCMap[] = diff --git a/xmloff/source/text/XMLIndexTemplateContext.hxx b/xmloff/source/text/XMLIndexTemplateContext.hxx index 208f66b36094..387d4f1f5097 100644 --- a/xmloff/source/text/XMLIndexTemplateContext.hxx +++ b/xmloff/source/text/XMLIndexTemplateContext.hxx @@ -110,7 +110,6 @@ public: const OUString sLevelFormat; - XMLIndexTemplateContext( SvXMLImport& rImport, css::uno::Reference<css::beans::XPropertySet> & rPropSet, diff --git a/xmloff/source/text/XMLIndexTitleTemplateContext.cxx b/xmloff/source/text/XMLIndexTitleTemplateContext.cxx index 9233e1380334..4530be7efdc4 100644 --- a/xmloff/source/text/XMLIndexTitleTemplateContext.cxx +++ b/xmloff/source/text/XMLIndexTitleTemplateContext.cxx @@ -33,7 +33,6 @@ using ::xmloff::token::IsXMLToken; using ::xmloff::token::XML_STYLE_NAME; - XMLIndexTitleTemplateContext::XMLIndexTitleTemplateContext( SvXMLImport& rImport, Reference<XPropertySet> & rPropSet, diff --git a/xmloff/source/text/XMLIndexUserSourceContext.cxx b/xmloff/source/text/XMLIndexUserSourceContext.cxx index a08db5c5510e..a4a2d5cedac1 100644 --- a/xmloff/source/text/XMLIndexUserSourceContext.cxx +++ b/xmloff/source/text/XMLIndexUserSourceContext.cxx @@ -52,8 +52,6 @@ const sal_Char sAPI_CreateFromLevelParagraphStyles[] = "CreateFromLevelParagraph const sal_Char sAPI_UserIndexName[] = "UserIndexName"; - - XMLIndexUserSourceContext::XMLIndexUserSourceContext( SvXMLImport& rImport, sal_uInt16 nPrfx, diff --git a/xmloff/source/text/XMLLineNumberingExport.cxx b/xmloff/source/text/XMLLineNumberingExport.cxx index 7bd89c31ed14..df911191b6a0 100644 --- a/xmloff/source/text/XMLLineNumberingExport.cxx +++ b/xmloff/source/text/XMLLineNumberingExport.cxx @@ -63,7 +63,6 @@ SvXMLEnumMapEntry const aLineNumberPositionMap[] = }; - void XMLLineNumberingExport::Export() { // export element if we have line numbering info diff --git a/xmloff/source/text/XMLLineNumberingImportContext.cxx b/xmloff/source/text/XMLLineNumberingImportContext.cxx index 999c689b0ea8..d04edaa32e6a 100644 --- a/xmloff/source/text/XMLLineNumberingImportContext.cxx +++ b/xmloff/source/text/XMLLineNumberingImportContext.cxx @@ -42,7 +42,6 @@ using ::com::sun::star::xml::sax::XAttributeList; using ::com::sun::star::text::XLineNumberingProperties; - XMLLineNumberingImportContext::XMLLineNumberingImportContext( SvXMLImport& rImport, sal_uInt16 nPrfx, diff --git a/xmloff/source/text/XMLSectionExport.cxx b/xmloff/source/text/XMLSectionExport.cxx index 371d7b637cd0..5ac0a9636a11 100644 --- a/xmloff/source/text/XMLSectionExport.cxx +++ b/xmloff/source/text/XMLSectionExport.cxx @@ -55,7 +55,6 @@ #include "txtflde.hxx" - using namespace ::com::sun::star; using namespace ::com::sun::star::text; using namespace ::com::sun::star::uno; diff --git a/xmloff/source/text/XMLSectionExport.hxx b/xmloff/source/text/XMLSectionExport.hxx index 012e8a551507..8342a18a755c 100644 --- a/xmloff/source/text/XMLSectionExport.hxx +++ b/xmloff/source/text/XMLSectionExport.hxx @@ -196,7 +196,6 @@ public: void ExportMasterDocHeadingDummies(); - protected: inline SvXMLExport& GetExport() { return rExport; } diff --git a/xmloff/source/text/XMLSectionFootnoteConfigImport.cxx b/xmloff/source/text/XMLSectionFootnoteConfigImport.cxx index 3dfc1c671549..8f3571220797 100644 --- a/xmloff/source/text/XMLSectionFootnoteConfigImport.cxx +++ b/xmloff/source/text/XMLSectionFootnoteConfigImport.cxx @@ -46,8 +46,6 @@ using ::com::sun::star::uno::Reference; using ::com::sun::star::xml::sax::XAttributeList; - - XMLSectionFootnoteConfigImport::XMLSectionFootnoteConfigImport( SvXMLImport& rImport, sal_uInt16 nPrefix, diff --git a/xmloff/source/text/XMLSectionImportContext.cxx b/xmloff/source/text/XMLSectionImportContext.cxx index 181ba7055dab..7e9bbda0250e 100644 --- a/xmloff/source/text/XMLSectionImportContext.cxx +++ b/xmloff/source/text/XMLSectionImportContext.cxx @@ -47,7 +47,6 @@ using namespace ::com::sun::star::text; using namespace ::xmloff::token; - const sal_Char sAPI_TextSection[] = "com.sun.star.text.TextSection"; const sal_Char sAPI_IndexHeaderSection[] = "com.sun.star.text.IndexHeaderSection"; const sal_Char sAPI_IsProtected[] = "IsProtected"; diff --git a/xmloff/source/text/XMLSectionSourceDDEImportContext.cxx b/xmloff/source/text/XMLSectionSourceDDEImportContext.cxx index 912be2b72ada..f65e922732f4 100644 --- a/xmloff/source/text/XMLSectionSourceDDEImportContext.cxx +++ b/xmloff/source/text/XMLSectionSourceDDEImportContext.cxx @@ -47,7 +47,6 @@ const sal_Char sAPI_DDECommandElement[] = "DDECommandElement"; const sal_Char sAPI_IsAutomaticUpdate[] = "IsAutomaticUpdate"; - XMLSectionSourceDDEImportContext::XMLSectionSourceDDEImportContext( SvXMLImport& rImport, sal_uInt16 nPrfx, diff --git a/xmloff/source/text/XMLSectionSourceImportContext.cxx b/xmloff/source/text/XMLSectionSourceImportContext.cxx index 8a6aefb5a98a..91ab4bf94448 100644 --- a/xmloff/source/text/XMLSectionSourceImportContext.cxx +++ b/xmloff/source/text/XMLSectionSourceImportContext.cxx @@ -39,7 +39,6 @@ using namespace ::com::sun::star::text; using namespace ::xmloff::token; - XMLSectionSourceImportContext::XMLSectionSourceImportContext( SvXMLImport& rImport, sal_uInt16 nPrfx, diff --git a/xmloff/source/text/XMLStringBufferImportContext.cxx b/xmloff/source/text/XMLStringBufferImportContext.cxx index bce6533a82d8..176ffaddf49d 100644 --- a/xmloff/source/text/XMLStringBufferImportContext.cxx +++ b/xmloff/source/text/XMLStringBufferImportContext.cxx @@ -28,7 +28,6 @@ using ::xmloff::token::IsXMLToken; using ::xmloff::token::XML_P; - XMLStringBufferImportContext::XMLStringBufferImportContext( SvXMLImport& rImport, sal_uInt16 nPrefix, diff --git a/xmloff/source/text/XMLTextHeaderFooterContext.cxx b/xmloff/source/text/XMLTextHeaderFooterContext.cxx index a5bbb0510f51..a1423a75e1df 100644 --- a/xmloff/source/text/XMLTextHeaderFooterContext.cxx +++ b/xmloff/source/text/XMLTextHeaderFooterContext.cxx @@ -27,7 +27,6 @@ #include <xmloff/xmlimp.hxx> - using namespace ::com::sun::star; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::xml::sax; @@ -35,7 +34,6 @@ using namespace ::com::sun::star::text; using namespace ::com::sun::star::beans; - XMLTextHeaderFooterContext::XMLTextHeaderFooterContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, const uno::Reference< diff --git a/xmloff/source/text/XMLTextListBlockContext.cxx b/xmloff/source/text/XMLTextListBlockContext.cxx index c2cb21b9ab2f..bad3d03f0640 100644 --- a/xmloff/source/text/XMLTextListBlockContext.cxx +++ b/xmloff/source/text/XMLTextListBlockContext.cxx @@ -282,5 +282,4 @@ SvXMLImportContext *XMLTextListBlockContext::CreateChildContext( } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLTextMarkImportContext.cxx b/xmloff/source/text/XMLTextMarkImportContext.cxx index a670fdc81390..464aa2935fb0 100644 --- a/xmloff/source/text/XMLTextMarkImportContext.cxx +++ b/xmloff/source/text/XMLTextMarkImportContext.cxx @@ -41,7 +41,6 @@ #include "RDFaImportHelper.hxx" - using namespace ::com::sun::star; using namespace ::com::sun::star::text; using namespace ::com::sun::star::uno; @@ -52,7 +51,6 @@ using namespace ::com::sun::star::xml::sax; using namespace ::xmloff::token; - XMLFieldParamImportContext::XMLFieldParamImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, @@ -95,7 +93,6 @@ void XMLFieldParamImportContext::StartElement(const css::uno::Reference< css::xm } - XMLTextMarkImportContext::XMLTextMarkImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, diff --git a/xmloff/source/text/XMLTextMasterPageContext.cxx b/xmloff/source/text/XMLTextMasterPageContext.cxx index f98001fdec6d..0c06fe8777b2 100644 --- a/xmloff/source/text/XMLTextMasterPageContext.cxx +++ b/xmloff/source/text/XMLTextMasterPageContext.cxx @@ -31,7 +31,6 @@ #include "PageMasterImportContext.hxx" - using namespace ::com::sun::star; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::xml::sax; diff --git a/xmloff/source/text/XMLTextMasterPageExport.cxx b/xmloff/source/text/XMLTextMasterPageExport.cxx index 5f49219339d9..a5ad798d7bc7 100644 --- a/xmloff/source/text/XMLTextMasterPageExport.cxx +++ b/xmloff/source/text/XMLTextMasterPageExport.cxx @@ -26,7 +26,6 @@ #include <xmloff/XMLTextMasterPageExport.hxx> - using namespace ::com::sun::star; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::text; diff --git a/xmloff/source/text/XMLTextTableContext.cxx b/xmloff/source/text/XMLTextTableContext.cxx index b51a91ca6fd1..5fcfd88bdfc5 100644 --- a/xmloff/source/text/XMLTextTableContext.cxx +++ b/xmloff/source/text/XMLTextTableContext.cxx @@ -24,7 +24,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::text; - XMLTextTableContext::XMLTextTableContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName ) : diff --git a/xmloff/source/text/XMLTrackedChangesImportContext.cxx b/xmloff/source/text/XMLTrackedChangesImportContext.cxx index 07677ad11b4d..a1428e130ffd 100644 --- a/xmloff/source/text/XMLTrackedChangesImportContext.cxx +++ b/xmloff/source/text/XMLTrackedChangesImportContext.cxx @@ -34,8 +34,6 @@ using ::com::sun::star::xml::sax::XAttributeList; using namespace ::xmloff::token; - - XMLTrackedChangesImportContext::XMLTrackedChangesImportContext( SvXMLImport& rImport, sal_uInt16 nPrefix, diff --git a/xmloff/source/text/txtdrope.cxx b/xmloff/source/text/txtdrope.cxx index 21ffb5130719..9e69fae2894c 100644 --- a/xmloff/source/text/txtdrope.cxx +++ b/xmloff/source/text/txtdrope.cxx @@ -91,5 +91,4 @@ void XMLTextDropCapExport::exportXML( const Any& rAny, } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/txtdropi.hxx b/xmloff/source/text/txtdropi.hxx index 5aa29dfe070b..891e6a02d799 100644 --- a/xmloff/source/text/txtdropi.hxx +++ b/xmloff/source/text/txtdropi.hxx @@ -23,7 +23,6 @@ #include "XMLElementPropertyContext.hxx" - class XMLTextDropCapImportContext :public XMLElementPropertyContext { XMLPropertyState aWholeWordProp; diff --git a/xmloff/source/text/txtflde.cxx b/xmloff/source/text/txtflde.cxx index f8dde83addd4..9eb409623db8 100644 --- a/xmloff/source/text/txtflde.cxx +++ b/xmloff/source/text/txtflde.cxx @@ -247,7 +247,6 @@ SvXMLEnumStringMapEntry const aFieldServiceNameMapping[] = }; - // property accessor helper functions inline bool GetBoolProperty(const OUString&, const Reference<XPropertySet> &); @@ -272,7 +271,6 @@ inline Sequence<OUString> const GetStringSequenceProperty( const Reference<XPropertySet> & xPropSet); - XMLTextFieldExport::XMLTextFieldExport( SvXMLExport& rExp, XMLPropertyState* pCombinedCharState) : rExport(rExp), @@ -2426,7 +2424,6 @@ void XMLTextFieldExport::ProcessValueAndType( } - /// process display related properties void XMLTextFieldExport::ProcessDisplay(bool bIsVisible, bool bIsCommand, @@ -2451,7 +2448,6 @@ void XMLTextFieldExport::ProcessDisplay(bool bIsVisible, } - /// export boolean property void XMLTextFieldExport::ProcessBoolean(enum XMLTokenEnum eName, bool bBool, bool bDefault) @@ -2469,8 +2465,6 @@ void XMLTextFieldExport::ProcessBoolean(enum XMLTokenEnum eName, } - - /// export string attribute void XMLTextFieldExport::ProcessString(enum XMLTokenEnum eName, const OUString& sValue, @@ -2595,7 +2589,6 @@ void XMLTextFieldExport::ProcessIntegerDef(enum XMLTokenEnum eName, } - /// export a numbering type void XMLTextFieldExport::ProcessNumberingType(sal_Int16 nNumberingType) { @@ -2739,7 +2732,6 @@ SvXMLEnumMapEntry const aBibliographyDataTypeMap[] = }; - void XMLTextFieldExport::ProcessBibliographyData( const Reference<XPropertySet>& rPropSet) { @@ -2882,7 +2874,6 @@ void XMLTextFieldExport::ExportDataBaseElement( } - // explode a field master name into field type and field name void XMLTextFieldExport::ExplodeFieldMasterName( const OUString& sMasterName, OUString& sFieldType, OUString& sVarName) @@ -3527,7 +3518,6 @@ OUString XMLTextFieldExport::MakeSequenceRefName( // to be relegated (does that word exist?) to a more appropriate place - inline bool GetBoolProperty( const OUString& sPropName, const Reference<XPropertySet> & xPropSet) diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx index f26039b2843b..c00504aaff52 100644 --- a/xmloff/source/text/txtfldi.cxx +++ b/xmloff/source/text/txtfldi.cxx @@ -67,7 +67,6 @@ #include <osl/diagnose.h> - using namespace ::com::sun::star; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::text; @@ -79,7 +78,6 @@ using namespace ::com::sun::star::xml::sax; using namespace ::xmloff::token; - // SO API string constants @@ -193,7 +191,6 @@ const sal_Char sAPI_TextRange[] = "TextRange"; const sal_Char sAPI_true[] = "TRUE"; - XMLTextFieldImportContext::XMLTextFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, const sal_Char* pService, @@ -613,12 +610,9 @@ void XMLTextFieldImportContext::ForceUpdate( } - - // XMLSenderFieldImportContext - XMLSenderFieldImportContext::XMLSenderFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& sLocalName, @@ -739,12 +733,9 @@ void XMLSenderFieldImportContext::PrepareField( } - - // XMLAuthorFieldImportContext - XMLAuthorFieldImportContext::XMLAuthorFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& sLocalName, @@ -799,11 +790,9 @@ void XMLAuthorFieldImportContext::PrepareField( } - // page continuation string - static SvXMLEnumMapEntry const lcl_aSelectPageAttrMap[] = { { XML_PREVIOUS, PageNumberType_PREV }, @@ -864,12 +853,9 @@ void XMLPageContinuationImportContext::PrepareField( } - - // page number field - XMLPageNumberImportContext::XMLPageNumberImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& sLocalName) @@ -974,12 +960,9 @@ void XMLPageNumberImportContext::PrepareField( } - - // Placeholder - XMLPlaceholderFieldImportContext::XMLPlaceholderFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& sLocalName) @@ -1061,11 +1044,9 @@ void XMLPlaceholderFieldImportContext::PrepareField( } - // time field - XMLTimeFieldImportContext::XMLTimeFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& sLocalName) @@ -1204,12 +1185,9 @@ void XMLTimeFieldImportContext::PrepareField( } - - // date field - XMLDateFieldImportContext::XMLDateFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& sLocalName) : @@ -1251,13 +1229,9 @@ void XMLDateFieldImportContext::ProcessAttribute( } - - - // database field superclass - XMLDatabaseFieldImportContext::XMLDatabaseFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, const sal_Char* pServiceName, sal_uInt16 nPrfx, @@ -1395,12 +1369,9 @@ void XMLDatabaseFieldImportContext::PrepareField( } - - // database name field - XMLDatabaseNameImportContext::XMLDatabaseNameImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& sLocalName) : @@ -1418,12 +1389,9 @@ void XMLDatabaseNameImportContext::ProcessAttribute( } - - // database next field - XMLDatabaseNextImportContext::XMLDatabaseNextImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, const sal_Char* pServiceName, sal_uInt16 nPrfx, @@ -1484,12 +1452,9 @@ void XMLDatabaseNextImportContext::PrepareField( } - - // database select field - XMLDatabaseSelectImportContext::XMLDatabaseSelectImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& sLocalName) : @@ -1535,12 +1500,9 @@ void XMLDatabaseSelectImportContext::PrepareField( } - - // database display row number field - XMLDatabaseNumberImportContext::XMLDatabaseNumberImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& sLocalName) : @@ -1609,12 +1571,9 @@ void XMLDatabaseNumberImportContext::PrepareField( } - - // Simple doc info fields - XMLSimpleDocInfoImportContext::XMLSimpleDocInfoImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& sLocalName, sal_uInt16 nToken, @@ -1753,11 +1712,9 @@ const sal_Char* XMLSimpleDocInfoImportContext::MapTokenToServiceName( } - // revision field - XMLRevisionDocInfoImportContext::XMLRevisionDocInfoImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& sLocalName, sal_uInt16 nToken) : @@ -1796,12 +1753,9 @@ void XMLRevisionDocInfoImportContext::PrepareField( } - - // DocInfo fields with date/time attributes - XMLDateTimeDocInfoImportContext::XMLDateTimeDocInfoImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& sLocalName, sal_uInt16 nToken) @@ -1905,11 +1859,9 @@ void XMLDateTimeDocInfoImportContext::PrepareField( } - // user defined docinfo fields - XMLUserDocInfoImportContext::XMLUserDocInfoImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& sLocalName, sal_uInt16 nToken) : @@ -1991,11 +1943,9 @@ void XMLUserDocInfoImportContext::PrepareField( } - // import hidden paragraph fields - XMLHiddenParagraphImportContext::XMLHiddenParagraphImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& sLocalName) : @@ -2047,12 +1997,9 @@ void XMLHiddenParagraphImportContext::PrepareField( } - - // import conditional text (<text:conditional-text>) - XMLConditionalTextImportContext::XMLConditionalTextImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& sLocalName) : @@ -2134,12 +2081,9 @@ void XMLConditionalTextImportContext::PrepareField( } - - // hidden text - XMLHiddenTextImportContext::XMLHiddenTextImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& sLocalName) : @@ -2208,12 +2152,9 @@ void XMLHiddenTextImportContext::PrepareField( } - - // file name fields - static const SvXMLEnumMapEntry aFilenameDisplayMap[] = { { XML_PATH, FilenameDisplayFormat::PATH }, @@ -2298,7 +2239,6 @@ void XMLFileNameImportContext::PrepareField( } - // template name field @@ -2357,11 +2297,9 @@ void XMLTemplateNameImportContext::PrepareField( } - // import chapter fields - static const SvXMLEnumMapEntry aChapterDisplayMap[] = { { XML_NAME, ChapterFormat::NAME }, @@ -2435,11 +2373,9 @@ void XMLChapterImportContext::PrepareField( } - // counting fields - XMLCountFieldImportContext::XMLCountFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& sLocalName, sal_uInt16 nToken) : @@ -2534,12 +2470,9 @@ const sal_Char* XMLCountFieldImportContext::MapTokenToServiceName( } - - // page variable import - XMLPageVarGetFieldImportContext::XMLPageVarGetFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& sLocalName) : @@ -2594,12 +2527,9 @@ void XMLPageVarGetFieldImportContext::PrepareField( } - - // page variable set fields - XMLPageVarSetFieldImportContext::XMLPageVarSetFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& sLocalName) : @@ -2655,12 +2585,9 @@ void XMLPageVarSetFieldImportContext::PrepareField( } - - // macro fields - XMLMacroFieldImportContext::XMLMacroFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& sLocalName) : @@ -2794,12 +2721,9 @@ void XMLMacroFieldImportContext::PrepareField( } - - // reference field import - XMLReferenceFieldImportContext::XMLReferenceFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nToken, sal_uInt16 nPrfx, const OUString& sLocalName) @@ -2933,8 +2857,6 @@ void XMLReferenceFieldImportContext::PrepareField( } - - // field declarations container @@ -2985,12 +2907,9 @@ SvXMLImportContext * XMLDdeFieldDeclsImportContext::CreateChildContext( } - - // import dde field declaration - XMLDdeFieldDeclImportContext::XMLDdeFieldDeclImportContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& sLocalName, const SvXMLTokenMap& rMap) @@ -3125,12 +3044,9 @@ void XMLDdeFieldDeclImportContext::StartElement( } - - // DDE field import - XMLDdeFieldImportContext::XMLDdeFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& sLocalName) : @@ -3209,11 +3125,9 @@ void XMLDdeFieldImportContext::PrepareField( } - // sheet name fields - XMLSheetNameImportContext::XMLSheetNameImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, @@ -3266,7 +3180,6 @@ void XMLPageNameFieldImportContext::PrepareField( // URL fields (Calc, Impress, Draw) - XMLUrlFieldImportContext::XMLUrlFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, @@ -3321,8 +3234,6 @@ void XMLUrlFieldImportContext::PrepareField( } - - XMLBibliographyFieldImportContext::XMLBibliographyFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, @@ -3581,11 +3492,9 @@ const sal_Char* XMLBibliographyFieldImportContext::MapBibliographyFieldName( } - // Annotation Field - XMLAnnotationImportContext::XMLAnnotationImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, @@ -3807,12 +3716,9 @@ void XMLAnnotationImportContext::PrepareField( } - - // script field - XMLScriptImportContext::XMLScriptImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, @@ -3877,7 +3783,6 @@ void XMLScriptImportContext::PrepareField( // measure field - XMLMeasureFieldImportContext::XMLMeasureFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, @@ -3921,13 +3826,9 @@ void XMLMeasureFieldImportContext::PrepareField( } - - // dropdown field - - XMLDropDownFieldImportContext::XMLDropDownFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, diff --git a/xmloff/source/text/txtftne.cxx b/xmloff/source/text/txtftne.cxx index 63ad69470b9e..f990e2f33150 100644 --- a/xmloff/source/text/txtftne.cxx +++ b/xmloff/source/text/txtftne.cxx @@ -18,7 +18,6 @@ */ - /** @#file * * This file implements XMLTextParagraphExport methods to export @@ -284,7 +283,6 @@ void XMLTextParagraphExport::exportTextFootnoteConfigurationHelper( XML_NAMESPACE_STYLE, XML_NUM_SUFFIX, false, true); - Any aAny; // numbering style diff --git a/xmloff/source/text/txtlists.cxx b/xmloff/source/text/txtlists.cxx index 84f54ab103b1..3fd31e514b4b 100644 --- a/xmloff/source/text/txtlists.cxx +++ b/xmloff/source/text/txtlists.cxx @@ -211,7 +211,6 @@ OUString XMLTextListsHelper::GetContinueListIdOfProcessedList( } - OUString XMLTextListsHelper::GenerateNewListId() const { static bool bHack = (getenv("LIBO_ONEWAY_STABLE_ODF_EXPORT") != nullptr); diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index 708334b999d6..a7ece9e3431f 100644 --- a/xmloff/source/text/txtparae.cxx +++ b/xmloff/source/text/txtparae.cxx @@ -3140,7 +3140,6 @@ void XMLTextParagraphExport::_exportTextGraphic( } - // script:events Reference<XEventsSupplier> xEventsSupp( rPropSet, UNO_QUERY ); GetExport().GetEventExport().Export(xEventsSupp); diff --git a/xmloff/source/text/txtvfldi.cxx b/xmloff/source/text/txtvfldi.cxx index 3a6900b9fc76..80f565db7b04 100644 --- a/xmloff/source/text/txtvfldi.cxx +++ b/xmloff/source/text/txtvfldi.cxx @@ -83,7 +83,6 @@ static const sal_Char sAPI_sequence_value[] = "SequenceValue"; static const sal_Char sAPI_is_fixed_language[] = "IsFixedLanguage"; - using namespace ::com::sun::star; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::beans; @@ -92,12 +91,9 @@ using namespace ::com::sun::star::style; using namespace ::xmloff::token; - - // XMLVarFieldImportContext: superclass for all variable related fields - XMLVarFieldImportContext::XMLVarFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, const sal_Char* pServiceName, sal_uInt16 nPrfx, @@ -283,14 +279,9 @@ void XMLVarFieldImportContext::PrepareField( } - - - - // variable set fields - XMLSetVarFieldImportContext::XMLSetVarFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, const sal_Char* pServiceName, sal_uInt16 nPrfx, @@ -372,12 +363,9 @@ bool XMLSetVarFieldImportContext::FindFieldMaster( } - - // sequence field - XMLSequenceFieldImportContext::XMLSequenceFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& rLocalName) : @@ -444,12 +432,9 @@ void XMLSequenceFieldImportContext::PrepareField( } - - // variable set field - XMLVariableSetFieldImportContext::XMLVariableSetFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& rLocalName) : @@ -479,12 +464,9 @@ void XMLVariableSetFieldImportContext::PrepareField( } - - // variable input field - XMLVariableInputFieldImportContext::XMLVariableInputFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& rLocalName) : @@ -520,12 +502,9 @@ void XMLVariableInputFieldImportContext::PrepareField( } - - // user field - XMLUserFieldImportContext::XMLUserFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& rLocalName) : @@ -541,12 +520,9 @@ XMLUserFieldImportContext::XMLUserFieldImportContext( } - - // user input field - // bug: doesn't work (SO API lacking) XMLUserFieldInputImportContext::XMLUserFieldInputImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, @@ -574,11 +550,9 @@ void XMLUserFieldInputImportContext::PrepareField( } - // variable get field - XMLVariableGetFieldImportContext::XMLVariableGetFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& rLocalName) : @@ -606,12 +580,9 @@ void XMLVariableGetFieldImportContext::PrepareField( } - - // expression field - XMLExpressionFieldImportContext::XMLExpressionFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& rLocalName) : @@ -642,12 +613,9 @@ void XMLExpressionFieldImportContext::PrepareField( } - - // text input field - XMLTextInputFieldImportContext::XMLTextInputFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& sLocalName) : @@ -675,11 +643,9 @@ void XMLTextInputFieldImportContext::PrepareField( } - // table formula field - XMLTableFormulaImportContext::XMLTableFormulaImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, @@ -740,20 +706,14 @@ void XMLTableFormulaImportContext::PrepareField( } - - // variable declarations // Should be adapted to XMLVarField-/XMLSetVarFieldImportContext scheme! - - - // declaration containter import (<variable/user-field/sequence-decls>) - XMLVariableDeclsImportContext::XMLVariableDeclsImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& rLocalName, enum VarType eVarType) : @@ -808,12 +768,9 @@ SvXMLImportContext* XMLVariableDeclsImportContext::CreateChildContext( } - - // declaration import (<variable/user-field/sequence-decl> elements) - XMLVariableDeclImportContext::XMLVariableDeclImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& rLocalName, @@ -924,7 +881,6 @@ XMLVariableDeclImportContext::XMLVariableDeclImportContext( } - bool XMLVariableDeclImportContext::FindFieldMaster( Reference<XPropertySet> & xMaster, SvXMLImport& rImport, XMLTextImportHelper& rImportHelper, @@ -1060,12 +1016,9 @@ bool XMLVariableDeclImportContext::FindFieldMaster( } - // Database Display field import - - XMLDatabaseDisplayImportContext::XMLDatabaseDisplayImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx, const OUString& rLocalName) : @@ -1192,7 +1145,6 @@ void XMLDatabaseDisplayImportContext::EndElement() } - // value import helper diff --git a/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx b/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx index c0b8c1068fd7..5280a445a32f 100644 --- a/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx +++ b/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx @@ -184,7 +184,6 @@ void XMLAxisOASISContext::EndElement() } - XMLChartPlotAreaOASISTContext::XMLChartPlotAreaOASISTContext( XMLTransformerBase & rTransformer, const OUString & rQName ) : XMLProcAttrTransformerContext( rTransformer, rQName, OASIS_SHAPE_ACTIONS ) diff --git a/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx b/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx index 16aeecceba00..d9264d3a760f 100644 --- a/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx +++ b/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx @@ -116,7 +116,6 @@ void XMLAxisOOoContext::StartElement( } - XMLChartPlotAreaOOoTContext::XMLChartPlotAreaOOoTContext( XMLTransformerBase & rTransformer, const OUString & rQName ) : XMLProcAttrTransformerContext( rTransformer, rQName, OOO_SHAPE_ACTIONS ) diff --git a/xmloff/source/transform/PropertyActionsOOo.cxx b/xmloff/source/transform/PropertyActionsOOo.cxx index 6adde3b6429a..21d6e05b5fb4 100644 --- a/xmloff/source/transform/PropertyActionsOOo.cxx +++ b/xmloff/source/transform/PropertyActionsOOo.cxx @@ -649,7 +649,6 @@ XMLTransformerActionInit aTextPropertyOOoElemActionTable[] = }; - XMLTransformerActionInit aParagraphPropertyOOoAttrActionTable[] = { { XML_NAMESPACE_FO, XML_LINE_HEIGHT, XML_ATACTION_INCH2IN, diff --git a/xmloff/source/transform/TransformerBase.cxx b/xmloff/source/transform/TransformerBase.cxx index 57120b00171c..d5668b5a175c 100644 --- a/xmloff/source/transform/TransformerBase.cxx +++ b/xmloff/source/transform/TransformerBase.cxx @@ -1421,7 +1421,6 @@ XMLTokenEnum XMLTransformerBase::GetToken( const OUString& rStr ) const } - const XMLTransformerContext *XMLTransformerBase::GetCurrentContext() const { OSL_ENSURE( !m_pContexts.empty(), "empty stack" ); diff --git a/xmloff/source/xforms/SchemaContext.cxx b/xmloff/source/xforms/SchemaContext.cxx index 0d827e56db2a..1a9b0f6b4212 100644 --- a/xmloff/source/xforms/SchemaContext.cxx +++ b/xmloff/source/xforms/SchemaContext.cxx @@ -39,8 +39,6 @@ using com::sun::star::xforms::XDataTypeRepository; using namespace xmloff::token; - - static const SvXMLTokenMapEntry aAttributes[] = { XML_TOKEN_MAP_END diff --git a/xmloff/source/xforms/SchemaRestrictionContext.cxx b/xmloff/source/xforms/SchemaRestrictionContext.cxx index 91d480588767..57f5351a819e 100644 --- a/xmloff/source/xforms/SchemaRestrictionContext.cxx +++ b/xmloff/source/xforms/SchemaRestrictionContext.cxx @@ -57,8 +57,6 @@ using com::sun::star::xforms::XDataTypeRepository; using namespace xmloff::token; - - static const SvXMLTokenMapEntry aAttributes[] = { TOKEN_MAP_ENTRY( NONE, BASE ), diff --git a/xmloff/source/xforms/SchemaSimpleTypeContext.cxx b/xmloff/source/xforms/SchemaSimpleTypeContext.cxx index 671ef25c9d78..77c5bc80a26b 100644 --- a/xmloff/source/xforms/SchemaSimpleTypeContext.cxx +++ b/xmloff/source/xforms/SchemaSimpleTypeContext.cxx @@ -40,8 +40,6 @@ using com::sun::star::xforms::XDataTypeRepository; using namespace xmloff::token; - - static const SvXMLTokenMapEntry aAttributes[] = { TOKEN_MAP_ENTRY( NONE, NAME ), diff --git a/xmloff/source/xforms/XFormsBindContext.cxx b/xmloff/source/xforms/XFormsBindContext.cxx index 0e43c1db9e88..b766414fcbaa 100644 --- a/xmloff/source/xforms/XFormsBindContext.cxx +++ b/xmloff/source/xforms/XFormsBindContext.cxx @@ -46,8 +46,6 @@ using com::sun::star::xforms::XModel2; using namespace xmloff::token; - - static const struct SvXMLTokenMapEntry aAttributeMap[] = { TOKEN_MAP_ENTRY( NONE, NODESET ), diff --git a/xmloff/source/xforms/XFormsModelContext.cxx b/xmloff/source/xforms/XFormsModelContext.cxx index ecede75093f4..4764f00cae98 100644 --- a/xmloff/source/xforms/XFormsModelContext.cxx +++ b/xmloff/source/xforms/XFormsModelContext.cxx @@ -47,8 +47,6 @@ using namespace com::sun::star::uno; using namespace xmloff::token; - - static const SvXMLTokenMapEntry aAttributes[] = { TOKEN_MAP_ENTRY( NONE, ID ), @@ -79,8 +77,6 @@ XFormsModelContext::~XFormsModelContext() } - - void XFormsModelContext::HandleAttribute( sal_uInt16 nToken, const OUString& rValue ) diff --git a/xmloff/source/xforms/XFormsSubmissionContext.cxx b/xmloff/source/xforms/XFormsSubmissionContext.cxx index c7bc2154905a..bd71f60423c2 100644 --- a/xmloff/source/xforms/XFormsSubmissionContext.cxx +++ b/xmloff/source/xforms/XFormsSubmissionContext.cxx @@ -46,8 +46,6 @@ using namespace com::sun::star::uno; using namespace xmloff::token; - - static const struct SvXMLTokenMapEntry aAttributeMap[] = { TOKEN_MAP_ENTRY( NONE, ID ), diff --git a/xmloff/source/xforms/xformsexport.cxx b/xmloff/source/xforms/xformsexport.cxx index d45518e4e57a..5a06bcbee657 100644 --- a/xmloff/source/xforms/xformsexport.cxx +++ b/xmloff/source/xforms/xformsexport.cxx @@ -147,7 +147,6 @@ static OUString lcl_getXSDType( SvXMLExport& rExport, const Reference<XPropertySet>& xType ); - // the model @@ -249,7 +248,6 @@ void exportXFormsInstance( SvXMLExport& rExport, } - // the binding @@ -363,7 +361,6 @@ void exportXFormsBinding( SvXMLExport& rExport, } - // the submission @@ -396,8 +393,6 @@ void exportXFormsSubmission( SvXMLExport& rExport, } - - // export data types as XSD schema @@ -594,8 +589,6 @@ void exportXFormsSchemas( SvXMLExport& rExport, } - - // helper functions @@ -620,8 +613,6 @@ static void lcl_export( const Reference<XPropertySet>& rPropertySet, } - - // any conversion functions |