diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:15:28 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:15:28 +0100 |
commit | 5632c830e944c18c3b3c88e1bd19906d537c820b (patch) | |
tree | 9ec479835abcbd2929b68fe68719e432ce9abf8e /sot/source/sdstor/stgelem.hxx | |
parent | d76f636cc41df3618962aac44ef989f13d4680b8 (diff) |
More loplugin:cstylecast: sot
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: I7387e4c7877faba8bc82372734c14d2263457300
Diffstat (limited to 'sot/source/sdstor/stgelem.hxx')
-rw-r--r-- | sot/source/sdstor/stgelem.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/stgelem.hxx b/sot/source/sdstor/stgelem.hxx index 610c912136cf..3479fd6b2143 100644 --- a/sot/source/sdstor/stgelem.hxx +++ b/sot/source/sdstor/stgelem.hxx @@ -126,7 +126,7 @@ public: void Store( void* ); StgEntryType GetType() const { return (StgEntryType) m_cType; } sal_Int32 GetStartPage() const { return m_nPage1; } - void SetType( StgEntryType t ) { m_cType = (sal_uInt8) t; } + void SetType( StgEntryType t ) { m_cType = static_cast<sal_uInt8>(t); } sal_Int32 GetSize() const { return m_nSize; } void SetSize( sal_Int32 n ) { m_nSize = n; } const ClsId& GetClassId() const { return m_aClsId; } |