fix memory leaks in GetString functions; written by sfraser; built by jst and brade

git-svn-id: svn://10.0.0.236/trunk@63460 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
brade%netscape.com
2000-03-20 15:44:32 +00:00
parent 33e1ca7b34
commit ca46902629
4 changed files with 178 additions and 116 deletions

View File

@@ -154,7 +154,7 @@ class nsEditorShell : public nsIEditorShell,
nsCOMPtr<nsISupportsArray> mDocStateListeners; // contents are nsISupports
// Get a string from the string bundle file
nsString GetString(const nsString& name);
void GetBundleString(const nsString& name, nsString &outString);
// Get the text of the <title> tag
NS_IMETHOD GetDocumentTitleString(nsString& title);