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@lists.freedesktop.org
          Reporter: himajin100...@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.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to