Kaydet (Commit) 53630966 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

another fix for error bar import, related fdo#60083

Change-Id: I843a597702cb0cb66d8696c277666e1605091c09
üst 4a0a0bf6
...@@ -1111,6 +1111,13 @@ void SetErrorBarPropertiesFromStyleName( const OUString& aStyleName, uno::Refere ...@@ -1111,6 +1111,13 @@ void SetErrorBarPropertiesFromStyleName( const OUString& aStyleName, uno::Refere
aAny >>= aNegRange; aAny >>= aNegRange;
} }
aAny = SchXMLTools::getPropertyFromContext("Weight",
pSeriesStyleContext, pStylesCtxt);
if( aAny.hasValue() )
{
xBarProp->setPropertyValue("Weight", aAny);
}
aAny = SchXMLTools::getPropertyFromContext("PercentageError", aAny = SchXMLTools::getPropertyFromContext("PercentageError",
pSeriesStyleContext, pStylesCtxt); pSeriesStyleContext, pStylesCtxt);
if( aAny.hasValue() && aBarStyle == com::sun::star::chart::ErrorBarStyle::RELATIVE ) if( aAny.hasValue() && aBarStyle == com::sun::star::chart::ErrorBarStyle::RELATIVE )
......
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