зеркало из https://github.com/mozilla/gecko-dev.git
fix some unix warning
This commit is contained in:
Родитель
38b464566c
Коммит
e8791b6951
|
@ -52,7 +52,7 @@ class name : public nsIBreakState { \
|
|||
mText = aText; mLen = aLen; \
|
||||
mPos = 0; mPriv = 0; mDone = PR_FALSE; \
|
||||
} ; \
|
||||
~name () { } ; \
|
||||
virtual ~name () { } ; \
|
||||
\
|
||||
public: \
|
||||
NS_IMETHOD Set (PRUint32 aPos, PRBool aDone) \
|
||||
|
|
|
@ -28,7 +28,7 @@ class nsJISx4501LineBreaker : public nsILineBreaker
|
|||
public:
|
||||
nsJISx4501LineBreaker(const PRUnichar *aNoBegin, PRInt32 aNoBeginLen,
|
||||
const PRUnichar* aNoEnd, PRInt32 aNoEndLen);
|
||||
~nsJISx4501LineBreaker();
|
||||
virtual ~nsJISx4501LineBreaker();
|
||||
|
||||
NS_IMETHOD BreakInBetween(const PRUnichar* aText1 , PRUint32 aTextLen1,
|
||||
const PRUnichar* aText2 , PRUint32 aTextLen2,
|
||||
|
|
|
@ -35,7 +35,7 @@ class nsLWBreakerFImp : public nsILineBreakerFactory , nsIWordBreakerFactory
|
|||
public:
|
||||
|
||||
nsLWBreakerFImp();
|
||||
~nsLWBreakerFImp();
|
||||
virtual ~nsLWBreakerFImp();
|
||||
|
||||
NS_IMETHOD GetBreaker(nsString& aParam, nsILineBreaker** breaker);
|
||||
NS_IMETHOD GetBreaker(nsString& aParam, nsIWordBreaker** breaker);
|
||||
|
|
|
@ -39,7 +39,7 @@ class nsLWBrkFactory : public nsIFactory {
|
|||
NS_INIT_REFCNT();
|
||||
PR_AtomicIncrement(&g_InstanceCount);
|
||||
};
|
||||
~nsLWBrkFactory() {
|
||||
virtual ~nsLWBrkFactory() {
|
||||
PR_AtomicDecrement(&g_InstanceCount);
|
||||
};
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ class nsSampleWordBreaker : public nsIWordBreaker
|
|||
public:
|
||||
|
||||
nsSampleWordBreaker() ;
|
||||
~nsSampleWordBreaker() ;
|
||||
virtual ~nsSampleWordBreaker() ;
|
||||
|
||||
NS_IMETHOD BreakInBetween(const PRUnichar* aText1 , PRUint32 aTextLen1,
|
||||
const PRUnichar* aText2 , PRUint32 aTextLen2,
|
||||
|
|
Загрузка…
Ссылка в новой задаче