diff options
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/doc/docfile.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/doc/graphhelp.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index 588e349a2e5b..cfa203a85b44 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -829,9 +829,9 @@ bool SfxMedium::Commit() if( pImpl->xStorage.is() ) StorageCommit_Impl(); else if( pImpl->m_pOutStream ) - pImpl->m_pOutStream->Flush(); + pImpl->m_pOutStream->FlushBuffer(); else if( pImpl->m_pInStream ) - pImpl->m_pInStream->Flush(); + pImpl->m_pInStream->FlushBuffer(); if ( GetError() == ERRCODE_NONE ) { diff --git a/sfx2/source/doc/graphhelp.cxx b/sfx2/source/doc/graphhelp.cxx index 04b55df9c18c..dffb1bce163a 100644 --- a/sfx2/source/doc/graphhelp.cxx +++ b/sfx2/source/doc/graphhelp.cxx @@ -188,7 +188,7 @@ bool GraphicHelper::getThumbnailFormatFromBitmap_Impl(const BitmapEx& rBitmap, c if (rFilter.compressAsPNG(bitmap, *pStream) != ERRCODE_NONE) return false; - pStream->Flush(); + pStream->FlushBuffer(); return !pStream->GetError(); } |