summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpobjid.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:19:59 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:19:59 +0100
commitad137adbaea7fcb009b4b22ad00a5e3fd3a89ff5 (patch)
tree70f1505616b8db732c743bc2f95c9cbc36b0f752 /lotuswordpro/source/filter/lwpobjid.cxx
parent5072e01d077122741f71bef30c4b5caf88fe7793 (diff)
More loplugin:cstylecast: lotuswordpro
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: Idd6bd4f316b916877629579bf187d0f05251263d
Diffstat (limited to 'lotuswordpro/source/filter/lwpobjid.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpobjid.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpobjid.cxx b/lotuswordpro/source/filter/lwpobjid.cxx
index 3a7d71b51be0..767c60931f46 100644
--- a/lotuswordpro/source/filter/lwpobjid.cxx
+++ b/lotuswordpro/source/filter/lwpobjid.cxx
@@ -109,7 +109,7 @@ void LwpObjectID::ReadIndexed(LwpSvStream *pStrm)
LwpGlobalMgr* pGlobal = LwpGlobalMgr::GetInstance();
LwpObjectFactory* pFactory = pGlobal->GetLwpObjFactory();
LwpIndexManager& rIdxMgr = pFactory->GetIndexManager();
- m_nLow = rIdxMgr.GetObjTime( (sal_uInt16)m_nIndex);
+ m_nLow = rIdxMgr.GetObjTime( static_cast<sal_uInt16>(m_nIndex));
}
else
{
@@ -140,7 +140,7 @@ sal_uInt32 LwpObjectID::ReadIndexed(LwpObjectStream *pStrm)
LwpGlobalMgr* pGlobal = LwpGlobalMgr::GetInstance();
LwpObjectFactory* pFactory = pGlobal->GetLwpObjFactory();
LwpIndexManager& rIdxMgr = pFactory->GetIndexManager();
- m_nLow = rIdxMgr.GetObjTime( (sal_uInt16)m_nIndex);
+ m_nLow = rIdxMgr.GetObjTime( static_cast<sal_uInt16>(m_nIndex));
}
else
m_nLow = pStrm->QuickReaduInt32();