https://bugs.documentfoundation.org/show_bug.cgi?id=98749
Bug ID: 98749
Summary: Move hardcoded/duplicated PageDesc defaults from UNO
wrappers to writer core
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
In SwXStyle::setAllPropertiesToDefault() at:
https://github.com/LibreOffice/core/blob/eef1d712c409878678b4ffbf33e44cac6d564cc2/sw/source/core/unocore/unostyle.cxx#L2529
there are quite some defaults for PageDescs hardcoded in the UNO wrapper layer
(including e.g. the 2 cm borders etc.). A cleaner approach would be to have the
core objects have a functions that sets up default on initialisation or when
reset and have the UNO wrapper just trigger that instead of duplicating
hardcoded defaults.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs