summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/frame/status/ItemState.idl11
1 files changed, 11 insertions, 0 deletions
diff --git a/offapi/com/sun/star/frame/status/ItemState.idl b/offapi/com/sun/star/frame/status/ItemState.idl
index 2b915be01705..e2de7538775a 100644
--- a/offapi/com/sun/star/frame/status/ItemState.idl
+++ b/offapi/com/sun/star/frame/status/ItemState.idl
@@ -41,6 +41,17 @@ constants ItemState
const short DISABLED = 1;
/** specifies that the property is currently read-only.
+ *
+ * Deprecated: There is no equivalent in SfxItemState
+ * anymore due to not being used, so remove for simplification
+ * reasons and to prepare rework of Item/ItemSet/ItemPool stuff.
+ *
+ * There are only three usages of ::ItemState in the code which
+ * all set the internal SfxItem to SfxVoidItem when triggered,
+ * which is equlivalent to state SfxItemState::DISABLED (see
+ * e.g. SfxItemSet::GetItemState), so READ_ONLY gets not used
+ * in internal handling, even when eventually existing UNO API
+ * usages hand it over the office.
*/
const short READ_ONLY = 2;