sd/source/ui/dlg/PhotoAlbumDialog.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit dc56f97fb462f4da8727861a135c059ccd24fe8d
Author: Andras Timar <ati...@suse.com>
Date:   Wed Apr 10 20:39:20 2013 +0200

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

diff --git a/sd/source/ui/dlg/PhotoAlbumDialog.cxx 
b/sd/source/ui/dlg/PhotoAlbumDialog.cxx
index cb117ca..d844c1c 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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to