summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/filter/excel/xestream.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx
index c93748926853..8d7119028576 100644
--- a/sc/source/filter/excel/xestream.cxx
+++ b/sc/source/filter/excel/xestream.cxx
@@ -1104,7 +1104,7 @@ ScDocShell* XclExpXmlStream::getDocShell()
ScModelObj *pObj = dynamic_cast < ScModelObj* >( xModel.get() );
if ( pObj )
- return reinterpret_cast < ScDocShell* >( pObj->GetEmbeddedObject() );
+ return static_cast < ScDocShell* >( pObj->GetEmbeddedObject() );
return 0;
}