Use macros from nsTextFragment
git-svn-id: svn://10.0.0.236/trunk@17198 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include "nsIURL.h"
|
||||
#include "nsXIFConverter.h"
|
||||
#include "nsISizeOfHandler.h"
|
||||
#include "nsTextFragment.h"
|
||||
|
||||
class Area {
|
||||
public:
|
||||
@@ -97,10 +98,6 @@ Area::SizeOf(nsISizeOfHandler* aHandler) const
|
||||
aHandler->Add(mNumCoords * sizeof(nscoord));
|
||||
}
|
||||
|
||||
// XXX move into nsCRT
|
||||
#define XP_IS_SPACE(_ch) \
|
||||
(((_ch) == ' ') || ((_ch) == '\t') || ((_ch) == '\r') || ((_ch) == '\n'))
|
||||
|
||||
#include <stdlib.h>
|
||||
#define XP_ATOI(_s) ::atoi(_s)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user