summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-03-20 15:51:38 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-03-20 15:51:38 +0000
commit2ee7ad015147de33c172677b70a120f45f2e794f (patch)
tree488d5e91b9d629234cbbe9116faa863238f21c03 /lotuswordpro
parentd31cdf523cf83f62280aa288765ffc2c1457f066 (diff)
Resolves: ofz#820 an exception is an acceptable outcome
Change-Id: Ifc5be483387202c371596fd52f1e2ce682151ca8
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwpfilter.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpfilter.cxx b/lotuswordpro/source/filter/lwpfilter.cxx
index 8f8c8a365209..cfa6b42ff405 100644
--- a/lotuswordpro/source/filter/lwpfilter.cxx
+++ b/lotuswordpro/source/filter/lwpfilter.cxx
@@ -215,13 +215,12 @@ int ReadWordproFile(SvStream &rStream, uno::Reference<css::xml::sax::XDocumentHa
//Reset all static objects,because this function may be called many times.
XFGlobalReset();
reader.Read();
-
- return 0;
}
catch (...)
{
return 1;
}
+ return 0;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */