summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-10-11 12:00:17 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-10-11 12:00:32 +0200
commit94c4a221556d27fd203a50396de5a3f02f00699e (patch)
treec63354e16997e1729b48254ae027815cf53be5c5 /xmloff
parent0a0248f89048fb3d85696eddbbcb2c176bc468c5 (diff)
loplugin if-body warnings
Change-Id: Iea42dc54c6d3b81142939b920d932d4cf83dc6e1
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/forms/layerexport.cxx4
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