https://bugs.freedesktop.org/show_bug.cgi?id=64646
Julien Nabet <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |markus.mohrhard@googlemail. | |com --- Comment #6 from Julien Nabet <[email protected]> --- John: thank you for the attachment. I put this tracker to NEW. Next time, please don't answer from your emailer but by using this link for attachment+comment: https://bugs.freedesktop.org/attachment.cgi?bugid=64646&action=enter and this link for just comment: https://bugs.freedesktop.org/show_bug.cgi?id=64646# Markus: the bt shows a problem with number formatting. This patch helps (at least I don't have the same bt): diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx index 34ae049..af41467 100644 --- a/sc/source/core/data/document.cxx +++ b/sc/source/core/data/document.cxx @@ -3306,8 +3306,10 @@ sal_uInt32 ScDocument::GetNumberFormat( const ScRange& rRange ) const sal_uInt32 ScDocument::GetNumberFormat( const ScAddress& rPos ) const { SCTAB nTab = rPos.Tab(); - if ( maTabs[nTab] ) + if ( nTab < static_cast<SCTAB>(maTabs.size()) && maTabs[nTab] ) + { return maTabs[nTab]->GetNumberFormat( rPos ); + } return 0; } But then I have another crash. I can provide the new bt if needed but I wonder if it's useful since I know you work on this part. What do you suggest? -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
