[Libreoffice-commits] .: writerperfect/source
Fridrich Strba
fridrich at kemper.freedesktop.org
Fri May 25 06:22:59 PDT 2012
writerperfect/source/stream/WPXSvStream.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 70d473c07d79dc59a69f6cc725c026eacdc12c2a
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date: Fri May 25 15:22:30 2012 +0200
Blind Hail Mary trying to solve tinderbox breakages
Change-Id: Ic69195e2ae991cf837c3dcfb086d9834f99b2d40
diff --git a/writerperfect/source/stream/WPXSvStream.cxx b/writerperfect/source/stream/WPXSvStream.cxx
index d71e155..7039b42 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);
More information about the Libreoffice-commits
mailing list