[Libreoffice-bugs] [Bug 43067] New: Format paintbrush doesn't remove format attribute

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Nov 18 16:31:02 CET 2011


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

             Bug #: 43067
           Summary: Format paintbrush doesn't remove format attribute
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO Master
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
        AssignedTo: libreoffice-bugs at lists.freedesktop.org
        ReportedBy: maxime.deroucy at linagora.com


Created attachment 53662
  --> https://bugs.freedesktop.org/attachment.cgi?id=53662
content.xml of the example file

For example if I take a document with the content.xml attached and select the
"test1" and then try to apply the format to "test2" -> test2 isn't modified.

That's due to the fact that

rWrtShell.SetAttr(*pTemplateItemSet);

line 528 of core/sw/source/ui/uiview/formatclipboard.cxx

doesn't replace the SfxItemSet of rWrtShell but merge it with the existing
one...

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list