summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-15 09:03:03 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-15 09:03:03 +0100
commitc81e83258510065f9c8ab244f59fbb03c299e56c (patch)
treea677ea5ad4a42f0ea455f59ea310932c82308587 /sot
parent761b4d865b86dceecac98e07f86c07b0a21b99cc (diff)
More loplugin:cstylecast: sot
Change-Id: Ic591422ad8b643d690a43a599e99352160fea480
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/stgelem.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/stgelem.hxx b/sot/source/sdstor/stgelem.hxx
index 3479fd6b2143..5fa3170280b9 100644
--- a/sot/source/sdstor/stgelem.hxx
+++ b/sot/source/sdstor/stgelem.hxx
@@ -124,7 +124,7 @@ public:
sal_Int32 Compare( const StgEntry& ) const; // compare two entries
bool Load( const void* pBuffer, sal_uInt32 nBufSize, sal_uInt64 nUnderlyingStreamSize );
void Store( void* );
- StgEntryType GetType() const { return (StgEntryType) m_cType; }
+ StgEntryType GetType() const { return static_cast<StgEntryType>(m_cType); }
sal_Int32 GetStartPage() const { return m_nPage1; }
void SetType( StgEntryType t ) { m_cType = static_cast<sal_uInt8>(t); }
sal_Int32 GetSize() const { return m_nSize; }