diff options
Diffstat (limited to 'sot/source/sdstor/stgcache.cxx')
-rw-r--r-- | sot/source/sdstor/stgcache.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/stgcache.cxx b/sot/source/sdstor/stgcache.cxx index 5e489666556e..e073dc827e05 100644 --- a/sot/source/sdstor/stgcache.cxx +++ b/sot/source/sdstor/stgcache.cxx @@ -308,7 +308,7 @@ void StgCache::Close() { if( bFile ) { - ((SvFileStream*) pStrm)->Close(); + static_cast<SvFileStream*>(pStrm)->Close(); SetError( pStrm->GetError() ); } } |