summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/dataprovider.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/dataprovider.hxx')
-rw-r--r--sc/source/ui/inc/dataprovider.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/sc/source/ui/inc/dataprovider.hxx b/sc/source/ui/inc/dataprovider.hxx
index 00fec69638fb..c45adc9616a1 100644
--- a/sc/source/ui/inc/dataprovider.hxx
+++ b/sc/source/ui/inc/dataprovider.hxx
@@ -76,7 +76,14 @@ public:
*/
class DataProvider
{
+protected:
+ /**
+ * If true make the threaded import deterministic for the tests.
+ */
+ bool mbDeterministic;
+
public:
+ DataProvider();
virtual ~DataProvider() = 0;
virtual void Import() = 0;
@@ -84,6 +91,8 @@ public:
virtual const OUString& GetURL() const = 0;
static std::unique_ptr<SvStream> FetchStreamFromURL(const OUString&, OStringBuffer& rBuffer);
+
+ void setDeterministic();
};
class CSVDataProvider : public DataProvider