summaryrefslogtreecommitdiff
path: root/cui/source/options/personalization.cxx
diff options
context:
space:
mode:
authorRachit Gupta <rachitgupta1792@gmail.com>2014-06-30 18:46:47 +0530
committerRachit Gupta <rachitgupta1792@gmail.com>2014-06-30 18:46:47 +0530
commitc64c61ff06e27791e38f36fed7cda3d283ac5115 (patch)
treed26f5e91b17cc7f2b64451b4dcb88f623ba12977 /cui/source/options/personalization.cxx
parent888a0e4ceb8d379f6c44d449863ea8c1b5a599e2 (diff)
Dropped 'Persona' from the properties in PersonasEntry template.
Change-Id: Ic662f59c084eacc7e99762c3e94fbcc191629557
Diffstat (limited to 'cui/source/options/personalization.cxx')
-rw-r--r--cui/source/options/personalization.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/cui/source/options/personalization.cxx b/cui/source/options/personalization.cxx
index e78c779c1f28..0a431f0d8aa4 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;