From e99d632b10ac1ba46ee6e7a0723f331a25ec9184 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 15 Jan 2018 09:04:34 +0100 Subject: More loplugin:cstylecast: lotuswordpro Change-Id: I4ded44ed833b741a55ff69c712d040c8ccc71cc5 --- lotuswordpro/source/filter/lwpcelllayout.cxx | 2 +- lotuswordpro/source/filter/lwptabrack.hxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lotuswordpro') diff --git a/lotuswordpro/source/filter/lwpcelllayout.cxx b/lotuswordpro/source/filter/lwpcelllayout.cxx index ccff1e38024b..94acf950984b 100644 --- a/lotuswordpro/source/filter/lwpcelllayout.cxx +++ b/lotuswordpro/source/filter/lwpcelllayout.cxx @@ -625,7 +625,7 @@ void LwpCellLayout::Read() type = pStrm->QuickReaduInt16(); pStrm->SkipExtra(); - cType = (LeaderDotType)type; + cType = static_cast(type); cLayNumerics.ReadIndexed(pStrm); cLayDiagonalLine.ReadIndexed(pStrm); diff --git a/lotuswordpro/source/filter/lwptabrack.hxx b/lotuswordpro/source/filter/lwptabrack.hxx index 8feec5a55d12..dbe058bbc747 100644 --- a/lotuswordpro/source/filter/lwptabrack.hxx +++ b/lotuswordpro/source/filter/lwptabrack.hxx @@ -115,12 +115,12 @@ inline sal_uInt32 LwpTab::GetPosition() inline LwpTab::TabType LwpTab::GetTabType() { - return (LwpTab::TabType)m_nType; + return static_cast(m_nType); } inline LwpTab::LeaderType LwpTab::GetLeaderType() { - return (LwpTab::LeaderType)m_nLeader; + return static_cast(m_nLeader); } inline sal_uInt16 LwpTab::GetAlignChar() -- cgit