summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-12-06 10:26:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-12-06 11:46:31 +0000
commite0066326f76e734e7b9a0f344afcadb40ef9ed64 (patch)
treee5d11ffd3b57f7dd40cf6d3a00d4a3f9ebd0a363
parent27746ff5d5dfeef6192743d19659537b574b25ca (diff)
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.grandin@collabora.co.uk>
-rw-r--r--vcl/source/app/settings.cxx2
1 files changed, 0 insertions, 2 deletions
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