diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-10 12:32:04 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-10 17:11:49 +0100 |
commit | aeae24309fa00f02f03192ce0f21aa38d0d718b2 (patch) | |
tree | 7a6e9727c041b0c7bb254dc935e863241d734748 /sot | |
parent | 854711a0cf43acdc509d57c3bfae6fd056697535 (diff) |
Add FIXME for odd sal_Int32/bool mismatch
Change-Id: Ief4a1b2879c36b6e5440d2a7ebea1681f50ff3b1
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/stgstrms.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sot/source/sdstor/stgstrms.cxx b/sot/source/sdstor/stgstrms.cxx index bf751a33e681..722095e50605 100644 --- a/sot/source/sdstor/stgstrms.cxx +++ b/sot/source/sdstor/stgstrms.cxx @@ -236,7 +236,9 @@ sal_Int32 StgFAT::AllocPages( sal_Int32 nBgn, sal_Int32 nPgs ) if( !rStrm.SetSize( ( nPages + nPgs ) << 2 ) ) return STG_EOF; if( !bPhys && !InitNew( nPages ) ) - return false; + return 0; + // FIXME: this was originally "FALSE", whether or not that + // makes sense (or should be STG_EOF instead, say?) nPages = rStrm.GetSize() >> 2; nPasses++; } |