summaryrefslogtreecommitdiff
path: root/svx/source/xml/xmlxtimp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/xml/xmlxtimp.cxx')
-rw-r--r--svx/source/xml/xmlxtimp.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/svx/source/xml/xmlxtimp.cxx b/svx/source/xml/xmlxtimp.cxx
index a6d2b80194b4..a2ce48ddc713 100644
--- a/svx/source/xml/xmlxtimp.cxx
+++ b/svx/source/xml/xmlxtimp.cxx
@@ -476,8 +476,9 @@ bool SvxXMLXTableImport::load( const OUString &rPath, const OUString &rReferer,
try
{
- uno::Reference< io::XSeekable > xSeek( aParserInput.aInputStream, uno::UNO_QUERY_THROW );
- xSeek->seek( 0 );
+ uno::Reference< io::XSeekable > xSeek( aParserInput.aInputStream, uno::UNO_QUERY );
+ if (xSeek)
+ xSeek->seek( 0 );
}
catch (const uno::Exception&)
{