diff options
Diffstat (limited to 'cui/source/options')
-rw-r--r-- | cui/source/options/personalization.cxx | 4 |
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" ); |