Remove unused getRegressionCurve
Change-Id: I141182634e446745be6180702c703a85dac26552
This commit is contained in:
@@ -59,7 +59,6 @@ ScRefCellValue::commit(ScColumn&, int) const
|
|||||||
ScUndoSetCell::ScUndoSetCell(ScDocShell*, ScAddress const&, ScCellValue const&)
|
ScUndoSetCell::ScUndoSetCell(ScDocShell*, ScAddress const&, ScCellValue const&)
|
||||||
ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()
|
ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()
|
||||||
ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&)
|
ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&)
|
||||||
SchXMLTools::getRegressionCurve(com::sun::star::uno::Reference<com::sun::star::chart2::XDataSeries> const&)
|
|
||||||
ServerFont::GetGlyphBitmap1(int, RawBitmap&) const
|
ServerFont::GetGlyphBitmap1(int, RawBitmap&) const
|
||||||
ServerFont::GetGlyphBitmap8(int, RawBitmap&) const
|
ServerFont::GetGlyphBitmap8(int, RawBitmap&) const
|
||||||
SfxAppMenuControl_Impl::RegisterControl(unsigned short, SfxModule*)
|
SfxAppMenuControl_Impl::RegisterControl(unsigned short, SfxModule*)
|
||||||
|
@@ -604,38 +604,6 @@ void exportRangeToSomewhere( SvXMLExport& rExport, const OUString& rValue )
|
|||||||
rExport.GetDocHandler()->characters( rValue );
|
rExport.GetDocHandler()->characters( rValue );
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference< chart2::XRegressionCurve > getRegressionCurve(
|
|
||||||
const Reference< chart2::XDataSeries > & xDataSeries )
|
|
||||||
{
|
|
||||||
Reference< chart2::XRegressionCurve > xResult;
|
|
||||||
|
|
||||||
Reference< chart2::XRegressionCurveContainer > xRegCurveCnt( xDataSeries, uno::UNO_QUERY );
|
|
||||||
if( xRegCurveCnt.is())
|
|
||||||
{
|
|
||||||
// find equation properties of first regression curve
|
|
||||||
Sequence< Reference< chart2::XRegressionCurve > > aCurveSeq(
|
|
||||||
xRegCurveCnt->getRegressionCurves() );
|
|
||||||
for( sal_Int32 nI=0; nI<aCurveSeq.getLength(); ++nI )
|
|
||||||
{
|
|
||||||
// skip mean-value line
|
|
||||||
Reference< lang::XServiceName > xServiceName( aCurveSeq[nI], uno::UNO_QUERY );
|
|
||||||
if( xServiceName.is())
|
|
||||||
{
|
|
||||||
OUString aServiceName( xServiceName->getServiceName());
|
|
||||||
if( aServiceName == "com.sun.star.chart2.MeanValueRegressionCurve" )
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
// take first non-empty curve
|
|
||||||
if( aCurveSeq[nI].is())
|
|
||||||
{
|
|
||||||
xResult.set( aCurveSeq[nI] );
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return xResult;
|
|
||||||
}
|
|
||||||
|
|
||||||
void setXMLRangePropertyAtDataSequence(
|
void setXMLRangePropertyAtDataSequence(
|
||||||
const Reference< chart2::data::XDataSequence > & xDataSequence,
|
const Reference< chart2::data::XDataSequence > & xDataSequence,
|
||||||
const OUString & rXMLRange )
|
const OUString & rXMLRange )
|
||||||
|
@@ -99,13 +99,6 @@ namespace SchXMLTools
|
|||||||
|
|
||||||
void exportRangeToSomewhere( SvXMLExport& rExport, const OUString& rValue );
|
void exportRangeToSomewhere( SvXMLExport& rExport, const OUString& rValue );
|
||||||
|
|
||||||
/** returns the properties of the equation of the first regression curve
|
|
||||||
that is no mean-value line
|
|
||||||
*/
|
|
||||||
::com::sun::star::uno::Reference< ::com::sun::star::chart2::XRegressionCurve > getRegressionCurve(
|
|
||||||
const ::com::sun::star::uno::Reference<
|
|
||||||
::com::sun::star::chart2::XDataSeries > & xDataSeries );
|
|
||||||
|
|
||||||
/** checks if the data sequence has the property "CachedXMLRange" (true for
|
/** checks if the data sequence has the property "CachedXMLRange" (true for
|
||||||
internal data sequences), and if so sets this property to the range
|
internal data sequences), and if so sets this property to the range
|
||||||
given in rXMLRange
|
given in rXMLRange
|
||||||
|
Reference in New Issue
Block a user