diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2010-07-30 10:44:19 (GMT) |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2010-07-30 10:50:25 (GMT) |
commit | 6699f65e276d24c99d0937f1bb460ced176076d8 (patch) | |
tree | 7f2634400abf07b2f320f0aa35d50fc6f992a96a | |
parent | 865bcb8c33287d04ca914f9cbc33730753bccc6a (diff) | |
download | Qt-6699f65e276d24c99d0937f1bb460ced176076d8.zip Qt-6699f65e276d24c99d0937f1bb460ced176076d8.tar.gz Qt-6699f65e276d24c99d0937f1bb460ced176076d8.tar.bz2 |
Minor optimization
Make internal qpf2 font tag array read-only.
Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>
-rw-r--r-- | src/gui/text/qpfutil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qpfutil.cpp b/src/gui/text/qpfutil.cpp index 376f49c..7f8c58e 100644 --- a/src/gui/text/qpfutil.cpp +++ b/src/gui/text/qpfutil.cpp @@ -39,7 +39,7 @@ ** ****************************************************************************/ -static QFontEngineQPF::TagType tagTypes[QFontEngineQPF::NumTags] = { +static const QFontEngineQPF::TagType tagTypes[QFontEngineQPF::NumTags] = { QFontEngineQPF::StringType, // FontName QFontEngineQPF::StringType, // FileName QFontEngineQPF::UInt32Type, // FileIndex |