diff options
Diffstat (limited to 'sot/source')
-rw-r--r-- | sot/source/unoolestorage/xolesimplestorage.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sot/source/unoolestorage/xolesimplestorage.cxx b/sot/source/unoolestorage/xolesimplestorage.cxx index 9336b67bb32f..a3ce980fdbe4 100644 --- a/sot/source/unoolestorage/xolesimplestorage.cxx +++ b/sot/source/unoolestorage/xolesimplestorage.cxx @@ -97,8 +97,9 @@ OLESimpleStorage::OLESimpleStorage( { try { - uno::Reference< io::XSeekable > xSeek( xInputStream, uno::UNO_QUERY_THROW ); - xSeek->seek( 0 ); + uno::Reference< io::XSeekable > xSeek( xInputStream, uno::UNO_QUERY ); + if (xSeek) + xSeek->seek( 0 ); } catch( uno::Exception& ) {} |