diff options
-rw-r--r-- | writerperfect/source/stream/WPXSvStream.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/writerperfect/source/stream/WPXSvStream.cxx b/writerperfect/source/stream/WPXSvStream.cxx index 7039b420b5d3..d71e155377d2 100644 --- a/writerperfect/source/stream/WPXSvStream.cxx +++ b/writerperfect/source/stream/WPXSvStream.cxx @@ -173,7 +173,7 @@ WPXInputStream *WPXSvInputStream::getDocumentOLEStream(const char *name) else if (mxChildrenStorages.back()->IsStorage(aElems[i])) { SotStorageRef &tmpParent(mxChildrenStorages.back()); - mxChildrenStorages.push_back(static_cast<SotStorageRef>(tmpParent->OpenSotStorage(aElems[i++], STREAM_STD_READ))); + mxChildrenStorages.push_back(tmpParent->OpenSotStorage(aElems[i++], STREAM_STD_READ)); } else // should not happen @@ -186,8 +186,8 @@ WPXInputStream *WPXSvInputStream::getDocumentOLEStream(const char *name) if (i >= aElems.size()) return 0; - mxChildrenStreams.push_back( static_cast<SotStorageStreamRef>(mxChildrenStorages.back()->OpenSotStream( - aElems[i], STREAM_STD_READ ))); + mxChildrenStreams.push_back( mxChildrenStorages.back()->OpenSotStream( + aElems[i], STREAM_STD_READ )); mxSeekable->seek(tmpPosition); |