From dc56f97fb462f4da8727861a135c059ccd24fe8d Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Wed, 10 Apr 2013 20:39:20 +0200 Subject: WaE: declaration of ‘xCfg’ shadows a previous local [-Wshadow] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id68b73aa305d06545167a31fba404dd12e1254cf --- sd/source/ui/dlg/PhotoAlbumDialog.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sd') 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); -- cgit