move debug-only function into #ifdef DEBUG. r+sr=bzbarsky

This commit is contained in:
cbiesinger@web.de
2004-02-10 23:06:23 +00:00
parent 774e30e994
commit c3ee5819cf
2 changed files with 8 additions and 0 deletions

View File

@@ -768,7 +768,9 @@ public:
PRUint32 aWordBufSize,
PRBool aCanBreakBefore);
#ifdef DEBUG
void ToCString(nsString& aBuf, PRInt32* aTotalContentLength) const;
#endif
protected:
virtual ~nsTextFrame();
@@ -5833,6 +5835,7 @@ nsTextFrame::ComputeWordFragmentDimensions(nsIPresContext* aPresContext,
return dimensions; // 0
}
#ifdef DEBUG
// Translate the mapped content into a string that's printable
void
nsTextFrame::ToCString(nsString& aBuf, PRInt32* aTotalContentLength) const
@@ -5871,6 +5874,7 @@ nsTextFrame::ToCString(nsString& aBuf, PRInt32* aTotalContentLength) const
}
}
}
#endif
nsIAtom*
nsTextFrame::GetType() const