Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/3161
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/61/3161/1
Really use 'nCategoriesLength'
Git history shows it's been there since a bugfix for #i110617#
See e9ec6f67bf4aa0d7474e54b5f55ca71671356a48
Change-Id: I455661ccd97be6ea54d00201fda2906cfbd6f819
---
M xmloff/source/chart/SchXMLExport.cxx
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx
index 11cac87..516738d 100644
--- a/xmloff/source/chart/SchXMLExport.cxx
+++ b/xmloff/source/chart/SchXMLExport.cxx
@@ -832,7 +832,7 @@
if( nCategoriesLength > nMaxSequenceLength )
{
aSimpleCategories.realloc(nMaxSequenceLength);//#i110617#
- nCategoriesLength = nMaxSequenceLength;
+ nMaxSequenceLength = nCategoriesLength;
}
size_t nNumColumns( bSeriesFromColumns ? nNumSequences : nMaxSequenceLength );
size_t nNumRows( bSeriesFromColumns ? nMaxSequenceLength : nNumSequences );
--
To view, visit https://gerrit.libreoffice.org/3161
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I455661ccd97be6ea54d00201fda2906cfbd6f819
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Julien Nabet <serval2412@yahoo.fr>
Context
- [PATCH] Really use 'nCategoriesLength' · Julien Nabet (via Code Review)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.