aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--embed/mozilla/FilePicker.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/embed/mozilla/FilePicker.cpp b/embed/mozilla/FilePicker.cpp
index b65038c6e..91a893d2a 100644
--- a/embed/mozilla/FilePicker.cpp
+++ b/embed/mozilla/FilePicker.cpp
@@ -194,8 +194,8 @@ NS_IMETHODIMP GFilePicker::AppendFilters(PRInt32 filterMask)
if (filterMask & nsIFilePicker::filterImages)
{
#if MOZILLA_SNAPSHOT < 16
- AppendFilter (NS_ConvertUTF8toUTF16 (_("Image files")),
- NS_LITERAL_STRING ("*.png; *.gif; *.jpeg; *.jpg"));
+ AppendFilter (NS_ConvertUTF8toUTF16 (_("Image files")).get(),
+ NS_LITERAL_STRING ("*.png; *.gif; *.jpeg; *.jpg").get());
#else
AppendFilter (NS_ConvertUTF8toUTF16 (_("Image files")),
NS_LITERAL_STRING ("*.png; *.gif; *.jpeg; *.jpg"));
@@ -204,8 +204,8 @@ NS_IMETHODIMP GFilePicker::AppendFilters(PRInt32 filterMask)
if (filterMask & nsIFilePicker::filterXML)
{
#if MOZILLA_SNAPSHOT < 16
- AppendFilter (NS_ConvertUTF8toUTF16 (_("XML files")),
- NS_LITERAL_STRING ("*.xml"));
+ AppendFilter (NS_ConvertUTF8toUTF16 (_("XML files")).get(),
+ NS_LITERAL_STRING ("*.xml").get());
#else
AppendFilter (NS_ConvertUTF8toUTF16 (_("XML files")),
NS_LITERAL_STRING ("*.xml"));