impress181: #i107457#: applied patch (WMF/EMF import, text background is now correctly set)
This commit is contained in:
@@ -1522,9 +1522,9 @@ void WinMtfOutput::DrawText( Point& rPosition, String& rText, sal_Int32* pDXArry
|
|||||||
aTmp.SetFillColor( maBkColor );
|
aTmp.SetFillColor( maBkColor );
|
||||||
|
|
||||||
if( mnBkMode == TRANSPARENT )
|
if( mnBkMode == TRANSPARENT )
|
||||||
maFont.SetTransparent( sal_True );
|
aTmp.SetTransparent( sal_True );
|
||||||
else
|
else
|
||||||
maFont.SetTransparent( sal_False );
|
aTmp.SetTransparent( sal_False );
|
||||||
|
|
||||||
if ( ( mnTextAlign & TA_BASELINE) == TA_BASELINE )
|
if ( ( mnTextAlign & TA_BASELINE) == TA_BASELINE )
|
||||||
aTmp.SetAlign( ALIGN_BASELINE );
|
aTmp.SetAlign( ALIGN_BASELINE );
|
||||||
|
Reference in New Issue
Block a user