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

Caolán McNamara caolanm at redhat.com
Wed Aug 3 08:16:02 UTC 2016


 sc/source/ui/view/tabvwsh3.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 6968be5e274dc7948d474f0891bbcac9bdc68cc3
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Aug 3 09:15:14 2016 +0100

    unused slot argument
    
    Change-Id: Ifdc94afa1af8b573ad9652b7f62ca9beee5df340

diff --git a/sc/source/ui/view/tabvwsh3.cxx b/sc/source/ui/view/tabvwsh3.cxx
index fd8246e..67aaaf5 100644
--- a/sc/source/ui/view/tabvwsh3.cxx
+++ b/sc/source/ui/view/tabvwsh3.cxx
@@ -69,7 +69,7 @@
 
 #include <memory>
 
-static ScRefFlags lcl_ParseRange(ScRange& rScRange, const OUString& aAddress, ScDocument* pDoc, sal_uInt16 /* nSlot */)
+static ScRefFlags lcl_ParseRange(ScRange& rScRange, const OUString& aAddress, ScDocument* pDoc)
 {
     // start with the address convention set in the document
     formula::FormulaGrammar::AddressConvention eConv = pDoc->GetAddressConvention();
@@ -91,7 +91,7 @@ static ScRefFlags lcl_ParseRange(ScRange& rScRange, const OUString& aAddress, Sc
     return rScRange.Parse(aAddress, pDoc, formula::FormulaGrammar::CONV_XL_R1C1);
 }
 
-static ScRefFlags lcl_ParseAddress(ScAddress& rScAddress, const OUString& aAddress, ScDocument* pDoc, sal_uInt16 /* nSlot */)
+static ScRefFlags lcl_ParseAddress(ScAddress& rScAddress, const OUString& aAddress, ScDocument* pDoc)
 {
     // start with the address convention set in the document
     formula::FormulaGrammar::AddressConvention eConv = pDoc->GetAddressConvention();
@@ -278,7 +278,7 @@ void ScTabViewShell::Execute( SfxRequest& rReq )
                 ScMarkData& rMark     = rViewData.GetMarkData();
                 ScRange     aScRange;
                 ScAddress   aScAddress;
-                ScRefFlags      nResult = lcl_ParseRange(aScRange, aAddress, pDoc, nSlot);
+                ScRefFlags      nResult = lcl_ParseRange(aScRange, aAddress, pDoc);
                 SCTAB       nTab = rViewData.GetTabNo();
                 bool        bMark = true;
 
@@ -297,7 +297,7 @@ void ScTabViewShell::Execute( SfxRequest& rReq )
                     }
                 }
                 // Is this a cell ?
-                else if ( (nResult = lcl_ParseAddress(aScAddress, aAddress, pDoc, nSlot)) & ScRefFlags::VALID )
+                else if ( (nResult = lcl_ParseAddress(aScAddress, aAddress, pDoc)) & ScRefFlags::VALID )
                 {
                     if ( nResult & ScRefFlags::TAB_3D )
                     {


More information about the Libreoffice-commits mailing list