diff --git a/cui/source/options/personalization.cxx b/cui/source/options/personalization.cxx index c2fe00c2dbf7..7e03250062ae 100644 --- a/cui/source/options/personalization.cxx +++ b/cui/source/options/personalization.cxx @@ -376,7 +376,7 @@ void SvxPersonalizationTabPage::LoadDefaultImages() { Reference< XPropertySet > xPropertySet( officecfg::Office::Common::Misc::PersonasList::get()->getByName( installedPersonas[nIndex] ), UNO_QUERY_THROW ); OUString aPersonaName, aPreviewFile, aHeaderFile, aFooterFile, aTextColor, aAccentColor, aPersonaSettings; - Any aValue = xPropertySet->getPropertyValue( "PersonaPreview" ); + Any aValue = xPropertySet->getPropertyValue( "Preview" ); aValue >>= aPreviewFile; INetURLObject aURLObj( aPreviewFile ); aFilter.ImportGraphic( aGraphic, aURLObj ); @@ -384,19 +384,19 @@ void SvxPersonalizationTabPage::LoadDefaultImages() m_vExtensionPersonas[nCount]->Show(); m_vExtensionPersonas[nCount++]->SetModeImage( Image( aBmp ) ); - aValue = xPropertySet->getPropertyValue( "PersonaName" ); + aValue = xPropertySet->getPropertyValue( "Name" ); aValue >>= aPersonaName; - aValue = xPropertySet->getPropertyValue( "PersonaHeader" ); + aValue = xPropertySet->getPropertyValue( "Header" ); aValue >>= aHeaderFile; - aValue = xPropertySet->getPropertyValue( "PersonaFooter" ); + aValue = xPropertySet->getPropertyValue( "Footer" ); aValue >>= aFooterFile; - aValue = xPropertySet->getPropertyValue( "PersonaTextColor" ); + aValue = xPropertySet->getPropertyValue( "TextColor" ); aValue >>= aTextColor; - aValue = xPropertySet->getPropertyValue( "PersonaAccentColor" ); + aValue = xPropertySet->getPropertyValue( "AccentColor" ); aValue >>= aAccentColor; aPersonaSettings = aHeaderFile + ";" + aFooterFile + ";" + aTextColor + ";" + aAccentColor; diff --git a/officecfg/registry/schema/org/openoffice/Office/Common.xcs b/officecfg/registry/schema/org/openoffice/Office/Common.xcs index 6548445053ed..408874f65e34 100644 --- a/officecfg/registry/schema/org/openoffice/Office/Common.xcs +++ b/officecfg/registry/schema/org/openoffice/Office/Common.xcs @@ -810,35 +810,35 @@ Stores the details of the installed personas. - + The Persona's name - + Name of the preview file for the Persona to show in the UI - + Name of the header file for the Persona - + Name of the footer file for the Persona - + Value of the text color for the Persona - + Value of the accent color for the Persona