summaryrefslogtreecommitdiffstats
path: root/src/libnrtype
diff options
context:
space:
mode:
Diffstat (limited to 'src/libnrtype')
-rw-r--r--src/libnrtype/FontFactory.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libnrtype/FontFactory.cpp b/src/libnrtype/FontFactory.cpp
index 2d56a1a41..98846b77f 100644
--- a/src/libnrtype/FontFactory.cpp
+++ b/src/libnrtype/FontFactory.cpp
@@ -420,8 +420,6 @@ Glib::ustring font_factory::ReplaceFontSpecificationFamily(const Glib::ustring &
// Find the PangoFontDescription associated to this fontSpec
PangoStringToDescrMap::iterator it = fontInstanceMap.find(fontSpec);
- g_assert(it != fontInstanceMap.end());
-
if (it != fontInstanceMap.end()) {
PangoFontDescription *descr = pango_font_description_copy((*it).second);
@@ -496,8 +494,6 @@ Glib::ustring font_factory::FontSpecificationSetItalic(const Glib::ustring & fon
// Find the PangoFontDesecription that goes with this font specification string
PangoStringToDescrMap::iterator it = fontInstanceMap.find(fontSpec);
- g_assert(it != fontInstanceMap.end());
-
if (it != fontInstanceMap.end()) {
// If we did find one, make a copy and set/unset the italic as needed
PangoFontDescription *descr = pango_font_description_copy((*it).second);