summaryrefslogtreecommitdiff
path: root/sc/source/ui/dataprovider/csvdataprovider.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/dataprovider/csvdataprovider.cxx')
-rw-r--r--sc/source/ui/dataprovider/csvdataprovider.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/dataprovider/csvdataprovider.cxx b/sc/source/ui/dataprovider/csvdataprovider.cxx
index a6850edec3de..c787ee4ce0c6 100644
--- a/sc/source/ui/dataprovider/csvdataprovider.cxx
+++ b/sc/source/ui/dataprovider/csvdataprovider.cxx
@@ -136,7 +136,7 @@ void CSVDataProvider::Import()
return;
mpDoc.reset(new ScDocument(SCDOCMODE_CLIP));
- mpDoc->ResetClip(mpDocument, (SCTAB)0);
+ mpDoc->ResetClip(mpDocument, SCTAB(0));
mxCSVFetchThread = new CSVFetchThread(*mpDoc, mrDataSource.getURL(), std::bind(&CSVDataProvider::ImportFinished, this), mrDataSource.getDataTransformation());
mxCSVFetchThread->launch();