summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/doctempl.cxx
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2002-04-23 13:13:40 +0000
committerMathias Bauer <mba@openoffice.org>2002-04-23 13:13:40 +0000
commit76f88c05e0b0346543385711c6bdf8ca1604cc20 (patch)
treed6b0a1c8501d9953f49354a390fdb80d2da360f2 /sfx2/source/doc/doctempl.cxx
parentdeec39ce1430ffd5dc59c70a3b98b0237c8e2299 (diff)
#98676#: don't crash on opening invalid templates
Diffstat (limited to 'sfx2/source/doc/doctempl.cxx')
-rw-r--r--sfx2/source/doc/doctempl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx
index c662e40226..b1ebb9c08f 100644
--- a/sfx2/source/doc/doctempl.cxx
+++ b/sfx2/source/doc/doctempl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: doctempl.cxx,v $
*
- * $Revision: 1.46 $
+ * $Revision: 1.47 $
*
- * last change: $Author: mav $ $Date: 2002-01-11 18:12:03 $
+ * last change: $Author: mba $ $Date: 2002-04-23 14:13:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1786,7 +1786,7 @@ SfxObjectShellRef EntryData_Impl::CreateObjectShell()
ErrorHandler::HandleError(lErr);
}
- else
+ else if (pFilter)
{
const SfxObjectFactory &rFactory =
((SfxFactoryFilterContainer*)pFilter->GetFilterContainer())