diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-03-08 07:44:12 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-03-08 07:44:45 +0100 |
commit | 2c77ef2c73e22cec9d035c60cd8cd012354df702 (patch) | |
tree | 41498b2ccacbca2ef895f052419187fcfc5fd166 /vbahelper | |
parent | 19020191cbf3e3c7a7bf98d0958d86d931ae687b (diff) |
Assignment of function parameter has no effect outside the function
Change-Id: I5d869414a382e9b96ea403c645a9050372e5e39d
Diffstat (limited to 'vbahelper')
-rw-r--r-- | vbahelper/source/vbahelper/vbapictureformat.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vbahelper/source/vbahelper/vbapictureformat.cxx b/vbahelper/source/vbahelper/vbapictureformat.cxx index d8501a85a947..96495e17a774 100644 --- a/vbahelper/source/vbahelper/vbapictureformat.cxx +++ b/vbahelper/source/vbahelper/vbapictureformat.cxx @@ -103,7 +103,6 @@ void SAL_CALL ScVbaPictureFormat::IncrementContrast( double increment ) throw (uno::RuntimeException) { double nContrast = getContrast(); - nContrast += increment; if( increment < 0 ) { increment = 0.0; @@ -112,6 +111,7 @@ ScVbaPictureFormat::IncrementContrast( double increment ) throw (uno::RuntimeExc { increment = 1.0; } + nContrast += increment; setContrast( nContrast ); } |