https://bugs.freedesktop.org/show_bug.cgi?id=38451

--- Comment #8 from [email protected] ---
Hi!

I filed this in the Ask LibreOffice forum:

I just looked a little bit further and found this code inside the file
LetterWizardDialogImpl.py (look at end of post). It looks to me like there
could be an error in the function txtSenderNameTextChanged(self). There a field
"Company" is changed when the "Name" should be changed. At least it doesn't
look as the other functions work. Look at "Street" and "City". Maybe that
causes the generated document not to change the address as it should.

def txtSenderNameTextChanged(self):
    myFieldHandler = TextFieldHandler(
        self.myLetterDoc.xMSF, TextDocument.xTextDocument)
    myFieldHandler.changeUserFieldContent(
        "Company", self.txtSenderName.Text)

def txtSenderStreetTextChanged(self):
    myFieldHandler = TextFieldHandler(
        self.myLetterDoc.xMSF, TextDocument.xTextDocument)
    myFieldHandler.changeUserFieldContent(
        "Street", self.txtSenderStreet.Text)

def txtSenderCityTextChanged(self):
    myFieldHandler = TextFieldHandler(
        self.myLetterDoc.xMSF, TextDocument.xTextDocument)
    myFieldHandler.changeUserFieldContent(
        "City", self.txtSenderCity.Text)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to