summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorRachit Gupta <rachitgupta1792@gmail.com>2014-06-30 18:46:47 +0530
committerJan Holesovsky <kendy@collabora.com>2014-08-14 19:43:30 +0200
commitb1824cfd16dcc1f8fa5563b737d95fb4767a5640 (patch)
treea47cdb8ceb1c001d9c9d1f23abe6c29aa494a756 /cui
parent49b08326e3ac2a805373f255b3b0fd2c6fa165fa (diff)
Dropped 'Persona' from the properties in PersonasEntry template.
Change-Id: Ic662f59c084eacc7e99762c3e94fbcc191629557
Diffstat (limited to 'cui')
-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 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;