summaryrefslogtreecommitdiff
path: root/xmloff/source/style/XMLFootnoteSeparatorImport.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:09:29 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:09:29 +0100
commitdec5264878903ee010e9a6296357750f6c69c844 (patch)
treee987833003c31730486c95e82b6cc97b960de1a2 /xmloff/source/style/XMLFootnoteSeparatorImport.cxx
parentab279d30de4188baa4b33688aaed96072f3b4818 (diff)
More loplugin:cstylecast: xmloff
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: Ic872cef7bb9982305528ec3ce12a1871f055b752
Diffstat (limited to 'xmloff/source/style/XMLFootnoteSeparatorImport.cxx')
-rw-r--r--xmloff/source/style/XMLFootnoteSeparatorImport.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/style/XMLFootnoteSeparatorImport.cxx b/xmloff/source/style/XMLFootnoteSeparatorImport.cxx
index c9a7bfb2dd07..f12db97c6c0f 100644
--- a/xmloff/source/style/XMLFootnoteSeparatorImport.cxx
+++ b/xmloff/source/style/XMLFootnoteSeparatorImport.cxx
@@ -99,7 +99,7 @@ void XMLFootnoteSeparatorImport::StartElement(
if (GetImport().GetMM100UnitConverter().convertMeasureToCore(
nTmp, sAttrValue))
{
- nLineWeight = (sal_Int16)nTmp;
+ nLineWeight = static_cast<sal_Int16>(nTmp);
}
}
else if (IsXMLToken( sLocalName, XML_DISTANCE_BEFORE_SEP ))
@@ -130,7 +130,7 @@ void XMLFootnoteSeparatorImport::StartElement(
else if (IsXMLToken( sLocalName, XML_REL_WIDTH ))
{
if (::sax::Converter::convertPercent(nTmp, sAttrValue))
- nLineRelWidth = (sal_uInt8)nTmp;
+ nLineRelWidth = static_cast<sal_uInt8>(nTmp);
}
else if (IsXMLToken( sLocalName, XML_COLOR ))
{