Kaydet (Commit) eb04db61 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: declaration shadows a local variable

Change-Id: I364b63041e34757e7069eb8a28d9e60734e354ac
üst 8034992e
...@@ -594,18 +594,18 @@ IMPL_LINK_NOARG(SdPhotoAlbumDialog, FileHdl) ...@@ -594,18 +594,18 @@ IMPL_LINK_NOARG(SdPhotoAlbumDialog, FileHdl)
// Write out configuration // Write out configuration
try try
{ {
Reference< XInterface > xCfg = ::comphelper::ConfigurationHelper::openConfig( Reference< XInterface > xCfgWriter = ::comphelper::ConfigurationHelper::openConfig(
::comphelper::getProcessComponentContext(), ::comphelper::getProcessComponentContext(),
OUString("/org.openoffice.Office.Impress/"), OUString("/org.openoffice.Office.Impress/"),
::comphelper::ConfigurationHelper::E_STANDARD); ::comphelper::ConfigurationHelper::E_STANDARD);
::comphelper::ConfigurationHelper::writeRelativeKey( ::comphelper::ConfigurationHelper::writeRelativeKey(
xCfg, xCfgWriter,
OUString("Pictures"), OUString("Pictures"),
OUString("Path"), OUString("Path"),
uno::makeAny(sUrl)); uno::makeAny(sUrl));
::comphelper::ConfigurationHelper::flush(xCfg); ::comphelper::ConfigurationHelper::flush(xCfgWriter);
} }
catch(const Exception&) catch(const Exception&)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment