Fixed unix compile bugs

This commit is contained in:
kipp%netscape.com 1998-09-08 23:17:12 +00:00
parent ace6a93d02
commit aa00e6c88e
2 changed files with 0 additions and 7 deletions

View File

@ -346,12 +346,6 @@ NS_IMETHODIMP nsFontMetricsUnix :: GetWidth(const PRUnichar *aString,
return NS_OK;
}
NS_IMETHODIMP nsFontMetricsUnix :: GetWidth(const nsString& aString,
nscoord &aWidth)
{
return GetWidth(aString.GetUnicode(), aString.Length(), aWidth);
}
NS_IMETHODIMP nsFontMetricsUnix :: GetHeight(nscoord &aHeight)
{
aHeight = mHeight;

View File

@ -51,7 +51,6 @@ public:
NS_IMETHOD GetWidth(const char *aString, nscoord &aWidth);
NS_IMETHOD GetWidth(const char *aString, PRUint32 aLength, nscoord &aWidth);
NS_IMETHOD GetWidth(const PRUnichar *aString, PRUint32 aLength, nscoord &aWidth);
NS_IMETHOD GetWidth(const nsString& aString, nscoord &aWidth);
NS_IMETHOD GetHeight(nscoord &aHeight);
NS_IMETHOD GetLeading(nscoord &aLeading);