xmloff/source/forms/layerexport.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 94c4a221556d27fd203a50396de5a3f02f00699e Author: Stephan Bergmann <[email protected]> Date: Fri Oct 11 12:00:17 2013 +0200 loplugin if-body warnings Change-Id: Iea42dc54c6d3b81142939b920d932d4cf83dc6e1 diff --git a/xmloff/source/forms/layerexport.cxx b/xmloff/source/forms/layerexport.cxx index 88fc19d..f8838c3 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 _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
