Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal). Bug 104159, r=jag, sr=alecf git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -153,8 +153,8 @@ PRInt32 nsLegendFrame::GetAlign()
|
||||
|
||||
#ifdef NS_DEBUG
|
||||
NS_IMETHODIMP
|
||||
nsLegendFrame::GetFrameName(nsString& aResult) const
|
||||
nsLegendFrame::GetFrameName(nsAString& aResult) const
|
||||
{
|
||||
return MakeFrameName("Legend", aResult);
|
||||
return MakeFrameName(NS_LITERAL_STRING("Legend"), aResult);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user