[PATCH] Really use 'nCategoriesLength'

Julien Nabet (via Code Review) gerrit at gerrit.libreoffice.org
Mon Apr 1 14:30:58 PDT 2013


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 at yahoo.fr>



More information about the LibreOffice mailing list