Revision 1188397

Go back to digest for 24th October 2010

Optimization in Office

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

Optimize KoStyleStack

Use const QString & instead of const char * as parameters. This reduces
the number of conversions as the string is now converted only once and
not every time a function is called from within.

Also use attributeNS directly without checking if the attribute is there.

File Changes

Modified 2 files
  • /trunk/koffice/libs/odf
  •   /KoStyleStack.cpp
  •   /KoStyleStack.h
2 files changed in total