summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorJean-Pierre Ledure <jp@ledure.be>2021-01-04 12:14:59 +0100
committerJean-Pierre Ledure <jp@ledure.be>2021-01-04 12:41:02 +0100
commitc832000c08c6c348d8c1e4914477d6820a42656d (patch)
tree4ca2ce1248a9223586ae81e56fdc839d5b1a50d1 /source
parentdecf4898bd9079f9677f501cb9f5f2d2038984d5 (diff)
ReplaceKey() method: the replacing key,
(2nd argument of the method) must not exist Change-Id: Ia8613c5c82c0a086e0948032f912d828e52e1feb Reviewed-on: https://gerrit.libreoffice.org/c/help/+/108589 Tested-by: Jenkins Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
Diffstat (limited to 'source')
-rw-r--r--source/text/sbasic/shared/03/sf_dictionary.xhp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/text/sbasic/shared/03/sf_dictionary.xhp b/source/text/sbasic/shared/03/sf_dictionary.xhp
index 0e63b8d06e..35c56ec0ed 100644
--- a/source/text/sbasic/shared/03/sf_dictionary.xhp
+++ b/source/text/sbasic/shared/03/sf_dictionary.xhp
@@ -385,7 +385,7 @@
</bascode>
<h3 id="hd_id791582896597306" localize="false"><embedvar href="text/sbasic/shared/00000003.xhp#functparameters"/></h3>
<paragraph role="paragraph" id="par_id911582896597619"><emph>Key</emph> : Not case-sensitive. Must exist in the dictionary, otherwise a <literal>UNKNOWNKEYERROR</literal> error is generated.</paragraph>
- <paragraph role="paragraph" id="par_id531582896597989"><emph>Value</emph> : Not case-sensitive. Must exist in the dictionary, otherwise a <literal>DUPLICATEKEYERROR</literal> error is generated.</paragraph>
+ <paragraph role="paragraph" id="par_id531582896597989"><emph>Value</emph> : Not case-sensitive. Must not exist in the dictionary, otherwise a <literal>DUPLICATEKEYERROR</literal> error is generated.</paragraph>
<h3 id="hd_id931582896597782" localize="false"><embedvar href="text/sbasic/shared/00000003.xhp#functexample"/></h3>
<bascode>
<paragraph role="bascode" localize="false" id="bas_id521582896597313"> myDict.ReplaceKey("OldKey", "NewKey")</paragraph>