summaryrefslogtreecommitdiff
path: root/cui/source/options
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2013-01-01 22:30:18 +0100
committerJan Holesovsky <kendy@suse.cz>2013-01-04 22:02:51 +0100
commita2500801cf2d337f176b074f9159df4925420af4 (patch)
treec512cd0d273ef09f78946db7708353b485d4884e /cui/source/options
parent0c22f3eadd3ffb461eada94f4b019fbb2161f197 (diff)
Personas: Read the bitmaps in StyleSettings.
Change-Id: I52b67c82f69059a7d2babf1b49e59f27062cc02c
Diffstat (limited to 'cui/source/options')
-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 b33acaef8837..13a4d321e3d1 100644
--- a/cui/source/options/personalization.cxx
+++ b/cui/source/options/personalization.cxx
@@ -146,7 +146,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 ) ||
@@ -171,7 +171,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" );