diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-10 10:44:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-10 13:00:14 +0200 |
commit | 4d047221945b34a9023d852bbd19a2a24a7f54c3 (patch) | |
tree | b5d0e2a6dd26bc0c01f286d75c4d0be6506bd913 /sc/source/ui/unoobj/datauno.cxx | |
parent | 39f023f054b0923f786cd34225235536d81138b5 (diff) |
loplugin:checkunusedparams in sc(part4)
also fix bug in ScDocShell::DBAreaDeleted which has been there ever
since it's initial commit in
commit 9ae5a91f7955e44d3b24a3f7741f9bca02ac7f24
Author: Jens-Heiner Rechtien <hr@openoffice.org>
Date: Mon Sep 18 16:07:07 2000 +0000
initial import
Change-Id: Ifc8d6dec4843c668404fdf1ca1a9e521f73132d5
Reviewed-on: https://gerrit.libreoffice.org/37459
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/unoobj/datauno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/datauno.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/datauno.cxx b/sc/source/ui/unoobj/datauno.cxx index e9a4b2877568..a5dff8e25d20 100644 --- a/sc/source/ui/unoobj/datauno.cxx +++ b/sc/source/ui/unoobj/datauno.cxx @@ -2192,7 +2192,7 @@ void SAL_CALL ScDatabaseRangesObj::addNewByName( const OUString& aName, ScRange aNameRange( (SCCOL)aRange.StartColumn, (SCROW)aRange.StartRow, aRange.Sheet, (SCCOL)aRange.EndColumn, (SCROW)aRange.EndRow, aRange.Sheet ); - bDone = aFunc.AddDBRange( aName, aNameRange, true ); + bDone = aFunc.AddDBRange( aName, aNameRange ); } if (!bDone) throw uno::RuntimeException(); // no other exceptions specified @@ -2351,7 +2351,7 @@ void ScUnnamedDatabaseRangesObj::setByTable( const table::CellRangeAddress& aRan OUString aString(STR_DB_LOCAL_NONAME); ScRange aUnnamedRange( (SCCOL)aRange.StartColumn, (SCROW)aRange.StartRow, aRange.Sheet, (SCCOL)aRange.EndColumn, (SCROW)aRange.EndRow, aRange.Sheet ); - bDone = aFunc.AddDBRange( aString, aUnnamedRange, true ); + bDone = aFunc.AddDBRange( aString, aUnnamedRange ); } if (!bDone) throw uno::RuntimeException(); // no other exceptions specified |