Return TRUE on success.
This commit is contained in:
parent
b97edec4db
commit
ca5ff6974e
@ -534,6 +534,8 @@ sugar_browser_save_uri(SugarBrowser *browser,
|
|||||||
|
|
||||||
rv = webPersist->SaveURI(sourceURI, nsnull, nsnull, nsnull, nsnull, destFile);
|
rv = webPersist->SaveURI(sourceURI, nsnull, nsnull, nsnull, nsnull, destFile);
|
||||||
NS_ENSURE_SUCCESS(rv, FALSE);
|
NS_ENSURE_SUCCESS(rv, FALSE);
|
||||||
|
|
||||||
|
return TRUE;
|
||||||
#else
|
#else
|
||||||
return FALSE;
|
return FALSE;
|
||||||
#endif
|
#endif
|
||||||
@ -584,6 +586,8 @@ sugar_browser_save_document(SugarBrowser *browser,
|
|||||||
|
|
||||||
rv = webPersist->SaveDocument(DOMDocument, destFile, filesFolder, nsnull, 0, 0);
|
rv = webPersist->SaveDocument(DOMDocument, destFile, filesFolder, nsnull, 0, 0);
|
||||||
NS_ENSURE_SUCCESS(rv, FALSE);
|
NS_ENSURE_SUCCESS(rv, FALSE);
|
||||||
|
|
||||||
|
return TRUE;
|
||||||
#else
|
#else
|
||||||
return FALSE;
|
return FALSE;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user