summaryrefslogtreecommitdiff
path: root/xmloff/source/style
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-09-03 09:11:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-09-03 12:44:22 +0200
commit6cc1ee903544ed813402303e93753dac8226984f (patch)
treeacdc326ef0272b74472c701e6df784082d3883ef /xmloff/source/style
parent65d4320110d3f6ab9242389fdc8d392de13cbb74 (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/source/style')
-rw-r--r--xmloff/source/style/MultiPropertySetHelper.cxx2
-rw-r--r--xmloff/source/style/PageMasterImportContext.cxx1
-rw-r--r--xmloff/source/style/PageMasterPropHdlFactory.cxx3
-rw-r--r--xmloff/source/style/numehelp.cxx6
-rw-r--r--xmloff/source/style/xmlexppr.cxx3
-rw-r--r--xmloff/source/style/xmlnumfi.cxx2
6 files changed, 4 insertions, 13 deletions
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),