aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-11-14 05:36:59 +0800
committerChristian Persch <chpe@src.gnome.org>2004-11-14 05:36:59 +0800
commit2374fb0c945f53fa7cf31a1218d43c7a5a90e4f4 (patch)
treecd7ce6fcc8c52881fff8ecae47099dd24cdd6913 /embed
parent6e0f5135e806fe34722322519ae2d2d9b176e733 (diff)
downloadgsoc2013-epiphany-2374fb0c945f53fa7cf31a1218d43c7a5a90e4f4.tar
gsoc2013-epiphany-2374fb0c945f53fa7cf31a1218d43c7a5a90e4f4.tar.gz
gsoc2013-epiphany-2374fb0c945f53fa7cf31a1218d43c7a5a90e4f4.tar.bz2
gsoc2013-epiphany-2374fb0c945f53fa7cf31a1218d43c7a5a90e4f4.tar.lz
gsoc2013-epiphany-2374fb0c945f53fa7cf31a1218d43c7a5a90e4f4.tar.xz
gsoc2013-epiphany-2374fb0c945f53fa7cf31a1218d43c7a5a90e4f4.tar.zst
gsoc2013-epiphany-2374fb0c945f53fa7cf31a1218d43c7a5a90e4f4.zip
Better fix for bug #158202, thanks to Christian Biesinger.
2004-11-13 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozillaPrivate.cpp: Better fix for bug #158202, thanks to Christian Biesinger.
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/MozillaPrivate.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/embed/mozilla/MozillaPrivate.cpp b/embed/mozilla/MozillaPrivate.cpp
index 58789dca4..b47a79b31 100644
--- a/embed/mozilla/MozillaPrivate.cpp
+++ b/embed/mozilla/MozillaPrivate.cpp
@@ -66,8 +66,7 @@ MozillaPrivate::GetPrinterList ()
rv = printer->GetData(data);
NS_ENSURE_SUCCESS(rv, nsnull);
- const nsACString& cData = NS_ConvertUCS2toUTF8 (data);
- printers = g_list_prepend (printers, g_strdup (PromiseFlatCString (cData).get()));
+ printers = g_list_prepend (printers, g_strdup (NS_ConvertUCS2toUTF8 (data).get()));
}
return g_list_reverse (printers);