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

            Bug ID: 150167
           Summary: createUnoService returns wrong type for
                    CharacterProperties and ParagraphProperties
           Product: LibreOffice
           Version: 7.3.2.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

Description:
instantiating the service "com.sun.star.style.CharacterProperties" with the
createUnoService command returns a
"com.sun.star.comp.chart2.RegressionEquation" service instead

instantiating the service "com.sun.star.style.ParagraphProperties" with the
createUnoService command returns a "com.sun.star.comp.chart2.Title" service
instead


Steps to Reproduce:
1. write this code and launch it:

Sub testCharacterProperties
        dim oService as object
        oService = CreateUnoService("com.sun.star.style.CharacterProperties")
        print oService.implementationName
End Sub

Sub testParagraphProperties
        dim oService as object
        oService = CreateUnoService("com.sun.star.style.ParagraphProperties")
        print oService.implementationName
End Sub



Actual Results:
for CharacterProperties, i get a com.sun.star.comp.chart2.RegressionEquation
which supports several services

for ParagraphProperties, i get a com.sun.star.comp.chart2.Title which supports
several services

Expected Results:
for CharacterProperties, i expect a CharacterProperties service and only it

for ParagraphProperties, i expect a ParagraphProperties service and only it


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.3.2.2 (x86) / LibreOffice Community
Build ID: 49f2b1bff42cfccbd8f788c8dc32c1c309559be0
CPU threads: 2; OS: Windows 6.1 Service Pack 1 Build 7601; UI render:
Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to