diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-10 12:31:09 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-10 17:11:48 +0100 |
commit | 854711a0cf43acdc509d57c3bfae6fd056697535 (patch) | |
tree | c1242abf6791830d0b39d1cb6e0f9eeed36b62dc /sot | |
parent | e99477a059db544c2950679f22b44972c0f16f37 (diff) |
StgStrm::Write returns sal_Int32, not bool
Change-Id: Idfc30d55a0c282c9869a6470ca99ac9cb7f6b817
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/stgstrms.cxx | 2 |
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 ) |