summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--o3tl/qa/test-lru_map.cxx2
-rw-r--r--vcl/source/font/fontcache.cxx2
2 files changed, 2 insertions, 2 deletions
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);