summaryrefslogtreecommitdiff
path: root/sot/source/sdstor/stgio.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sot/source/sdstor/stgio.cxx')
-rw-r--r--sot/source/sdstor/stgio.cxx12
1 files changed, 1 insertions, 11 deletions
diff --git a/sot/source/sdstor/stgio.cxx b/sot/source/sdstor/stgio.cxx
index c4294924697a..7d90c490c634 100644
--- a/sot/source/sdstor/stgio.cxx
+++ b/sot/source/sdstor/stgio.cxx
@@ -55,17 +55,7 @@ bool StgIo::Load()
{
if( GetStrm() )
{
- bool bLoaded;
- try
- {
- bLoaded = m_aHdr.Load(*this);
- }
- catch (const SvStreamEOFException&)
- {
- SAL_WARN("sot", "EOF");
- bLoaded = false;
- }
- if (bLoaded)
+ if( m_aHdr.Load( *this ) )
{
if( m_aHdr.Check() )
SetupStreams();