[Libreoffice-bugs] [Bug 140485] Password does not get set to Protect Sheet when added through LibreOffice BASIC

2021-03-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140485 Xisco FaulĂ­ changed: What|Removed |Added Ever confirmed|0 |1 Severity|normal

[Libreoffice-bugs] [Bug 140485] Password does not get set to Protect Sheet when added through LibreOffice BASIC

2021-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140485 --- Comment #15 from Andreas Heinisch --- Could be a valid enhancement request, but it may break exisiting (but wrong) macros. However, the function does what the documentation states. -- You are receiving this mail because: You are

[Libreoffice-bugs] [Bug 140485] Password does not get set to Protect Sheet when added through LibreOffice BASIC

2021-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140485 --- Comment #14 from Uwe Auer --- (In reply to Andreas Heinisch from comment #12) > But we could throw a runtime error ... that's ok, but then it is not a bug but an enhancement request. I stick with the statements that the code is

[Libreoffice-bugs] [Bug 140485] Password does not get set to Protect Sheet when added through LibreOffice BASIC

2021-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140485 --- Comment #13 from An-Kh --- (In reply to Andreas Heinisch from comment #12) > But we could throw a runtime error ... Yess.. I think some kind of indication should be there -- You are receiving this mail because: You are the

[Libreoffice-bugs] [Bug 140485] Password does not get set to Protect Sheet when added through LibreOffice BASIC

2021-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140485 --- Comment #12 from Andreas Heinisch --- But we could throw a runtime error ... -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list

[Libreoffice-bugs] [Bug 140485] Password does not get set to Protect Sheet when added through LibreOffice BASIC

2021-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140485 --- Comment #11 from Andreas Heinisch --- Imho, the behaviour is correct, since, if IsMissing is used on a non optional parameter it always gives false. -- You are receiving this mail because: You are the assignee for the

[Libreoffice-bugs] [Bug 140485] Password does not get set to Protect Sheet when added through LibreOffice BASIC

2021-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140485 --- Comment #10 from himajin100...@gmail.com --- IMHO, It looks at least to me that in order to give compile-time error "IsMissing" has to be a language construct rather than a function. -- You are receiving this mail because: You are

[Libreoffice-bugs] [Bug 140485] Password does not get set to Protect Sheet when added through LibreOffice BASIC

2021-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140485 --- Comment #9 from An-Kh --- (In reply to himajin10 from comment #6) > note: > > https://opengrok.libreoffice.org/xref/core/basic/source/runtime/methods. > cxx?r=3482f590#2500 Hii I saw the code in the above link. It should give

[Libreoffice-bugs] [Bug 140485] Password does not get set to Protect Sheet when added through LibreOffice BASIC

2021-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140485 --- Comment #8 from An-Kh --- (In reply to Uwe Auer from comment #7) > (In reply to An-Kh from comment #5) > > > I saw this code in the Bug 133257 > > You saw it in a bug, which indicates that it did not work That bug was unrelated to

[Libreoffice-bugs] [Bug 140485] Password does not get set to Protect Sheet when added through LibreOffice BASIC

2021-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140485 --- Comment #7 from Uwe Auer --- (In reply to An-Kh from comment #5) > I saw this code in the Bug 133257 You saw it in a bug, which indicates that it did not work -- You are receiving this mail because: You are the assignee for the

[Libreoffice-bugs] [Bug 140485] Password does not get set to Protect Sheet when added through LibreOffice BASIC

2021-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140485 --- Comment #6 from himajin100...@gmail.com --- note: https://opengrok.libreoffice.org/xref/core/basic/source/runtime/methods.cxx?r=3482f590#2500 -- You are receiving this mail because: You are the assignee for the

[Libreoffice-bugs] [Bug 140485] Password does not get set to Protect Sheet when added through LibreOffice BASIC

2021-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140485 --- Comment #5 from An-Kh --- Hi I think that in this case, some kind of dialog box should pop up telling that Dim pPassword As String If IsMissing(pPassword) is not allowed. I saw this code in the Bug 133257 -- You are

[Libreoffice-bugs] [Bug 140485] Password does not get set to Protect Sheet when added through LibreOffice BASIC

2021-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140485 --- Comment #4 from Uwe Auer --- (In reply to An-Kh from comment #2) > > Therefore provided a solution (which you obviously did not check) to change: > Change to my previous comment: - Dim pPassword As String - Function

[Libreoffice-bugs] [Bug 140485] Password does not get set to Protect Sheet when added through LibreOffice BASIC

2021-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140485 --- Comment #3 from Uwe Auer --- (In reply to An-Kh from comment #2) I did understand your code, but probably you did not understand my answer. To be precise and clear: Your code is wrong and I explained why. > If IsMissing(pPassword)

[Libreoffice-bugs] [Bug 140485] Password does not get set to Protect Sheet when added through LibreOffice BASIC

2021-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140485 --- Comment #2 from An-Kh --- (In reply to Uwe Auer from comment #1) > The problem is with > > > If IsMissing(pPassword) Then pPassword = "SomePassword" > > which does not set the password pPassword to "SomePassword". Runtime >

[Libreoffice-bugs] [Bug 140485] Password does not get set to Protect Sheet when added through LibreOffice BASIC

2021-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140485 --- Comment #1 from Uwe Auer --- The problem is with > If IsMissing(pPassword) Then pPassword = "SomePassword" which does not set the password pPassword to "SomePassword". Runtime function "IsMissing" tests if a function is called

[Libreoffice-bugs] [Bug 140485] Password does not get set to Protect Sheet when added through LibreOffice BASIC

2021-02-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140485 An-Kh changed: What|Removed |Added Assignee|anshukhar...@gmail.com |libreoffice-b...@lists.free

[Libreoffice-bugs] [Bug 140485] Password does not get set to Protect Sheet when added through LibreOffice BASIC

2021-02-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140485 An-Kh changed: What|Removed |Added Assignee|libreoffice-b...@lists.free |anshukhar...@gmail.com

[Libreoffice-bugs] [Bug 140485] Password does not get set to Protect Sheet when added through LibreOffice BASIC

2021-02-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140485 An-Kh changed: What|Removed |Added Assignee|anshukhar...@gmail.com |libreoffice-b...@lists.free

[Libreoffice-bugs] [Bug 140485] Password does not get set to Protect Sheet when added through LibreOffice BASIC

2021-02-17 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140485 An-Kh changed: What|Removed |Added Assignee|libreoffice-b...@lists.free |anshukhar...@gmail.com