diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-03 09:11:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-03 12:44:22 +0200 |
commit | 6cc1ee903544ed813402303e93753dac8226984f (patch) | |
tree | acdc326ef0272b74472c701e6df784082d3883ef /xmloff | |
parent | 65d4320110d3f6ab9242389fdc8d392de13cbb74 (diff) |
clang-tidy:readability-redundant-member-init
Change-Id: Iede70151af052505b780c6ce708aa74d97da5c75
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121545
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
31 files changed, 20 insertions, 83 deletions
diff --git a/xmloff/source/chart/SchXMLTextListContext.cxx b/xmloff/source/chart/SchXMLTextListContext.cxx index 33aaa5028b8f..8b60d895bdef 100644 --- a/xmloff/source/chart/SchXMLTextListContext.cxx +++ b/xmloff/source/chart/SchXMLTextListContext.cxx @@ -74,7 +74,6 @@ SchXMLTextListContext::SchXMLTextListContext( , Sequence< OUString>& rTextList ) : SvXMLImportContext( rImport ) , m_rTextList( rTextList ) - , m_aTextVector() { } diff --git a/xmloff/source/chart/XMLLabelSeparatorContext.cxx b/xmloff/source/chart/XMLLabelSeparatorContext.cxx index 1d05bfca1cfb..93beff46cf41 100644 --- a/xmloff/source/chart/XMLLabelSeparatorContext.cxx +++ b/xmloff/source/chart/XMLLabelSeparatorContext.cxx @@ -32,8 +32,7 @@ XMLLabelSeparatorContext::XMLLabelSeparatorContext( const XMLPropertyState& rProp, ::std::vector< XMLPropertyState > &rProps ) : XMLElementPropertyContext( - rImport, nElement, rProp, rProps ), - m_aSeparator() + rImport, nElement, rProp, rProps ) { } diff --git a/xmloff/source/core/DocumentSettingsContext.cxx b/xmloff/source/core/DocumentSettingsContext.cxx index f221bfbc0f00..b40ac306963a 100644 --- a/xmloff/source/core/DocumentSettingsContext.cxx +++ b/xmloff/source/core/DocumentSettingsContext.cxx @@ -352,7 +352,6 @@ XMLConfigBaseContext::XMLConfigBaseContext(SvXMLImport& rImport, XMLConfigBaseContext* pTempBaseContext) : SvXMLImportContext( rImport ), maProps( rImport.GetComponentContext() ), - maProp(), mrAny(rTempAny), mpBaseContext(pTempBaseContext) { diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx index 889b9243e8d6..c64fb6052d45 100644 --- a/xmloff/source/core/xmlexp.cxx +++ b/xmloff/source/core/xmlexp.cxx @@ -2455,7 +2455,6 @@ SvXMLElementExport::SvXMLElementExport( bool bIWSOutside, bool bIWSInside ) : mrExport( rExp ) - , maElementName() , mbIgnoreWhitespaceInside( bIWSInside ) , mbDoSomething( true ) { @@ -2470,7 +2469,6 @@ SvXMLElementExport::SvXMLElementExport( bool bIWSOutside, bool bIWSInside ) : mrExport( rExp ) - , maElementName() , mbIgnoreWhitespaceInside( bIWSInside ) , mbDoSomething( true ) { @@ -2484,7 +2482,6 @@ SvXMLElementExport::SvXMLElementExport( bool bIWSOutside, bool bIWSInside ) : mrExport( rExp ) - , maElementName() , mbIgnoreWhitespaceInside( bIWSInside ) , mbDoSomething( true ) { @@ -2499,7 +2496,6 @@ SvXMLElementExport::SvXMLElementExport( bool bIWSOutside, bool bIWSInside ) : mrExport( rExp ) - , maElementName() , mbIgnoreWhitespaceInside( bIWSInside ) , mbDoSomething( bDoSth ) { @@ -2513,7 +2509,6 @@ SvXMLElementExport::SvXMLElementExport( bool bIWSOutside, bool bIWSInside ) : mrExport( rExp ) - , maElementName() , mbIgnoreWhitespaceInside( bIWSInside ) , mbDoSomething( true ) { diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx index 77f24885b3c4..a4f709836427 100644 --- a/xmloff/source/core/xmlimp.cxx +++ b/xmloff/source/core/xmlimp.cxx @@ -319,8 +319,6 @@ public: , mxComponentContext( rxContext ) , implementationName(theImplementationName) , maSupportedServiceNames(sSupportedServiceNames) - , mpRDFaHelper() // lazy - , mpDocumentInfo() // lazy { SAL_WARN_IF(!mxComponentContext.is(), "xmloff.core", "SvXMLImport: no ComponentContext"); if (!mxComponentContext.is()) throw uno::RuntimeException(); diff --git a/xmloff/source/core/xmlmultiimagehelper.cxx b/xmloff/source/core/xmlmultiimagehelper.cxx index 4ed4ddd96b03..b3529acc586e 100644 --- a/xmloff/source/core/xmlmultiimagehelper.cxx +++ b/xmloff/source/core/xmlmultiimagehelper.cxx @@ -92,8 +92,7 @@ namespace } MultiImageImportHelper::MultiImageImportHelper() -: maImplContextVector(), - mbSupportsMultipleContents(false) +: mbSupportsMultipleContents(false) { } diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx index d10a99c67a53..455ca3b4e024 100644 --- a/xmloff/source/draw/shapeexport.cxx +++ b/xmloff/source/draw/shapeexport.cxx @@ -172,7 +172,6 @@ constexpr OUStringLiteral gsHyperlink( u"Hyperlink" ); XMLShapeExport::XMLShapeExport(SvXMLExport& rExp, SvXMLExportPropertyMapper *pExtMapper ) : mrExport( rExp ), - maShapesInfos(), maCurrentShapesIter(maShapesInfos.end()), mbExportLayer( false ), // #88546# init to sal_False diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx index 068205635e75..09dfc2ca7645 100644 --- a/xmloff/source/draw/ximpshap.cxx +++ b/xmloff/source/draw/ximpshap.cxx @@ -157,7 +157,6 @@ SdXMLShapeContext::SdXMLShapeContext( , mnRelWidth(0) , mnRelHeight(0) , maPosition(0, 0) - , maUsedTransformation() , mbVisible(true) , mbPrintable(true) , mbHaveXmlId(false) @@ -2264,8 +2263,7 @@ SdXMLGraphicObjectShapeContext::SdXMLGraphicObjectShapeContext( SvXMLImport& rImport, const css::uno::Reference< css::xml::sax::XFastAttributeList>& xAttrList, uno::Reference< drawing::XShapes > const & rShapes) -: SdXMLShapeContext( rImport, xAttrList, rShapes, false/*bTemporaryShape*/ ), - maURL() +: SdXMLShapeContext( rImport, xAttrList, rShapes, false/*bTemporaryShape*/ ) { } @@ -3154,10 +3152,7 @@ SdXMLFrameShapeContext::SdXMLFrameShapeContext( SvXMLImport& rImport, css::uno::Reference< css::drawing::XShapes > const & rShapes, bool bTemporaryShape) : SdXMLShapeContext( rImport, xAttrList, rShapes, bTemporaryShape ), - MultiImageImportHelper(), - mbSupportsReplacement( false ), - mxImplContext(), - mxReplImplContext() + mbSupportsReplacement( false ) { uno::Reference < util::XCloneable > xClone( xAttrList, uno::UNO_QUERY ); if( xClone.is() ) diff --git a/xmloff/source/meta/MetaImportComponent.cxx b/xmloff/source/meta/MetaImportComponent.cxx index 8b0de27bd0e1..7dcc88611757 100644 --- a/xmloff/source/meta/MetaImportComponent.cxx +++ b/xmloff/source/meta/MetaImportComponent.cxx @@ -64,7 +64,7 @@ XMLMetaImportComponent_get_implementation( XMLMetaImportComponent::XMLMetaImportComponent( const uno::Reference< uno::XComponentContext >& xContext) - : SvXMLImport(xContext, ""), mxDocProps() + : SvXMLImport(xContext, "") { } diff --git a/xmloff/source/meta/xmlmetae.cxx b/xmloff/source/meta/xmlmetae.cxx index 87cd359c94e4..994610a7f5cb 100644 --- a/xmloff/source/meta/xmlmetae.cxx +++ b/xmloff/source/meta/xmlmetae.cxx @@ -304,8 +304,7 @@ SvXMLMetaExport::SvXMLMetaExport( const uno::Reference<document::XDocumentProperties>& i_rDocProps ) : mrExport( i_rExp ), mxDocProps( i_rDocProps ), - m_level( 0 ), - m_preservedNSs() + m_level( 0 ) { assert(mxDocProps.is()); } diff --git a/xmloff/source/script/XMLEventImportHelper.cxx b/xmloff/source/script/XMLEventImportHelper.cxx index 9796224f902d..aa409e77765d 100644 --- a/xmloff/source/script/XMLEventImportHelper.cxx +++ b/xmloff/source/script/XMLEventImportHelper.cxx @@ -30,9 +30,7 @@ using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; XMLEventImportHelper::XMLEventImportHelper() : - aFactoryMap(), - pEventNameMap(new NameMap), - aEventNameMapVector() + pEventNameMap(new NameMap) { } diff --git a/xmloff/source/style/MultiPropertySetHelper.cxx b/xmloff/source/style/MultiPropertySetHelper.cxx index f8efe405c87d..7636278ebef6 100644 --- a/xmloff/source/style/MultiPropertySetHelper.cxx +++ b/xmloff/source/style/MultiPropertySetHelper.cxx @@ -36,8 +36,6 @@ using ::com::sun::star::uno::UNO_QUERY; MultiPropertySetHelper::MultiPropertySetHelper( const char** pNames ) : nLength( 0 ), - aPropertySequence(), - aValues(), pValues( nullptr ) { // first count the elements diff --git a/xmloff/source/style/PageMasterImportContext.cxx b/xmloff/source/style/PageMasterImportContext.cxx index 2a50ae855719..519b24ee696e 100644 --- a/xmloff/source/style/PageMasterImportContext.cxx +++ b/xmloff/source/style/PageMasterImportContext.cxx @@ -64,7 +64,6 @@ PageStyleContext::PageStyleContext( SvXMLImport& rImport, SvXMLStylesContext& rStyles, bool bDefaultStyle) : XMLPropStyleContext( rImport, rStyles, XmlStyleFamily::PAGE_MASTER, bDefaultStyle), - sPageUsage(), m_bIsFillStyleAlreadyConverted(false) // { } diff --git a/xmloff/source/style/PageMasterPropHdlFactory.cxx b/xmloff/source/style/PageMasterPropHdlFactory.cxx index ab03fd1c36be..88a14fb809c4 100644 --- a/xmloff/source/style/PageMasterPropHdlFactory.cxx +++ b/xmloff/source/style/PageMasterPropHdlFactory.cxx @@ -49,8 +49,7 @@ SvXMLEnumMapEntry<sal_uInt16> const aXML_TextGridMode_ConstantMap[] = { XML_TOKEN_INVALID, 0 } }; -XMLPageMasterPropHdlFactory::XMLPageMasterPropHdlFactory() : - XMLPropertyHandlerFactory() +XMLPageMasterPropHdlFactory::XMLPageMasterPropHdlFactory() { } diff --git a/xmloff/source/style/numehelp.cxx b/xmloff/source/style/numehelp.cxx index 43dbc73ef85c..c375fe3e69e3 100644 --- a/xmloff/source/style/numehelp.cxx +++ b/xmloff/source/style/numehelp.cxx @@ -46,8 +46,7 @@ constexpr OUStringLiteral gsCurrencyAbbreviation(u"CurrencyAbbreviation"); XMLNumberFormatAttributesExportHelper::XMLNumberFormatAttributesExportHelper( css::uno::Reference< css::util::XNumberFormatsSupplier > const & xTempNumberFormatsSupplier) : xNumberFormats(xTempNumberFormatsSupplier.is() ? xTempNumberFormatsSupplier->getNumberFormats() : css::uno::Reference< css::util::XNumberFormats > ()), - pExport(nullptr), - aNumberFormats() + pExport(nullptr) { } @@ -61,8 +60,7 @@ XMLNumberFormatAttributesExportHelper::XMLNumberFormatAttributesExportHelper( sAttrTimeValue(rTempExport.GetNamespaceMap().GetQNameByKey( XML_NAMESPACE_OFFICE, GetXMLToken(XML_TIME_VALUE))), sAttrBooleanValue(rTempExport.GetNamespaceMap().GetQNameByKey( XML_NAMESPACE_OFFICE, GetXMLToken(XML_BOOLEAN_VALUE))), sAttrStringValue(rTempExport.GetNamespaceMap().GetQNameByKey( XML_NAMESPACE_OFFICE, GetXMLToken(XML_STRING_VALUE))), - sAttrCurrency(rTempExport.GetNamespaceMap().GetQNameByKey( XML_NAMESPACE_OFFICE, GetXMLToken(XML_CURRENCY))), - aNumberFormats() + sAttrCurrency(rTempExport.GetNamespaceMap().GetQNameByKey( XML_NAMESPACE_OFFICE, GetXMLToken(XML_CURRENCY))) { } diff --git a/xmloff/source/style/xmlexppr.cxx b/xmloff/source/style/xmlexppr.cxx index a2d9aa546190..f87f9ae1ece0 100644 --- a/xmloff/source/style/xmlexppr.cxx +++ b/xmloff/source/style/xmlexppr.cxx @@ -174,8 +174,7 @@ public: sal_uInt32 GetPropertyCount() const { return aPropInfos.size(); } }; -FilterPropertiesInfo_Impl::FilterPropertiesInfo_Impl() : - aPropInfos() +FilterPropertiesInfo_Impl::FilterPropertiesInfo_Impl() { } diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx index 121831c395bf..af65c302054b 100644 --- a/xmloff/source/style/xmlnumfi.cxx +++ b/xmloff/source/style/xmlnumfi.cxx @@ -1127,7 +1127,6 @@ SvXMLNumFormatContext::SvXMLNumFormatContext( SvXMLImport& rImport, SvXMLStyleContext( rImport ), pData( pNewData ), pStyles( &rStyles ), - aMyConditions(), nType( nNewType ), nKey(-1), eImplicitCalendar(ImplicitCalendar::DEFAULT), @@ -1264,7 +1263,6 @@ SvXMLNumFormatContext::SvXMLNumFormatContext( SvXMLImport& rImport, SvXMLStyleContext( rImport, XmlStyleFamily::DATA_STYLE ), pData( nullptr ), pStyles( &rStyles ), - aMyConditions(), nType( SvXMLStylesTokens::NUMBER_STYLE ), nKey(nTempKey), eImplicitCalendar(ImplicitCalendar::DEFAULT), diff --git a/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx b/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx index 1ce26817c015..8e67b2d90964 100644 --- a/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx +++ b/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx @@ -80,7 +80,6 @@ XMLFootnoteConfigHelper::XMLFootnoteConfigHelper( XMLFootnoteConfigurationImportContext& rConfigImport, bool bBegin) : SvXMLImportContext(rImport) -, sBuffer() , rConfig(rConfigImport) , bIsBegin(bBegin) { diff --git a/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx b/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx index 758a7be07208..799cd47a8724 100644 --- a/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx +++ b/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx @@ -59,9 +59,6 @@ constexpr OUStringLiteral gsLocale(u"Locale"); XMLIndexBibliographyConfigurationContext::XMLIndexBibliographyConfigurationContext( SvXMLImport& rImport) : SvXMLStyleContext(rImport, XmlStyleFamily::TEXT_BIBLIOGRAPHYCONFIG), - sSuffix(), - sPrefix(), - sAlgorithm(), maLanguageTagODF(), bNumberedEntries(false), bSortByPosition(true) diff --git a/xmloff/source/text/XMLIndexTabStopEntryContext.cxx b/xmloff/source/text/XMLIndexTabStopEntryContext.cxx index b2ac30899440..528b72a7a33a 100644 --- a/xmloff/source/text/XMLIndexTabStopEntryContext.cxx +++ b/xmloff/source/text/XMLIndexTabStopEntryContext.cxx @@ -44,7 +44,6 @@ XMLIndexTabStopEntryContext::XMLIndexTabStopEntryContext( XMLIndexTemplateContext& rTemplate ) : XMLIndexSimpleEntryContext(rImport, "TokenTabStop", rTemplate), - sLeaderChar(), nTabPosition(0), bTabPositionOK(false), bTabRightAligned(false), diff --git a/xmloff/source/text/XMLTextFrameContext.cxx b/xmloff/source/text/XMLTextFrameContext.cxx index 0ab223b3c109..fdf40897e563 100644 --- a/xmloff/source/text/XMLTextFrameContext.cxx +++ b/xmloff/source/text/XMLTextFrameContext.cxx @@ -1320,11 +1320,8 @@ XMLTextFrameContext::XMLTextFrameContext( const Reference< XFastAttributeList > & xAttrList, TextContentAnchorType eATyp ) : SvXMLImportContext( rImport ) -, MultiImageImportHelper() , m_xAttrList( new sax_fastparser::FastAttributeList( xAttrList ) ) // Implement Title/Description Elements UI (#i73249#) -, m_sTitle() -, m_sDesc() , m_eDefaultAnchorType( eATyp ) // Shapes in Writer cannot be named via context menu (#i51726#) , m_HasAutomaticStyleWithoutParentStyle( false ) diff --git a/xmloff/source/text/XMLTextListBlockContext.cxx b/xmloff/source/text/XMLTextListBlockContext.cxx index 58f0aa5e8909..03c9fe0e537e 100644 --- a/xmloff/source/text/XMLTextListBlockContext.cxx +++ b/xmloff/source/text/XMLTextListBlockContext.cxx @@ -47,13 +47,9 @@ XMLTextListBlockContext::XMLTextListBlockContext( const bool bRestartNumberingAtSubList ) : SvXMLImportContext( rImport ) , mrTxtImport( rTxtImp ) -, msListStyleName() -, mxParentListBlock( ) , mnLevel( 0 ) , mbRestartNumbering( false ) , mbSetDefaults( false ) -, msListId() -, msContinueListId() { static constexpr OUStringLiteral s_PropNameDefaultListId = u"DefaultListId"; { diff --git a/xmloff/source/text/XMLTextListItemContext.cxx b/xmloff/source/text/XMLTextListItemContext.cxx index a82e6ec96fc4..1ef6736fa83f 100644 --- a/xmloff/source/text/XMLTextListItemContext.cxx +++ b/xmloff/source/text/XMLTextListItemContext.cxx @@ -47,8 +47,7 @@ XMLTextListItemContext::XMLTextListItemContext( : SvXMLImportContext( rImport ), rTxtImport( rTxtImp ), nStartValue( -1 ), - mnSubListCount( 0 ), - mxNumRulesOverride() + mnSubListCount( 0 ) { for( auto& aIter : sax_fastparser::castToFastAttributeList(xAttrList) ) { diff --git a/xmloff/source/text/XMLTextNumRuleInfo.cxx b/xmloff/source/text/XMLTextNumRuleInfo.cxx index b982d4d6dd4b..07586ba53de6 100644 --- a/xmloff/source/text/XMLTextNumRuleInfo.cxx +++ b/xmloff/source/text/XMLTextNumRuleInfo.cxx @@ -37,10 +37,7 @@ using namespace ::com::sun::star::style; // Complete refactoring of the class and enhancement of the class for lists. XMLTextNumRuleInfo::XMLTextNumRuleInfo() - : mxNumRules() - , msNumRulesName() - , msListId() - , mnListStartValue( -1 ) + : mnListStartValue( -1 ) , mnListLevel( 0 ) , mbIsNumbered( false ) , mbIsRestart( false ) diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx index 59ea8856e05e..14728703cbea 100644 --- a/xmloff/source/text/txtfldi.cxx +++ b/xmloff/source/text/txtfldi.cxx @@ -1246,7 +1246,6 @@ XMLDatabaseNextImportContext::XMLDatabaseNextImportContext( XMLDatabaseFieldImportContext(rImport, rHlp, pServiceName, false), sPropertyCondition(sAPI_condition), sTrue(sAPI_true), - sCondition(), bConditionOK(false) { } @@ -1769,7 +1768,6 @@ XMLHiddenParagraphImportContext::XMLHiddenParagraphImportContext( XMLTextFieldImportContext(rImport, rHlp, "HiddenParagraph"), sPropertyCondition(sAPI_condition), sPropertyIsHidden(sAPI_is_hidden), - sCondition(), bIsHidden(false) { } @@ -2163,8 +2161,6 @@ XMLCountFieldImportContext::XMLCountFieldImportContext( XMLTextFieldImportContext(rImport, rHlp, MapTokenToServiceName(nElement)), sPropertyNumberingType( sAPI_numbering_type), - sNumberFormat(), - sLetterSync(), bNumberFormatOK(false) { bValid = true; @@ -2254,8 +2250,6 @@ OUString XMLCountFieldImportContext::MapTokenToServiceName( XMLPageVarGetFieldImportContext::XMLPageVarGetFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp) : XMLTextFieldImportContext(rImport, rHlp, "ReferencePageGet"), - sNumberFormat(), - sLetterSync(), bNumberFormatOK(false) { bValid = true; @@ -2735,8 +2729,7 @@ void XMLDdeFieldDeclImportContext::startFastElement( XMLDdeFieldImportContext::XMLDdeFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp) : XMLTextFieldImportContext(rImport, rHlp, sAPI_dde), - sName() - ,sPropertyContent(sAPI_content) + sPropertyContent(sAPI_content) { } @@ -2903,8 +2896,7 @@ void XMLUrlFieldImportContext::PrepareField( XMLBibliographyFieldImportContext::XMLBibliographyFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp) : - XMLTextFieldImportContext(rImport, rHlp, "Bibliography"), - aValues() + XMLTextFieldImportContext(rImport, rHlp, "Bibliography") { bValid = true; } @@ -3447,8 +3439,6 @@ XMLDropDownFieldImportContext::XMLDropDownFieldImportContext( SvXMLImport& rImport, XMLTextImportHelper& rHlp) : XMLTextFieldImportContext( rImport, rHlp, "DropDown" ), - aLabels(), - sName(), nSelected( -1 ), bNameOK( false ), bHelpOK(false), diff --git a/xmloff/source/text/txtlists.cxx b/xmloff/source/text/txtlists.cxx index 11d31e025e75..ec66f9d7d72c 100644 --- a/xmloff/source/text/txtlists.cxx +++ b/xmloff/source/text/txtlists.cxx @@ -42,9 +42,7 @@ using namespace ::com::sun::star; XMLTextListsHelper::XMLTextListsHelper() - : msLastProcessedListId(), - msListStyleOfLastProcessedList() - // Inconsistent behavior regarding lists (#i92811#) + // Inconsistent behavior regarding lists (#i92811#) { } diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index 51a6a3a32bc3..16822a03f09f 100644 --- a/xmloff/source/text/txtparae.cxx +++ b/xmloff/source/text/txtparae.cxx @@ -1218,7 +1218,6 @@ XMLTextParagraphExport::XMLTextParagraphExport( bBlock( false ), bOpenRuby( false ), mpTextListsHelper( nullptr ), - maTextListsHelperStack(), mbCollected(false), aCharStyleNamesPropInfoCache( gsCharStyleNames ) { diff --git a/xmloff/source/text/txtparai.cxx b/xmloff/source/text/txtparai.cxx index 92b12c71cff5..ac05986ffe6a 100644 --- a/xmloff/source/text/txtparai.cxx +++ b/xmloff/source/text/txtparai.cxx @@ -2015,9 +2015,7 @@ XMLNumberedParaContext::XMLNumberedParaContext( const Reference< xml::sax::XFastAttributeList > & xAttrList ) : SvXMLImportContext( i_rImport ), m_Level(0), - m_StartValue(-1), - m_ListId(), - m_xNumRules() + m_StartValue(-1) { OUString StyleName; diff --git a/xmloff/source/text/txtprhdl.cxx b/xmloff/source/text/txtprhdl.cxx index b8dc0a8a550f..ef4766c696b2 100644 --- a/xmloff/source/text/txtprhdl.cxx +++ b/xmloff/source/text/txtprhdl.cxx @@ -1422,8 +1422,7 @@ static const XMLPropertyHandler *GetPropertyHandler return pHdl; } -XMLTextPropertyHandlerFactory::XMLTextPropertyHandlerFactory() : - XMLPropertyHandlerFactory() +XMLTextPropertyHandlerFactory::XMLTextPropertyHandlerFactory() { } diff --git a/xmloff/source/xforms/SchemaRestrictionContext.cxx b/xmloff/source/xforms/SchemaRestrictionContext.cxx index ccbdbe695132..ea6db4f1befb 100644 --- a/xmloff/source/xforms/SchemaRestrictionContext.cxx +++ b/xmloff/source/xforms/SchemaRestrictionContext.cxx @@ -59,8 +59,7 @@ SchemaRestrictionContext::SchemaRestrictionContext( const OUString& sTypeName ) : TokenContext( rImport ), mxRepository( rRepository ), - msTypeName( sTypeName ), - msBaseName() + msTypeName( sTypeName ) { SAL_WARN_IF( !mxRepository.is(), "xmloff", "need repository" ); } diff --git a/xmloff/source/xforms/XFormsSubmissionContext.cxx b/xmloff/source/xforms/XFormsSubmissionContext.cxx index 9588ee36ee92..83eb8cb3699d 100644 --- a/xmloff/source/xforms/XFormsSubmissionContext.cxx +++ b/xmloff/source/xforms/XFormsSubmissionContext.cxx @@ -44,8 +44,7 @@ using namespace xmloff::token; XFormsSubmissionContext::XFormsSubmissionContext( SvXMLImport& rImport, const Reference<XModel2>& xModel ) : - TokenContext( rImport ), - mxSubmission() + TokenContext( rImport ) { // register submission with model SAL_WARN_IF( !xModel.is(), "xmloff", "need model" ); |