diff options
-rw-r--r-- | xmloff/source/forms/layerexport.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xmloff/source/forms/layerexport.cxx b/xmloff/source/forms/layerexport.cxx index 88fc19d395e6..f8838c3072c4 100644 --- a/xmloff/source/forms/layerexport.cxx +++ b/xmloff/source/forms/layerexport.cxx @@ -270,7 +270,9 @@ namespace xmloff // get the forms collection of the page Reference< XIndexAccess > xCollectionIndex; if (!impl_isFormPageContainingForms(_rxDrawPage, xCollectionIndex)) + { return; + } #if OSL_DEBUG_LEVEL > 0 sal_Bool bPageIsKnown = @@ -406,7 +408,9 @@ namespace xmloff // get the forms collection of the page Reference< XIndexAccess > xCollectionIndex; if (!impl_isFormPageContainingForms(_rxDrawPage, xCollectionIndex)) + { return; + } // move the iterator which specify the currently handled page #if OSL_DEBUG_LEVEL > 0 |