fix virtual destructors
git-svn-id: svn://10.0.0.236/trunk@28625 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
13d064c19e
commit
5655534a14
@ -52,7 +52,7 @@ struct nsFindComponent : public nsIFindComponent {
|
||||
|
||||
// ctor/dtor
|
||||
nsFindComponent();
|
||||
~nsFindComponent();
|
||||
virtual ~nsFindComponent();
|
||||
|
||||
// This class implements the nsISupports interface functions.
|
||||
NS_DECL_ISUPPORTS
|
||||
@ -79,7 +79,7 @@ struct nsFindComponent : public nsIFindComponent {
|
||||
|
||||
NS_INIT_REFCNT();
|
||||
}
|
||||
~Context() {
|
||||
virtual ~Context() {
|
||||
}
|
||||
void Reset( nsIDocument *aNewDocument ) {
|
||||
// Reconstruct nsITextServicesDocument?...
|
||||
@ -252,7 +252,7 @@ struct nsFindDialog : public nsIXULWindowCallbacks,
|
||||
// nsFindDialog stuff
|
||||
nsFindDialog( nsIFindComponent *aComponent,
|
||||
nsFindComponent::Context *aContext );
|
||||
~nsFindDialog() {}
|
||||
virtual ~nsFindDialog() {}
|
||||
void OnFind( nsIContent *aContent );
|
||||
void OnNext();
|
||||
void OnCancel();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user