diff options
Diffstat (limited to 'sc/source/ui/unoobj/chart2uno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/chart2uno.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/chart2uno.cxx b/sc/source/ui/unoobj/chart2uno.cxx index 784bacc89d31..aafd0cd6436a 100644 --- a/sc/source/ui/unoobj/chart2uno.cxx +++ b/sc/source/ui/unoobj/chart2uno.cxx @@ -1098,7 +1098,7 @@ Reference< chart2::data::XLabeledDataSequence > lcl_createLabeledDataSequenceFro * @return true if the corner was added, false otherwise. */ bool lcl_addUpperLeftCornerIfMissing(vector<ScTokenRef>& rRefTokens, - SCROW nCornerRowCount=1, SCCOL nCornerColumnCount=1) + SCROW nCornerRowCount, SCCOL nCornerColumnCount) { using ::std::max; using ::std::min; @@ -1512,7 +1512,7 @@ ScChart2DataProvider::createDataSource( shrinkToDataRange(m_pDocument, aRefTokens); if (bLabel) - lcl_addUpperLeftCornerIfMissing(aRefTokens); //#i90669# + lcl_addUpperLeftCornerIfMissing(aRefTokens, 1, 1); //#i90669# bool bColHeaders = (bOrientCol ? bLabel : bCategories ); bool bRowHeaders = (bOrientCol ? bCategories : bLabel ); |