[Libreoffice-commits] core.git: sd/source
Andras Timar
atimar at suse.com
Wed Apr 10 12:39:26 PDT 2013
sd/source/ui/dlg/PhotoAlbumDialog.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit dc56f97fb462f4da8727861a135c059ccd24fe8d
Author: Andras Timar <atimar at 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);
More information about the Libreoffice-commits
mailing list