-Werror=catch-value=

Change-Id: I58563735e6cf5004b4ac5e846885414f0c603f4c
Reviewed-on: https://gerrit.libreoffice.org/61491
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
diff --git a/o3tl/qa/test-lru_map.cxx b/o3tl/qa/test-lru_map.cxx
index a7f9777..f081008 100644
--- a/o3tl/qa/test-lru_map.cxx
+++ b/o3tl/qa/test-lru_map.cxx
@@ -261,7 +261,7 @@ void lru_map_test::testRemoveIf()
        });
        CPPUNIT_ASSERT(false); // not reached
    }
    catch (limit_except)
    catch (limit_except&)
    {
        // contains 7..4
        CPPUNIT_ASSERT_EQUAL(size_t(4), lru.size());
diff --git a/vcl/source/font/fontcache.cxx b/vcl/source/font/fontcache.cxx
index 2b2e062..b8e4bec 100644
--- a/vcl/source/font/fontcache.cxx
+++ b/vcl/source/font/fontcache.cxx
@@ -186,7 +186,7 @@ rtl::Reference<LogicalFontInstance> ImplFontCache::GetFontInstance( PhysicalFont
                        return true;
                    });
            }
            catch (limit_exception) {}
            catch (limit_exception&) {}
        }

        assert(pFontInstance);