summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-10-11 12:19:50 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-10-11 12:20:03 +0200
commit521cf8fe4d953b8af72c666403f965d624dbfa99 (patch)
tree277a44e147511fad30ef9cc33c74f781bad8a111 /svx
parent1a56bda2aa8d1aea587aec8021e4380abf0effb3 (diff)
loplugin if-body warning
Change-Id: If19c06fafc6bdf121e72e49329c89839693297bf
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/fmpgeimp.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/form/fmpgeimp.cxx b/svx/source/form/fmpgeimp.cxx
index 2dc627569a10..86842ed7959a 100644
--- a/svx/source/form/fmpgeimp.cxx
+++ b/svx/source/form/fmpgeimp.cxx
@@ -266,7 +266,9 @@ namespace
Reference< XControlModel > xControlModel( _object.GetUnoControlModel(), UNO_QUERY );
OSL_ENSURE( xControlModel.is(), "lcl_removeFormObject: suspicious: no control model!" );
if ( !xControlModel.is() )
+ {
return;
+ }
#if OSL_DEBUG_LEVEL > 0
Any aOldAssignment =