summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorRafael Dominguez <venccsralph@gmail.com>2012-07-11 12:32:04 -0430
committerRafael Dominguez <venccsralph@gmail.com>2012-07-11 14:36:53 -0430
commit2ef58e5af9d05fcf1e3d6a709b2f9e113fb64cf5 (patch)
tree37dbaaa7581c93f079da7447204f0cce180b7e4a /sfx2
parent1bc6db06c4d5515d8d858641d0ae26a8b8572b8b (diff)
Ignore case when searching for a template.
Change-Id: I47e35241a67892ff7c1d9aedf04cf2ab86c1371c
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/templatedlg.cxx2
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: