summaryrefslogtreecommitdiff
path: root/xmloff/source/style/styleexp.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-04-06 18:30:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-04-06 18:30:23 +0200
commit2f01d679585f9770d81d8e0a8f3eb7a5b4edf2b4 (patch)
tree66934324322bb52ad0e3eefe7dd91ff9a51971f9 /xmloff/source/style/styleexp.cxx
parentf79c466405843fc5ee01b2129c97965bcdd6b3b8 (diff)
Improved loplugin:redundantcast, static_cast on arithmetic types: xmloff
Change-Id: I67a7f0643b4773c991e780c9a715636bb3e6e6cb
Diffstat (limited to 'xmloff/source/style/styleexp.cxx')
-rw-r--r--xmloff/source/style/styleexp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/styleexp.cxx b/xmloff/source/style/styleexp.cxx
index f019e8cb14e7..8aec434b5faf 100644
--- a/xmloff/source/style/styleexp.cxx
+++ b/xmloff/source/style/styleexp.cxx
@@ -185,7 +185,7 @@ bool XMLStyleExport::exportStyle(
if( nOutlineLevel > 0 )
{
OUStringBuffer sTmp;
- sTmp.append( static_cast<sal_Int32>(nOutlineLevel));
+ sTmp.append(nOutlineLevel);
GetExport().AddAttribute( XML_NAMESPACE_STYLE,
XML_DEFAULT_OUTLINE_LEVEL,
sTmp.makeStringAndClear() );