summaryrefslogtreecommitdiffstats
path: root/editeng/source/uno/unonrule.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-15 09:06:01 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-15 09:06:01 +0100
commit856b938afd1a7dc66cb079b1b70fd90d1634c177 (patch)
treec96d810f33183311d75e3da586db04eb67896ee2 /editeng/source/uno/unonrule.cxx
parentMore loplugin:cstylecast: emfio (diff)
downloadcore-856b938afd1a7dc66cb079b1b70fd90d1634c177.tar.gz
core-856b938afd1a7dc66cb079b1b70fd90d1634c177.zip
More loplugin:cstylecast: editeng
Change-Id: I58978e5376ff1b91fa6dddbd308c923b3f3ab0ec
Diffstat (limited to 'editeng/source/uno/unonrule.cxx')
-rw-r--r--editeng/source/uno/unonrule.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/uno/unonrule.cxx b/editeng/source/uno/unonrule.cxx
index 5a3b4a738e45..0860a8cd4de2 100644
--- a/editeng/source/uno/unonrule.cxx
+++ b/editeng/source/uno/unonrule.cxx
@@ -79,7 +79,7 @@ SvxAdjust ConvertUnoAdjust( unsigned short nAdjust )
unsigned short ConvertUnoAdjust( SvxAdjust eAdjust )
{
- DBG_ASSERT( (int)eAdjust <= 6, "Enum has changed! [CL]" );
+ DBG_ASSERT( static_cast<int>(eAdjust) <= 6, "Enum has changed! [CL]" );
return aSvxToUnoAdjust[eAdjust];
}
@@ -282,7 +282,7 @@ void SvxUnoNumberingRules::setNumberingRuleByIndex(const Sequence<beans::Propert
// There is no reason to limit numbering types.
if ( nSet>=0 )
{
- aFmt.SetNumberingType((SvxNumType)nSet);
+ aFmt.SetNumberingType(static_cast<SvxNumType>(nSet));
continue;
}
}