summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-08-30 18:00:21 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2013-08-30 18:36:55 +0200
commitb090cbdf82e0827234caf5969124f6631311ef35 (patch)
treef053a12372732677936f5f15ec665864fa18f42a
parent2a0b2d9371b47689d34fc238c73ebc1126cba5b1 (diff)
fdo#68663 don't blindly force categories when there are none
Change-Id: If52ea471ee3ca10e2f69d2fcd7b3ae0d5772bfc3
-rw-r--r--xmloff/source/chart/SchXMLTableContext.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/xmloff/source/chart/SchXMLTableContext.cxx b/xmloff/source/chart/SchXMLTableContext.cxx
index c5377e39a83a..18cd73c9b1c1 100644
--- a/xmloff/source/chart/SchXMLTableContext.cxx
+++ b/xmloff/source/chart/SchXMLTableContext.cxx
@@ -979,16 +979,6 @@ void SchXMLTableHelper::switchRangesFromOuterToInternalIfNecessary(
}
}
- // there exist files with own data without a categories element but with row
- // descriptions. The row descriptions were used as categories even without
- // the categories element
- if( ! bCategoriesApplied )
- {
- SchXMLTools::CreateCategories(
- xDataProv, xChartDoc, OUString("categories"),
- 0 /* nCooSysIndex */, 0 /* nDimension */ );
- }
-
//i91578 display of hidden values (copy paste scenario; use hidden flag during migration to locale table upon paste )
//remove series that consist only of hidden columns
Reference< chart2::XInternalDataProvider > xInternalDataProvider( xDataProv, uno::UNO_QUERY );