use a empty PRUnichar instead of NS_L
git-svn-id: svn://10.0.0.236/trunk@188652 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -604,9 +604,10 @@ nsThebesDeviceContext::BeginDocument(PRUnichar* aTitle,
|
||||
PRInt32 aStartPage,
|
||||
PRInt32 aEndPage)
|
||||
{
|
||||
static const PRUnichar kEmpty[] = { '\0' };
|
||||
nsRefPtr<gfxContext> thebes = new gfxContext(mPrintingSurface);
|
||||
thebes->BeginPrinting(nsDependentString(aTitle ? aTitle : (PRUnichar*)NS_L("")),
|
||||
nsDependentString(aPrintToFileName ? aPrintToFileName : (PRUnichar*)NS_L("")));
|
||||
thebes->BeginPrinting(nsDependentString(aTitle ? aTitle : kEmpty),
|
||||
nsDependentString(aPrintToFileName ? aPrintToFileName : kEmpty));
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user