o3tl/qa/test-lru_map.cxx      |    2 +-
 vcl/source/font/fontcache.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 67e5201cc6caee52d8e37e98a0d535c085c19cb4
Author:     Julien Nabet <serval2...@yahoo.fr>
AuthorDate: Sun Oct 7 13:06:05 2018 +0200
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Sun Oct 7 14:43:03 2018 +0200

    -Werror=catch-value=
    
    Change-Id: I58563735e6cf5004b4ac5e846885414f0c603f4c
    Reviewed-on: https://gerrit.libreoffice.org/61491
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>

diff --git a/o3tl/qa/test-lru_map.cxx b/o3tl/qa/test-lru_map.cxx
index a7f9777e2c5f..f0810084b6c7 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 2b2e062ecea0..b8e4bec2b5ce 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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to