From 94c4a221556d27fd203a50396de5a3f02f00699e Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 11 Oct 2013 12:00:17 +0200 Subject: loplugin if-body warnings Change-Id: Iea42dc54c6d3b81142939b920d932d4cf83dc6e1 --- xmloff/source/forms/layerexport.cxx | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit