diff options
Diffstat (limited to 'xmloff/source/style/numehelp.cxx')
-rw-r--r-- | xmloff/source/style/numehelp.cxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/xmloff/source/style/numehelp.cxx b/xmloff/source/style/numehelp.cxx index 2e13bca105d5..84288edf105c 100644 --- a/xmloff/source/style/numehelp.cxx +++ b/xmloff/source/style/numehelp.cxx @@ -118,7 +118,8 @@ void XMLNumberFormatAttributesExportHelper::WriteAttributes(SvXMLExport& rXMLExp rXMLExport.AddAttribute(XML_NAMESPACE_OFFICE, XML_VALUE_TYPE, XML_FLOAT); bWasSetTypeAttribute = true; } - } // No Break + SAL_FALLTHROUGH; + } case util::NumberFormat::PERCENT: { if (!bWasSetTypeAttribute) @@ -126,7 +127,8 @@ void XMLNumberFormatAttributesExportHelper::WriteAttributes(SvXMLExport& rXMLExp rXMLExport.AddAttribute(XML_NAMESPACE_OFFICE, XML_VALUE_TYPE, XML_PERCENTAGE); bWasSetTypeAttribute = true; } - } // No Break + SAL_FALLTHROUGH; + } case util::NumberFormat::CURRENCY: { if (!bWasSetTypeAttribute) @@ -385,7 +387,8 @@ void XMLNumberFormatAttributesExportHelper::WriteAttributes( pExport->AddAttribute(sAttrValType, XML_FLOAT); bWasSetTypeAttribute = true; } - } // No Break + SAL_FALLTHROUGH; + } case util::NumberFormat::PERCENT: { if (!bWasSetTypeAttribute) @@ -393,7 +396,8 @@ void XMLNumberFormatAttributesExportHelper::WriteAttributes( pExport->AddAttribute(sAttrValType, XML_PERCENTAGE); bWasSetTypeAttribute = true; } - } // No Break + SAL_FALLTHROUGH; + } case util::NumberFormat::CURRENCY: { if (!bWasSetTypeAttribute) |