diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-05-25 16:10:07 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-05-25 16:10:07 +0200 |
commit | 090068a41f083d0960c3717724ab539cf0515c3e (patch) | |
tree | 0ba773f106dce20f7d9f7e736eb9cb63ebc33271 /writerperfect | |
parent | 70d473c07d79dc59a69f6cc725c026eacdc12c2a (diff) |
Revert "Blind Hail Mary trying to solve tinderbox breakages"
This reverts commit 70d473c07d79dc59a69f6cc725c026eacdc12c2a.
Diffstat (limited to 'writerperfect')
-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); |