diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2017-07-19 11:01:35 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2017-07-19 11:01:35 +0000 |
| commit | 5f9e395816f2194880d84f204b2050d2f714b4bd (patch) | |
| tree | 3916a1f3127adfd93dacbac023c38011c4305ba5 /src/libnrtype | |
| parent | Minor code cleanup after baeb92c8b275ada9a09187772e11f8b32b7ae6ef (diff) | |
| download | inkscape-5f9e395816f2194880d84f204b2050d2f714b4bd.tar.gz inkscape-5f9e395816f2194880d84f204b2050d2f714b4bd.zip | |
Remove unnecessary cast which creates a temporary object that then goes out of scope.
Diffstat (limited to 'src/libnrtype')
| -rw-r--r-- | src/libnrtype/FontFactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnrtype/FontFactory.cpp b/src/libnrtype/FontFactory.cpp index 6c0999f2d..fe0da45dc 100644 --- a/src/libnrtype/FontFactory.cpp +++ b/src/libnrtype/FontFactory.cpp @@ -198,7 +198,7 @@ const char *sp_font_description_get_family(PangoFontDescription const *fontDescr const char *pangoFamily = pango_font_description_get_family(fontDescr); if (pangoFamily && ((it = fontNameMap.find(pangoFamily)) != fontNameMap.end())) { - return ((Glib::ustring)it->second).c_str(); + return (it->second).c_str(); } return pangoFamily; |
