sc/source/ui/unoobj/cellsuno.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit bc553f1b52f1865df125e0aefa85d74f57bea6ba Author: Eike Rathke <er...@redhat.com> AuthorDate: Tue Oct 12 14:05:20 2021 +0200 Commit: Eike Rathke <er...@redhat.com> CommitDate: Tue Oct 12 16:40:51 2021 +0200 Pass rDetails argument from getCellRangeByName() to MakeRangeFromName() The default MakeRangeFromName() argument ScAddress::detailsOOOa1 is the same as the only call to this getCellRangeByName(), just make it explicit to clarify. Change-Id: I8eb550df95e6332a459cb9946e7c753887a1655a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123452 Reviewed-by: Eike Rathke <er...@redhat.com> Tested-by: Jenkins diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx index 209bef5f7ac5..73f167b6e57e 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -4709,8 +4709,8 @@ uno::Reference<table::XCellRange> ScCellRangeObj::getCellRangeByName( } else { - if ( ScRangeUtil::MakeRangeFromName( aName, rDoc, nTab, aCellRange ) || - ScRangeUtil::MakeRangeFromName( aName, rDoc, nTab, aCellRange, RUTL_DBASE ) ) + if ( ScRangeUtil::MakeRangeFromName( aName, rDoc, nTab, aCellRange, RUTL_NAMES, rDetails) || + ScRangeUtil::MakeRangeFromName( aName, rDoc, nTab, aCellRange, RUTL_DBASE, rDetails)) bFound = true; }