Reviewed by Ken.
authorsullivan <sullivan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Oct 2004 19:51:14 +0000 (19:51 +0000)
committersullivan <sullivan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Oct 2004 19:51:14 +0000 (19:51 +0000)
commit2ed2512cd17abb6b1111a9653f67a2bc8552cad2
tree432ccc255cadfb12bcf6fd29038b4b6a1dbe4c65
parent5646e5e3a0777ca1d31698baaaa37d0ab4e06a46
    Reviewed by Ken.

        - fixed <rdar://problem/3840052> Crash in removeBlockPlaceholderIfNeeded attaching file to empty document

        * khtml/editing/htmlediting.cpp:
        (khtml::CompositeEditCommand::removeBlockPlaceholderIfNeeded):
        needed a nil check to handle empty document case

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7837 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/editing/htmlediting.cpp