diff options
Diffstat (limited to 'sot/source/sdstor/stg.cxx')
-rw-r--r-- | sot/source/sdstor/stg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/stg.cxx b/sot/source/sdstor/stg.cxx index 84219df91e69..551b00a3c156 100644 --- a/sot/source/sdstor/stg.cxx +++ b/sot/source/sdstor/stg.cxx @@ -827,7 +827,7 @@ bool Storage::MoveTo( const OUString& rElem, BaseStorage* pODest, const OUString Storage *pOther = PTR_CAST( Storage, pODest ); if( pOther && pIo == pOther->pIo && rElem == rNew ) { - Storage *p = (Storage*) pODest; + Storage *p = static_cast<Storage*>(pODest); Storage *pDest = p; // both storages are conventional storages, use implementation dependent code if( !pElem->IsContained( pDest->pEntry ) ) |