sc/source/core/tool/interpr4.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 3cbaf50877e15ccdbc15e2bf11bbed6d3f3cc8ca
Author:     Eike Rathke <er...@redhat.com>
AuthorDate: Mon Feb 27 16:32:55 2023 +0100
Commit:     Eike Rathke <er...@redhat.com>
CommitDate: Mon Feb 27 19:57:48 2023 +0000

    Output numeric cell position in SAL_WARN() as well
    
    ... to ease conditional breakpoints.
    
    Change-Id: If1ec85e56ab3db5319eae8659b46d31ad621cf61
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147923
    Reviewed-by: Eike Rathke <er...@redhat.com>
    Tested-by: Jenkins

diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx
index 7d46a39ad037..91f297a010db 100644
--- a/sc/source/core/tool/interpr4.cxx
+++ b/sc/source/core/tool/interpr4.cxx
@@ -4035,7 +4035,8 @@ StackVar ScInterpreter::Interpret()
                     nStackBase = sp - pCur->GetParamCount();
                 else
                 {
-                    SAL_WARN("sc.core", "Stack anomaly at " << aPos.Format(
+                    SAL_WARN("sc.core", "Stack anomaly at " << aPos.Tab() << 
"," << aPos.Col() << "," << aPos.Row()
+                            << "  " << aPos.Format(
                                 ScRefFlags::VALID | ScRefFlags::FORCE_DOC | 
ScRefFlags::TAB_3D, &mrDoc)
                             << "  eOp: " << static_cast<int>(eOp)
                             << "  params: " << 
static_cast<int>(pCur->GetParamCount())

Reply via email to