diff options
author | Eike Rathke <erack@redhat.com> | 2016-02-20 00:33:01 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-02-20 00:39:31 +0100 |
commit | 20fec9becf33e51a1d3ae8afcd52e4d65b343b7a (patch) | |
tree | 959a3f1d86fb96bbc7deb38b14c252ad409187b6 | |
parent | 9f0fa7e5316509d73e3384a3b23b61a8a2d27f7c (diff) |
import Wildcards at ScXMLCalculationSettingsContext, tdf#72196
Change-Id: Ic0031052a488581ad8627375993c275bc635ed8a
-rw-r--r-- | sc/source/filter/xml/XMLCalculationSettingsContext.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/filter/xml/XMLCalculationSettingsContext.cxx b/sc/source/filter/xml/XMLCalculationSettingsContext.cxx index 836d5308a0e0..4110b5e44e0a 100644 --- a/sc/source/filter/xml/XMLCalculationSettingsContext.cxx +++ b/sc/source/filter/xml/XMLCalculationSettingsContext.cxx @@ -131,8 +131,10 @@ void ScXMLCalculationSettingsContext::EndElement() xPropertySet->setPropertyValue( SC_UNO_IGNORECASE, uno::makeAny(bIgnoreCase) ); xPropertySet->setPropertyValue( SC_UNO_LOOKUPLABELS, uno::makeAny(bLookUpLabels) ); xPropertySet->setPropertyValue( SC_UNO_MATCHWHOLE, uno::makeAny(bMatchWholeCell) ); - xPropertySet->setPropertyValue( SC_UNO_REGEXENABLED, - uno::makeAny(eSearchType == utl::SearchParam::SRCH_REGEXP) ); + bool bWildcards, bRegex; + utl::SearchParam::ConvertToBool( eSearchType, bWildcards, bRegex); + xPropertySet->setPropertyValue( SC_UNO_REGEXENABLED, uno::makeAny(bRegex) ); + xPropertySet->setPropertyValue( SC_UNO_WILDCARDSENABLED, uno::makeAny(bWildcards) ); xPropertySet->setPropertyValue( SC_UNO_ITERENABLED, uno::makeAny(bIsIterationEnabled) ); xPropertySet->setPropertyValue( SC_UNO_ITERCOUNT, uno::makeAny(nIterationCount) ); xPropertySet->setPropertyValue( SC_UNO_ITEREPSILON, uno::makeAny(fIterationEpsilon) ); |