diff options
author | Frank Schönheit <fs@openoffice.org> | 2001-04-09 10:09:57 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2001-04-09 10:09:57 +0000 |
commit | 1c8a716dc03c1358f24c627bea81288e769db169 (patch) | |
tree | 9cdfe92740fb1cb2a13eae3173e9a638279c6f87 /forms/source/component/Grid.cxx | |
parent | e944b39f1a89e34042199ff128c3ab4cd5828901 (diff) |
#85890# handling for the HelpText
Diffstat (limited to 'forms/source/component/Grid.cxx')
-rw-r--r-- | forms/source/component/Grid.cxx | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/forms/source/component/Grid.cxx b/forms/source/component/Grid.cxx index 72c19744cfd2..8babbc38eebe 100644 --- a/forms/source/component/Grid.cxx +++ b/forms/source/component/Grid.cxx @@ -2,9 +2,9 @@ * * $RCSfile: Grid.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: fs $ $Date: 2001-04-02 10:28:06 $ + * last change: $Author: fs $ $Date: 2001-04-09 11:09:57 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -461,6 +461,9 @@ void OGridControlModel::getFastPropertyValue(Any& rValue, sal_Int32 nHandle ) co { switch (nHandle) { + case PROPERTY_ID_HELPTEXT: + rValue <<= m_sHelpText; + break; case PROPERTY_ID_HELPURL: rValue <<= m_sHelpURL; break; @@ -545,6 +548,9 @@ sal_Bool OGridControlModel::convertFastPropertyValue( Any& rConvertedValue, Any& sal_Bool bModified(sal_False); switch (nHandle) { + case PROPERTY_ID_HELPTEXT: + bModified = tryPropertyValue(rConvertedValue, rOldValue, rValue, m_sHelpText); + break; case PROPERTY_ID_HELPURL: bModified = tryPropertyValue(rConvertedValue, rOldValue, rValue, m_sHelpURL); break; @@ -639,6 +645,9 @@ void OGridControlModel::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, con { switch (nHandle) { + case PROPERTY_ID_HELPTEXT: + rValue >>= m_sHelpText; + break; case PROPERTY_ID_HELPURL: rValue >>= m_sHelpURL; break; |