• Michael Stahl's avatar
    tdf#91383: sw: prevent style preview from actually creating styles · 93067f37
    Michael Stahl yazdı
    The dialog/sidebar should not actually create styles that don't exist yet,
    because it messes up Undo and the (unused) styles are then unnecessarily
    exported to documents.
    
    Due to Writer's ... unusual SwDocStyleSheet class this is a bit tricky.
    
    Add a new function GetItemSetForPreview() and use it from the style preview
    code.
    
    The implementation does not use FillPhysical so will temporarily create and
    then delete any non-existing styles.
    
    Skip page and numbering styles for now since they don't have a useful preview.
    
    (regression from ca953076)
    
    Change-Id: Id6ee30ea467fc24c991547a4c23a9ce14fdd86c7
    93067f37
Adı
Son kayıt (commit)
Son güncelleme
..
inc/pch Loading commit data...
qa Loading commit data...
source Loading commit data...
unx Loading commit data...
util Loading commit data...
AllLangResTarget_svl.mk Loading commit data...
CppunitTest_svl_inetcontenttype.mk Loading commit data...
CppunitTest_svl_itempool.mk Loading commit data...
CppunitTest_svl_items.mk Loading commit data...
CppunitTest_svl_lngmisc.mk Loading commit data...
CppunitTest_svl_notify.mk Loading commit data...
CppunitTest_svl_qa_cppunit.mk Loading commit data...
CppunitTest_svl_urihelper.mk Loading commit data...
JunitTest_svl_complex.mk Loading commit data...
Library_fsstorage.mk Loading commit data...
Library_passwordcontainer.mk Loading commit data...
Library_svl.mk Loading commit data...
Makefile Loading commit data...
Module_svl.mk Loading commit data...
README Loading commit data...