[Libreoffice-commits] core.git: unoidl/source

Julien Nabet serval2412 at yahoo.fr
Fri Mar 1 22:47:56 PST 2013


 unoidl/source/reg2unoidl.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 380b858de9f6aae1ee74d3d8f0f7cf75fb68f207
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Mar 2 07:45:30 2013 +0100

    Fix shadowed declaration of "e"
    
    Change-Id: I42740c0b01d33c90e6ad9f86a658ef27c2673fd3

diff --git a/unoidl/source/reg2unoidl.cxx b/unoidl/source/reg2unoidl.cxx
index c73909a..730d42e 100644
--- a/unoidl/source/reg2unoidl.cxx
+++ b/unoidl/source/reg2unoidl.cxx
@@ -753,9 +753,9 @@ SAL_IMPLEMENT_MAIN() {
     std::size_t size;
     try {
         off = writeMap(f, prov->createRootCursor(), &size);
-    } catch (unoidl::FileFormatException & e) {
+    } catch (unoidl::FileFormatException & e1) {
         std::cerr
-            << "Bad input <" << e.getUri() << ">: " << e.getDetail()
+            << "Bad input <" << e1.getUri() << ">: " << e1.getDetail()
             << std::endl;
         std::exit(EXIT_FAILURE);
     }


More information about the Libreoffice-commits mailing list