vcl/source/app/settings.cxx | 2 -- 1 file changed, 2 deletions(-) New commits: commit e0066326f76e734e7b9a0f344afcadb40ef9ed64 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Tue Dec 6 10:26:29 2022 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Tue Dec 6 11:46:31 2022 +0000
tdf#152058 THEMES: Not possible to change back to default look Revert "dont keep writing to config when persona is set to 'no'" This reverts commit e0c424ba729e4659ce1007254adbbceafbeaef5b. Change-Id: Ia2724c075c7a5fc8deaaedc5cd4356f93b9a6f7f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143694 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/vcl/source/app/settings.cxx b/vcl/source/app/settings.cxx index 3c990bd95b39..c12a520ae025 100644 --- a/vcl/source/app/settings.cxx +++ b/vcl/source/app/settings.cxx @@ -2334,8 +2334,6 @@ static void setupPersonaHeaderFooter( WhichPersona eWhich, OUString& rHeaderFoot // read from the configuration OUString aPersona( officecfg::Office::Common::Misc::Persona::get() ); OUString aPersonaSettings( officecfg::Office::Common::Misc::PersonaSettings::get() ); - if (aPersona == "no") - return; // have the settings changed? marks if header /footer prepared before //should maybe extended to a flag that marks if header /footer /both are loaded