summaryrefslogtreecommitdiff
path: root/svx/source/form
diff options
context:
space:
mode:
authorVladimir Glazunov <vg@openoffice.org>2010-02-15 15:55:35 +0100
committerVladimir Glazunov <vg@openoffice.org>2010-02-15 15:55:35 +0100
commit5425bea512ea8ee87fb5ee34d0587936101c5d3a (patch)
tree0236c6da85e124b43b1933a82abdcf8963cec36c /svx/source/form
parent919bd854d2257cfdbeaeb4e086f83fa8409f8e58 (diff)
parent07e314f63e3f1f3649e8ba91f36758519d585183 (diff)
CWS-TOOLING: integrate CWS cmcfixes71
Diffstat (limited to 'svx/source/form')
-rw-r--r--svx/source/form/filtnav.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/form/filtnav.cxx b/svx/source/form/filtnav.cxx
index f3a5a67d39e6..ec30ae64b21d 100644
--- a/svx/source/form/filtnav.cxx
+++ b/svx/source/form/filtnav.cxx
@@ -374,10 +374,12 @@ void FmFilterAdapter::AddOrRemoveListener( const Reference< XIndexAccess >& _rxC
Reference< XFilterController > xController( xElement, UNO_QUERY );
OSL_ENSURE( xController.is(), "FmFilterAdapter::InsertElements: no XFilterController, cannot sync data!" );
if ( xController.is() )
+ {
if ( _bAdd )
xController->addFilterControllerListener( this );
else
xController->removeFilterControllerListener( this );
+ }
}
}