-Werror=catch-value=

Change-Id: I58563735e6cf5004b4ac5e846885414f0c603f4c
Reviewed-on: https://gerrit.libreoffice.org/61491
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Julien Nabet
2018-10-07 13:06:05 +02:00
parent 8a445db3bb
commit 67e5201cc6
2 changed files with 2 additions and 2 deletions

View File

@@ -261,7 +261,7 @@ void lru_map_test::testRemoveIf()
}); });
CPPUNIT_ASSERT(false); // not reached CPPUNIT_ASSERT(false); // not reached
} }
catch (limit_except) catch (limit_except&)
{ {
// contains 7..4 // contains 7..4
CPPUNIT_ASSERT_EQUAL(size_t(4), lru.size()); CPPUNIT_ASSERT_EQUAL(size_t(4), lru.size());

View File

@@ -186,7 +186,7 @@ rtl::Reference<LogicalFontInstance> ImplFontCache::GetFontInstance( PhysicalFont
return true; return true;
}); });
} }
catch (limit_exception) {} catch (limit_exception&) {}
} }
assert(pFontInstance); assert(pFontInstance);