diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-02-09 15:14:56 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-02-09 15:14:56 +0900 |
commit | 6b4be5f2df2da8986fa68a5de11d509cc37d44cb (patch) | |
tree | 4f22ca0f4708e3befcba96f1d3f47661acc5f02b /tdehtml/rendering/render_object.cpp | |
parent | ca0e1f81a7dbae8c609b1332e04db5ac7d6fe7df (diff) | |
download | tdelibs-6b4be5f2df2da8986fa68a5de11d509cc37d44cb.tar.gz tdelibs-6b4be5f2df2da8986fa68a5de11d509cc37d44cb.zip |
Fix -tdehtml-* rename regression. This resolves bugs 1825 and 1692
Diffstat (limited to 'tdehtml/rendering/render_object.cpp')
-rw-r--r-- | tdehtml/rendering/render_object.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdehtml/rendering/render_object.cpp b/tdehtml/rendering/render_object.cpp index a979e1dc1..eacbb4d16 100644 --- a/tdehtml/rendering/render_object.cpp +++ b/tdehtml/rendering/render_object.cpp @@ -2077,7 +2077,7 @@ bool RenderObject::hasCounter(const TQString& counter) const element()->id() == ID_DIR)) return true; } else - if (counter == "-tdehtml-quotes" && isQuote()) { + if (counter == "-khtml-quotes" && isQuote()) { return (static_cast<const RenderQuote*>(this)->quoteCount() != 0); } return false; @@ -2146,7 +2146,7 @@ CounterNode* RenderObject::getCounter(const TQString& counter, bool view, bool c // kdDebug( 6040 ) << renderName() << " counter-reset: " << counter << " " << val << endl; } } - else if (counter == "-tdehtml-quotes" && isQuote()) { + else if (counter == "-khtml-quotes" && isQuote()) { i = new CounterNode(this); val = static_cast<RenderQuote*>(this)->quoteCount(); } |