summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2013-01-01 22:30:18 +0100
committerPetr Mladek <pmladek@suse.cz>2013-01-08 16:12:45 +0100
commit16f6124c811c24c89e0bcdb6fa2cb89c916a2ccc (patch)
tree84f059433e982f9563c0751beeb79e21d7e48039 /cui
parent9dc87d40c88e4ff13cb124b356f648aebff9b3a3 (diff)
Personas: Read the bitmaps in StyleSettings.
Change-Id: I52b67c82f69059a7d2babf1b49e59f27062cc02c Signed-off-by: Cor Nouws <oolst@nouenoff.nl> Signed-off-by: Olivier Hallot <olivier.hallot@documentfoundation.org> Signed-off-by: Adolfo Jayme Barrientos <fitoschido@ubuntu.com> Signed-off-by: Michael Meeks <michael.meeks@suse.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/personalization.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/personalization.cxx b/cui/source/options/personalization.cxx
index c0d788cc8040..62bb4b2e8038 100644
--- a/cui/source/options/personalization.cxx
+++ b/cui/source/options/personalization.cxx
@@ -124,7 +124,7 @@ sal_Bool SvxPersonalizationTabPage::FillItemSet( SfxItemSet & )
aPersona = "own";
bool bModified = false;
- uno::Reference< uno::XComponentContext > xContext = comphelper::getProcessComponentContext();
+ uno::Reference< uno::XComponentContext > xContext( comphelper::getProcessComponentContext() );
if ( xContext.is() &&
( aBackground != officecfg::Office::Common::Misc::BackgroundImage::get( xContext ) ||
m_aBackgroundURL != officecfg::Office::Common::Misc::BackgroundImageURL::get( xContext ) ||
@@ -147,7 +147,7 @@ sal_Bool SvxPersonalizationTabPage::FillItemSet( SfxItemSet & )
void SvxPersonalizationTabPage::Reset( const SfxItemSet & )
{
- uno::Reference< uno::XComponentContext > xContext = comphelper::getProcessComponentContext();
+ uno::Reference< uno::XComponentContext > xContext( comphelper::getProcessComponentContext() );
// background image
OUString aBackground( "default" );