Bug 1061050 - Fix more bad implicit constructors in editor; r=roc

--HG--
extra : rebase_source : 4bc00b1cf3807cfe7267cc20ed618ed2ce827a64
This commit is contained in:
Ehsan Akhgari 2014-08-31 23:49:37 -04:00
parent 30532d99d0
commit d6c8acdc56
3 changed files with 6 additions and 6 deletions

View File

@ -55,7 +55,7 @@ public: \
class nsBaseStateUpdatingCommand : public nsBaseComposerCommand
{
public:
nsBaseStateUpdatingCommand(nsIAtom* aTagName);
explicit nsBaseStateUpdatingCommand(nsIAtom* aTagName);
NS_DECL_ISUPPORTS_INHERITED
@ -80,7 +80,7 @@ protected:
class nsStyleUpdatingCommand : public nsBaseStateUpdatingCommand
{
public:
nsStyleUpdatingCommand(nsIAtom* aTagName);
explicit nsStyleUpdatingCommand(nsIAtom* aTagName);
protected:
@ -111,7 +111,7 @@ protected:
class nsListCommand : public nsBaseStateUpdatingCommand
{
public:
nsListCommand(nsIAtom* aTagName);
explicit nsListCommand(nsIAtom* aTagName);
protected:
@ -125,7 +125,7 @@ protected:
class nsListItemCommand : public nsBaseStateUpdatingCommand
{
public:
nsListItemCommand(nsIAtom* aTagName);
explicit nsListItemCommand(nsIAtom* aTagName);
protected:

View File

@ -50,7 +50,7 @@ class UpdateDictionnaryHolder {
private:
nsEditorSpellCheck* mSpellCheck;
public:
UpdateDictionnaryHolder(nsEditorSpellCheck* esc): mSpellCheck(esc) {
explicit UpdateDictionnaryHolder(nsEditorSpellCheck* esc): mSpellCheck(esc) {
if (mSpellCheck) {
mSpellCheck->BeginUpdateDictionary();
}

View File

@ -25,7 +25,7 @@ class nsTransactionItem MOZ_FINAL
public:
nsTransactionItem(nsITransaction *aTransaction);
explicit nsTransactionItem(nsITransaction *aTransaction);
NS_METHOD_(MozExternalRefCountType) AddRef();
NS_METHOD_(MozExternalRefCountType) Release();