diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-10 18:35:03 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-04-11 08:41:09 +0200 |
commit | f699e7b9b22961cc401868e22eeb90c215a8832f (patch) | |
tree | f8724d7acfaec108e9c9676e6c09e4b0aede9d04 /svx | |
parent | 578cd010f504e4261c908c5bfbb46e035e22397f (diff) |
Use valid UNOIDL identifiers in TransliterationModulesExtra
ignoreDiacritics_CTL was introduced in LO 4.2, but is unpublished and appears to
be rarely used, so changing it is hopefully OK.
ignoreKashida_CTL is new in LO 4.3.
Change-Id: I52c6d1e8c6b30eec4af22e3bbc72dd5874ef7151
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/srchdlg.cxx | 8 | ||||
-rw-r--r-- | svx/source/tbxctrls/tbunosearchcontrollers.cxx | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx index 5f92393cedfa..22f71bee30d3 100644 --- a/svx/source/dialog/srchdlg.cxx +++ b/svx/source/dialog/srchdlg.cxx @@ -1228,9 +1228,9 @@ IMPL_LINK( SvxSearchDialog, CommandHdl_Impl, Button *, pBtn ) nFlags &= (TransliterationModules_IGNORE_CASE | TransliterationModules_IGNORE_WIDTH ); if (GetCheckBoxValue(m_pIgnoreDiacritics)) - nFlags |= TransliterationModulesExtra::ignoreDiacritics_CTL; + nFlags |= TransliterationModulesExtra::IGNORE_DIACRITICS_CTL; if (GetCheckBoxValue(m_pIgnoreKashida)) - nFlags |= TransliterationModulesExtra::ignoreKashida_CTL; + nFlags |= TransliterationModulesExtra::IGNORE_KASHIDA_CTL; pSearchItem->SetTransliterationFlags( nFlags ); if ( !bWriter ) @@ -2182,9 +2182,9 @@ void SvxSearchDialog::SaveToModule_Impl() nFlags &= (TransliterationModules_IGNORE_CASE | TransliterationModules_IGNORE_WIDTH ); if (GetCheckBoxValue(m_pIgnoreDiacritics)) - nFlags |= TransliterationModulesExtra::ignoreDiacritics_CTL; + nFlags |= TransliterationModulesExtra::IGNORE_DIACRITICS_CTL; if (GetCheckBoxValue(m_pIgnoreKashida)) - nFlags |= TransliterationModulesExtra::ignoreKashida_CTL; + nFlags |= TransliterationModulesExtra::IGNORE_KASHIDA_CTL; pSearchItem->SetTransliterationFlags( nFlags ); if ( !bWriter ) diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx index cb86a824f9c9..5b8bf487a388 100644 --- a/svx/source/tbxctrls/tbunosearchcontrollers.cxx +++ b/svx/source/tbxctrls/tbunosearchcontrollers.cxx @@ -109,7 +109,7 @@ void impl_executeSearch( const css::uno::Reference< css::uno::XComponentContext SvtCTLOptions aCTLOptions; 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::ignoreDiacritics_CTL:0 ); + nFlags |= (aCTLOptions.IsCTLFontEnabled() ? com::sun::star::i18n::TransliterationModulesExtra::IGNORE_DIACRITICS_CTL:0 ); lArgs[3].Value <<= nFlags; lArgs[4].Name = OUString(SEARCHITEM_COMMAND); lArgs[4].Value <<= (sal_Int16)(aFindAll ? |