summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2012-05-25 16:10:07 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2012-05-25 16:10:07 +0200
commit090068a41f083d0960c3717724ab539cf0515c3e (patch)
tree0ba773f106dce20f7d9f7e736eb9cb63ebc33271 /writerperfect
parent70d473c07d79dc59a69f6cc725c026eacdc12c2a (diff)
Revert "Blind Hail Mary trying to solve tinderbox breakages"
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/source/stream/WPXSvStream.cxx6
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);