summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-15 09:04:34 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-15 09:04:34 +0100
commite99d632b10ac1ba46ee6e7a0723f331a25ec9184 (patch)
tree2254071bd4212dd1d7b85a82d9db9f922ffe161a /lotuswordpro
parente5fc690f018c266f373af9797f66c5ed87e0e805 (diff)
More loplugin:cstylecast: lotuswordpro
Change-Id: I4ded44ed833b741a55ff69c712d040c8ccc71cc5
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwpcelllayout.cxx2
-rw-r--r--lotuswordpro/source/filter/lwptabrack.hxx4
2 files changed, 3 insertions, 3 deletions
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<LeaderDotType>(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<LwpTab::TabType>(m_nType);
}
inline LwpTab::LeaderType LwpTab::GetLeaderType()
{
- return (LwpTab::LeaderType)m_nLeader;
+ return static_cast<LwpTab::LeaderType>(m_nLeader);
}
inline sal_uInt16 LwpTab::GetAlignChar()