To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=105653
                 Issue #|105653
                 Summary|Setting a property on a paragraph using UNO will alway
                        |s break
               Component|Word processor
                 Version|DEV300m60
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P1
            Subcomponent|programming
             Assigned to|writerneedsconfirm
             Reported by|cedricbosdo





------- Additional comments from cedricbo...@openoffice.org Tue Oct  6 14:42:46 
+0000 2009 -------
http://svn.services.openoffice.org/opengrok/xref/Current%20(trunk)/sw/source/core/unocore/unoparagraph.cxx#308

in this code, the sTmp variable is always empty: this causes the
SwXTextCursor::SetPropertyValue to raise an exception in every case.

Here is a sample of UNO Basic code showing the problem:
Sub Main
        oEnum = ThisComponent.Text.createEnumeration
        oPara = oEnum.nextElement( )
        
        oPara.setPropertyValue( "PageDescName", "Landscape" )
End Sub

I'll attach a patch fixing the issue

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to