summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-11-16 15:18:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-11-16 18:07:50 +0100
commitd52f83c7dbeba243aa9cb0f8f129df2fe543a7d3 (patch)
treeab6f5a7e3aaeacc9866441f0bc88d889e4d14e56 /xmloff
parentb9ef71476fd70bc13f50ebe80390e0730d1b7afb (diff)
tdf#138144 Form wizard fails to save
fallout from commit 3de38e95561ab7ca114d9f3307702ba89c4e3e9a Date: Tue Nov 10 19:20:06 2020 +0200 use fastparser in forms Change-Id: I4691786525132ef0cf98b6b177a2c022c4d7d032 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105932 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/forms/elementimport.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx
index 3ebd9b765a95..1fac083e463c 100644
--- a/xmloff/source/forms/elementimport.cxx
+++ b/xmloff/source/forms/elementimport.cxx
@@ -1763,11 +1763,8 @@ namespace xmloff
OSL_ENSURE(!m_xOwnAttributes.is(), "OColumnWrapperImport::StartElement: already have the cloned list!");
// clone the attributes
- Reference< XCloneable > xCloneList(_rxAttrList, UNO_QUERY);
- OSL_ENSURE(xCloneList.is(), "OColumnWrapperImport::StartElement: AttributeList not clonable!");
- if ( xCloneList.is() )
- m_xOwnAttributes.set(xCloneList->createClone(), UNO_QUERY);
- OSL_ENSURE(m_xOwnAttributes.is(), "OColumnWrapperImport::StartElement: no cloned list!");
+ Reference< XCloneable > xCloneList(_rxAttrList, UNO_QUERY_THROW);
+ m_xOwnAttributes.set(xCloneList->createClone(), UNO_QUERY_THROW);
}
OControlImport* OColumnWrapperImport::implCreateChildContext(