diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2019-06-17 20:13:36 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2019-11-07 14:15:29 +0100 |
commit | e9131e7abde6ec8e9fc19ebace193c6a25bd607e (patch) | |
tree | f226644218eabdee1ad5eeb24adc7cef00cef02a /sc/source/ui/app | |
parent | 72fad7a18d9967d35a68ee9f64f469f438a68882 (diff) |
Show highlight ranges when chart is selected
Change-Id: Ibb9a085699065869a7f122f37a36c5873b934271
Reviewed-on: https://gerrit.libreoffice.org/82138
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/82140
Tested-by: Jenkins
Diffstat (limited to 'sc/source/ui/app')
-rw-r--r-- | sc/source/ui/app/inputhdl.cxx | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx index 82542d243623..7556ef49d1ac 100644 --- a/sc/source/ui/app/inputhdl.cxx +++ b/sc/source/ui/app/inputhdl.cxx @@ -425,9 +425,9 @@ handle_r1c1: } } -static ReferenceMark lcl_GetReferenceMark( const ScViewData& rViewData, ScDocShell* pDocSh, - long nX1, long nX2, long nY1, long nY2, - long nTab, const Color& rColor ) +ReferenceMark ScInputHandler::GetReferenceMark( ScViewData& rViewData, ScDocShell* pDocSh, + long nX1, long nX2, long nY1, long nY2, + long nTab, const Color& rColor ) { ScSplitPos eWhich = rViewData.GetActivePart(); @@ -486,7 +486,7 @@ void ScInputHandler::UpdateLokReferenceMarks() PutInOrder(nX1, nX2); PutInOrder(nY1, nY2); - aReferenceMarks[0] = lcl_GetReferenceMark( rViewData, pDocSh, + aReferenceMarks[0] = ScInputHandler::GetReferenceMark( rViewData, pDocSh, nX1, nX2, nY1, nY2, nTab, aRefColor ); } @@ -510,8 +510,9 @@ void ScInputHandler::UpdateLokReferenceMarks() long nY2 = aRef.aEnd.Row(); long nTab = aRef.aStart.Tab(); - aReferenceMarks[i + nAdditionalMarks] = lcl_GetReferenceMark( - rViewData, pDocSh, nX1, nX2, nY1, nY2, nTab, rData.nColor ); + aReferenceMarks[i + nAdditionalMarks] = ScInputHandler::GetReferenceMark( rViewData, pDocSh, + nX1, nX2, nY1, nY2, + nTab, rData.nColor ); ScInputHandler::SendReferenceMarks( pActiveViewSh, aReferenceMarks ); } |