diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-09-25 20:43:53 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-09-25 20:58:52 +0200 |
commit | 24a0129274ebfd41b4a2e81ec7cb5be238b9cf78 (patch) | |
tree | c4f1a86f4263968ce79bc419a7238ffa48ffb7a9 /xmloff | |
parent | 021307d659984e937b18b9eb760d8d8d8b91da54 (diff) |
assert that XMLTransformerBase::m_xHandler is initialized
Just seen a test with a null m_xHandler, no idea how that happened.
Change-Id: I2e5ff9d3c799284beea5fdca37fa8a825f8a4756
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/transform/TransformerBase.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmloff/source/transform/TransformerBase.cxx b/xmloff/source/transform/TransformerBase.cxx index 513692f05757..f74c6877623f 100644 --- a/xmloff/source/transform/TransformerBase.cxx +++ b/xmloff/source/transform/TransformerBase.cxx @@ -489,6 +489,8 @@ void SAL_CALL XMLTransformerBase::initialize( const Sequence< Any >& aArguments } } + + assert(m_xHandler.is()); // can't do anything without that } static sal_Int16 lcl_getUnit( const OUString& rValue ) |