Kaydet (Commit) 6d4c69ff authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

that comment is patently wrong

categories presence used to be hardcoded to sal_True,
but now it is tested a few lines below.

Change-Id: I413bbac3069e49a56c74637b75b8d8990f6111b4
üst ef3e7f23
...@@ -245,7 +245,7 @@ uno::Sequence< beans::PropertyValue > SAL_CALL DatabaseDataProvider::detectArgum ...@@ -245,7 +245,7 @@ uno::Sequence< beans::PropertyValue > SAL_CALL DatabaseDataProvider::detectArgum
::comphelper::NamedValueCollection aArguments; ::comphelper::NamedValueCollection aArguments;
aArguments.put( "CellRangeRepresentation", uno::Any( OUString( "all" ) ) ); aArguments.put( "CellRangeRepresentation", uno::Any( OUString( "all" ) ) );
aArguments.put( "DataRowSource", uno::makeAny( chart::ChartDataRowSource_COLUMNS ) ); aArguments.put( "DataRowSource", uno::makeAny( chart::ChartDataRowSource_COLUMNS ) );
// internal data always contains labels and categories // internal data always contains labels
aArguments.put( "FirstCellAsLabel", uno::makeAny( sal_True ) ); aArguments.put( "FirstCellAsLabel", uno::makeAny( sal_True ) );
sal_Bool bHasCategories = sal_False; sal_Bool bHasCategories = sal_False;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment