diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-01 16:49:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-02 08:23:34 +0100 |
commit | 82d42fa2c05e8d53ec2c21733a2a9f53412dd2d1 (patch) | |
tree | f7bf6fb4e3df15f567c07440c3b4dd9266a26e81 /sc/source | |
parent | 12c3ab8c341ff6482ce380ca4010bb7b97e35bf7 (diff) |
add Color method version of OORGBToXLRGB
Change-Id: I769ff8aed3caa74679e1b4d03e8fbc3cd5d22b1a
Reviewed-on: https://gerrit.libreoffice.org/50587
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/vba/vbainterior.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbainterior.cxx b/sc/source/ui/vba/vbainterior.cxx index b413b385a801..c40224a04f04 100644 --- a/sc/source/ui/vba/vbainterior.cxx +++ b/sc/source/ui/vba/vbainterior.cxx @@ -91,8 +91,7 @@ ScVbaInterior::ScVbaInterior( const uno::Reference< XHelperInterface >& xParent, uno::Any ScVbaInterior::getColor() { - Color aBackColor( GetBackColor() ); - return uno::makeAny( OORGBToXLRGB( aBackColor.GetColor() ) ); + return uno::makeAny( OORGBToXLRGB( GetBackColor() ) ); } void |