summaryrefslogtreecommitdiff
path: root/sot/source/sdstor/stgdir.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sot/source/sdstor/stgdir.hxx')
-rw-r--r--sot/source/sdstor/stgdir.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sot/source/sdstor/stgdir.hxx b/sot/source/sdstor/stgdir.hxx
index 6ebea95c47f7..9cb9f25ed181 100644
--- a/sot/source/sdstor/stgdir.hxx
+++ b/sot/source/sdstor/stgdir.hxx
@@ -114,8 +114,8 @@ class StgIterator : public StgAvlIterator
{
public:
StgIterator( StgDirEntry& rStg ) : StgAvlIterator( rStg.pDown ) {}
- StgDirEntry* First() { return (StgDirEntry*) StgAvlIterator::First(); }
- StgDirEntry* Next() { return (StgDirEntry*) StgAvlIterator::Next(); }
+ StgDirEntry* First() { return static_cast<StgDirEntry*>( StgAvlIterator::First() ); }
+ StgDirEntry* Next() { return static_cast<StgDirEntry*>( StgAvlIterator::Next() ); }
};
#endif