diff options
author | Sascha Ballach <sab@openoffice.org> | 2000-11-22 12:45:15 +0000 |
---|---|---|
committer | Sascha Ballach <sab@openoffice.org> | 2000-11-22 12:45:15 +0000 |
commit | 82d1acf6eb6f86db362e800cc0c9a154fb1fe1c4 (patch) | |
tree | e22109b0853b3fae79bcd296ccf3eb1667e3b32d | |
parent | 7e46d0867c1bca4e3ca114ca90166d927ce54add (diff) |
#80598#; catch the exception, this is only a hack. The original bug is #80606# .
-rw-r--r-- | xmloff/source/text/txtfldi.cxx | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx index 98f360636ff1..2ea0fd3e109f 100644 --- a/xmloff/source/text/txtfldi.cxx +++ b/xmloff/source/text/txtfldi.cxx @@ -2,9 +2,9 @@ * * $RCSfile: txtfldi.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: dvo $ $Date: 2000-11-14 13:43:09 $ + * last change: $Author: sab $ $Date: 2000-11-22 13:42:43 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -447,8 +447,16 @@ void XMLTextFieldImportContext::EndElement() // attach field to document Reference<XTextContent> xTextContent(xPropSet, UNO_QUERY); - rTextImportHelper.InsertTextContent(xTextContent); + // workaround for #80606# + try + { + rTextImportHelper.InsertTextContent(xTextContent); + } + catch (lang::IllegalArgumentException e) + { + // ignore + } return; } } |