summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/vba/vbafont.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/vba/vbafont.cxx')
-rw-r--r--sc/source/ui/vba/vbafont.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbafont.cxx b/sc/source/ui/vba/vbafont.cxx
index fe269de6953c..09ecf921cc3d 100644
--- a/sc/source/ui/vba/vbafont.cxx
+++ b/sc/source/ui/vba/vbafont.cxx
@@ -297,8 +297,7 @@ uno::Any
ScVbaFont::getColor()
{
// #TODO #FIXME - behave like getXXX above ( wrt. GetDataSet )
- uno::Any aAny;
- aAny = OORGBToXLRGB( mxFont->getPropertyValue("CharColor") );
+ uno::Any aAny = OORGBToXLRGB( mxFont->getPropertyValue("CharColor") );
return aAny;
}