Reviewed by me
authorkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Dec 2004 19:29:26 +0000 (19:29 +0000)
committerkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Dec 2004 19:29:26 +0000 (19:29 +0000)
        * khtml/editing/htmlediting.cpp:
        (khtml::CompositeEditCommand::removeBlockPlaceholderIfNeeded): Note to self: Must compile code before
        checking in (aka must return false from function returning bool).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8270 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog-2005-08-23
WebCore/khtml/editing/htmlediting.cpp

index a02a48f..bcc910b 100644 (file)
@@ -1,5 +1,13 @@
 2004-12-21  Ken Kocienda  <kocienda@apple.com>
 
+        Reviewed by me
+
+        * khtml/editing/htmlediting.cpp:
+        (khtml::CompositeEditCommand::removeBlockPlaceholderIfNeeded): Note to self: Must compile code before
+        checking in (aka must return false from function returning bool).
+
+2004-12-21  Ken Kocienda  <kocienda@apple.com>
+
         Reviewed by John
         
         Fix for this bug:
index 3b78c0f..6014006 100644 (file)
@@ -952,7 +952,7 @@ void CompositeEditCommand::insertBlockPlaceholderIfNeeded(NodeImpl *node)
 bool CompositeEditCommand::removeBlockPlaceholderIfNeeded(NodeImpl *node)
 {
     if (!node)
-        return;
+        return false;
 
     document()->updateLayout();