diff options
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/tools/ErrorBar.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chart2/source/tools/ErrorBar.cxx b/chart2/source/tools/ErrorBar.cxx index 92c3265ded17..cb78f8ee6d47 100644 --- a/chart2/source/tools/ErrorBar.cxx +++ b/chart2/source/tools/ErrorBar.cxx @@ -155,6 +155,10 @@ void ErrorBar::setPropertyValue( const OUString& rPropName, const uno::Any& rAny rAny >>= mfPositiveError; rAny >>= mfNegativeError; } + else if(rPropName == "Weight") + { + rAny >>= mfWeight; + } else if(rPropName == "NegativeError") rAny >>= mfNegativeError; else if(rPropName == "ShowPositiveError") @@ -228,6 +232,8 @@ uno::Any ErrorBar::getPropertyValue(const OUString& rPropName) aRet <<= mbShowPositiveError; else if(rPropName == "ShowNegativeError") aRet <<= mbShowNegativeError; + else if(rPropName == "Weight") + aRet <<= mfWeight; else if(rPropName == "ErrorBarRangePositive") { OUString aRange; |