diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-05-25 15:22:30 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-05-25 15:22:52 +0200 |
commit | 70d473c07d79dc59a69f6cc725c026eacdc12c2a (patch) | |
tree | aa1d4a9a687e889cad8bf66c7882bcb6d3ce7311 /writerperfect | |
parent | f327c359033c027a58933db49e80a2bd927ca923 (diff) |
Blind Hail Mary trying to solve tinderbox breakages
Change-Id: Ic69195e2ae991cf837c3dcfb086d9834f99b2d40
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 d71e155377d2..7039b420b5d3 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(tmpParent->OpenSotStorage(aElems[i++], STREAM_STD_READ)); + mxChildrenStorages.push_back(static_cast<SotStorageRef>(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( mxChildrenStorages.back()->OpenSotStream( - aElems[i], STREAM_STD_READ )); + mxChildrenStreams.push_back( static_cast<SotStorageStreamRef>(mxChildrenStorages.back()->OpenSotStream( + aElems[i], STREAM_STD_READ ))); mxSeekable->seek(tmpPosition); |