[PATCH] constify some methods

Bernhard shentey at web.de
Thu Aug 28 14:40:26 BST 2008


Hi khtml developers,

while playing with the khtml sources I've fixed some caretPos() methods in the rendering directory to be const. At least for me, it helped me understand more quickly that none of these methods will have side effects on their objects, as the const keyword provided evidence. So I figured I'd share the patch with you. Feel free to apply it in the khtml/rendering directory.

Greetings,
Bernhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: const_patch.diff
Type: text/x-diff
Size: 7148 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20080828/4a5950e1/attachment.diff>


More information about the kfm-devel mailing list