Bug 146847

Summary: No documentation for integer division operator \ in Basic
Product: LibreOffice Reporter: Mike Kaganski <mikekaganski>
Component: DocumentationAssignee: Alain Romedenne <alain.romedenne>
Status: RESOLVED FIXED    
Severity: normal CC: olivier.hallot
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard: target:7.4.0
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 80430    

Description Mike Kaganski 2022-01-18 21:34:36 UTC
"Mathematical Operators" [1] doesn't list operator \ (integer division). It is defined as IDIV [2] - relevant is SbxValue::Compute. Its only uses in our codebase are in unit tests added in https://git.libreoffice.org/core/+/565a5fdee3c00b383b4d36180be845d48fd42556.

VBA documentation is at https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/backslash-operator.

[1] https://help.libreoffice.org/7.4/en-US/text/sbasic/shared/03070000.html
[2] https://opengrok.libreoffice.org/search?&full=*IDIV*&path=%2Fbasic%2F&project=core&sort=fullpath
Comment 1 Commit Notification 2022-01-31 13:12:39 UTC
Alain Romedenne committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/d5322f2e2832fa0567505439dfb1ad0e1af0d578

tdf#146847 Integer Division (\) operator help page
Comment 2 Commit Notification 2022-02-12 08:57:49 UTC
Alain Romedenne committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/3994c9e899323a85d4db4f9264f5dda8aae5b92b

tdf#146847 (\) Integer Division operator help page
Comment 3 Commit Notification 2022-02-17 23:51:39 UTC
Alain Romedenne committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/d8d02f0803ea5eb98cfc120b52e1892cb5e1c6e5

tdf#146847 correction to Integer division help page
Comment 4 Commit Notification 2022-03-21 12:08:51 UTC
Alain Romedenne committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/ced4b1d58efe8b35289643376d082fb416edae21

tdf#146847 Typo in IDIV Basic help page