summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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&)
{