summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFaisal M. Al-Otaibi <fmalotaibi@kacst.edu.sa>2014-04-16 11:55:04 +0300
committerFaisal M. Al-Otaibi <fmalotaibi@kacst.edu.sa>2014-04-16 12:03:44 +0300
commit251fd06de2c7bd2e46fd257d848acbebb93e1fab (patch)
tree303fac9692f91d2e096eeef3488bbd0eb5b449d7
parent1f5d29e3ec97302508da07bbb7ffab5e70bd24d0 (diff)
fdo#77123: Add Ignore Kashida to quick find
if the CTL enabled the ignore kashida option will work when you use the quick find toolbar. Change-Id: I6dd9d4b3fa96c0d1c47a044e813c4062b8678ea2
-rw-r--r--svx/source/tbxctrls/tbunosearchcontrollers.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
index 6df2de77d6d2..2309224eb6ca 100644
--- a/svx/source/tbxctrls/tbunosearchcontrollers.cxx
+++ b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
@@ -110,6 +110,7 @@ void impl_executeSearch( const css::uno::Reference< css::uno::XComponentContext
sal_Int32 nFlags = 0;
nFlags |= (!aMatchCase ? static_cast<int>(com::sun::star::i18n::TransliterationModules_IGNORE_CASE) : 0);
nFlags |= (aCTLOptions.IsCTLFontEnabled() ? com::sun::star::i18n::TransliterationModulesExtra::IGNORE_DIACRITICS_CTL:0 );
+ nFlags |= (aCTLOptions.IsCTLFontEnabled() ? com::sun::star::i18n::TransliterationModulesExtra::IGNORE_KASHIDA_CTL:0 );
lArgs[3].Value <<= nFlags;
lArgs[4].Name = OUString(SEARCHITEM_COMMAND);
lArgs[4].Value <<= (sal_Int16)(aFindAll ?