From 9e7c8582c48aa9f94c00aae3ddfce51d17a7368c Mon Sep 17 00:00:00 2001 From: "buster%netscape.com" Date: Thu, 24 Jun 1999 23:33:47 +0000 Subject: [PATCH] added img git-svn-id: svn://10.0.0.236/trunk@36764 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/editor/base/nsEditProperty.cpp | 3 +++ mozilla/editor/libeditor/html/nsEditProperty.cpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/mozilla/editor/base/nsEditProperty.cpp b/mozilla/editor/base/nsEditProperty.cpp index 697c33811e5..c67bc2687bf 100644 --- a/mozilla/editor/base/nsEditProperty.cpp +++ b/mozilla/editor/base/nsEditProperty.cpp @@ -34,6 +34,7 @@ nsIAtom * nsIEditProperty::b; nsIAtom * nsIEditProperty::big; nsIAtom * nsIEditProperty::font; nsIAtom * nsIEditProperty::i; +nsIAtom * nsIEditProperty::img; nsIAtom * nsIEditProperty::span; nsIAtom * nsIEditProperty::small; nsIAtom * nsIEditProperty::strike; @@ -62,6 +63,7 @@ nsEditProperty::nsEditProperty() nsIEditProperty::big = NS_NewAtom("big"); nsIEditProperty::font = NS_NewAtom("font"); nsIEditProperty::i = NS_NewAtom("i"); + nsIEditProperty::i = NS_NewAtom("img"); nsIEditProperty::span = NS_NewAtom("span"); nsIEditProperty::small =NS_NewAtom("small"); nsIEditProperty::strike=NS_NewAtom("strike"); @@ -90,6 +92,7 @@ nsEditProperty::~nsEditProperty() NS_IF_RELEASE(nsIEditProperty::big); NS_IF_RELEASE(nsIEditProperty::font); NS_IF_RELEASE(nsIEditProperty::i); + NS_IF_RELEASE(nsIEditProperty::img); NS_IF_RELEASE(nsIEditProperty::span); NS_IF_RELEASE(nsIEditProperty::small); NS_IF_RELEASE(nsIEditProperty::strike); diff --git a/mozilla/editor/libeditor/html/nsEditProperty.cpp b/mozilla/editor/libeditor/html/nsEditProperty.cpp index 697c33811e5..c67bc2687bf 100644 --- a/mozilla/editor/libeditor/html/nsEditProperty.cpp +++ b/mozilla/editor/libeditor/html/nsEditProperty.cpp @@ -34,6 +34,7 @@ nsIAtom * nsIEditProperty::b; nsIAtom * nsIEditProperty::big; nsIAtom * nsIEditProperty::font; nsIAtom * nsIEditProperty::i; +nsIAtom * nsIEditProperty::img; nsIAtom * nsIEditProperty::span; nsIAtom * nsIEditProperty::small; nsIAtom * nsIEditProperty::strike; @@ -62,6 +63,7 @@ nsEditProperty::nsEditProperty() nsIEditProperty::big = NS_NewAtom("big"); nsIEditProperty::font = NS_NewAtom("font"); nsIEditProperty::i = NS_NewAtom("i"); + nsIEditProperty::i = NS_NewAtom("img"); nsIEditProperty::span = NS_NewAtom("span"); nsIEditProperty::small =NS_NewAtom("small"); nsIEditProperty::strike=NS_NewAtom("strike"); @@ -90,6 +92,7 @@ nsEditProperty::~nsEditProperty() NS_IF_RELEASE(nsIEditProperty::big); NS_IF_RELEASE(nsIEditProperty::font); NS_IF_RELEASE(nsIEditProperty::i); + NS_IF_RELEASE(nsIEditProperty::img); NS_IF_RELEASE(nsIEditProperty::span); NS_IF_RELEASE(nsIEditProperty::small); NS_IF_RELEASE(nsIEditProperty::strike);