summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-02-22 20:50:15 +0100
committerEike Rathke <erack@redhat.com>2016-02-22 21:30:30 +0100
commitfaf7979144203d110111a2a4e80c7688a45cd538 (patch)
tree06b277a35e8ac654bec4aff4a744bf217b900152
parent20b5917966d931fc9cbb8dd24a957f80f95e64bc (diff)
enable wildcards when importing .xls, tdf#72196
Change-Id: Ice014ef31c9962a2d77496236712b59cd147b6e8
-rw-r--r--sc/source/filter/excel/impop.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/filter/excel/impop.cxx b/sc/source/filter/excel/impop.cxx
index 470c31572c0a..c4e27178f654 100644
--- a/sc/source/filter/excel/impop.cxx
+++ b/sc/source/filter/excel/impop.cxx
@@ -148,6 +148,7 @@ ImportExcel::ImportExcel( XclImpRootData& rImpData, SvStream& rStrm ):
ScDocOptions aDocOpt( pD->GetDocOptions() );
aDocOpt.SetIgnoreCase( true ); // always in Excel
aDocOpt.SetFormulaRegexEnabled( false ); // regular expressions? what's that?
+ aDocOpt.SetFormulaWildcardsEnabled( true ); // Excel uses wildcard expressions
aDocOpt.SetLookUpColRowNames( false ); // default: no natural language refs
pD->SetDocOptions( aDocOpt );
}