From f4660ce2316271c6449c24602ea8392f3d807410 Mon Sep 17 00:00:00 2001 From: "akkana%netscape.com" Date: Mon, 18 Oct 1999 19:01:56 +0000 Subject: [PATCH] Remove two ifdef DEBUG_akkana lines that were left in when someone changed the implementation of ConvertContentToXIF, so that I can compile again. This won't affect anyone but me. r=kipp --- content/base/src/nsCommentNode.cpp | 5 +---- layout/base/src/nsCommentNode.cpp | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/content/base/src/nsCommentNode.cpp b/content/base/src/nsCommentNode.cpp index 321b8cd57d0..45a7fcb8724 100644 --- a/content/base/src/nsCommentNode.cpp +++ b/content/base/src/nsCommentNode.cpp @@ -370,10 +370,7 @@ nsCommentNode::ConvertContentToXIF(nsXIFConverter& aConverter) const res = inner->GetText(&textFrag); if (!NS_SUCCEEDED(res)) return res; -#ifdef DEBUG_akkana - if (numFragments == 0) - printf("numFragments is zero! Go figure!\n"); -#endif + if (sel != nsnull && document->IsInSelection(sel,content)) { nsIEnumerator *enumerator; diff --git a/layout/base/src/nsCommentNode.cpp b/layout/base/src/nsCommentNode.cpp index 321b8cd57d0..45a7fcb8724 100644 --- a/layout/base/src/nsCommentNode.cpp +++ b/layout/base/src/nsCommentNode.cpp @@ -370,10 +370,7 @@ nsCommentNode::ConvertContentToXIF(nsXIFConverter& aConverter) const res = inner->GetText(&textFrag); if (!NS_SUCCEEDED(res)) return res; -#ifdef DEBUG_akkana - if (numFragments == 0) - printf("numFragments is zero! Go figure!\n"); -#endif + if (sel != nsnull && document->IsInSelection(sel,content)) { nsIEnumerator *enumerator;