mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1061050 - Fix more bad implicit constructors in editor; r=roc
--HG-- extra : rebase_source : 4bc00b1cf3807cfe7267cc20ed618ed2ce827a64
This commit is contained in:
parent
406b68bf31
commit
3840a97689
@ -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:
|
||||
|
||||
|
@ -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();
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ class nsTransactionItem MOZ_FINAL
|
||||
|
||||
public:
|
||||
|
||||
nsTransactionItem(nsITransaction *aTransaction);
|
||||
explicit nsTransactionItem(nsITransaction *aTransaction);
|
||||
NS_METHOD_(MozExternalRefCountType) AddRef();
|
||||
NS_METHOD_(MozExternalRefCountType) Release();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user