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

            Bug ID: 161652
           Summary: Impress RTF clipboard copy: lots of unnecessary styles
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 194820
  --> https://bugs.documentfoundation.org/attachment.cgi?id=194820&action=edit
Impress template with a single word

Steps to reproduce:

1) Open the attached Impress document, it's just an almost empty presentation
based on the shipped Beehive template.

2) Double-click on the "beehive" string, Ctrl-C.

3) Create a new Writer document, check the number of styles (Basic macro:
ThisComponent.StyleFamilies.ParagraphStyles.getCount()): 126

4) Paste that single word into Writer, and check the number of paragraph styles
again.

Expected result: number of paragraph styles is 126 or 127 (+1 is OK if the
source paragraph had a style and it's not yet in the Writer document).

Actual result: 221, 95 new paragraph styles for a single word.

When doing such copy&paste a lot, this can lead to hundreds of unnecessary
styles, which slows down doc load, save, etc.

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

Reply via email to