From c81e83258510065f9c8ab244f59fbb03c299e56c Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 15 Jan 2018 09:03:03 +0100 Subject: More loplugin:cstylecast: sot Change-Id: Ic591422ad8b643d690a43a599e99352160fea480 --- sot/source/sdstor/stgelem.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sot/source') 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(m_cType); } sal_Int32 GetStartPage() const { return m_nPage1; } void SetType( StgEntryType t ) { m_cType = static_cast(t); } sal_Int32 GetSize() const { return m_nSize; } -- cgit