[OS/2][BeOS] Bug 474365: unbreak build in widget/src/*/nsDeviceContextSpec*.cpp following bug 461047, r=weilbacher

This commit is contained in:
Walter Meinl 2009-01-21 09:58:53 +01:00
Родитель 17f7b0be23
Коммит 79f294e59c
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -64,7 +64,7 @@ public:
PRBool PrintersAreAllocated() { return mGlobalPrinterList != nsnull; }
PRInt32 GetNumPrinters() { return mGlobalNumPrinters; }
nsString* GetStringAt(PRInt32 aInx) { return mGlobalPrinterList->StringAt(aInx); }
nsString* GetStringAt(PRInt32 aInx) { return &mGlobalPrinterList->ElementAt(aInx); }
protected:
GlobalPrinters() {}

Просмотреть файл

@ -83,7 +83,7 @@ public:
PRBool PrintersAreAllocated() { return mGlobalPrinterList != nsnull; }
PRInt32 GetNumPrinters() { return mGlobalNumPrinters; }
nsString* GetStringAt(PRInt32 aInx) { return mGlobalPrinterList->StringAt(aInx); }
nsString* GetStringAt(PRInt32 aInx) { return &mGlobalPrinterList->ElementAt(aInx); }
void GetDefaultPrinterName(PRUnichar*& aDefaultPrinterName);
protected: