summaryrefslogtreecommitdiff
path: root/sw/source/filter/rtf
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-07-28 13:34:51 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-07-28 13:35:04 +0100
commit38041f76d6a290b98d598f562767990cab36c21b (patch)
tree2da76e7d75d1c01d47d82db13c30c2a65c909327 /sw/source/filter/rtf
parent2e6d96408ea726b652215b11c4fc9ef56c8e1361 (diff)
not interested in exceptions for fftester testing
Change-Id: I825e89a9d515f2f19eca190b1e3cc2d2ad565df3
Diffstat (limited to 'sw/source/filter/rtf')
-rw-r--r--sw/source/filter/rtf/swparrtf.cxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/sw/source/filter/rtf/swparrtf.cxx b/sw/source/filter/rtf/swparrtf.cxx
index 5bd382608f56..e463f5ac2701 100644
--- a/sw/source/filter/rtf/swparrtf.cxx
+++ b/sw/source/filter/rtf/swparrtf.cxx
@@ -181,7 +181,14 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool SAL_CALL TestImportRTF(const OUString &rURL
}
SwPaM aPaM( aIdx );
aPaM.GetPoint()->nContent.Assign(aIdx.GetNode().GetContentNode(), 0);
- bool bRet = pReader->Read(*pD, OUString(), aPaM, OUString()) == 0;
+ bool bRet = false;
+ try
+ {
+ bRet = pReader->Read(*pD, OUString(), aPaM, OUString()) == 0;
+ }
+ catch (std::exception const& e)
+ {
+ }
delete pReader;
return bRet;
}