diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-10 08:36:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-11 07:52:15 +0200 |
commit | fa1e5e556349bc4ae92275ce88d877db91f6a44b (patch) | |
tree | 8d9b8e4d73692882bd716f7b8a4342db0b3c29ae /sc | |
parent | 9010dfe46a9756443cd9614bf821e8011f01491b (diff) |
loplugin:virtualdown in DataProvider
Change-Id: Id61d2ddc25767c642e13212be8b00c5836ce4996
Reviewed-on: https://gerrit.libreoffice.org/73764
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/dataprovider/dataprovider.cxx | 5 | ||||
-rw-r--r-- | sc/source/ui/dataprovider/htmldataprovider.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/dataprovider.hxx | 2 |
3 files changed, 1 insertions, 8 deletions
diff --git a/sc/source/ui/dataprovider/dataprovider.cxx b/sc/source/ui/dataprovider/dataprovider.cxx index e0a5571971d2..f87e006618ec 100644 --- a/sc/source/ui/dataprovider/dataprovider.cxx +++ b/sc/source/ui/dataprovider/dataprovider.cxx @@ -212,11 +212,6 @@ void DataProvider::setDeterministic() mbDeterministic = true; } -std::map<OUString, OUString> DataProvider::getDataSourcesForURL(const OUString& /*rURL*/) -{ - return std::map<OUString, OUString>(); -} - DataProvider::~DataProvider() { } diff --git a/sc/source/ui/dataprovider/htmldataprovider.hxx b/sc/source/ui/dataprovider/htmldataprovider.hxx index 249249dcef88..0eb27f4b8891 100644 --- a/sc/source/ui/dataprovider/htmldataprovider.hxx +++ b/sc/source/ui/dataprovider/htmldataprovider.hxx @@ -34,7 +34,7 @@ public: virtual const OUString& GetURL() const override; - virtual std::map<OUString, OUString> getDataSourcesForURL(const OUString& rURL) override; + std::map<OUString, OUString> getDataSourcesForURL(const OUString& rURL); void ImportFinished(); }; diff --git a/sc/source/ui/inc/dataprovider.hxx b/sc/source/ui/inc/dataprovider.hxx index e0e22490f58e..4e15b2c643ba 100644 --- a/sc/source/ui/inc/dataprovider.hxx +++ b/sc/source/ui/inc/dataprovider.hxx @@ -82,8 +82,6 @@ public: virtual const OUString& GetURL() const = 0; - virtual std::map<OUString, OUString> getDataSourcesForURL(const OUString& rURL); - static std::unique_ptr<SvStream> FetchStreamFromURL(const OUString&, OStringBuffer& rBuffer); void setDeterministic(); |