Bugzilla – Attachment 120290 Details for
Bug 63087
Detective "Trace Precedents" or "Trace Dependents" pointing to a different tab does not provide reference cell
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
temptative patch
0001-Draw-alien-arrow-on-trace-precedents-63087.patch (text/plain), 1.46 KB, created by
Sandro Santilli
on 2015-11-05 14:56:34 UTC
(
hide
)
Description:
temptative patch
Filename:
MIME Type:
Creator:
Sandro Santilli
Created:
2015-11-05 14:56:34 UTC
Size:
1.46 KB
patch
obsolete
>From e2d02a4814189665d459d9e14cc90982097c0548 Mon Sep 17 00:00:00 2001 >From: Sandro Santilli <strk@keybit.net> >Date: Thu, 5 Nov 2015 15:53:27 +0100 >Subject: [PATCH] Draw alien arrow on trace precedents (#63087) > >Change-Id: I82deb8a1e515d8fea71ce91520505e252f4ad07d >--- > sc/source/core/tool/detfunc.cxx | 13 ++++++++++++- > 1 file changed, 12 insertions(+), 1 deletion(-) > >diff --git a/sc/source/core/tool/detfunc.cxx b/sc/source/core/tool/detfunc.cxx >index f8ed508..ff04500 100644 >--- a/sc/source/core/tool/detfunc.cxx >+++ b/sc/source/core/tool/detfunc.cxx >@@ -610,10 +610,21 @@ bool ScDetectiveFunc::DrawEntry( SCCOL nCol, SCROW nRow, > bool bError = HasError( rRef, aErrorPos ); > bool bAlien = ( rRef.aEnd.Tab() < nTab || rRef.aStart.Tab() > nTab ); > >- return InsertArrow( nCol, nRow, >+ bool success = InsertArrow( nCol, nRow, > rRef.aStart.Col(), rRef.aStart.Row(), > rRef.aEnd.Col(), rRef.aEnd.Row(), > bAlien, bError, rData ); >+ if ( bAlien ) >+ { >+ success &= ScDetectiveFunc(pDoc, rRef.aEnd.Tab()) >+ .InsertToOtherTab( rRef.aStart.Col(), >+ rRef.aStart.Row(), >+ rRef.aEnd.Col(), >+ rRef.aEnd.Row(), >+ false, rData ); >+ } >+ >+ return success; > } > > bool ScDetectiveFunc::DrawAlienEntry( const ScRange& rRef, >-- >1.9.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 63087
:
89974
|
120285
| 120290