summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-04-10 19:25:56 +0300
committerTor Lillqvist <tml@iki.fi>2013-04-10 19:26:05 +0300
commiteb04db616a5c59f72217d6818199e6d227c4abef (patch)
tree5ebba505b1c745aad7b256ad31dcd5c6981f706c /sd/source
parent8034992e22d983bba46cfc06d4eec6f2aab71e28 (diff)
WaE: declaration shadows a local variable
Change-Id: I364b63041e34757e7069eb8a28d9e60734e354ac
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/dlg/PhotoAlbumDialog.cxx6
1 files changed, 3 insertions, 3 deletions
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&)
{