diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:02:22 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:02:22 +0100 |
commit | a5eddfbf45277eea21dd2271b36e9668313eadf3 (patch) | |
tree | 21ed6f32d767656ad1c577fd7cc948f5ca22f0f3 /sw/source/core/tox/txmsrt.cxx | |
parent | 87e3d60776db4e2ff1ba0040b04a0fa348a46ffa (diff) |
More loplugin:cstylecast: sw
Change-Id: I75f75b53e58221a3bd0a6eb837483e7ebae3a02b
Diffstat (limited to 'sw/source/core/tox/txmsrt.cxx')
-rw-r--r-- | sw/source/core/tox/txmsrt.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/tox/txmsrt.cxx b/sw/source/core/tox/txmsrt.cxx index 1dbf513ea962..12ebbda94dc7 100644 --- a/sw/source/core/tox/txmsrt.cxx +++ b/sw/source/core/tox/txmsrt.cxx @@ -711,10 +711,10 @@ void SwTOXAuthority::FillText( SwTextNode& rNd, { sal_uInt16 nLevel = GetLevel(); if(nLevel) - sText = SwAuthorityFieldType::GetAuthTypeName((ToxAuthorityType) --nLevel); + sText = SwAuthorityFieldType::GetAuthTypeName(static_cast<ToxAuthorityType>(--nLevel)); } else - sText = pField->GetFieldText((ToxAuthorityField) nAuthField); + sText = pField->GetFieldText(static_cast<ToxAuthorityField>(nAuthField)); rNd.InsertText( sText, rInsPos ); } |