From eb04db616a5c59f72217d6818199e6d227c4abef Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 10 Apr 2013 19:25:56 +0300 Subject: WaE: declaration shadows a local variable Change-Id: I364b63041e34757e7069eb8a28d9e60734e354ac --- sd/source/ui/dlg/PhotoAlbumDialog.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sd') diff --git a/sd/source/ui/dlg/PhotoAlbumDialog.cxx b/sd/source/ui/dlg/PhotoAlbumDialog.cxx index 955cbbda9809..cb117ca125a8 100644 --- a/sd/source/ui/dlg/PhotoAlbumDialog.cxx +++ b/sd/source/ui/dlg/PhotoAlbumDialog.cxx @@ -594,18 +594,18 @@ IMPL_LINK_NOARG(SdPhotoAlbumDialog, FileHdl) // Write out configuration try { - Reference< XInterface > xCfg = ::comphelper::ConfigurationHelper::openConfig( + Reference< XInterface > xCfgWriter = ::comphelper::ConfigurationHelper::openConfig( ::comphelper::getProcessComponentContext(), OUString("/org.openoffice.Office.Impress/"), ::comphelper::ConfigurationHelper::E_STANDARD); ::comphelper::ConfigurationHelper::writeRelativeKey( - xCfg, + xCfgWriter, OUString("Pictures"), OUString("Path"), uno::makeAny(sUrl)); - ::comphelper::ConfigurationHelper::flush(xCfg); + ::comphelper::ConfigurationHelper::flush(xCfgWriter); } catch(const Exception&) { -- cgit