From 4fd11317f70be949d4056b1cd2f48862b7fb9b93 Mon Sep 17 00:00:00 2001 From: "dougt%meer.net" Date: Fri, 23 Jun 2006 21:36:25 +0000 Subject: [PATCH] Enable Reveal and Launch for WINCE. r=me, a=darin, b=342172 git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@200732 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/io/nsLocalFileWin.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mozilla/xpcom/io/nsLocalFileWin.cpp b/mozilla/xpcom/io/nsLocalFileWin.cpp index caeafdee26e..e6f06abe4e1 100644 --- a/mozilla/xpcom/io/nsLocalFileWin.cpp +++ b/mozilla/xpcom/io/nsLocalFileWin.cpp @@ -2639,7 +2639,6 @@ nsLocalFile::SetPersistentDescriptor(const nsACString &aPersistentDescriptor) NS_IMETHODIMP nsLocalFile::Reveal() { -#ifndef WINCE // make sure mResolvedPath is set nsresult rv = ResolveAndStat(); if (NS_FAILED(rv) && rv != NS_ERROR_FILE_NOT_FOUND) @@ -2669,7 +2668,6 @@ nsLocalFile::Reveal() explorerParams.get(), NULL, SW_SHOWNORMAL) <= (HINSTANCE) 32) return NS_ERROR_FAILURE; -#endif return NS_OK; } @@ -2678,7 +2676,6 @@ nsLocalFile::Reveal() NS_IMETHODIMP nsLocalFile::Launch() { -#ifndef WINCE const nsString &path = mWorkingPath; // use the app registry name to launch a shell execute.... @@ -2721,7 +2718,6 @@ nsLocalFile::Launch() return NS_ERROR_FILE_EXECUTION_FAILED; } } -#endif return NS_OK; }