summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/unoobj/filtuno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/filtuno.cxx b/sc/source/ui/unoobj/filtuno.cxx
index df7456273747..c20dd62f1406 100644
--- a/sc/source/ui/unoobj/filtuno.cxx
+++ b/sc/source/ui/unoobj/filtuno.cxx
@@ -73,7 +73,7 @@ namespace
charsetSource load_CharSet(rtl_TextEncoding &nCharSet, bool bExport, SvStream* dbf_Stream)
{
- if (dbfReadCharset(nCharSet, dbf_Stream))
+ if (dbf_Stream && dbfReadCharset(nCharSet, dbf_Stream))
{
return charsetSource::charset_from_file;
}