diff --git a/layout/base/nsLayoutUtils.h b/layout/base/nsLayoutUtils.h index 3b661c2aa6e5..08e54f0b05c7 100644 --- a/layout/base/nsLayoutUtils.h +++ b/layout/base/nsLayoutUtils.h @@ -454,8 +454,8 @@ public: nscoord aX, nscoord aY, PRInt32 aFontID = -1, const nscoord* aSpacing = nsnull) { - return SafeDrawString(aContext, aString.get(), aString.Length(), aX, aY, - aFontID, aSpacing); + SafeDrawString(aContext, aString.get(), aString.Length(), aX, aY, + aFontID, aSpacing); } static void SafeGetTextDimensions(nsIRenderingContext* aContext, const char* aString, PRUint32 aLength,