summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2021-10-12 14:05:20 +0200
committerEike Rathke <erack@redhat.com>2021-10-12 16:40:51 +0200
commitbc553f1b52f1865df125e0aefa85d74f57bea6ba (patch)
treeba9b8585796a7c1f7af45fd3f8de33667ae9e313
parent7cad3ed2042a17081b56fb2c4a4f4f0b785590f9 (diff)
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 <erack@redhat.com> Tested-by: Jenkins
-rw-r--r--sc/source/ui/unoobj/cellsuno.cxx4
1 files changed, 2 insertions, 2 deletions
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;
}