Bug 1378712 - Remove all trailing whitespaces r=Ehsan

MozReview-Commit-ID: Kdz2xtTF9EG
This commit is contained in:
Sylvestre Ledru
2017-07-06 14:00:35 +02:00
parent 529c5d5237
commit 9d4a84d778
1222 changed files with 16800 additions and 16800 deletions

View File

@@ -28,7 +28,7 @@
#include "nsWildCard.h"
class nsIDOMDataTransfer;
#define NS_FILECOMPLETE_CID { 0xcb60980e, 0x18a5, 0x4a77, \
{ 0x91, 0x10, 0x81, 0x46, 0x61, 0x4c, 0xa7, 0xf0 } }
#define NS_FILECOMPLETE_CONTRACTID "@mozilla.org/autocomplete/search;1?name=file"
@@ -218,10 +218,10 @@ public:
NS_DECL_ISUPPORTS
NS_DECL_NSIFILEVIEW
NS_DECL_NSITREEVIEW
protected:
virtual ~nsFileView();
void FilterFiles();
void ReverseArray(nsTArray<nsCOMPtr<nsIFile> >& aArray);
void SortArray(nsTArray<nsCOMPtr<nsIFile> >& aArray);
@@ -309,7 +309,7 @@ nsFileView::SetShowHiddenFiles(bool aShowHidden)
// file functionality is not currently used, this will be fine.
SetDirectory(mDirectoryPath);
}
return NS_OK;
}
@@ -661,7 +661,7 @@ nsFileView::GetParentIndex(int32_t aRowIndex, int32_t* aParentIndex)
}
NS_IMETHODIMP
nsFileView::HasNextSibling(int32_t aRowIndex, int32_t aAfterIndex,
nsFileView::HasNextSibling(int32_t aRowIndex, int32_t aAfterIndex,
bool* aHasSibling)
{
*aHasSibling = (aAfterIndex < (mTotalRows - 1));
@@ -838,13 +838,13 @@ nsFileView::FilterFiles()
bool isHidden = false;
if (!mShowHiddenFiles)
file->IsHidden(&isHidden);
nsAutoString ucsLeafName;
if(NS_FAILED(file->GetLeafName(ucsLeafName))) {
// need to check return value for GetLeafName()
continue;
}
if (!isHidden) {
for (uint32_t j = 0; j < filterCount; ++j) {
bool matched = false;
@@ -885,7 +885,7 @@ SortNameCallback(const void* aElement1, const void* aElement2, void* aContext)
{
nsIFile* file1 = *static_cast<nsIFile* const *>(aElement1);
nsIFile* file2 = *static_cast<nsIFile* const *>(aElement2);
nsAutoString leafName1, leafName2;
file1->GetLeafName(leafName1);
file2->GetLeafName(leafName2);