summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-01-19 14:36:24 +0000
committerOliver Bolte <obo@openoffice.org>2006-01-19 14:36:24 +0000
commit25b12d9ae1e0aff566131e294519f06f83c0d735 (patch)
treeb33bfd73afe2f4b5e304d2b30e597f1c3178fa2a
parent9dab15ae62924cdd36255c66b1e73c607d98eda0 (diff)
INTEGRATION: CWS dba202e (1.48.26); FILE MERGED
2005/12/08 14:35:22 fs 1.48.26.1: #114193# +DisableNotification
-rw-r--r--unotools/source/config/configitem.cxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/unotools/source/config/configitem.cxx b/unotools/source/config/configitem.cxx
index 53d2b9a44716..54109692b38e 100644
--- a/unotools/source/config/configitem.cxx
+++ b/unotools/source/config/configitem.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: configitem.cxx,v $
*
- * $Revision: 1.48 $
+ * $Revision: 1.49 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 09:41:35 $
+ * last change: $Author: obo $ $Date: 2006-01-19 15:36:24 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -765,6 +765,14 @@ sal_Bool ConfigItem::PutProperties( const Sequence< OUString >& rNames,
return bRet;
}
+/* -----------------------------08.12.05 15:27--------------------------------
+
+ ---------------------------------------------------------------------------*/
+void ConfigItem::DisableNotification()
+{
+ OSL_ENSURE( xChangeLstnr.is(), "ConfigItem::DisableNotification: notifications not enabled currently!" );
+ RemoveListener();
+}
/* -----------------------------29.08.00 16:19--------------------------------
---------------------------------------------------------------------------*/