From 854711a0cf43acdc509d57c3bfae6fd056697535 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 10 Jan 2014 12:31:09 +0100 Subject: StgStrm::Write returns sal_Int32, not bool Change-Id: Idfc30d55a0c282c9869a6470ca99ac9cb7f6b817 --- sot/source/sdstor/stgstrms.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sot') diff --git a/sot/source/sdstor/stgstrms.cxx b/sot/source/sdstor/stgstrms.cxx index 29a5daecd70d..bf751a33e681 100644 --- a/sot/source/sdstor/stgstrms.cxx +++ b/sot/source/sdstor/stgstrms.cxx @@ -1078,7 +1078,7 @@ sal_Int32 StgSmallStrm::Write( const void* pBuf, sal_Int32 n ) { sal_Int32 nOld = nPos; if( !SetSize( nPos + n ) ) - return false; + return 0; Pos2Page( nOld ); } while( n ) -- cgit