Missed a few files. Fixing mac bustage

This commit is contained in:
caillon%returnzero.com 2003-06-13 23:47:44 +00:00
Родитель e65edb967b
Коммит aec3f8c974
2 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -805,7 +805,7 @@ nsEventStatus nsMenu::MenuConstruct(
menuPopup->ChildCount(count);
for ( PRInt32 i = 0; i < count; ++i ) {
nsCOMPtr<nsIContent> child;
menuPopup->ChildAt(i, *getter_AddRefs(child));
menuPopup->ChildAt(i, getter_AddRefs(child));
if ( child ) {
// depending on the type, create a menu item, separator, or submenu
nsCOMPtr<nsIAtom> tag;
@ -854,7 +854,7 @@ nsMenu::HelpMenuConstruct( const nsMenuEvent & aMenuEvent, nsIWidget* aParentWin
menuPopup->ChildCount(count);
for ( PRInt32 i = 0; i < count; ++i ) {
nsCOMPtr<nsIContent> child;
menuPopup->ChildAt(i, *getter_AddRefs(child));
menuPopup->ChildAt(i, getter_AddRefs(child));
if ( child ) {
// depending on the type, create a menu item, separator, or submenu
nsCOMPtr<nsIAtom> tag;
@ -1220,7 +1220,7 @@ nsMenu::OnCreate()
popupContent->ChildCount(count);
for (PRInt32 i = 0; i < count; i++) {
nsCOMPtr<nsIContent> grandChild;
popupContent->ChildAt(i, *getter_AddRefs(grandChild));
popupContent->ChildAt(i, getter_AddRefs(grandChild));
nsCOMPtr<nsIAtom> tag;
grandChild->GetTag(getter_AddRefs(tag));
if (tag.get() == nsWidgetAtoms::menuitem) {
@ -1416,7 +1416,7 @@ nsMenu::GetMenuPopupContent(nsIContent** aResult)
for (PRInt32 i = 0; i < count; i++) {
PRInt32 dummy;
nsCOMPtr<nsIContent> child;
mMenuContent->ChildAt(i, *getter_AddRefs(child));
mMenuContent->ChildAt(i, getter_AddRefs(child));
nsCOMPtr<nsIAtom> tag;
xblService->ResolveTag(child, &dummy, getter_AddRefs(tag));
if (tag && tag.get() == nsWidgetAtoms::menupopup) {

Просмотреть файл

@ -371,7 +371,7 @@ nsMenuItem :: UncheckRadioSiblings ( nsIContent* inCheckedContent )
parent->ChildCount(count);
for ( PRInt32 i = 0; i < count; ++i ) {
nsCOMPtr<nsIContent> sibling;
parent->ChildAt(i, *getter_AddRefs(sibling));
parent->ChildAt(i, getter_AddRefs(sibling));
if ( sibling ) {
if ( sibling.get() != inCheckedContent ) { // skip this node
// if the current sibling is in the same group, clear it