summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2002-11-04 12:45:49 +0000
committerOcke Janssen <oj@openoffice.org>2002-11-04 12:45:49 +0000
commit2359d8c5c6b1bd09f3e88e21b673922a89a4c7f2 (patch)
tree73843e9fa0a835f878611a434da0df2733b75869
parent583e98be734ba78e73f89c8d9da89f807db658da (diff)
#104693# check first if filtering is enabled
-rw-r--r--svx/source/form/fmctrler.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/svx/source/form/fmctrler.cxx b/svx/source/form/fmctrler.cxx
index b235624cd07f..ab091b4df4d5 100644
--- a/svx/source/form/fmctrler.cxx
+++ b/svx/source/form/fmctrler.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: fmctrler.cxx,v $
*
- * $Revision: 1.28 $
+ * $Revision: 1.29 $
*
- * last change: $Author: oj $ $Date: 2002-10-07 13:02:57 $
+ * last change: $Author: oj $ $Date: 2002-11-04 13:45:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2619,14 +2619,14 @@ void FmXFormController::startFiltering()
void FmXFormController::stopFiltering()
{
OSL_ENSURE(!FmXFormController_BASE1::rBHelper.bDisposed,"FmXFormController: Object already disposed!");
- if (!m_pView)
- {
- DBG_ERROR("FmXFormController::startFiltering : you can't filter if you created me as service !");
+ if ( !m_bFiltering ) // #104693# OJ
+ { // nothing to do
return;
}
- if ( !m_bFiltering )
- { // nothing to do
+ if (!m_pView)
+ {
+ DBG_ERROR("FmXFormController::startFiltering : you can't filter if you created me as service !");
return;
}