Issue 105321 - scripting: Not str1 = "" causes "Data type mismatch"
Summary: scripting: Not str1 = "" causes "Data type mismatch"
Status: ACCEPTED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: DEV300m59
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-24 10:26 UTC by pflin
Modified: 2017-05-20 10:48 UTC (History)
3 users (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
patch to fix it (716 bytes, text/plain)
2009-09-24 10:26 UTC, pflin
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description pflin 2009-09-24 10:26:05 UTC
The following macro causes "Data type mismatch"

Sub test()
    Dim str1 As String
    str1 = "foo"
    Do While Not str1 = ""
        MsgBox str1
        Exit Sub
    Loop
End Sub

But it is ok in VB6
Comment 1 pflin 2009-09-24 10:26:51 UTC
Created attachment 64926 [details]
patch to fix it
Comment 2 pflin 2009-09-24 10:29:10 UTC
pflin -> ab, would you please have a look at this patch?
Comment 3 noel.power 2009-09-24 10:44:57 UTC
-> ab
Comment 4 kay.ramme 2009-09-24 13:52:34 UTC
Andreas, please have a look.
Comment 5 ab 2009-09-29 12:07:54 UTC
STARTED
Comment 6 ab 2009-11-10 12:32:36 UTC
.
Comment 7 ab 2010-01-11 11:02:36 UTC
-> cws ab75
Comment 8 ab 2010-06-04 08:06:44 UTC
OOo 3.4
Comment 9 ab 2010-12-01 14:34:33 UTC
-> OOo 3.x
Comment 10 Rob Weir 2013-03-11 15:00:18 UTC
I'm adding this comment to all open issues with Issue Type == PATCH.  We have 220 such issues, many of them quite old.  I apologize for that.  

We need your help in prioritizing which patches should be integrated into our next release, Apache OpenOffice 4.0.

If you have submitted a patch and think it is applicable for AOO 4.0, please respond with a comment to let us know.

On the other hand, if the patch is no longer relevant, please let us know that as well.

If you have any general questions or want to discuss this further, please send a note to our dev mailing list:  dev@openoffice.apache.org

Thanks!

-Rob
Comment 11 Marcus 2017-05-20 10:48:04 UTC
Reset assigne to the default "issues@openoffice.apache.org".