summaryrefslogtreecommitdiff
path: root/sc/inc/rangeutl.hxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2021-10-12 13:56:09 +0200
committerEike Rathke <erack@redhat.com>2021-10-12 17:44:18 +0200
commit57f09e6f3cfdd9ad4e1673df14e6ee550d402743 (patch)
treed0a617bdc7d4506f702697cd063da6ac33e17569 /sc/inc/rangeutl.hxx
parentc90cb1b3c265c1f81e614e47652fe24137d7928c (diff)
Resolves: tdf#145077 Use position for jumping to named relative references
For named ranges with relative references construct the resulting cell range reference to be selected according to the current cell cursor position, same as in Manage Names and as they would result if used in a formula expression on that position. Change-Id: I8362c3e38086337ad90aa84cc7c13f284b41d9fc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123450 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'sc/inc/rangeutl.hxx')
-rw-r--r--sc/inc/rangeutl.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/rangeutl.hxx b/sc/inc/rangeutl.hxx
index 2f4a988725be..33f531444280 100644
--- a/sc/inc/rangeutl.hxx
+++ b/sc/inc/rangeutl.hxx
@@ -82,7 +82,8 @@ public:
SCTAB nCurTab,
ScRange& rRange,
RutlNameScope eScope=RUTL_NAMES,
- ScAddress::Details const & rDetails = ScAddress::detailsOOOa1 );
+ ScAddress::Details const & rDetails = ScAddress::detailsOOOa1,
+ bool bUseDetailsPos = false );
};
class SC_DLLPUBLIC ScRangeStringConverter