diff options
author | Andras Timar <atimar@suse.com> | 2013-04-10 20:39:20 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2013-04-10 20:40:23 +0200 |
commit | dc56f97fb462f4da8727861a135c059ccd24fe8d (patch) | |
tree | af9de3607ee101a3b328d3b12eaad355fd6171b4 | |
parent | 79fb6e785e4911c7d3660592321824539f5f5628 (diff) |
WaE: declaration of ‘xCfg’ shadows a previous local [-Wshadow]
Change-Id: Id68b73aa305d06545167a31fba404dd12e1254cf
-rw-r--r-- | sd/source/ui/dlg/PhotoAlbumDialog.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/dlg/PhotoAlbumDialog.cxx b/sd/source/ui/dlg/PhotoAlbumDialog.cxx index cb117ca125a8..d844c1c13f85 100644 --- a/sd/source/ui/dlg/PhotoAlbumDialog.cxx +++ b/sd/source/ui/dlg/PhotoAlbumDialog.cxx @@ -560,10 +560,9 @@ IMPL_LINK_NOARG(SdPhotoAlbumDialog, FileHdl) ); // Read configuration OUString sUrl("."); - Reference< XInterface > xCfg; try { - xCfg = ::comphelper::ConfigurationHelper::openConfig( + Reference< XInterface > xCfg = ::comphelper::ConfigurationHelper::openConfig( ::comphelper::getProcessComponentContext(), OUString("/org.openoffice.Office.Impress/"), ::comphelper::ConfigurationHelper::E_READONLY); |