diff options
author | Rafael Dominguez <venccsralph@gmail.com> | 2012-07-11 12:32:04 -0430 |
---|---|---|
committer | Rafael Dominguez <venccsralph@gmail.com> | 2012-07-11 14:36:53 -0430 |
commit | 2ef58e5af9d05fcf1e3d6a709b2f9e113fb64cf5 (patch) | |
tree | 37dbaaa7581c93f079da7447204f0cce180b7e4a /sfx2 | |
parent | 1bc6db06c4d5515d8d858641d0ae26a8b8572b8b (diff) |
Ignore case when searching for a template.
Change-Id: I47e35241a67892ff7c1d9aedf04cf2ab86c1371c
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/templatedlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx index 4967d8910c6c..de48d5745163 100644 --- a/sfx2/source/doc/templatedlg.cxx +++ b/sfx2/source/doc/templatedlg.cxx @@ -74,7 +74,7 @@ public: bool operator() (const TemplateItemProperties &rItem) { - return rItem.aName.indexOf(maKeyword) != -1; + return rItem.aName.matchIgnoreAsciiCase(maKeyword); } private: |