summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-10-18 09:59:18 +0300
committerTor Lillqvist <tlillqvist@suse.com>2011-10-18 18:26:45 +0300
commitbbe2a8674623c6a30f483040f114c754e67476ca (patch)
tree29361d6db948ff4e5f49170f71830043586d37e3
parentd6f2418d0828ec4275355502ae3f87c80e16e8f5 (diff)
WaE: reinterpret_cast used between related classes, so use static_cast
-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;
}