Kaydet (Commit) dc56f97f authored tarafından Andras Timar's avatar Andras Timar

WaE: declaration of ‘xCfg’ shadows a previous local [-Wshadow]

Change-Id: Id68b73aa305d06545167a31fba404dd12e1254cf
üst 79fb6e78
...@@ -560,10 +560,9 @@ IMPL_LINK_NOARG(SdPhotoAlbumDialog, FileHdl) ...@@ -560,10 +560,9 @@ IMPL_LINK_NOARG(SdPhotoAlbumDialog, FileHdl)
); );
// Read configuration // Read configuration
OUString sUrl("."); OUString sUrl(".");
Reference< XInterface > xCfg;
try try
{ {
xCfg = ::comphelper::ConfigurationHelper::openConfig( Reference< XInterface > xCfg = ::comphelper::ConfigurationHelper::openConfig(
::comphelper::getProcessComponentContext(), ::comphelper::getProcessComponentContext(),
OUString("/org.openoffice.Office.Impress/"), OUString("/org.openoffice.Office.Impress/"),
::comphelper::ConfigurationHelper::E_READONLY); ::comphelper::ConfigurationHelper::E_READONLY);
......
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