summaryrefslogtreecommitdiff
path: root/sc/source/filter/oox/drawingfragment.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/oox/drawingfragment.cxx')
-rw-r--r--sc/source/filter/oox/drawingfragment.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/oox/drawingfragment.cxx b/sc/source/filter/oox/drawingfragment.cxx
index d1824eccf04e..c97da72b5f02 100644
--- a/sc/source/filter/oox/drawingfragment.cxx
+++ b/sc/source/filter/oox/drawingfragment.cxx
@@ -689,7 +689,7 @@ sal_uInt32 VmlDrawing::convertControlTextColor( const OUString& rTextColor ) con
sal_Int32 nColorToken = AttributeConversion::decodeToken( rTextColor );
sal_Int32 nRgbValue = Color::getVmlPresetColor( nColorToken, API_RGB_TRANSPARENT );
if( nRgbValue == API_RGB_TRANSPARENT )
- nRgbValue = rGraphicHelper.getSystemColor( nColorToken, API_RGB_TRANSPARENT );
+ nRgbValue = rGraphicHelper.getSystemColor( nColorToken );
if( nRgbValue != API_RGB_TRANSPARENT )
return OleHelper::encodeOleColor( nRgbValue );