summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sot/source/sdstor/stgstrms.cxx2
1 files changed, 1 insertions, 1 deletions
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 )