Bug 845008 - Metro's save file picker always throws on appendFilter. r=tabraldes
authorBrian R. Bondy <netzen@gmail.com>
Mon, 25 Feb 2013 16:56:45 -0500
changeset 122960 c6ab568916625b010640faf801d6915327f01cb6
parent 122959 51483e470216d2226be08faf948c61ee898d5826
child 122961 dba451863c29a51cb820b4e7ec22f645f34fa325
push id1387
push userphilringnalda@gmail.com
push dateTue, 26 Feb 2013 22:32:56 +0000
treeherderfx-team@ad4cc4e97774 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstabraldes
bugs845008
milestone22.0a1
Bug 845008 - Metro's save file picker always throws on appendFilter. r=tabraldes
widget/windows/winrt/nsMetroFilePicker.cpp
--- a/widget/windows/winrt/nsMetroFilePicker.cpp
+++ b/widget/windows/winrt/nsMetroFilePicker.cpp
@@ -469,15 +469,16 @@ nsMetroFilePicker::AppendFilter(const ns
 
     if (WindowsIsStringEmpty(mFirstTitle.Get())) {
       mFirstTitle.Set(key.Get());
     }
 
     boolean replaced;
     map->Insert(key.Get(), saveTypes.Get(), &replaced);
   }
+  break;
 
   default:
     return NS_ERROR_FAILURE;
   }
   return NS_OK;
 }