Bug 125645 - [HELP] SWITCH function default_value/default_result
Summary: [HELP] SWITCH function default_value/default_result
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
6.3.0.0.alpha1+
Hardware: All All
: medium normal
Assignee: Olivier Hallot
URL:
Whiteboard: target:6.4.0 target:6.3.0.1
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-02 18:11 UTC by raal
Modified: 2019-06-03 04:02 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
printscreen (60.34 KB, image/png)
2019-06-02 18:14 UTC, raal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description raal 2019-06-02 18:11:43 UTC
Description:
SWITCH compares expression with value1 to valuen and returns the result belonging to the first value that equals expression. If there is no match and default_value is given, that will be returned.

 Syntax

SWITCH( expression, value1, result1[, value2, result2][, … ][, default_result] )

In explanation of function is default_value, but in syntax is default_result. Should be the same.

Actual Results:
In explanation of function is default_value, but in syntax is default_result. 

Expected Results:
Should be the same.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 raal 2019-06-02 18:14:04 UTC
Created attachment 151857 [details]
printscreen
Comment 2 Commit Notification 2019-06-02 19:21:58 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/+/3e4a49f5e61c535044538a23eaf7a6b222a7c57a%5E%21

tdf#125645 Fix reference in SWITCH function help page
Comment 3 Commit Notification 2019-06-03 04:02:53 UTC
Olivier Hallot committed a patch related to this issue.
It has been pushed to "libreoffice-6-3":

https://git.libreoffice.org/help/+/4b1d391bfa22e1090122c9dec944f60860b6f557%5E%21

tdf#125645 Fix reference in SWITCH function help page