[Libreoffice-commits] core.git: sc/source

Stephan Bergmann sbergman at redhat.com
Thu Jun 8 07:18:12 UTC 2017


 sc/source/ui/docshell/dataprovider.cxx |    3 +--
 sc/source/ui/inc/dataprovider.hxx      |    2 --
 2 files changed, 1 insertion(+), 4 deletions(-)

New commits:
commit d72d2a7c981066b795bb7679583b8b6665597c2c
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Jun 8 09:17:47 2017 +0200

    -Werror,-Wunused-private-field
    
    Change-Id: Ia9bf97f10771dad5ecf1c3a9638384a80b65b181

diff --git a/sc/source/ui/docshell/dataprovider.cxx b/sc/source/ui/docshell/dataprovider.cxx
index 8d0f9358ccc4..ebdbe73cc5ee 100644
--- a/sc/source/ui/docshell/dataprovider.cxx
+++ b/sc/source/ui/docshell/dataprovider.cxx
@@ -61,8 +61,7 @@ ExternalDataMapper::ExternalDataMapper(ScDocShell* pDocShell, const OUString& rU
     maRange (ScRange(nCol1, nRow1, nTab, nCol2, nRow2, nTab)),
     mpDocShell(pDocShell),
     mpDataProvider (new CSVDataProvider(mpDocShell, rURL, maRange)),
-    mpDBCollection (pDocShell->GetDocument().GetDBCollection()),
-    maURL(rURL)
+    mpDBCollection (pDocShell->GetDocument().GetDBCollection())
 {
     bSuccess = true;
     ScDBCollection::NamedDBs& rNamedDBS = mpDBCollection->getNamedDBs();
diff --git a/sc/source/ui/inc/dataprovider.hxx b/sc/source/ui/inc/dataprovider.hxx
index 19256199d258..8763cd1ab530 100644
--- a/sc/source/ui/inc/dataprovider.hxx
+++ b/sc/source/ui/inc/dataprovider.hxx
@@ -46,8 +46,6 @@ class SC_DLLPUBLIC ExternalDataMapper
     ScDocument maDocument;
     ScDBCollection* mpDBCollection;
 
-    OUString maURL;
-
 public:
     ExternalDataMapper(ScDocShell* pDocShell, const OUString& rUrl, const OUString& rName,
         SCTAB nTab, SCCOL nCol1,SCROW nRow1, SCCOL nCOL2, SCROW nRow2, bool& bSuccess);


More information about the Libreoffice-commits mailing list