summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/editsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/editsh.cxx')
-rw-r--r--sc/source/ui/view/editsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/editsh.cxx b/sc/source/ui/view/editsh.cxx
index 4b1b414f329e..7e22423f28a5 100644
--- a/sc/source/ui/view/editsh.cxx
+++ b/sc/source/ui/view/editsh.cxx
@@ -956,7 +956,7 @@ void ScEditShell::ExecuteAttr(SfxRequest& rReq)
if ( sColor == "transparent" )
aColor = COL_TRANSPARENT;
else
- aColor = Color( sColor.toInt32( 16 ) );
+ aColor = Color( ColorTransparency, sColor.toInt32( 16 ) );
aSet.Put( SvxColorItem( aColor, EE_CHAR_COLOR ) );
}