* khtml/editing/htmlediting.cpp:
(khtml::InsertParagraphSeparatorCommand::applyStyleAfterInsertion): Small, cosmetic change John and I decided
to do on my last checkin, but I forgot to do before landing.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8405
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2005-01-19 Ken Kocienda <kocienda@apple.com>
+
+ Reviewed by John
+
+ * khtml/editing/htmlediting.cpp:
+ (khtml::InsertParagraphSeparatorCommand::applyStyleAfterInsertion): Small, cosmetic change John and I decided
+ to do on my last checkin, but I forgot to do before landing.
+
2005-01-19 Ken Kocienda <kocienda@apple.com>
Reviewed by John
CSSComputedStyleDeclarationImpl endingStyle(endingSelection().start().node());
endingStyle.diff(m_style);
- if (!m_style->length()) {
- m_style->deref();
- m_style = 0;
- }
- else {
+ if (m_style->length() > 0) {
applyStyle(m_style);
}
}