[Libreoffice-bugs] [Bug 125564] New: WatchWindow says the type of ThisComponent is ThisComponent

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed May 29 03:38:42 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=125564

            Bug ID: 125564
           Summary: WatchWindow says the type of ThisComponent is
                    ThisComponent
           Product: LibreOffice
           Version: 6.3.0.0.alpha1+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: himajin100000 at gmail.com

Description:
see steps to reproduce


Steps to Reproduce:
1. Load the attached document.
2. Open StarBasic's IDE
3. Input "ThisComponent" into Watch window(or Observer?) and press Enter
4. "Step In" in Main()
5. Check what the type of ThisComponent is

Actual Results:
Watch Window says the type of ThisComponent 

Expected Results:
Watch Window should say ThisComponent is of type XModel (probably. Is there any
thing more suitable?)


Reproducible: Always


User Profile Reset: No



Additional Info:
SbxObject has a constructor that takes OUString as its paramter. This parameter
is for Class's name, not for the variable name.

https://opengrok.libreoffice.org/xref/core/basic/source/sbx/sbxobj.cxx?r=29d35c82#41
https://opengrok.libreoffice.org/xref/core/basic/source/classes/sbunoobj.cxx?r=fbc038cc#2274
https://opengrok.libreoffice.org/xref/core/basic/source/classes/sbunoobj.cxx?r=fbc038cc#2873
https://opengrok.libreoffice.org/xref/core/basic/source/basmgr/basmgr.cxx?r=754c6af4#1408
https://opengrok.libreoffice.org/s?refs=SetGlobalUNOConstant&project=core

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190529/87985652/attachment.html>


More information about the Libreoffice-bugs mailing list