[Libreoffice-commits] core.git: xmloff/source
Stephan Bergmann
sbergman at redhat.com
Fri Oct 11 03:01:00 PDT 2013
xmloff/source/forms/layerexport.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 94c4a221556d27fd203a50396de5a3f02f00699e
Author: Stephan Bergmann <sbergman at redhat.com>
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
More information about the Libreoffice-commits
mailing list