diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-04-24 12:08:09 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-04-24 12:17:48 +0200 |
commit | b3bf16a5c4f863798adca8d322d63e9face64686 (patch) | |
tree | 59b80fe41e62449c216ecd79bdf55fbb22115829 /chart2 | |
parent | a172ed9837d1c52eebd9336e5262f459920e525b (diff) |
fix a problem with error bar weight
Change-Id: I812bbcdc346bffd2f0c968077a3fe86a241cf231
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; |