mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
17 lines
615 B
Diff
17 lines
615 B
Diff
From: Timo Teräs <timo.teras@iki.fi>
|
|
|
|
Remove redundant object instantiation which yields returning c_str to
|
|
temporary stack object.
|
|
|
|
--- inkscape-0.92.1/src/libnrtype/FontFactory.cpp 2015-12-23 19:36:15.310394043 +0200
|
|
+++ inkscape-0.92.1/src/libnrtype/FontFactory.cpp 2015-12-23 19:35:31.876527221 +0200
|
|
@@ -196,7 +196,7 @@
|
|
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;
|