Revision 1188417

Go back to digest for 24th October 2010

Optimization in Office

Thorsten Zachmann committed changes in /trunk/koffice/libs/kotext:

Optimize usage of hasAttributeNS

Optimize the code to use attributeNS directly without the use of hasAttributeNS.
That removes the need for a second lookup which is much more expensive then
checking if the return value was empty.

File Changes

Modified 2 files
  • /trunk/koffice/libs/kotext
  •   /opendocument/KoTextLoader.cpp
  •   /styles/KoListLevelProperties.cpp
2 files changed in total