summaryrefslogtreecommitdiff
path: root/vbahelper
diff options
context:
space:
mode:
Diffstat (limited to 'vbahelper')
-rw-r--r--vbahelper/source/vbahelper/vbacolorformat.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vbahelper/source/vbahelper/vbacolorformat.cxx b/vbahelper/source/vbahelper/vbacolorformat.cxx
index 49089f994517..ec33f899054a 100644
--- a/vbahelper/source/vbahelper/vbacolorformat.cxx
+++ b/vbahelper/source/vbahelper/vbacolorformat.cxx
@@ -76,7 +76,7 @@ ScVbaColorFormat::getRGB()
default:
throw uno::RuntimeException( "Second parameter of ColorFormat is wrong." );
}
- nRGB = OORGBToXLRGB( Color(nRGB) );
+ nRGB = OORGBToXLRGB( Color(ColorTransparency, nRGB) );
return nRGB;
}